freshrss.css 12 KB

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