freshrss.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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: fixed;
  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. #overlay {
  433. display: none;
  434. position: fixed;
  435. top: 0; bottom: 0;
  436. left: 0; right: 0;
  437. background: rgba(0, 0, 0, 0.9);
  438. }
  439. .flux_content .bottom {
  440. font-size: 90%;
  441. text-align: center;
  442. }
  443. /*** PAGINATION ***/
  444. .pagination {
  445. display: table;
  446. width: 100%;
  447. margin: 0;
  448. background: #fafafa;
  449. text-align: center;
  450. color: #333;
  451. font-size: 80%;
  452. line-height: 200%;
  453. table-layout: fixed;
  454. }
  455. .pagination .item {
  456. display: table-cell;
  457. line-height: 40px;
  458. }
  459. .pagination .item.pager-current {
  460. font-weight: bold;
  461. font-size: 140%;
  462. }
  463. .pagination .item.pager-first,
  464. .pagination .item.pager-previous,
  465. .pagination .item.pager-next,
  466. .pagination .item.pager-last {
  467. width: 100px;
  468. }
  469. .pagination .item a {
  470. display: block;
  471. color: #333;
  472. font-style: italic;
  473. }
  474. .pagination:first-child .item {
  475. border-bottom: 1px solid #aaa;
  476. }
  477. .pagination:last-child .item {
  478. border-top: 1px solid #aaa;
  479. }
  480. .nav_entries {
  481. display: table;
  482. width: 250px;
  483. height: 40px;
  484. position: fixed;
  485. bottom: 0;
  486. left: 0;
  487. margin: 0;
  488. background: #fff;
  489. border-top: 1px solid #ddd;
  490. text-align: center;
  491. line-height: 40px;
  492. table-layout: fixed;
  493. }
  494. .nav_entries .item {
  495. display: table-cell;
  496. width: 30%;
  497. }
  498. .nav_entries .item a {
  499. display: block;
  500. }
  501. .nav_entries .item .icon.i_up {
  502. margin: 5px 0 0;
  503. vertical-align: top;
  504. }
  505. .loading {
  506. background: url("loader.gif") center center no-repeat;
  507. font-size: 0;
  508. }
  509. .bigMarkAsRead {
  510. cursor: pointer;
  511. height: 300px;
  512. text-shadow: 0 -1px 0 #aaa;
  513. }
  514. .bigMarkAsRead:hover {
  515. background: #333;
  516. color: #fff;
  517. }
  518. .bigTick {
  519. font-size: 72pt;
  520. margin: 75px 0 10px 0;
  521. }
  522. /*** NOTIFICATION ***/
  523. .notification {
  524. position: fixed;
  525. top: 10px;
  526. left: 25%; right: 25%;
  527. min-height: 30px;
  528. padding: 10px;
  529. line-height: 30px;
  530. text-align: center;
  531. border-radius: 5px;
  532. box-shadow: 0 0 5px #666;
  533. background: #ddd;
  534. color: #666;
  535. font-weight: bold;
  536. }
  537. .notification.good {
  538. background: #f4f899;
  539. }
  540. .notification.bad {
  541. background: #f4a899;
  542. }
  543. .notification a.close {
  544. display: inline-block;
  545. width: 16px;
  546. height: 16px;
  547. float: right;
  548. margin: -20px -20px 0 0;
  549. padding: 5px;
  550. background: #fff;
  551. border-radius: 50px;
  552. border: 1px solid #aaa;
  553. line-height: 16px;
  554. }
  555. .toggle_aside, .btn.toggle_aside {
  556. display: none;
  557. }
  558. .actualizeProgress {
  559. position: fixed;
  560. top: 5px; left: 25%; right: 25%;
  561. width: 50%;
  562. padding: 5px;
  563. background: #fff;
  564. text-align: center;
  565. border: 1px solid #ddd;
  566. border-radius: 5px;
  567. }
  568. .actualizeProgress progress {
  569. max-width: 100%;
  570. vertical-align: middle;
  571. }
  572. .actualizeProgress .progress {
  573. color: #999;
  574. font-size: 90%;
  575. vertical-align: middle;
  576. }
  577. .logs {
  578. border: 1px solid #aaa;
  579. }
  580. .logs .log {
  581. padding: 5px 2%;
  582. overflow: auto;
  583. background: #fafafa;
  584. border-bottom: 1px solid #999;
  585. color: #333;
  586. font-size: 90%;
  587. }
  588. .logs .log .date {
  589. display: block;
  590. }
  591. .logs .log.error {
  592. background: #fdd;
  593. color: #844;
  594. }
  595. .logs .log.warning {
  596. background: #ffe;
  597. color: #c95;
  598. }
  599. .logs .log.notice {
  600. background: #f4f4f4;
  601. color: #aaa;
  602. }
  603. @media(max-width: 840px) {
  604. .header,
  605. .aside .btn-important,
  606. .aside .feeds .dropdown,
  607. .flux_header .item.website span,
  608. .item.date {
  609. display: none;
  610. }
  611. .flux_header .item.website {
  612. width: 40px;
  613. text-align: center;
  614. }
  615. .flux_header .item.website .favicon {
  616. padding: 12px;
  617. }
  618. .nav-login {
  619. display: block;
  620. }
  621. .content {
  622. font-size: 120%;
  623. }
  624. .pagination {
  625. margin: 0 0 40px;
  626. }
  627. .pagination .pager-previous, .pagination .pager-next {
  628. width: 100px;
  629. }
  630. .toggle_aside, .btn.toggle_aside {
  631. display: inline-block;
  632. }
  633. .aside {
  634. position: fixed;
  635. top: 0; left: 0;
  636. width: 0;
  637. overflow: hidden;
  638. border-right: none;
  639. z-index: 10;
  640. transition: width 200ms linear;
  641. }
  642. .aside.aside_flux {
  643. padding: 10px 0 0;
  644. }
  645. .aside:target {
  646. width: 80%;
  647. border-right: 1px solid #aaa;
  648. overflow: auto;
  649. }
  650. .aside .toggle_aside {
  651. position: absolute;
  652. right: 0;
  653. display: inline-block;
  654. width: 26px;
  655. height: 26px;
  656. margin: 0 10px 0 0;
  657. border: 1px solid #ccc;
  658. border-radius: 20px;
  659. text-align: center;
  660. line-height: 26px;
  661. }
  662. .aside .categories {
  663. margin: 30px 0;
  664. }
  665. .nav_entries {
  666. width: 100%;
  667. }
  668. .nav_menu .btn {
  669. margin: 5px 10px;
  670. }
  671. .nav_menu .stick {
  672. margin: 0 10px;
  673. }
  674. .nav_menu .stick .btn {
  675. margin: 5px 0;
  676. }
  677. #panel {
  678. left: 5px; right: 5px;
  679. }
  680. .day .date {
  681. display: none;
  682. }
  683. .day .name {
  684. height: 2.6em;
  685. font-size: 1em;
  686. text-shadow: none;
  687. }
  688. }