freshrss.css 13 KB

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