4
0

freshrss.css 13 KB

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