freshrss.css 13 KB

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