freshrss.css 15 KB

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