freshrss.css 13 KB

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