freshrss.css 15 KB

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