freshrss.css 14 KB

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