freshrss.css 12 KB

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