freshrss.css 14 KB

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