freshrss.css 13 KB

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