freshrss.css 14 KB

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