freshrss.css 13 KB

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