freshrss.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  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. .item.link {
  303. width: 40px;
  304. text-align: center;
  305. }
  306. .item.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. .item.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. cursor: pointer;
  547. height: 300px;
  548. text-shadow: 0 -1px 0 #aaa;
  549. }
  550. .bigMarkAsRead:hover {
  551. background: #34495e;
  552. color: #fff;
  553. }
  554. .bigTick {
  555. font-size: 72pt;
  556. margin: 75px 0 10px 0;
  557. }
  558. /*** NOTIFICATION ***/
  559. .notification {
  560. position: fixed;
  561. top: 10px;
  562. left: 25%; right: 25%;
  563. min-height: 30px;
  564. padding: 10px;
  565. line-height: 30px;
  566. text-align: center;
  567. border-radius: 3px;
  568. background: #ddd;
  569. color: #666;
  570. font-weight: bold;
  571. z-index: 10;
  572. }
  573. .notification.good {
  574. background: #1abc9c;
  575. color: #fff;
  576. }
  577. .notification.bad {
  578. background: #e74c3c;
  579. color: #fff;
  580. }
  581. .notification a.close {
  582. display: inline-block;
  583. width: 16px;
  584. height: 16px;
  585. float: right;
  586. margin: -16px -16px 0 0;
  587. padding: 5px;
  588. border-radius: 3px;
  589. line-height: 16px;
  590. }
  591. .notification.good a.close {
  592. background: #1abc9c;
  593. }
  594. .notification.bad a.close {
  595. background: #e74c3c;
  596. }
  597. .toggle_aside, .btn.toggle_aside {
  598. display: none;
  599. }
  600. .actualizeProgress {
  601. position: fixed;
  602. top: 10px;
  603. left: 25%; right: 25%;
  604. padding: 5px;
  605. background: #3498db;
  606. color: #fff;
  607. text-align: center;
  608. border-radius: 3px;
  609. font-weight: bold;
  610. }
  611. .actualizeProgress progress {
  612. max-width: 100%;
  613. width: 250px;
  614. height: 15px;
  615. vertical-align: middle;
  616. background: #fff;
  617. border: none;
  618. }
  619. .actualizeProgress .progress {
  620. color: #ecf0f1;
  621. }
  622. .logs {
  623. border: 1px solid #34495e;
  624. }
  625. .log {
  626. margin: 10px 0;
  627. padding: 5px 2%;
  628. overflow: auto;
  629. background: #fafafa;
  630. color: #666;
  631. font-size: 90%;
  632. }
  633. .log .date {
  634. margin: 0 10px 0 0;
  635. padding: 5px 10px;
  636. border-radius: 20px;
  637. }
  638. .log.error .date {
  639. background: #e74c3c;
  640. color: #fff;
  641. }
  642. .log.warning .date {
  643. background: #f39c12;
  644. }
  645. .log.notice .date {
  646. background: #ecf0f1;
  647. }
  648. .form-group table {
  649. border-collapse:collapse;
  650. margin:10px 0 0 220px;
  651. text-align:center;
  652. }
  653. .form-group tr, .form-group th, .form-group td {
  654. font-weight:normal;
  655. padding:.5em;
  656. }
  657. @media(max-width: 840px) {
  658. .header,
  659. .aside .btn-important,
  660. .aside .feeds .dropdown,
  661. .flux_header .item.website span,
  662. .item.date {
  663. display: none;
  664. }
  665. .flux_header .item.website {
  666. width: 40px;
  667. text-align: center;
  668. }
  669. .flux_header .item.website .favicon {
  670. padding: 12px;
  671. }
  672. .nav-login {
  673. display: block;
  674. }
  675. .content {
  676. font-size: 120%;
  677. }
  678. .pagination {
  679. margin: 0 0 40px;
  680. }
  681. .pagination .pager-previous, .pagination .pager-next {
  682. width: 100px;
  683. }
  684. .toggle_aside, .btn.toggle_aside {
  685. display: inline-block;
  686. }
  687. .aside {
  688. position: fixed;
  689. top: 0; left: 0;
  690. width: 0;
  691. overflow: hidden;
  692. z-index: 10;
  693. transition: width 200ms linear;
  694. background: #ecf0f1;
  695. }
  696. .aside.aside_flux {
  697. padding: 10px 0 0;
  698. }
  699. .aside:target {
  700. width: 80%;
  701. border-right: 1px solid #aaa;
  702. overflow: auto;
  703. }
  704. .aside .toggle_aside {
  705. position: absolute;
  706. right: 10px;
  707. display: inline-block;
  708. width: 26px;
  709. height: 26px;
  710. margin: 0 10px 0 0;
  711. border-radius: 3px;
  712. text-align: center;
  713. line-height: 24px;
  714. background: #95a5a6;
  715. }
  716. .aside .toggle_aside:hover {
  717. background: #7f8c8d;
  718. }
  719. .aside .categories {
  720. margin: 30px 0;
  721. }
  722. #nav_entries {
  723. width: 100%;
  724. }
  725. .nav_menu .btn {
  726. margin: 5px 10px;
  727. }
  728. .nav_menu .stick {
  729. margin: 0 10px;
  730. }
  731. .nav_menu .stick .btn {
  732. margin: 5px 0;
  733. }
  734. #panel {
  735. left: 5px; right: 5px;
  736. }
  737. .day .date {
  738. display: none;
  739. }
  740. .day .name {
  741. height: 2.6em;
  742. font-size: 1em;
  743. text-shadow: none;
  744. }
  745. .notification,
  746. .actualizeProgress {
  747. left: 10px;
  748. right: 10px;
  749. }
  750. }
  751. /*** FALLBACK ***/
  752. .dropdown-menu:after {
  753. -moz-transform: rotate(45deg);
  754. -webkit-transform: rotate(45deg);
  755. -ms-transform: rotate(45deg);
  756. }