freshrss.css 15 KB

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