freshrss.css 13 KB

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