freshrss.css 11 KB

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