freshrss.css 12 KB

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