freshrss.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  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 hr {
  352. margin: 30px 0;
  353. height: 1px;
  354. background: #ddd;
  355. border: 0;
  356. }
  357. .content pre {
  358. margin: 10px auto;
  359. padding: 10px;
  360. overflow: auto;
  361. background: #000;
  362. color: #fff;
  363. font-size: 110%;
  364. }
  365. .content q, .content blockquote {
  366. display: block;
  367. margin: 5px 0;
  368. padding: 5px 20px;
  369. font-style: italic;
  370. border-left: 4px solid #ccc;
  371. color: #666;
  372. }
  373. .content blockquote p {
  374. margin: 0;
  375. }
  376. .flux_content .bottom {
  377. font-size: 90%;
  378. text-align: center;
  379. }
  380. /*** PAGINATION ***/
  381. .pagination {
  382. display: table;
  383. width: 100%;
  384. margin: 0;
  385. background: #fafafa;
  386. text-align: center;
  387. color: #333;
  388. font-size: 80%;
  389. line-height: 200%;
  390. table-layout: fixed;
  391. }
  392. .pagination .item {
  393. display: table-cell;
  394. line-height: 40px;
  395. }
  396. .pagination .item.pager-current {
  397. font-weight: bold;
  398. font-size: 140%;
  399. }
  400. .pagination .item.pager-first,
  401. .pagination .item.pager-previous,
  402. .pagination .item.pager-next,
  403. .pagination .item.pager-last {
  404. width: 100px;
  405. }
  406. .pagination .item a {
  407. display: block;
  408. color: #333;
  409. font-style: italic;
  410. }
  411. .pagination:first-child .item {
  412. border-bottom: 1px solid #aaa;
  413. }
  414. .pagination:last-child .item {
  415. border-top: 1px solid #aaa;
  416. }
  417. .nav_entries {
  418. display: table;
  419. width: 250px;
  420. height: 40px;
  421. position: fixed;
  422. bottom: 0;
  423. left: 0;
  424. margin: 0;
  425. background: #fff;
  426. border-top: 1px solid #ddd;
  427. text-align: center;
  428. line-height: 40px;
  429. table-layout: fixed;
  430. }
  431. .nav_entries .item {
  432. display: table-cell;
  433. width: 30%;
  434. }
  435. .nav_entries .item a {
  436. display: block;
  437. }
  438. .nav_entries .item .icon.i_up {
  439. margin: 5px 0 0;
  440. vertical-align: top;
  441. }
  442. .loading {
  443. background: url("loader.gif") center center no-repeat;
  444. font-size: 0;
  445. }
  446. /*** NOTIFICATION ***/
  447. .notification {
  448. position: fixed;
  449. bottom: 0;
  450. left: 5%; right: 5%;
  451. min-height: 30px;
  452. padding: 10px;
  453. line-height: 30px;
  454. text-align: center;
  455. border-radius: 5px 5px 0 0;
  456. box-shadow: 0 0 5px #666;
  457. background: #ddd;
  458. color: #666;
  459. font-weight: bold;
  460. }
  461. .notification.good {
  462. background: #f4f899;
  463. }
  464. .notification.bad {
  465. background: #f4a899;
  466. }
  467. .notification a.close {
  468. display: inline-block;
  469. width: 16px;
  470. height: 16px;
  471. float: right;
  472. margin: -20px -20px 0 0;
  473. padding: 5px;
  474. background: #fff;
  475. border-radius: 50px;
  476. border: 1px solid #aaa;
  477. line-height: 16px;
  478. }
  479. .toggle_aside, .btn.toggle_aside {
  480. display: none;
  481. }
  482. .actualizeProgress {
  483. position: fixed;
  484. top: 0; left: 25%; right: 25%;
  485. width: 50%;
  486. padding: 5px;
  487. background: #fff;
  488. text-align: center;
  489. border: 1px solid #ddd;
  490. border-top: none;
  491. border-radius: 0 0 5px 5px;
  492. }
  493. .actualizeProgress progress {
  494. max-width: 100%;
  495. vertical-align: middle;
  496. }
  497. .actualizeProgress .progress {
  498. color: #999;
  499. font-size: 90%;
  500. vertical-align: middle;
  501. }
  502. .logs {
  503. border: 1px solid #aaa;
  504. }
  505. .logs .log {
  506. padding: 5px 2%;
  507. overflow: auto;
  508. background: #fafafa;
  509. border-bottom: 1px solid #999;
  510. color: #333;
  511. font-size: 90%;
  512. }
  513. .logs .log .date {
  514. display: block;
  515. }
  516. .logs .log.error {
  517. background: #fdd;
  518. color: #844;
  519. }
  520. .logs .log.warning {
  521. background: #ffe;
  522. color: #c95;
  523. }
  524. .logs .log.notice {
  525. background: #f4f4f4;
  526. color: #aaa;
  527. }
  528. @media(max-width: 840px) {
  529. .header,
  530. .aside .btn-important,
  531. .aside .feeds .dropdown,
  532. .flux_header .item.website span,
  533. .flux_header .item.date {
  534. display: none;
  535. }
  536. .flux_header .item.website {
  537. width: 40px;
  538. text-align: center;
  539. }
  540. .flux_header .item.website .favicon {
  541. padding: 12px;
  542. }
  543. .content {
  544. font-size: 120%;
  545. }
  546. .pagination {
  547. margin: 0 0 40px;
  548. }
  549. .pagination .pager-previous, .pagination .pager-next {
  550. width: 100px;
  551. }
  552. .toggle_aside, .btn.toggle_aside {
  553. display: inline-block;
  554. }
  555. .aside {
  556. position: fixed;
  557. top: 0; left: 0;
  558. width: 0;
  559. overflow: hidden;
  560. border-right: none;
  561. z-index: 10;
  562. transition: width 200ms linear;
  563. }
  564. .aside.aside_flux {
  565. padding: 10px 0 0;
  566. }
  567. .aside:target {
  568. width: 80%;
  569. border-right: 1px solid #aaa;
  570. overflow: auto;
  571. }
  572. .aside .toggle_aside {
  573. position: absolute;
  574. right: 0;
  575. display: inline-block;
  576. width: 26px;
  577. height: 26px;
  578. margin: 0 10px 0 0;
  579. border: 1px solid #ccc;
  580. border-radius: 20px;
  581. text-align: center;
  582. line-height: 26px;
  583. }
  584. .aside .categories {
  585. margin: 30px 0;
  586. }
  587. .nav_entries {
  588. width: 100%;
  589. }
  590. }