freshrss.css 15 KB

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