freshrss.css 14 KB

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