freshrss.css 13 KB

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