freshrss.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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. padding: 0 0 30px;
  277. border: none;
  278. background: #ecf0f1;
  279. color: #34495e;
  280. font-size: 120%;
  281. }
  282. #stream.reader .flux a {
  283. }
  284. #stream.reader .flux .author {
  285. margin: 0 0 10px;
  286. font-size: 90%;
  287. color: #aaa;
  288. }
  289. #stream.global {
  290. text-align: center;
  291. }
  292. #stream.global .category {
  293. display: inline-block;
  294. width: 280px;
  295. margin: 20px 10px;
  296. vertical-align: top;
  297. border: 1px solid #aaa;
  298. border-radius: 5px;
  299. text-align: left;
  300. box-shadow: 0 0 5px #bbb;
  301. }
  302. #stream.global .cat_header {
  303. height: 35px;
  304. padding: 0 10px;
  305. background: #eee;
  306. border-bottom: 1px solid #aaa;
  307. border-radius: 5px 5px 0 0;
  308. line-height: 35px;
  309. font-size: 120%;
  310. }
  311. #stream.global .cat_header a {
  312. color: #333;
  313. text-shadow: 0 -1px 0px #aaa;
  314. }
  315. #stream.global .category .feeds {
  316. max-height: 250px;
  317. margin: 0;
  318. list-style: none;
  319. overflow: auto;
  320. }
  321. #stream.global .category .feeds .item {
  322. padding: 2px 10px;
  323. font-size: 90%;
  324. }
  325. .content {
  326. min-height: 300px;
  327. max-width: 550px;
  328. margin: 0 auto;
  329. padding: 20px 10px;
  330. line-height: 170%;
  331. word-wrap: break-word;
  332. }
  333. .content .title {
  334. margin: 0 0 5px;
  335. }
  336. .content h1, .content h2, .content h3 {
  337. margin: 20px 0 5px;
  338. }
  339. .content p {
  340. margin: 0 0 20px;
  341. }
  342. .content img.big {
  343. display: block;
  344. margin: 10px auto;
  345. }
  346. .content figure img.big {
  347. margin: 0;
  348. }
  349. .content hr {
  350. margin: 30px 0;
  351. height: 1px;
  352. background: #ddd;
  353. border: 0;
  354. }
  355. .content pre {
  356. margin: 10px auto;
  357. padding: 10px;
  358. overflow: auto;
  359. background: #000;
  360. color: #fff;
  361. font-size: 110%;
  362. }
  363. .content q, .content blockquote {
  364. display: block;
  365. margin: 5px 0;
  366. padding: 5px 20px;
  367. font-style: italic;
  368. border-left: 4px solid #ccc;
  369. color: #666;
  370. }
  371. .content blockquote p {
  372. margin: 0;
  373. }
  374. .flux_content .bottom {
  375. font-size: 90%;
  376. text-align: center;
  377. }
  378. /*** PAGINATION ***/
  379. .pagination {
  380. display: table;
  381. width: 100%;
  382. margin: 0;
  383. background: #ecf0f1;
  384. text-align: center;
  385. color: #000;
  386. font-size: 80%;
  387. line-height: 200%;
  388. table-layout: fixed;
  389. font-weight: bold;
  390. }
  391. .pagination .item {
  392. display: table-cell;
  393. line-height: 40px;
  394. vertical-align: top;
  395. }
  396. .pagination .item.pager-current {
  397. font-weight: bold;
  398. font-size: 140%;
  399. color: #ecf0f1;
  400. background: #34495e;
  401. }
  402. .pagination .item.pager-first,
  403. .pagination .item.pager-previous,
  404. .pagination .item.pager-next,
  405. .pagination .item.pager-last {
  406. width: 100px;
  407. }
  408. .pagination .item a {
  409. display: block;
  410. color: #000;
  411. font-weight: bold;
  412. line-height: 40px;
  413. }
  414. .pagination .item a:hover {
  415. color: #ecf0f1;
  416. background: #34495e;
  417. text-decoration: none;
  418. }
  419. .nav_entries {
  420. display: table;
  421. width: 250px;
  422. height: 40px;
  423. position: fixed;
  424. bottom: 0;
  425. left: 0;
  426. margin: 0;
  427. background: #34495e;
  428. text-align: center;
  429. line-height: 40px;
  430. table-layout: fixed;
  431. }
  432. .nav_entries .item {
  433. display: table-cell;
  434. width: 30%;
  435. }
  436. .nav_entries .item a {
  437. display: block;
  438. }
  439. .nav_entries .item .icon.i_up {
  440. margin: 5px 0 0;
  441. vertical-align: top;
  442. }
  443. .pagination .loading,
  444. .pagination a:hover.loading {
  445. background: url("loader.gif") center center no-repeat #34495e;
  446. font-size: 0;
  447. }
  448. /*** NOTIFICATION ***/
  449. .notification {
  450. position: fixed;
  451. top: 10px; left: 10%; right: 10%;
  452. min-height: 30px;
  453. padding: 10px;
  454. line-height: 30px;
  455. text-align: center;
  456. border-radius: 3px;
  457. background: #ddd;
  458. color: #666;
  459. font-weight: bold;
  460. }
  461. .notification.good {
  462. background: #1abc9c;
  463. color: #fff;
  464. }
  465. .notification.bad {
  466. background: #e74c3c;
  467. color: #fff;
  468. }
  469. .notification a.close {
  470. display: inline-block;
  471. width: 16px;
  472. height: 16px;
  473. float: right;
  474. margin: -16px -16px 0 0;
  475. padding: 5px;
  476. border-radius: 3px;
  477. line-height: 16px;
  478. }
  479. .notification.good a.close {
  480. background: #1abc9c;
  481. }
  482. .notification.bad a.close {
  483. background: #e74c3c;
  484. }
  485. .toggle_aside, .btn.toggle_aside {
  486. display: none;
  487. }
  488. .actualizeProgress {
  489. position: fixed;
  490. top: 10px; left: 25%; right: 25%;
  491. padding: 5px;
  492. background: #3498db;
  493. color: #fff;
  494. text-align: center;
  495. border-radius: 3px;
  496. font-weight: bold;
  497. }
  498. .actualizeProgress progress {
  499. max-width: 100%;
  500. width: 250px;
  501. height: 15px;
  502. vertical-align: middle;
  503. background: #fff;
  504. border: none;
  505. }
  506. .actualizeProgress .progress {
  507. color: #ecf0f1;
  508. }
  509. .logs {
  510. border: 1px solid #34495e;
  511. }
  512. .logs .log {
  513. margin: 10px 0;
  514. padding: 5px 2%;
  515. overflow: auto;
  516. background: #fafafa;
  517. color: #666;
  518. font-size: 90%;
  519. }
  520. .logs .log .date {
  521. margin: 0 10px 0 0;
  522. padding: 5px 10px;
  523. border-radius: 20px;
  524. }
  525. .logs .log.error .date {
  526. background: #e74c3c;
  527. color: #fff;
  528. }
  529. .logs .log.warning .date {
  530. background: #f39c12;
  531. }
  532. .logs .log.notice .date {
  533. background: #ecf0f1;
  534. }
  535. @media(max-width: 840px) {
  536. .header,
  537. .aside .btn-important,
  538. .aside .feeds .dropdown,
  539. .flux_header .item.website span,
  540. .item.date {
  541. display: none;
  542. }
  543. .flux_header .item.website {
  544. width: 40px;
  545. text-align: center;
  546. }
  547. .flux_header .item.website .favicon {
  548. padding: 12px;
  549. }
  550. .content {
  551. font-size: 120%;
  552. }
  553. .pagination {
  554. margin: 0 0 40px;
  555. }
  556. .pagination .pager-previous, .pagination .pager-next {
  557. width: 100px;
  558. }
  559. .toggle_aside, .btn.toggle_aside {
  560. display: inline-block;
  561. }
  562. .aside {
  563. position: fixed;
  564. top: 0; left: 0;
  565. width: 0;
  566. overflow: hidden;
  567. z-index: 10;
  568. transition: width 200ms linear;
  569. background: #ecf0f1;
  570. }
  571. .aside.aside_flux {
  572. padding: 10px 0 0;
  573. }
  574. .aside:target {
  575. width: 80%;
  576. border-right: 1px solid #aaa;
  577. overflow: auto;
  578. }
  579. .aside .toggle_aside {
  580. position: absolute;
  581. right: 10px;
  582. display: inline-block;
  583. width: 26px;
  584. height: 26px;
  585. margin: 0 10px 0 0;
  586. border-radius: 3px;
  587. text-align: center;
  588. line-height: 24px;
  589. background: #95a5a6;
  590. }
  591. .aside .toggle_aside:hover {
  592. background: #7f8c8d;
  593. }
  594. .aside .categories {
  595. margin: 30px 0;
  596. }
  597. .nav_entries {
  598. width: 100%;
  599. }
  600. .nav_menu .btn {
  601. margin: 10px;
  602. }
  603. .nav_menu .stick {
  604. margin: 0 10px;
  605. }
  606. .nav_menu .stick .btn {
  607. margin: 10px 0;
  608. }
  609. }