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. .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 .item.title a {
  256. color: #333;
  257. outline: none;
  258. }
  259. .flux.current .item.title,
  260. .flux.not_read .item.title {
  261. font-weight: bold;
  262. }
  263. .flux .item.date {
  264. width: 200px;
  265. padding:0 5px 0 0;
  266. text-align: right;
  267. font-size: 10px;
  268. color: #666;
  269. }
  270. .link {
  271. width: 40px;
  272. text-align: center;
  273. }
  274. #stream.reader .flux {
  275. position: relative;
  276. padding: 0 0 30px;
  277. border: none;
  278. background: #ecf0f1;
  279. color: #34495e;
  280. font-size: 120%;
  281. }
  282. #stream.reader .flux .author {
  283. margin: 0 0 10px;
  284. font-size: 90%;
  285. color: #aaa;
  286. }
  287. #stream.global {
  288. text-align: center;
  289. }
  290. #stream.global .box-category {
  291. display: inline-block;
  292. width: 280px;
  293. margin: 20px 10px;
  294. vertical-align: top;
  295. border: 1px solid #ddd;
  296. border-radius: 5px;
  297. text-align: left;
  298. }
  299. #stream.global .category {
  300. width: 100%;
  301. margin: 0;
  302. }
  303. #stream.global .btn {
  304. display: block;
  305. width: auto;
  306. height: 35px;
  307. margin: 0;
  308. padding: 0 10px;
  309. background: #ecf0f1;
  310. color: #333;
  311. border-bottom: 1px solid #ddd;
  312. border-radius: 5px 5px 0 0;
  313. line-height: 35px;
  314. font-size: 120%;
  315. }
  316. #stream.global .btn:not([data-unread="0"]) {
  317. font-weight:bold;
  318. }
  319. #stream.global .btn:first-child:not([data-unread="0"]):after {
  320. top: 0; right: 5px;
  321. border: 0;
  322. background: none;
  323. color: #333;
  324. font-weight: bold;
  325. box-shadow: none;
  326. }
  327. #stream.global .box-category .feeds {
  328. display: block;
  329. max-height: 250px;
  330. margin: 0;
  331. list-style: none;
  332. overflow: auto;
  333. }
  334. #stream.global .box-category .feeds .item {
  335. padding: 2px 10px;
  336. font-size: 90%;
  337. }
  338. #stream.global .box-category .feed {
  339. width: 220px;
  340. }
  341. .content {
  342. min-height: 150px;
  343. max-width: 550px;
  344. margin: 0 auto;
  345. padding: 20px 10px;
  346. line-height: 170%;
  347. word-wrap: break-word;
  348. }
  349. .content h1, .content h2, .content h3 {
  350. margin: 20px 0 5px;
  351. }
  352. .content > .title {
  353. font-size: x-large;
  354. margin: 0;
  355. }
  356. .content p {
  357. margin: 0 0 20px;
  358. }
  359. img.big {
  360. display: block;
  361. margin: 10px auto;
  362. }
  363. figure img.big {
  364. margin: 0;
  365. }
  366. .content hr {
  367. margin: 30px 0;
  368. height: 1px;
  369. background: #ddd;
  370. border: 0;
  371. }
  372. .content pre {
  373. margin: 10px auto;
  374. padding: 10px;
  375. overflow: auto;
  376. background: #000;
  377. color: #fff;
  378. font-size: 110%;
  379. }
  380. .content q, .content blockquote {
  381. display: block;
  382. margin: 5px 0;
  383. padding: 5px 20px;
  384. font-style: italic;
  385. border-left: 4px solid #ccc;
  386. color: #666;
  387. }
  388. .content blockquote p {
  389. margin: 0;
  390. }
  391. #panel {
  392. display: none;
  393. position: fixed;
  394. top: 10px; bottom: 10px;
  395. left: 100px; right: 100px;
  396. overflow: auto;
  397. background: #fff;
  398. border: 1px solid #95a5a6;
  399. border-radius: 5px;
  400. }
  401. #panel .close {
  402. position: fixed;
  403. top: 10px; right: 0px;
  404. display: inline-block;
  405. width: 26px;
  406. height: 26px;
  407. margin: 0 10px 0 0;
  408. border-radius: 3px;
  409. text-align: center;
  410. line-height: 24px;
  411. background: #95a5a6;
  412. }
  413. #panel .close:hover {
  414. background: #7f8c8d;
  415. }
  416. #overlay {
  417. display: none;
  418. position: fixed;
  419. top: 0; bottom: 0;
  420. left: 0; right: 0;
  421. background: rgba(0, 0, 0, 0.9);
  422. }
  423. .flux_content .bottom {
  424. font-size: 90%;
  425. text-align: center;
  426. }
  427. .hide_posts > :not(.active) > .flux_content {
  428. display:none;
  429. }
  430. /*** PAGINATION ***/
  431. .pagination {
  432. display: table;
  433. width: 100%;
  434. margin: 0;
  435. background: #ecf0f1;
  436. text-align: center;
  437. color: #000;
  438. font-size: 80%;
  439. line-height: 200%;
  440. table-layout: fixed;
  441. font-weight: bold;
  442. }
  443. .pagination .item {
  444. display: table-cell;
  445. line-height: 40px;
  446. vertical-align: top;
  447. }
  448. .pagination .item.pager-current {
  449. font-weight: bold;
  450. font-size: 140%;
  451. color: #ecf0f1;
  452. background: #34495e;
  453. }
  454. .pagination .item.pager-first,
  455. .pagination .item.pager-previous,
  456. .pagination .item.pager-next,
  457. .pagination .item.pager-last {
  458. width: 100px;
  459. }
  460. .pagination .item a {
  461. display: block;
  462. color: #000;
  463. font-weight: bold;
  464. line-height: 40px;
  465. }
  466. .pagination .item a:hover {
  467. color: #ecf0f1;
  468. background: #34495e;
  469. }
  470. #nav_entries {
  471. display: table;
  472. width: 250px;
  473. height: 40px;
  474. position: fixed;
  475. bottom: 0;
  476. left: 0;
  477. margin: 0;
  478. background: #34495e;
  479. text-align: center;
  480. line-height: 40px;
  481. table-layout: fixed;
  482. }
  483. #nav_entries .item {
  484. display: table-cell;
  485. width: 30%;
  486. }
  487. #nav_entries a {
  488. display: block;
  489. }
  490. #nav_entries .i_up {
  491. margin: 5px 0 0;
  492. vertical-align: top;
  493. }
  494. .pagination .loading,
  495. .pagination a:hover.loading {
  496. background: url("loader.gif") center center no-repeat #34495e;
  497. font-size: 0;
  498. }
  499. #bigMarkAsRead {
  500. background: #ecf0f1;
  501. display: block;
  502. font-style: normal;
  503. padding: 32px 0 64px 0;
  504. text-align: center;
  505. text-decoration: none;
  506. text-shadow: 0 -1px 0 #aaa;
  507. }
  508. #bigMarkAsRead:hover {
  509. background: #34495e;
  510. color: #fff;
  511. }
  512. .bigTick {
  513. font-size: 72pt;
  514. line-height: 1.6em;
  515. }
  516. /*** NOTIFICATION ***/
  517. .notification {
  518. position: absolute;
  519. top: 10px;
  520. left: 25%; right: 25%;
  521. min-height: 30px;
  522. padding: 10px;
  523. line-height: 30px;
  524. text-align: center;
  525. border-radius: 3px;
  526. background: #ddd;
  527. color: #666;
  528. font-weight: bold;
  529. z-index: 10;
  530. }
  531. .notification.good {
  532. background: #1abc9c;
  533. color: #fff;
  534. }
  535. .notification.bad {
  536. background: #e74c3c;
  537. color: #fff;
  538. }
  539. .notification a.close {
  540. display: inline-block;
  541. width: 16px;
  542. height: 16px;
  543. float: right;
  544. margin: -16px -16px 0 0;
  545. padding: 5px;
  546. border-radius: 3px;
  547. line-height: 16px;
  548. }
  549. .notification.good a.close {
  550. background: #1abc9c;
  551. }
  552. .notification.bad a.close {
  553. background: #e74c3c;
  554. }
  555. .toggle_aside, .btn.toggle_aside {
  556. display: none;
  557. }
  558. .actualizeProgress {
  559. position: fixed;
  560. top: 10px;
  561. left: 25%; right: 25%;
  562. padding: 5px;
  563. background: #3498db;
  564. color: #fff;
  565. text-align: center;
  566. border-radius: 3px;
  567. font-weight: bold;
  568. }
  569. .actualizeProgress progress {
  570. max-width: 100%;
  571. width: 250px;
  572. height: 15px;
  573. vertical-align: middle;
  574. background: #fff;
  575. border: none;
  576. }
  577. .actualizeProgress .progress {
  578. color: #ecf0f1;
  579. }
  580. .logs {
  581. border: 1px solid #34495e;
  582. }
  583. .log {
  584. margin: 10px 0;
  585. padding: 5px 2%;
  586. overflow: auto;
  587. background: #fafafa;
  588. color: #666;
  589. font-size: 90%;
  590. }
  591. .log>.date {
  592. margin: 0 10px 0 0;
  593. padding: 5px 10px;
  594. border-radius: 20px;
  595. }
  596. .log.error>.date {
  597. background: #e74c3c;
  598. color: #fff;
  599. }
  600. .log.warning>.date {
  601. background: #f39c12;
  602. }
  603. .log.notice>.date {
  604. background: #ecf0f1;
  605. }
  606. .log.debug>.date {
  607. background: #111;
  608. color: #eee;
  609. }
  610. .form-group table {
  611. border-collapse:collapse;
  612. margin:10px 0 0 220px;
  613. text-align:center;
  614. }
  615. .form-group tr, .form-group th, .form-group td {
  616. font-weight:normal;
  617. padding:.5em;
  618. }
  619. select.number option {
  620. text-align:right;
  621. }
  622. @media(min-width: 841px) {
  623. .flux:not(.current):hover .item.title {
  624. border-right: 2px solid rgba(127, 127, 127, 0.1);
  625. padding-right: 1em;
  626. position: absolute;
  627. }
  628. }
  629. @media(max-width: 840px) {
  630. .header,
  631. .aside .btn-important,
  632. .aside .feeds .dropdown,
  633. .flux_header .item.website span,
  634. .item.date {
  635. display: none;
  636. }
  637. .flux_header .item.website {
  638. width: 40px;
  639. text-align: center;
  640. }
  641. .flux_header .item.website .favicon {
  642. padding: 12px;
  643. }
  644. .nav-login {
  645. display: block;
  646. }
  647. .content {
  648. font-size: 120%;
  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. }