freshrss.css 13 KB

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