freshrss.css 14 KB

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