freshrss.css 12 KB

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