freshrss.css 12 KB

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