freshrss.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  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 .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. background: #3498db;
  338. color: #fff;
  339. font-weight: bold;
  340. }
  341. #stream.global .btn:first-child:not([data-unread="0"]):after {
  342. top: 0; right: 5px;
  343. border: 0;
  344. background: none;
  345. color: #fff;
  346. font-weight: bold;
  347. box-shadow: none;
  348. }
  349. #stream.global .box-category .feeds {
  350. display: block;
  351. max-height: 250px;
  352. margin: 0;
  353. list-style: none;
  354. overflow: auto;
  355. }
  356. #stream.global .box-category .feeds .item {
  357. padding: 2px 10px;
  358. font-size: 90%;
  359. }
  360. #stream.global .box-category .feed {
  361. width: 220px;
  362. }
  363. .content {
  364. min-height: 150px;
  365. margin: 0 auto;
  366. padding: 20px 10px;
  367. line-height: 170%;
  368. word-wrap: break-word;
  369. }
  370. .content.large {
  371. max-width: 1000px;
  372. }
  373. .content.medium {
  374. max-width: 800px;
  375. }
  376. .content.thin {
  377. max-width: 550px;
  378. }
  379. .content h1, .content h2, .content h3 {
  380. margin: 20px 0 5px;
  381. }
  382. .content > .title {
  383. font-size: x-large;
  384. margin: 0;
  385. }
  386. .content p {
  387. margin: 0 0 20px;
  388. }
  389. img.big {
  390. display: block;
  391. margin: 10px auto;
  392. }
  393. figure img.big {
  394. margin: 0;
  395. }
  396. .content hr {
  397. margin: 30px 0;
  398. height: 1px;
  399. background: #ddd;
  400. border: 0;
  401. }
  402. .content pre {
  403. margin: 10px auto;
  404. padding: 10px;
  405. overflow: auto;
  406. background: #000;
  407. color: #fff;
  408. font-size: 110%;
  409. }
  410. .content q, .content blockquote {
  411. display: block;
  412. margin: 5px 0;
  413. padding: 5px 20px;
  414. font-style: italic;
  415. border-left: 4px solid #ccc;
  416. color: #666;
  417. }
  418. .content blockquote p {
  419. margin: 0;
  420. }
  421. #panel {
  422. display: none;
  423. position: fixed;
  424. top: 10px; bottom: 10px;
  425. left: 100px; right: 100px;
  426. overflow: auto;
  427. background: #fff;
  428. border: 1px solid #95a5a6;
  429. border-radius: 5px;
  430. }
  431. #panel .close {
  432. position: fixed;
  433. top: 10px; right: 0px;
  434. display: inline-block;
  435. width: 26px;
  436. height: 26px;
  437. margin: 0 10px 0 0;
  438. border-radius: 3px;
  439. text-align: center;
  440. line-height: 24px;
  441. background: #95a5a6;
  442. }
  443. #panel .close:hover {
  444. background: #7f8c8d;
  445. }
  446. #overlay {
  447. display: none;
  448. position: fixed;
  449. top: 0; bottom: 0;
  450. left: 0; right: 0;
  451. background: rgba(0, 0, 0, 0.9);
  452. }
  453. .flux_content .bottom {
  454. font-size: 90%;
  455. text-align: center;
  456. }
  457. .hide_posts > :not(.active) > .flux_content {
  458. display:none;
  459. }
  460. /*** PAGINATION ***/
  461. .pagination {
  462. display: table;
  463. width: 100%;
  464. margin: 0;
  465. background: #ecf0f1;
  466. text-align: center;
  467. color: #000;
  468. font-size: 80%;
  469. line-height: 200%;
  470. table-layout: fixed;
  471. font-weight: bold;
  472. }
  473. .pagination .item {
  474. display: table-cell;
  475. line-height: 40px;
  476. vertical-align: top;
  477. }
  478. .pagination .item.pager-current {
  479. font-weight: bold;
  480. font-size: 140%;
  481. color: #ecf0f1;
  482. background: #34495e;
  483. }
  484. .pagination .item.pager-first,
  485. .pagination .item.pager-previous,
  486. .pagination .item.pager-next,
  487. .pagination .item.pager-last {
  488. width: 100px;
  489. }
  490. .pagination .item a {
  491. display: block;
  492. color: #000;
  493. font-weight: bold;
  494. line-height: 40px;
  495. }
  496. .pagination .item a:hover {
  497. color: #ecf0f1;
  498. background: #34495e;
  499. }
  500. #nav_entries {
  501. display: table;
  502. width: 250px;
  503. height: 40px;
  504. position: fixed;
  505. bottom: 0;
  506. left: 0;
  507. margin: 0;
  508. background: #34495e;
  509. text-align: center;
  510. line-height: 40px;
  511. table-layout: fixed;
  512. }
  513. #nav_entries .item {
  514. display: table-cell;
  515. width: 30%;
  516. }
  517. #nav_entries a {
  518. display: block;
  519. }
  520. #nav_entries .i_up {
  521. margin: 5px 0 0;
  522. vertical-align: top;
  523. }
  524. .pagination .loading,
  525. .pagination a:hover.loading {
  526. background: url("loader.gif") center center no-repeat #34495e;
  527. font-size: 0;
  528. }
  529. #bigMarkAsRead {
  530. background: #ecf0f1;
  531. display: block;
  532. font-style: normal;
  533. padding: 32px 0 64px 0;
  534. text-align: center;
  535. text-decoration: none;
  536. text-shadow: 0 -1px 0 #aaa;
  537. }
  538. #bigMarkAsRead:hover {
  539. background: #34495e;
  540. color: #fff;
  541. }
  542. .bigTick {
  543. font-size: 72pt;
  544. line-height: 1.6em;
  545. }
  546. /*** NOTIFICATION ***/
  547. .notification {
  548. position: absolute;
  549. top: 10px;
  550. left: 25%; right: 25%;
  551. min-height: 30px;
  552. padding: 10px;
  553. line-height: 30px;
  554. text-align: center;
  555. border-radius: 3px;
  556. background: #ddd;
  557. color: #666;
  558. font-weight: bold;
  559. z-index: 10;
  560. }
  561. .notification.closed {
  562. display: none;
  563. }
  564. .notification.good {
  565. background: #1abc9c;
  566. color: #fff;
  567. }
  568. .notification.bad {
  569. background: #e74c3c;
  570. color: #fff;
  571. }
  572. .notification a.close {
  573. position: absolute;
  574. top: -6px; right: -6px;
  575. display: inline-block;
  576. width: 16px;
  577. height: 16px;
  578. padding: 5px;
  579. border-radius: 3px;
  580. line-height: 16px;
  581. }
  582. .notification.good a.close {
  583. background: #1abc9c;
  584. }
  585. .notification.bad a.close {
  586. background: #e74c3c;
  587. }
  588. .toggle_aside, .btn.toggle_aside {
  589. display: none;
  590. }
  591. #actualizeProgress {
  592. position: fixed;
  593. }
  594. #actualizeProgress progress {
  595. max-width: 100%;
  596. vertical-align: middle;
  597. }
  598. #actualizeProgress .progress {
  599. vertical-align: middle;
  600. }
  601. .logs {
  602. border: 1px solid #34495e;
  603. }
  604. .log {
  605. margin: 10px 0;
  606. padding: 5px 2%;
  607. overflow: auto;
  608. background: #fafafa;
  609. color: #666;
  610. font-size: 90%;
  611. }
  612. .log>.date {
  613. margin: 0 10px 0 0;
  614. padding: 5px 10px;
  615. border-radius: 20px;
  616. }
  617. .log.error>.date {
  618. background: #e74c3c;
  619. color: #fff;
  620. }
  621. .log.warning>.date {
  622. background: #f39c12;
  623. }
  624. .log.notice>.date {
  625. background: #ecf0f1;
  626. }
  627. .log.debug>.date {
  628. background: #111;
  629. color: #eee;
  630. }
  631. .form-group table {
  632. border-collapse:collapse;
  633. margin:10px 0 0 220px;
  634. text-align:center;
  635. }
  636. .form-group tr, .form-group th, .form-group td {
  637. font-weight:normal;
  638. padding:.5em;
  639. }
  640. select.number option {
  641. text-align:right;
  642. }
  643. @media(min-width: 841px) {
  644. .flux:not(.current):hover .item.title {
  645. max-width: calc(100% - 580px);
  646. padding-right: 1.5em;
  647. position: absolute;
  648. }
  649. }
  650. @media(max-width: 840px) {
  651. .header,
  652. .aside .btn-important,
  653. .aside .feeds .dropdown,
  654. .flux_header .item.website span,
  655. .item.date {
  656. display: none;
  657. }
  658. .flux_header .item.website {
  659. width: 40px;
  660. text-align: center;
  661. }
  662. .flux_header .item.website .favicon {
  663. padding: 12px;
  664. }
  665. .nav-login {
  666. display: block;
  667. }
  668. .pagination {
  669. margin: 0 0 40px;
  670. }
  671. .pagination .pager-previous, .pagination .pager-next {
  672. width: 100px;
  673. }
  674. .toggle_aside, .btn.toggle_aside {
  675. display: inline-block;
  676. }
  677. .aside {
  678. position: fixed;
  679. top: 0; left: 0;
  680. width: 0;
  681. overflow: hidden;
  682. z-index: 10;
  683. transition: width 200ms linear;
  684. background: #ecf0f1;
  685. }
  686. .aside.aside_flux {
  687. padding: 10px 0 0;
  688. }
  689. .aside:target {
  690. width: 80%;
  691. border-right: 1px solid #aaa;
  692. overflow: auto;
  693. }
  694. .aside .toggle_aside {
  695. position: absolute;
  696. right: 10px;
  697. display: inline-block;
  698. width: 26px;
  699. height: 26px;
  700. margin: 0 10px 0 0;
  701. border-radius: 3px;
  702. text-align: center;
  703. line-height: 24px;
  704. background: #95a5a6;
  705. }
  706. .aside .toggle_aside:hover {
  707. background: #7f8c8d;
  708. }
  709. .aside .categories {
  710. margin: 30px 0;
  711. }
  712. #nav_entries {
  713. width: 100%;
  714. }
  715. .nav_menu .btn {
  716. margin: 5px 10px;
  717. }
  718. .nav_menu .stick {
  719. margin: 0 10px;
  720. }
  721. .nav_menu .stick .btn {
  722. margin: 5px 0;
  723. }
  724. .nav_menu .search {
  725. display: inline-block;
  726. max-width: 97%;
  727. }
  728. .nav_menu .search input {
  729. max-width: 97%;
  730. width: 90px;
  731. }
  732. .nav_menu .search input:focus {
  733. width: 400px;
  734. }
  735. #panel {
  736. left: 5px; right: 5px;
  737. }
  738. .day .date {
  739. display: none;
  740. }
  741. .day .name {
  742. height: 2.6em;
  743. font-size: 1em;
  744. text-shadow: none;
  745. }
  746. .notification {
  747. top: 0;
  748. left: 0;
  749. right: 0;
  750. border-radius: 0;
  751. }
  752. .notification a.close,
  753. .notification.good a.close,
  754. .notification.bad a.close {
  755. left: 0; right: 0;
  756. top: 0; bottom: 0;
  757. width: auto;
  758. height: auto;
  759. background: transparent;
  760. border: none;
  761. }
  762. .notification a.close .icon {
  763. display: none;
  764. }
  765. }
  766. /*** FALLBACK ***/
  767. .dropdown-menu:after {
  768. -moz-transform: rotate(45deg);
  769. -webkit-transform: rotate(45deg);
  770. -ms-transform: rotate(45deg);
  771. }
  772. input.extend {
  773. -moz-transition: width 200ms linear;
  774. -webkit-transition: width 200ms linear;
  775. -o-transition: width 200ms linear;
  776. -ms-transition: width 200ms linear;
  777. }
  778. @media print {
  779. .header,
  780. .aside,
  781. .nav_menu,
  782. .day,
  783. .flux_header,
  784. .flux_content .bottom,
  785. .pagination {
  786. display: none;
  787. }
  788. html, body {
  789. background: #fff;
  790. color: #000;
  791. font-family: Serif;
  792. font-size: 12pt;
  793. }
  794. #global,
  795. .flux_content {
  796. display: block !important;
  797. }
  798. .flux_content .content {
  799. width: 100% !important;
  800. text-align: justify;
  801. }
  802. .flux_content .content a {
  803. color: #000;
  804. }
  805. .flux_content .content a:after {
  806. content: " (" attr(href) ") ";
  807. text-decoration: underline;
  808. }
  809. }
  810. .stat {
  811. border:1px solid #aaa;
  812. border-radius:10px;
  813. box-shadow:2px 2px 5px #aaa;
  814. margin:10px 0;
  815. padding:0 5px;
  816. }
  817. .stat > h2 {
  818. border-bottom:1px solid #aaa;
  819. margin:0 -5px;
  820. padding-left:5px;
  821. }
  822. .stat > div {
  823. margin:5px 0;
  824. }
  825. .stat > table {
  826. border-collapse:collapse;
  827. margin:5px 0;
  828. width:100%;
  829. }
  830. .stat > table > thead > tr {
  831. border-bottom:2px solid #aaa;
  832. }
  833. .stat > table > tbody > tr {
  834. border-bottom:1px solid #aaa;
  835. }
  836. .stat > table > tbody > tr:last-child {
  837. border-bottom:0;
  838. }
  839. .stat > table th, .stat > table td {
  840. border-left:2px solid #aaa;
  841. padding:5px;
  842. }
  843. .stat > table th:first-child, .stat > table td:first-child {
  844. border-left:0;
  845. }
  846. .stat > table td.numeric{
  847. margin:5px 0;
  848. text-align:center;
  849. }