freshrss.css 14 KB

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