freshrss.css 13 KB

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