freshrss.css 11 KB

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