freshrss.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  1. /* STRUCTURE */
  2. body {
  3. background: #fafafa;
  4. }
  5. .header {
  6. display: table;
  7. width: 100%;
  8. table-layout: fixed;
  9. background: #ecf0f1;
  10. }
  11. .header > .item {
  12. display: table-cell;
  13. padding: 10px 0;
  14. vertical-align: middle;
  15. text-align: center;
  16. }
  17. .header > .item.title {
  18. width: 250px;
  19. }
  20. .header > .item.title .logo {
  21. display: inline-block;
  22. width: 32px;
  23. padding: 10px;
  24. }
  25. .header > .item.title h1 {
  26. display: inline-block;
  27. margin: 0;
  28. vertical-align: middle;
  29. }
  30. .header > .item.title a:hover {
  31. text-decoration: none;
  32. }
  33. .header > .item.search input {
  34. width: 250px;
  35. transition: width 200ms linear;
  36. border-radius: 5px 0 0 5px;
  37. }
  38. .header .item.search input:focus {
  39. width: 300px;
  40. }
  41. .header > .item.configure {
  42. width: 100px;
  43. }
  44. #global {
  45. display: table;
  46. width: 100%;
  47. height: 100%;
  48. table-layout: fixed;
  49. }
  50. .aside {
  51. display: table-cell;
  52. height: 100%;
  53. width: 250px;
  54. vertical-align: top;
  55. background: #ecf0f1;
  56. }
  57. .aside .nav-form input {
  58. width: 180px;
  59. }
  60. .aside.aside_flux {
  61. padding: 10px 0 40px;
  62. }
  63. .aside.aside_feed .nav-form input {
  64. width: 140px;
  65. }
  66. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  67. right: -20px;
  68. }
  69. .nav-login {
  70. display: none;
  71. }
  72. .nav_menu {
  73. width: 100%;
  74. text-align: center;
  75. padding: 5px 0;
  76. }
  77. .favicon {
  78. height: 16px;
  79. width: 16px;
  80. }
  81. .categories {
  82. margin: 0;
  83. padding: 0;
  84. text-align: center;
  85. list-style: none;
  86. }
  87. .categories .all,
  88. .categories .favorites,
  89. .categories .category {
  90. display: block;
  91. padding: 5px 0;
  92. width: 220px;
  93. margin: 5px auto;
  94. text-align: left;
  95. overflow: hidden;
  96. white-space: nowrap;
  97. text-overflow: ellipsis;
  98. }
  99. .categories .all .btn,
  100. .categories .favorites .btn,
  101. .categories .category .btn:first-child {
  102. width: 195px;
  103. position: relative;
  104. }
  105. .categories .feeds {
  106. width: 220px;
  107. margin: 0 auto;
  108. list-style: none;
  109. }
  110. .categories .feeds .item.active:after {
  111. content: "⇢";
  112. line-height: 35px;
  113. float: right;
  114. }
  115. .categories .feeds .item.empty .feed {
  116. color: #e67e22;
  117. }
  118. .categories .feeds .item.error .feed {
  119. color: #BD362F;
  120. }
  121. .categories .feeds .item .feed {
  122. display: inline-block;
  123. margin: 0;
  124. width: 165px;
  125. line-height: 35px;
  126. font-size: 90%;
  127. vertical-align: middle;
  128. text-align: left;
  129. overflow: hidden;
  130. white-space: nowrap;
  131. text-overflow: ellipsis;
  132. }
  133. .categories .feeds .dropdown .dropdown-menu {
  134. left: 0;
  135. }
  136. .categories .feeds .item .dropdown-toggle i {
  137. background-image: none;
  138. }
  139. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i,
  140. .categories .feeds .item:hover .dropdown-toggle i,
  141. .categories .feeds .item.active .dropdown-toggle i {
  142. background-image: url("icons/configure.png");
  143. background-image: url("icons/configure.svg");
  144. background-color: #95a5a6;
  145. border-radius: 3px;
  146. }
  147. .categories .notRead {
  148. position: absolute;
  149. top: 5px; right: 0px;
  150. padding: 0 5px;
  151. color: #fff;
  152. font-size: 90%;
  153. background: #3498DB;
  154. border-left: 3px solid #2980B9;
  155. border-radius: 5px 0 0 5px;
  156. }
  157. .categories .btn:hover .notRead,
  158. .categories .btn.active .notRead {
  159. background: #2980B9;
  160. border-left: 3px solid #3498DB;
  161. }
  162. .post {
  163. padding: 10px 50px;
  164. }
  165. .post form {
  166. margin: 10px 0;
  167. }
  168. .day {
  169. display: inline;
  170. min-height: 50px;
  171. padding: 5px 15px;
  172. font-size: 130%;
  173. font-weight: bold;
  174. line-height: 50px;
  175. background: #ecf0f1;
  176. border-radius: 0 20px 20px 0;
  177. }
  178. .day .name {
  179. position: absolute;
  180. right: 0;
  181. width: 50%;
  182. height: 1.5em;
  183. padding: 0 10px 0 0;
  184. overflow: hidden;
  185. color: #aab;
  186. font-size: 1.8em;
  187. opacity: .3;
  188. font-style: italic;
  189. text-align: right;
  190. z-index: -10;
  191. }
  192. .flux {
  193. }
  194. .flux.active {
  195. border-left: 3px solid #3498db;
  196. background: #fff;
  197. }
  198. .flux.not_read {
  199. border-left: 3px solid #FF5300;
  200. background: #FFF3ED;
  201. }
  202. .flux.favorite {
  203. border-left: 3px solid #FFC300;
  204. background: #FFF6DA;
  205. }
  206. .flux_header {
  207. height: 25px;
  208. font-size: 12px;
  209. line-height: 25px;
  210. border-top: 1px solid #ecf0f1;
  211. }
  212. .item.manage {
  213. width: 80px;
  214. white-space: nowrap;
  215. font-size: 0px;
  216. text-align: center;
  217. }
  218. .item.manage .read {
  219. display: inline-block;
  220. width: 40px;
  221. height: 40px;
  222. background: url("icons/read.png") center center no-repeat;
  223. background: url("icons/read.svg") center center no-repeat;
  224. vertical-align: middle;
  225. }
  226. .item.manage .read:hover {
  227. text-decoration: none;
  228. }
  229. .flux.not_read .item.manage .read {
  230. background: url("icons/unread.png") center center no-repeat;
  231. background: url("icons/unread.svg") center center no-repeat;
  232. }
  233. .item.manage .bookmark {
  234. display: inline-block;
  235. width: 40px;
  236. height: 40px;
  237. background: url("icons/non-starred.png") center center no-repeat;
  238. background: url("icons/non-starred.svg") center center no-repeat;
  239. vertical-align: middle;
  240. }
  241. .item.manage .bookmark:hover {
  242. text-decoration: none;
  243. }
  244. .flux.favorite .item.manage .bookmark {
  245. background: url("icons/starred.png") center center no-repeat;
  246. background: url("icons/starred.svg") center center no-repeat;
  247. }
  248. .flux_header .item.website {
  249. width: 200px;
  250. overflow: hidden;
  251. white-space: nowrap;
  252. text-overflow: ellipsis;
  253. line-height: 40px;
  254. }
  255. .flux_header .item.website .favicon {
  256. padding: 5px;
  257. }
  258. .flux_header .item.website a {
  259. display: block;
  260. height: 40px;
  261. }
  262. .flux_header .item.title {
  263. overflow: hidden;
  264. white-space: nowrap;
  265. text-overflow: ellipsis;
  266. cursor: pointer;
  267. }
  268. .flux_header .item.title a {
  269. color: #333;
  270. outline: none;
  271. }
  272. .flux_header .item.title a:hover {
  273. text-decoration: none
  274. }
  275. .flux.not_read .flux_header .item.title {
  276. font-weight: bold;
  277. }
  278. .item.date {
  279. width: 200px;
  280. overflow: hidden;
  281. white-space: nowrap;
  282. text-overflow: ellipsis;
  283. text-align: right;
  284. font-size: 10px;
  285. color: #666;
  286. cursor: pointer;
  287. }
  288. .item.link {
  289. width: 40px;
  290. text-align: center;
  291. }
  292. .item.link a {
  293. display: inline-block;
  294. width: 40px;
  295. height: 40px;
  296. background: url("icons/link.png") center center no-repeat;
  297. background: url("icons/link.svg") center center no-repeat;
  298. vertical-align: middle;
  299. }
  300. .item.link a:hover {
  301. text-decoration: none;
  302. }
  303. #stream.reader .flux {
  304. position: relative;
  305. padding: 0 0 30px;
  306. border: none;
  307. background: #ecf0f1;
  308. color: #34495e;
  309. font-size: 120%;
  310. }
  311. #stream.reader .flux a {
  312. }
  313. #stream.reader .flux .author {
  314. margin: 0 0 10px;
  315. font-size: 90%;
  316. color: #aaa;
  317. }
  318. #stream.global {
  319. text-align: center;
  320. }
  321. #stream.global .category {
  322. display: inline-block;
  323. width: 280px;
  324. margin: 20px 10px;
  325. vertical-align: top;
  326. border: 1px solid #aaa;
  327. border-radius: 5px;
  328. text-align: left;
  329. box-shadow: 0 0 5px #bbb;
  330. }
  331. #stream.global .cat_header {
  332. height: 35px;
  333. padding: 0 10px;
  334. background: #eee;
  335. border-bottom: 1px solid #aaa;
  336. border-radius: 5px 5px 0 0;
  337. line-height: 35px;
  338. font-size: 120%;
  339. }
  340. #stream.global .cat_header a {
  341. color: #333;
  342. text-shadow: 0 -1px 0px #aaa;
  343. }
  344. #stream.global .category .feeds {
  345. max-height: 250px;
  346. margin: 0;
  347. list-style: none;
  348. overflow: auto;
  349. }
  350. #stream.global .category .feeds .item {
  351. padding: 2px 10px;
  352. font-size: 90%;
  353. }
  354. .content {
  355. min-height: 300px;
  356. max-width: 550px;
  357. margin: 0 auto;
  358. padding: 20px 10px;
  359. line-height: 170%;
  360. word-wrap: break-word;
  361. }
  362. .content .title {
  363. margin: 0 0 5px;
  364. }
  365. .content h1, .content h2, .content h3 {
  366. margin: 20px 0 5px;
  367. }
  368. .content p {
  369. margin: 0 0 20px;
  370. }
  371. .content img.big {
  372. display: block;
  373. margin: 10px auto;
  374. }
  375. .content figure img.big {
  376. margin: 0;
  377. }
  378. .content hr {
  379. margin: 30px 0;
  380. height: 1px;
  381. background: #ddd;
  382. border: 0;
  383. }
  384. .content pre {
  385. margin: 10px auto;
  386. padding: 10px;
  387. overflow: auto;
  388. background: #000;
  389. color: #fff;
  390. font-size: 110%;
  391. }
  392. .content q, .content blockquote {
  393. display: block;
  394. margin: 5px 0;
  395. padding: 5px 20px;
  396. font-style: italic;
  397. border-left: 4px solid #ccc;
  398. color: #666;
  399. }
  400. .content blockquote p {
  401. margin: 0;
  402. }
  403. #panel {
  404. display: none;
  405. position: fixed;
  406. top: 10px; bottom: 10px;
  407. left: 100px; right: 100px;
  408. overflow: auto;
  409. background: #fff;
  410. border: 1px solid #95a5a6;
  411. border-radius: 5px;
  412. }
  413. #panel .close {
  414. position: fixed;
  415. top: 10px; right: 0px;
  416. display: inline-block;
  417. width: 26px;
  418. height: 26px;
  419. margin: 0 10px 0 0;
  420. border-radius: 3px;
  421. text-align: center;
  422. line-height: 24px;
  423. background: #95a5a6;
  424. }
  425. #panel .close:hover {
  426. background: #7f8c8d;
  427. }
  428. #overlay {
  429. display: none;
  430. position: fixed;
  431. top: 0; bottom: 0;
  432. left: 0; right: 0;
  433. background: rgba(0, 0, 0, 0.9);
  434. }
  435. .flux_content .bottom {
  436. font-size: 90%;
  437. text-align: center;
  438. }
  439. /*** PAGINATION ***/
  440. .pagination {
  441. display: table;
  442. width: 100%;
  443. margin: 0;
  444. background: #ecf0f1;
  445. text-align: center;
  446. color: #000;
  447. font-size: 80%;
  448. line-height: 200%;
  449. table-layout: fixed;
  450. font-weight: bold;
  451. }
  452. .pagination .item {
  453. display: table-cell;
  454. line-height: 40px;
  455. vertical-align: top;
  456. }
  457. .pagination .item.pager-current {
  458. font-weight: bold;
  459. font-size: 140%;
  460. color: #ecf0f1;
  461. background: #34495e;
  462. }
  463. .pagination .item.pager-first,
  464. .pagination .item.pager-previous,
  465. .pagination .item.pager-next,
  466. .pagination .item.pager-last {
  467. width: 100px;
  468. }
  469. .pagination .item a {
  470. display: block;
  471. color: #000;
  472. font-weight: bold;
  473. line-height: 40px;
  474. }
  475. .pagination .item a:hover {
  476. color: #ecf0f1;
  477. background: #34495e;
  478. text-decoration: none;
  479. }
  480. .nav_entries {
  481. display: table;
  482. width: 250px;
  483. height: 40px;
  484. position: fixed;
  485. bottom: 0;
  486. left: 0;
  487. margin: 0;
  488. background: #34495e;
  489. text-align: center;
  490. line-height: 40px;
  491. table-layout: fixed;
  492. }
  493. .nav_entries .item {
  494. display: table-cell;
  495. width: 30%;
  496. }
  497. .nav_entries .item a {
  498. display: block;
  499. }
  500. .nav_entries .item .icon.i_up {
  501. margin: 5px 0 0;
  502. vertical-align: top;
  503. }
  504. .pagination .loading,
  505. .pagination a:hover.loading {
  506. background: url("loader.gif") center center no-repeat #34495e;
  507. font-size: 0;
  508. }
  509. .bigMarkAsRead {
  510. background: #ecf0f1;
  511. cursor: pointer;
  512. height: 300px;
  513. text-shadow: 0 -1px 0 #aaa;
  514. }
  515. .bigMarkAsRead:hover {
  516. background: #34495e;
  517. color: #fff;
  518. }
  519. .bigTick {
  520. font-size: 72pt;
  521. margin: 75px 0 10px 0;
  522. }
  523. /*** NOTIFICATION ***/
  524. .notification {
  525. position: fixed;
  526. top: 10px; left: 10%; right: 10%;
  527. min-height: 30px;
  528. padding: 10px;
  529. line-height: 30px;
  530. text-align: center;
  531. border-radius: 3px;
  532. background: #ddd;
  533. color: #666;
  534. font-weight: bold;
  535. }
  536. .notification.good {
  537. background: #1abc9c;
  538. color: #fff;
  539. }
  540. .notification.bad {
  541. background: #e74c3c;
  542. color: #fff;
  543. }
  544. .notification a.close {
  545. display: inline-block;
  546. width: 16px;
  547. height: 16px;
  548. float: right;
  549. margin: -16px -16px 0 0;
  550. padding: 5px;
  551. border-radius: 3px;
  552. line-height: 16px;
  553. }
  554. .notification.good a.close {
  555. background: #1abc9c;
  556. }
  557. .notification.bad a.close {
  558. background: #e74c3c;
  559. }
  560. .toggle_aside, .btn.toggle_aside {
  561. display: none;
  562. }
  563. .actualizeProgress {
  564. position: fixed;
  565. top: 10px; left: 25%; right: 25%;
  566. padding: 5px;
  567. background: #3498db;
  568. color: #fff;
  569. text-align: center;
  570. border-radius: 3px;
  571. font-weight: bold;
  572. }
  573. .actualizeProgress progress {
  574. max-width: 100%;
  575. width: 250px;
  576. height: 15px;
  577. vertical-align: middle;
  578. background: #fff;
  579. border: none;
  580. }
  581. .actualizeProgress .progress {
  582. color: #ecf0f1;
  583. }
  584. .logs {
  585. border: 1px solid #34495e;
  586. }
  587. .logs .log {
  588. margin: 10px 0;
  589. padding: 5px 2%;
  590. overflow: auto;
  591. background: #fafafa;
  592. color: #666;
  593. font-size: 90%;
  594. }
  595. .logs .log .date {
  596. margin: 0 10px 0 0;
  597. padding: 5px 10px;
  598. border-radius: 20px;
  599. }
  600. .logs .log.error .date {
  601. background: #e74c3c;
  602. color: #fff;
  603. }
  604. .logs .log.warning .date {
  605. background: #f39c12;
  606. }
  607. .logs .log.notice .date {
  608. background: #ecf0f1;
  609. }
  610. @media(max-width: 840px) {
  611. .header,
  612. .aside .btn-important,
  613. .aside .feeds .dropdown,
  614. .flux_header .item.website span,
  615. .item.date {
  616. display: none;
  617. }
  618. .flux_header .item.website {
  619. width: 40px;
  620. text-align: center;
  621. }
  622. .flux_header .item.website .favicon {
  623. padding: 12px;
  624. }
  625. .nav-login {
  626. display: block;
  627. }
  628. .content {
  629. font-size: 120%;
  630. }
  631. .pagination {
  632. margin: 0 0 40px;
  633. }
  634. .pagination .pager-previous, .pagination .pager-next {
  635. width: 100px;
  636. }
  637. .toggle_aside, .btn.toggle_aside {
  638. display: inline-block;
  639. }
  640. .aside {
  641. position: fixed;
  642. top: 0; left: 0;
  643. width: 0;
  644. overflow: hidden;
  645. z-index: 10;
  646. transition: width 200ms linear;
  647. background: #ecf0f1;
  648. }
  649. .aside.aside_flux {
  650. padding: 10px 0 0;
  651. }
  652. .aside:target {
  653. width: 80%;
  654. border-right: 1px solid #aaa;
  655. overflow: auto;
  656. }
  657. .aside .toggle_aside {
  658. position: absolute;
  659. right: 10px;
  660. display: inline-block;
  661. width: 26px;
  662. height: 26px;
  663. margin: 0 10px 0 0;
  664. border-radius: 3px;
  665. text-align: center;
  666. line-height: 24px;
  667. background: #95a5a6;
  668. }
  669. .aside .toggle_aside:hover {
  670. background: #7f8c8d;
  671. }
  672. .aside .categories {
  673. margin: 30px 0;
  674. }
  675. .nav_entries {
  676. width: 100%;
  677. }
  678. .nav_menu .btn {
  679. margin: 5px 10px;
  680. }
  681. .nav_menu .stick {
  682. margin: 0 10px;
  683. }
  684. .nav_menu .stick .btn {
  685. margin: 5px 0;
  686. }
  687. #panel {
  688. left: 5px; right: 5px;
  689. }
  690. .day .date {
  691. display: none;
  692. }
  693. .day .name {
  694. height: 2.6em;
  695. font-size: 1em;
  696. text-shadow: none;
  697. }
  698. }