freshrss.css 13 KB

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