freshrss.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  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. .flux_header {
  228. background: inherit;
  229. height: 25px;
  230. font-size: 12px;
  231. border-top: 1px solid #ecf0f1;
  232. cursor: pointer;
  233. }
  234. .flux .item {
  235. line-height: 40px;
  236. white-space: nowrap;
  237. }
  238. .flux_header > .item {
  239. overflow: hidden;
  240. text-overflow: ellipsis;
  241. }
  242. .flux .item.manage {
  243. width: 40px;
  244. text-align: center;
  245. }
  246. .flux .item.website {
  247. width: 200px;
  248. }
  249. .website .favicon {
  250. padding: 5px;
  251. }
  252. .flux .item.title {
  253. background: inherit;
  254. }
  255. .flux:hover .item.title {
  256. border-right: 2px solid rgba(127, 127, 127, 0.1);
  257. padding-right: 1em;
  258. position: absolute;
  259. }
  260. .flux .item.title a {
  261. color: #333;
  262. outline: none;
  263. }
  264. .flux.current .item.title,
  265. .flux.not_read .item.title {
  266. font-weight: bold;
  267. }
  268. .flux .item.date {
  269. width: 200px;
  270. padding:0 5px 0 0;
  271. text-align: right;
  272. font-size: 10px;
  273. color: #666;
  274. }
  275. .link {
  276. width: 40px;
  277. text-align: center;
  278. }
  279. #stream.reader .flux {
  280. position: relative;
  281. padding: 0 0 30px;
  282. border: none;
  283. background: #ecf0f1;
  284. color: #34495e;
  285. font-size: 120%;
  286. }
  287. #stream.reader .flux .author {
  288. margin: 0 0 10px;
  289. font-size: 90%;
  290. color: #aaa;
  291. }
  292. #stream.global {
  293. text-align: center;
  294. }
  295. #stream.global .box-category {
  296. display: inline-block;
  297. width: 280px;
  298. margin: 20px 10px;
  299. vertical-align: top;
  300. border: 1px solid #ddd;
  301. border-radius: 5px;
  302. text-align: left;
  303. }
  304. #stream.global .category {
  305. width: 100%;
  306. margin: 0;
  307. }
  308. #stream.global .btn {
  309. display: block;
  310. width: auto;
  311. height: 35px;
  312. margin: 0;
  313. padding: 0 10px;
  314. background: #ecf0f1;
  315. color: #333;
  316. border-bottom: 1px solid #ddd;
  317. border-radius: 5px 5px 0 0;
  318. line-height: 35px;
  319. font-size: 120%;
  320. }
  321. #stream.global .btn:not([data-unread="0"]) {
  322. font-weight:bold;
  323. }
  324. #stream.global .btn:first-child:not([data-unread="0"]):after {
  325. top: 0; right: 5px;
  326. border: 0;
  327. background: none;
  328. color: #333;
  329. font-weight: bold;
  330. box-shadow: none;
  331. }
  332. #stream.global .box-category .feeds {
  333. display: block;
  334. max-height: 250px;
  335. margin: 0;
  336. list-style: none;
  337. overflow: auto;
  338. }
  339. #stream.global .box-category .feeds .item {
  340. padding: 2px 10px;
  341. font-size: 90%;
  342. }
  343. #stream.global .box-category .feed {
  344. width: 220px;
  345. }
  346. .content {
  347. min-height: 150px;
  348. max-width: 550px;
  349. margin: 0 auto;
  350. padding: 20px 10px;
  351. line-height: 170%;
  352. word-wrap: break-word;
  353. }
  354. .content h1, .content h2, .content h3 {
  355. margin: 20px 0 5px;
  356. }
  357. .content > .title {
  358. font-size: x-large;
  359. margin: 0;
  360. }
  361. .content p {
  362. margin: 0 0 20px;
  363. }
  364. img.big {
  365. display: block;
  366. margin: 10px auto;
  367. }
  368. figure img.big {
  369. margin: 0;
  370. }
  371. .content hr {
  372. margin: 30px 0;
  373. height: 1px;
  374. background: #ddd;
  375. border: 0;
  376. }
  377. .content pre {
  378. margin: 10px auto;
  379. padding: 10px;
  380. overflow: auto;
  381. background: #000;
  382. color: #fff;
  383. font-size: 110%;
  384. }
  385. .content q, .content blockquote {
  386. display: block;
  387. margin: 5px 0;
  388. padding: 5px 20px;
  389. font-style: italic;
  390. border-left: 4px solid #ccc;
  391. color: #666;
  392. }
  393. .content blockquote p {
  394. margin: 0;
  395. }
  396. #panel {
  397. display: none;
  398. position: fixed;
  399. top: 10px; bottom: 10px;
  400. left: 100px; right: 100px;
  401. overflow: auto;
  402. background: #fff;
  403. border: 1px solid #95a5a6;
  404. border-radius: 5px;
  405. }
  406. #panel .close {
  407. position: fixed;
  408. top: 10px; right: 0px;
  409. display: inline-block;
  410. width: 26px;
  411. height: 26px;
  412. margin: 0 10px 0 0;
  413. border-radius: 3px;
  414. text-align: center;
  415. line-height: 24px;
  416. background: #95a5a6;
  417. }
  418. #panel .close:hover {
  419. background: #7f8c8d;
  420. }
  421. #overlay {
  422. display: none;
  423. position: fixed;
  424. top: 0; bottom: 0;
  425. left: 0; right: 0;
  426. background: rgba(0, 0, 0, 0.9);
  427. }
  428. .flux_content .bottom {
  429. font-size: 90%;
  430. text-align: center;
  431. }
  432. .hide_posts > :not(.active) > .flux_content {
  433. display:none;
  434. }
  435. /*** PAGINATION ***/
  436. .pagination {
  437. display: table;
  438. width: 100%;
  439. margin: 0;
  440. background: #ecf0f1;
  441. text-align: center;
  442. color: #000;
  443. font-size: 80%;
  444. line-height: 200%;
  445. table-layout: fixed;
  446. font-weight: bold;
  447. }
  448. .pagination .item {
  449. display: table-cell;
  450. line-height: 40px;
  451. vertical-align: top;
  452. }
  453. .pagination .item.pager-current {
  454. font-weight: bold;
  455. font-size: 140%;
  456. color: #ecf0f1;
  457. background: #34495e;
  458. }
  459. .pagination .item.pager-first,
  460. .pagination .item.pager-previous,
  461. .pagination .item.pager-next,
  462. .pagination .item.pager-last {
  463. width: 100px;
  464. }
  465. .pagination .item a {
  466. display: block;
  467. color: #000;
  468. font-weight: bold;
  469. line-height: 40px;
  470. }
  471. .pagination .item a:hover {
  472. color: #ecf0f1;
  473. background: #34495e;
  474. }
  475. #nav_entries {
  476. display: table;
  477. width: 250px;
  478. height: 40px;
  479. position: fixed;
  480. bottom: 0;
  481. left: 0;
  482. margin: 0;
  483. background: #34495e;
  484. text-align: center;
  485. line-height: 40px;
  486. table-layout: fixed;
  487. }
  488. #nav_entries .item {
  489. display: table-cell;
  490. width: 30%;
  491. }
  492. #nav_entries a {
  493. display: block;
  494. }
  495. #nav_entries .i_up {
  496. margin: 5px 0 0;
  497. vertical-align: top;
  498. }
  499. .pagination .loading,
  500. .pagination a:hover.loading {
  501. background: url("loader.gif") center center no-repeat #34495e;
  502. font-size: 0;
  503. }
  504. #bigMarkAsRead {
  505. background: #ecf0f1;
  506. display: block;
  507. font-style: normal;
  508. padding: 32px 0 64px 0;
  509. text-align: center;
  510. text-decoration: none;
  511. text-shadow: 0 -1px 0 #aaa;
  512. }
  513. #bigMarkAsRead:hover {
  514. background: #34495e;
  515. color: #fff;
  516. }
  517. .bigTick {
  518. font-size: 72pt;
  519. line-height: 1.6em;
  520. }
  521. /*** NOTIFICATION ***/
  522. .notification {
  523. position: absolute;
  524. top: 10px;
  525. left: 25%; right: 25%;
  526. min-height: 30px;
  527. padding: 10px;
  528. line-height: 30px;
  529. text-align: center;
  530. border-radius: 3px;
  531. background: #ddd;
  532. color: #666;
  533. font-weight: bold;
  534. z-index: 10;
  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;
  566. left: 25%; right: 25%;
  567. padding: 5px;
  568. background: #3498db;
  569. color: #fff;
  570. text-align: center;
  571. border-radius: 3px;
  572. font-weight: bold;
  573. }
  574. .actualizeProgress progress {
  575. max-width: 100%;
  576. width: 250px;
  577. height: 15px;
  578. vertical-align: middle;
  579. background: #fff;
  580. border: none;
  581. }
  582. .actualizeProgress .progress {
  583. color: #ecf0f1;
  584. }
  585. .logs {
  586. border: 1px solid #34495e;
  587. }
  588. .log {
  589. margin: 10px 0;
  590. padding: 5px 2%;
  591. overflow: auto;
  592. background: #fafafa;
  593. color: #666;
  594. font-size: 90%;
  595. }
  596. .log>.date {
  597. margin: 0 10px 0 0;
  598. padding: 5px 10px;
  599. border-radius: 20px;
  600. }
  601. .log.error>.date {
  602. background: #e74c3c;
  603. color: #fff;
  604. }
  605. .log.warning>.date {
  606. background: #f39c12;
  607. }
  608. .log.notice>.date {
  609. background: #ecf0f1;
  610. }
  611. .log.debug>.date {
  612. background: #111;
  613. color: #eee;
  614. }
  615. .form-group table {
  616. border-collapse:collapse;
  617. margin:10px 0 0 220px;
  618. text-align:center;
  619. }
  620. .form-group tr, .form-group th, .form-group td {
  621. font-weight:normal;
  622. padding:.5em;
  623. }
  624. select.number option {
  625. text-align:right;
  626. }
  627. @media(max-width: 840px) {
  628. .header,
  629. .aside .btn-important,
  630. .aside .feeds .dropdown,
  631. .flux_header .item.website span,
  632. .item.date {
  633. display: none;
  634. }
  635. .flux_header .item.website {
  636. width: 40px;
  637. text-align: center;
  638. }
  639. .flux_header .item.website .favicon {
  640. padding: 12px;
  641. }
  642. .nav-login {
  643. display: block;
  644. }
  645. .content {
  646. font-size: 120%;
  647. padding: 0;
  648. }
  649. .pagination {
  650. margin: 0 0 40px;
  651. }
  652. .pagination .pager-previous, .pagination .pager-next {
  653. width: 100px;
  654. }
  655. .toggle_aside, .btn.toggle_aside {
  656. display: inline-block;
  657. }
  658. .aside {
  659. position: fixed;
  660. top: 0; left: 0;
  661. width: 0;
  662. overflow: hidden;
  663. z-index: 10;
  664. transition: width 200ms linear;
  665. background: #ecf0f1;
  666. }
  667. .aside.aside_flux {
  668. padding: 10px 0 0;
  669. }
  670. .aside:target {
  671. width: 80%;
  672. border-right: 1px solid #aaa;
  673. overflow: auto;
  674. }
  675. .aside .toggle_aside {
  676. position: absolute;
  677. right: 10px;
  678. display: inline-block;
  679. width: 26px;
  680. height: 26px;
  681. margin: 0 10px 0 0;
  682. border-radius: 3px;
  683. text-align: center;
  684. line-height: 24px;
  685. background: #95a5a6;
  686. }
  687. .aside .toggle_aside:hover {
  688. background: #7f8c8d;
  689. }
  690. .aside .categories {
  691. margin: 30px 0;
  692. }
  693. #nav_entries {
  694. width: 100%;
  695. }
  696. .nav_menu .btn {
  697. margin: 5px 10px;
  698. }
  699. .nav_menu .stick {
  700. margin: 0 10px;
  701. }
  702. .nav_menu .stick .btn {
  703. margin: 5px 0;
  704. }
  705. .nav_menu .search {
  706. display: inline-block;
  707. max-width: 97%;
  708. }
  709. .nav_menu .search input {
  710. max-width: 97%;
  711. width: 90px;
  712. }
  713. .nav_menu .search input:focus {
  714. width: 400px;
  715. }
  716. #panel {
  717. left: 5px; right: 5px;
  718. }
  719. .day .date {
  720. display: none;
  721. }
  722. .day .name {
  723. height: 2.6em;
  724. font-size: 1em;
  725. text-shadow: none;
  726. }
  727. .notification,
  728. .actualizeProgress {
  729. left: 10px;
  730. right: 10px;
  731. }
  732. }
  733. /*** FALLBACK ***/
  734. .dropdown-menu:after {
  735. -moz-transform: rotate(45deg);
  736. -webkit-transform: rotate(45deg);
  737. -ms-transform: rotate(45deg);
  738. }
  739. @media print {
  740. .header,
  741. .aside,
  742. .nav_menu,
  743. .day,
  744. .flux_header,
  745. .flux_content .bottom,
  746. .pagination {
  747. display: none;
  748. }
  749. html, body {
  750. background: #fff;
  751. color: #000;
  752. font-family: Serif;
  753. font-size: 12pt;
  754. }
  755. #global,
  756. .flux_content {
  757. display: block !important;
  758. }
  759. .flux_content .content {
  760. width: 100% !important;
  761. text-align: justify;
  762. }
  763. .flux_content .content a {
  764. color: #000;
  765. }
  766. .flux_content .content a:after {
  767. content: " (" attr(href) ") ";
  768. text-decoration: underline;
  769. }
  770. }