freshrss.css 13 KB

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