freshrss.css 15 KB

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