freshrss.css 14 KB

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