freshrss.css 14 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. }
  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: 200px;
  35. transition: width 200ms linear;
  36. }
  37. .header .item.search input:focus {
  38. width: 300px;
  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 .dropdown-menu {
  66. right: -20px;
  67. }
  68. .aside.aside_feed .nav-form .dropdown .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. .categories .all,
  90. .categories .favorites,
  91. .categories .category {
  92. display: block;
  93. padding: 5px 0;
  94. width: 220px;
  95. margin: 5px auto;
  96. text-align: left;
  97. overflow: hidden;
  98. white-space: nowrap;
  99. text-overflow: ellipsis;
  100. }
  101. .categories .all .btn,
  102. .categories .favorites .btn,
  103. .categories .category .btn:first-child {
  104. width: 195px;
  105. position: relative;
  106. }
  107. .categories .feeds {
  108. width: 220px;
  109. margin: 0 auto;
  110. list-style: none;
  111. }
  112. .categories .feeds .item.active:after {
  113. content: "⇢";
  114. line-height: 35px;
  115. float: right;
  116. }
  117. .categories .feeds .item.empty .feed {
  118. color: #e67e22;
  119. }
  120. .categories .feeds .item.error .feed {
  121. color: #BD362F;
  122. }
  123. .categories .feeds .item .feed {
  124. display: inline-block;
  125. margin: 0;
  126. width: 165px;
  127. line-height: 35px;
  128. font-size: 90%;
  129. vertical-align: middle;
  130. text-align: left;
  131. overflow: hidden;
  132. white-space: nowrap;
  133. text-overflow: ellipsis;
  134. }
  135. .categories .feeds .dropdown .dropdown-menu {
  136. left: 0;
  137. }
  138. .categories .feeds .dropdown .dropdown-menu:after {
  139. left: 2px;
  140. }
  141. .categories .feeds .item .dropdown-toggle i {
  142. background-image: none;
  143. }
  144. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i,
  145. .categories .feeds .item:hover .dropdown-toggle i,
  146. .categories .feeds .item.active .dropdown-toggle i {
  147. background-image: url("icons/configure.png");
  148. background-image: url("icons/configure.svg");
  149. background-color: #95a5a6;
  150. border-radius: 3px;
  151. }
  152. .categories .notRead {
  153. position: absolute;
  154. top: 5px; right: 0px;
  155. padding: 0 5px;
  156. color: #fff;
  157. font-size: 90%;
  158. background: #3498DB;
  159. border-left: 3px solid #2980B9;
  160. border-radius: 5px 0 0 5px;
  161. }
  162. .categories .btn:hover .notRead,
  163. .categories .btn.active .notRead {
  164. background: #2980B9;
  165. border-left: 3px solid #3498DB;
  166. }
  167. .post {
  168. padding: 10px 50px;
  169. }
  170. .post form {
  171. margin: 10px 0;
  172. }
  173. .day {
  174. display: inline;
  175. min-height: 50px;
  176. padding: 5px 15px;
  177. font-size: 130%;
  178. font-weight: bold;
  179. line-height: 50px;
  180. background: #ecf0f1;
  181. border-radius: 0 20px 20px 0;
  182. }
  183. .day .name {
  184. position: absolute;
  185. right: 0;
  186. width: 50%;
  187. height: 1.5em;
  188. padding: 0 10px 0 0;
  189. overflow: hidden;
  190. color: #aab;
  191. font-size: 1.8em;
  192. opacity: .3;
  193. font-style: italic;
  194. text-align: right;
  195. white-space: nowrap;
  196. text-overflow: ellipsis;
  197. z-index: -10;
  198. }
  199. .flux {
  200. }
  201. .flux.active {
  202. border-left: 3px solid #3498db;
  203. background: #fff;
  204. }
  205. .flux.not_read {
  206. border-left: 3px solid #FF5300;
  207. background: #FFF3ED;
  208. }
  209. .flux.favorite {
  210. border-left: 3px solid #FFC300;
  211. background: #FFF6DA;
  212. }
  213. .flux_header {
  214. height: 25px;
  215. font-size: 12px;
  216. line-height: 25px;
  217. border-top: 1px solid #ecf0f1;
  218. }
  219. .item.manage {
  220. width: 80px;
  221. white-space: nowrap;
  222. font-size: 0px;
  223. text-align: center;
  224. }
  225. .item.manage .read {
  226. display: inline-block;
  227. width: 40px;
  228. height: 40px;
  229. background: url("icons/read.png") center center no-repeat;
  230. background: url("icons/read.svg") center center no-repeat;
  231. vertical-align: middle;
  232. }
  233. .item.manage .read:hover {
  234. text-decoration: none;
  235. }
  236. .flux.not_read .item.manage .read {
  237. background: url("icons/unread.png") center center no-repeat;
  238. background: url("icons/unread.svg") center center no-repeat;
  239. }
  240. .item.manage .bookmark {
  241. display: inline-block;
  242. width: 40px;
  243. height: 40px;
  244. background: url("icons/non-starred.png") center center no-repeat;
  245. background: url("icons/non-starred.svg") center center no-repeat;
  246. vertical-align: middle;
  247. }
  248. .item.manage .bookmark:hover {
  249. text-decoration: none;
  250. }
  251. .flux.favorite .item.manage .bookmark {
  252. background: url("icons/starred.png") center center no-repeat;
  253. background: url("icons/starred.svg") center center no-repeat;
  254. }
  255. .flux_header .item.website {
  256. width: 200px;
  257. overflow: hidden;
  258. white-space: nowrap;
  259. text-overflow: ellipsis;
  260. line-height: 40px;
  261. }
  262. .flux_header .item.website .favicon {
  263. padding: 5px;
  264. }
  265. .flux_header .item.website a {
  266. display: block;
  267. height: 40px;
  268. }
  269. .flux_header .item.title {
  270. overflow: hidden;
  271. white-space: nowrap;
  272. text-overflow: ellipsis;
  273. cursor: pointer;
  274. }
  275. .flux_header .item.title a {
  276. color: #333;
  277. outline: none;
  278. }
  279. .flux_header .item.title a:hover {
  280. text-decoration: none
  281. }
  282. .flux.not_read .flux_header .item.title {
  283. font-weight: bold;
  284. }
  285. .item.date {
  286. width: 200px;
  287. overflow: hidden;
  288. white-space: nowrap;
  289. text-overflow: ellipsis;
  290. text-align: right;
  291. font-size: 10px;
  292. color: #666;
  293. cursor: pointer;
  294. }
  295. .item.link {
  296. width: 40px;
  297. text-align: center;
  298. }
  299. .item.link a {
  300. display: inline-block;
  301. width: 40px;
  302. height: 40px;
  303. background: url("icons/link.png") center center no-repeat;
  304. background: url("icons/link.svg") center center no-repeat;
  305. vertical-align: middle;
  306. }
  307. .item.link a:hover {
  308. text-decoration: none;
  309. }
  310. #stream.reader .flux {
  311. position: relative;
  312. padding: 0 0 30px;
  313. border: none;
  314. background: #ecf0f1;
  315. color: #34495e;
  316. font-size: 120%;
  317. }
  318. #stream.reader .flux a {
  319. }
  320. #stream.reader .flux .author {
  321. margin: 0 0 10px;
  322. font-size: 90%;
  323. color: #aaa;
  324. }
  325. #stream.global {
  326. text-align: center;
  327. }
  328. #stream.global .category {
  329. display: inline-block;
  330. width: 280px;
  331. margin: 20px 10px;
  332. vertical-align: top;
  333. border: 1px solid #aaa;
  334. border-radius: 5px;
  335. text-align: left;
  336. box-shadow: 0 0 5px #bbb;
  337. }
  338. #stream.global .cat_header {
  339. height: 35px;
  340. padding: 0 10px;
  341. background: #eee;
  342. border-bottom: 1px solid #aaa;
  343. border-radius: 5px 5px 0 0;
  344. line-height: 35px;
  345. font-size: 120%;
  346. }
  347. #stream.global .cat_header a {
  348. color: #333;
  349. text-shadow: 0 -1px 0px #aaa;
  350. }
  351. #stream.global .category .feeds {
  352. max-height: 250px;
  353. margin: 0;
  354. list-style: none;
  355. overflow: auto;
  356. }
  357. #stream.global .category .feeds .item {
  358. padding: 2px 10px;
  359. font-size: 90%;
  360. }
  361. .content {
  362. min-height: 300px;
  363. max-width: 550px;
  364. margin: 0 auto;
  365. padding: 20px 10px;
  366. line-height: 170%;
  367. word-wrap: break-word;
  368. }
  369. .content .title {
  370. margin: 0 0 5px;
  371. }
  372. .content h1, .content h2, .content h3 {
  373. margin: 20px 0 5px;
  374. }
  375. .content p {
  376. margin: 0 0 20px;
  377. }
  378. .content img.big {
  379. display: block;
  380. margin: 10px auto;
  381. }
  382. .content figure img.big {
  383. margin: 0;
  384. }
  385. .content hr {
  386. margin: 30px 0;
  387. height: 1px;
  388. background: #ddd;
  389. border: 0;
  390. }
  391. .content pre {
  392. margin: 10px auto;
  393. padding: 10px;
  394. overflow: auto;
  395. background: #000;
  396. color: #fff;
  397. font-size: 110%;
  398. }
  399. .content q, .content blockquote {
  400. display: block;
  401. margin: 5px 0;
  402. padding: 5px 20px;
  403. font-style: italic;
  404. border-left: 4px solid #ccc;
  405. color: #666;
  406. }
  407. .content blockquote p {
  408. margin: 0;
  409. }
  410. #panel {
  411. display: none;
  412. position: fixed;
  413. top: 10px; bottom: 10px;
  414. left: 100px; right: 100px;
  415. overflow: auto;
  416. background: #fff;
  417. border: 1px solid #95a5a6;
  418. border-radius: 5px;
  419. }
  420. #panel .close {
  421. position: fixed;
  422. top: 10px; right: 0px;
  423. display: inline-block;
  424. width: 26px;
  425. height: 26px;
  426. margin: 0 10px 0 0;
  427. border-radius: 3px;
  428. text-align: center;
  429. line-height: 24px;
  430. background: #95a5a6;
  431. }
  432. #panel .close:hover {
  433. background: #7f8c8d;
  434. }
  435. #overlay {
  436. display: none;
  437. position: fixed;
  438. top: 0; bottom: 0;
  439. left: 0; right: 0;
  440. background: rgba(0, 0, 0, 0.9);
  441. }
  442. .flux_content .bottom {
  443. font-size: 90%;
  444. text-align: center;
  445. }
  446. /*** PAGINATION ***/
  447. .pagination {
  448. display: table;
  449. width: 100%;
  450. margin: 0;
  451. background: #ecf0f1;
  452. text-align: center;
  453. color: #000;
  454. font-size: 80%;
  455. line-height: 200%;
  456. table-layout: fixed;
  457. font-weight: bold;
  458. }
  459. .pagination .item {
  460. display: table-cell;
  461. line-height: 40px;
  462. vertical-align: top;
  463. }
  464. .pagination .item.pager-current {
  465. font-weight: bold;
  466. font-size: 140%;
  467. color: #ecf0f1;
  468. background: #34495e;
  469. }
  470. .pagination .item.pager-first,
  471. .pagination .item.pager-previous,
  472. .pagination .item.pager-next,
  473. .pagination .item.pager-last {
  474. width: 100px;
  475. }
  476. .pagination .item a {
  477. display: block;
  478. color: #000;
  479. font-weight: bold;
  480. line-height: 40px;
  481. }
  482. .pagination .item a:hover {
  483. color: #ecf0f1;
  484. background: #34495e;
  485. text-decoration: none;
  486. }
  487. .nav_entries {
  488. display: table;
  489. width: 250px;
  490. height: 40px;
  491. position: fixed;
  492. bottom: 0;
  493. left: 0;
  494. margin: 0;
  495. background: #34495e;
  496. text-align: center;
  497. line-height: 40px;
  498. table-layout: fixed;
  499. }
  500. .nav_entries .item {
  501. display: table-cell;
  502. width: 30%;
  503. }
  504. .nav_entries .item a {
  505. display: block;
  506. }
  507. .nav_entries .item .icon.i_up {
  508. margin: 5px 0 0;
  509. vertical-align: top;
  510. }
  511. .pagination .loading,
  512. .pagination a:hover.loading {
  513. background: url("loader.gif") center center no-repeat #34495e;
  514. font-size: 0;
  515. }
  516. .bigMarkAsRead {
  517. background: #ecf0f1;
  518. cursor: pointer;
  519. height: 300px;
  520. text-shadow: 0 -1px 0 #aaa;
  521. }
  522. .bigMarkAsRead:hover {
  523. background: #34495e;
  524. color: #fff;
  525. }
  526. .bigTick {
  527. font-size: 72pt;
  528. margin: 75px 0 10px 0;
  529. }
  530. /*** NOTIFICATION ***/
  531. .notification {
  532. position: fixed;
  533. top: 10px;
  534. left: 25%; right: 25%;
  535. min-height: 30px;
  536. padding: 10px;
  537. line-height: 30px;
  538. text-align: center;
  539. border-radius: 3px;
  540. background: #ddd;
  541. color: #666;
  542. font-weight: bold;
  543. }
  544. .notification.good {
  545. background: #1abc9c;
  546. color: #fff;
  547. }
  548. .notification.bad {
  549. background: #e74c3c;
  550. color: #fff;
  551. }
  552. .notification a.close {
  553. display: inline-block;
  554. width: 16px;
  555. height: 16px;
  556. float: right;
  557. margin: -16px -16px 0 0;
  558. padding: 5px;
  559. border-radius: 3px;
  560. line-height: 16px;
  561. }
  562. .notification.good a.close {
  563. background: #1abc9c;
  564. }
  565. .notification.bad a.close {
  566. background: #e74c3c;
  567. }
  568. .toggle_aside, .btn.toggle_aside {
  569. display: none;
  570. }
  571. .actualizeProgress {
  572. position: fixed;
  573. top: 10px;
  574. left: 25%; right: 25%;
  575. padding: 5px;
  576. background: #3498db;
  577. color: #fff;
  578. text-align: center;
  579. border-radius: 3px;
  580. font-weight: bold;
  581. }
  582. .actualizeProgress progress {
  583. max-width: 100%;
  584. width: 250px;
  585. height: 15px;
  586. vertical-align: middle;
  587. background: #fff;
  588. border: none;
  589. }
  590. .actualizeProgress .progress {
  591. color: #ecf0f1;
  592. }
  593. .logs {
  594. border: 1px solid #34495e;
  595. }
  596. .logs .log {
  597. margin: 10px 0;
  598. padding: 5px 2%;
  599. overflow: auto;
  600. background: #fafafa;
  601. color: #666;
  602. font-size: 90%;
  603. }
  604. .logs .log .date {
  605. margin: 0 10px 0 0;
  606. padding: 5px 10px;
  607. border-radius: 20px;
  608. }
  609. .logs .log.error .date {
  610. background: #e74c3c;
  611. color: #fff;
  612. }
  613. .logs .log.warning .date {
  614. background: #f39c12;
  615. }
  616. .logs .log.notice .date {
  617. background: #ecf0f1;
  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 .dropdown-menu:after {
  715. -moz-transform: rotate(45deg);
  716. -webkit-transform: rotate(45deg);
  717. -ms-transform: rotate(45deg);
  718. }