freshrss.css 13 KB

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