freshrss.css 13 KB

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