freshrss.css 14 KB

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