freshrss.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  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. .horizontal-list > .item > a {
  234. display: block
  235. }
  236. .flux_header {
  237. background: inherit;
  238. height: 25px;
  239. font-size: 12px;
  240. border-top: 1px solid #2f2f2f;
  241. cursor: pointer;
  242. }
  243. .flux .item {
  244. line-height: 40px;
  245. white-space: nowrap;
  246. }
  247. .flux_header > .item {
  248. overflow: hidden;
  249. text-overflow: ellipsis;
  250. }
  251. .flux .item.manage {
  252. width: 40px;
  253. text-align: center;
  254. }
  255. .flux .item.website {
  256. width: 200px;
  257. }
  258. .website .favicon {
  259. padding: 5px;
  260. }
  261. .flux .item.title {
  262. background: inherit;
  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: #1c1c1c;
  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(min-width: 841px) {
  623. .flux:not(.current):hover .item.title {
  624. border-right: 2px solid rgba(127, 127, 127, 0.1);
  625. padding-right: 1em;
  626. position: absolute;
  627. }
  628. }
  629. @media(max-width: 840px) {
  630. .header,
  631. .aside .btn-important,
  632. .aside .feeds .dropdown,
  633. .flux_header .item.website span,
  634. .item.date {
  635. display: none;
  636. }
  637. .flux_header .item.website {
  638. width: 40px;
  639. text-align: center;
  640. }
  641. .flux_header .item.website .favicon {
  642. padding: 12px;
  643. }
  644. .nav-login {
  645. display: block;
  646. }
  647. .content {
  648. font-size: 120%;
  649. }
  650. .pagination {
  651. margin: 0 0 40px;
  652. }
  653. .pagination .pager-previous, .pagination .pager-next {
  654. width: 100px;
  655. }
  656. .toggle_aside, .btn.toggle_aside {
  657. display: inline-block;
  658. }
  659. .aside {
  660. position: fixed;
  661. top: 0; left: 0;
  662. width: 0;
  663. overflow: hidden;
  664. border-right: none;
  665. z-index: 10;
  666. transition: width 200ms linear;
  667. }
  668. .aside.aside_flux {
  669. padding: 10px 0 0;
  670. }
  671. .aside:target {
  672. width: 80%;
  673. border-right: 1px solid #aaa;
  674. overflow: auto;
  675. }
  676. .aside .toggle_aside {
  677. position: absolute;
  678. right: 0;
  679. display: inline-block;
  680. width: 26px;
  681. height: 26px;
  682. margin: 0 10px 0 0;
  683. border: 1px solid #ccc;
  684. border-radius: 20px;
  685. text-align: center;
  686. line-height: 26px;
  687. }
  688. .aside .categories {
  689. margin: 30px 0;
  690. }
  691. #nav_entries {
  692. width: 100%;
  693. }
  694. .nav_menu .btn {
  695. margin: 5px 10px;
  696. }
  697. .nav_menu .stick {
  698. margin: 0 10px;
  699. }
  700. .nav_menu .stick .btn {
  701. margin: 5px 0;
  702. }
  703. .nav_menu .search {
  704. display: inline-block;
  705. max-width: 97%;
  706. }
  707. .nav_menu .search input {
  708. max-width: 97%;
  709. width: 90px;
  710. }
  711. .nav_menu .search input:focus {
  712. width: 400px;
  713. }
  714. #panel {
  715. left: 5px; right: 5px;
  716. }
  717. .day .date {
  718. display: none;
  719. }
  720. .day .name {
  721. height: 2.6em;
  722. font-size: 1em;
  723. text-shadow: none;
  724. }
  725. .notification,
  726. .actualizeProgress {
  727. left: 10px;
  728. right: 10px;
  729. }
  730. }
  731. /*** FALLBACK ***/
  732. .btn {
  733. background: #1c1c1c;
  734. }
  735. .btn:hover {
  736. background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  737. background: -webkit-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  738. background: -o-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  739. background: -ms-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  740. }
  741. .btn-important {
  742. background: #26303F;
  743. }
  744. .btn-important:hover {
  745. background: -moz-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  746. background: -webkit-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  747. background: -o-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  748. background: -ms-linear-gradient(top, #4A5D7A 0%, #26303F 100%);
  749. }
  750. .btn-attention {
  751. background: #880011;
  752. }
  753. .btn-attention:hover {
  754. background: -moz-linear-gradient(top, #cc0044 0%, #880011 100%);
  755. background: -webkit-linear-gradient(top, #cc0044 0%, #880011 100%);
  756. background: -o-linear-gradient(top, #cc0044 0%, #880011 100%);
  757. background: -ms-linear-gradient(top, #cc0044 0%, #880011 100%);
  758. }
  759. .dropdown-menu:after {
  760. -moz-transform: rotate(45deg);
  761. -webkit-transform: rotate(45deg);
  762. -ms-transform: rotate(45deg);
  763. }
  764. .nav-head {
  765. background: #1c1c1c;
  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. }