freshrss.css 13 KB

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