freshrss.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  1. /* STRUCTURE */
  2. .header {
  3. display: table;
  4. width: 100%;
  5. background: #f4f4f4;
  6. table-layout: fixed;
  7. }
  8. .header > .item {
  9. display: table-cell;
  10. padding: 10px 0;
  11. border-bottom: 1px solid #aaa;
  12. vertical-align: middle;
  13. text-align: center;
  14. }
  15. .header > .item.title {
  16. width: 250px;
  17. }
  18. .header > .item.title .logo {
  19. display: inline-block;
  20. width: 32px;
  21. padding: 10px;
  22. }
  23. .header > .item.title h1 {
  24. display: inline-block;
  25. margin: 0;
  26. text-shadow: 1px -1px 0 #ccc;
  27. vertical-align: bottom;
  28. }
  29. .header > .item.title a:hover {
  30. text-decoration: none;
  31. }
  32. .header > .item.search input {
  33. width: 200px;
  34. transition: width 200ms linear;
  35. }
  36. .header .item.search input:focus {
  37. width: 300px;
  38. }
  39. .header > .item.configure {
  40. width: 100px;
  41. }
  42. #global {
  43. display: table;
  44. width: 100%;
  45. height: 100%;
  46. background: #fafafa;
  47. table-layout: fixed;
  48. }
  49. .aside {
  50. display: table-cell;
  51. height: 100%;
  52. width: 250px;
  53. vertical-align: top;
  54. border-right: 1px solid #aaa;
  55. background: #fff;
  56. }
  57. .aside .nav-form input {
  58. width: 180px;
  59. }
  60. .aside.aside_flux {
  61. padding: 10px 0;
  62. }
  63. .aside.aside_feed .nav-form input {
  64. width: 140px;
  65. }
  66. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  67. right: -20px;
  68. }
  69. .nav_menu {
  70. width: 100%;
  71. background: #fafafa;
  72. border-bottom: 1px solid #aaa;
  73. text-align: center;
  74. padding: 5px 0;
  75. }
  76. .favicon {
  77. height: 16px;
  78. width: 16px;
  79. }
  80. .categories {
  81. margin: 0;
  82. padding: 0;
  83. text-align: center;
  84. list-style: none;
  85. }
  86. .categories .all,
  87. .categories .favorites,
  88. .categories .category {
  89. display: block;
  90. padding: 5px 0;
  91. width: 220px;
  92. margin: 5px auto;
  93. text-align: left;
  94. overflow: hidden;
  95. white-space: nowrap;
  96. text-overflow: ellipsis;
  97. }
  98. .categories .all .btn,
  99. .categories .favorites .btn,
  100. .categories .category .btn:first-child {
  101. width: 195px;
  102. position: relative;
  103. }
  104. .categories .feeds {
  105. width: 220px;
  106. margin: 0 auto;
  107. list-style: none;
  108. }
  109. .categories .feeds .item.active:after {
  110. content: "⇢";
  111. line-height: 35px;
  112. float: right;
  113. }
  114. .categories .feeds .item.error .feed {
  115. color: #BD362F;
  116. }
  117. .categories .feeds .item .feed {
  118. display: inline-block;
  119. margin: 0;
  120. width: 165px;
  121. line-height: 35px;
  122. font-size: 90%;
  123. vertical-align: middle;
  124. text-align: left;
  125. overflow: hidden;
  126. white-space: nowrap;
  127. text-overflow: ellipsis;
  128. }
  129. .categories .feeds .dropdown .dropdown-menu {
  130. left: 0;
  131. }
  132. .categories .feeds .item .dropdown-toggle i {
  133. background-image: none;
  134. }
  135. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i,
  136. .categories .feeds .item:hover .dropdown-toggle i {
  137. background-image: url("icons/configure.png");
  138. background-image: url("icons/configure.svg");
  139. }
  140. .categories .notRead {
  141. position: absolute;
  142. top: 3px; right: 3px;
  143. padding: 1px 5px;
  144. background: #ccc;
  145. color: #fff;
  146. font-size: 90%;
  147. border: 1px solid #bbb;
  148. border-radius: 5px;
  149. box-shadow: 1px 3px 3px #aaa inset;
  150. text-shadow: 0 0 1px #aaa;
  151. }
  152. .post {
  153. padding: 10px 50px;
  154. }
  155. .post form {
  156. margin: 10px 0;
  157. }
  158. .day {
  159. min-height: 50px;
  160. padding: 0 10px;
  161. font-size: 130%;
  162. font-weight: bold;
  163. line-height: 50px;
  164. background: #fff;
  165. border-top: 1px solid #aaa;
  166. border-bottom: 1px solid #aaa;
  167. }
  168. .day:first-child {
  169. border-top: none;
  170. }
  171. .flux {
  172. border-left: 10px solid #aaa;
  173. background: #fafafa;
  174. }
  175. .flux:hover {
  176. background: #fff;
  177. }
  178. .flux.active {
  179. border-left: 10px solid #0062BE;
  180. background: #fff;
  181. }
  182. .flux.not_read {
  183. border-left: 10px solid #FF5300;
  184. background: #FFF3ED;
  185. }
  186. .flux.favorite {
  187. border-left: 10px solid #FFC300;
  188. background: #FFF6DA;
  189. }
  190. .flux_header {
  191. height: 25px;
  192. font-size: 12px;
  193. line-height: 25px;
  194. border-top: 1px solid #ddd;
  195. }
  196. .flux_header .item.manage {
  197. width: 80px;
  198. white-space: nowrap;
  199. font-size: 0px;
  200. text-align: center;
  201. }
  202. .flux_header .item.manage .read {
  203. display: inline-block;
  204. width: 40px;
  205. height: 40px;
  206. background: url("icons/read.png") center center no-repeat;
  207. background: url("icons/read.svg") center center no-repeat;
  208. vertical-align: middle;
  209. }
  210. .flux_header .item.manage .read:hover {
  211. text-decoration: none;
  212. }
  213. .flux.not_read .flux_header .item.manage .read {
  214. background: url("icons/unread.png") center center no-repeat;
  215. background: url("icons/unread.svg") center center no-repeat;
  216. }
  217. .flux_header .item.manage .bookmark {
  218. display: inline-block;
  219. width: 40px;
  220. height: 40px;
  221. background: url("icons/non-starred.png") center center no-repeat;
  222. background: url("icons/non-starred.svg") center center no-repeat;
  223. vertical-align: middle;
  224. }
  225. .flux_header .item.manage .bookmark:hover {
  226. text-decoration: none;
  227. }
  228. .flux.favorite .flux_header .item.manage .bookmark {
  229. background: url("icons/starred.png") center center no-repeat;
  230. background: url("icons/starred.svg") center center no-repeat;
  231. }
  232. .flux_header .item.website {
  233. width: 200px;
  234. overflow: hidden;
  235. white-space: nowrap;
  236. text-overflow: ellipsis;
  237. line-height: 40px;
  238. }
  239. .flux_header .item.website .favicon {
  240. padding: 5px;
  241. }
  242. .flux_header .item.website a {
  243. display: block;
  244. height: 40px;
  245. }
  246. .flux_header .item.title {
  247. overflow: hidden;
  248. white-space: nowrap;
  249. text-overflow: ellipsis;
  250. cursor: pointer;
  251. }
  252. .flux.not_read .flux_header .item.title {
  253. font-weight: bold;
  254. }
  255. .flux_header .item.date {
  256. width: 200px;
  257. overflow: hidden;
  258. white-space: nowrap;
  259. text-overflow: ellipsis;
  260. text-align: right;
  261. font-size: 10px;
  262. color: #666;
  263. cursor: pointer;
  264. }
  265. .flux_header .item.link {
  266. width: 40px;
  267. text-align: center;
  268. }
  269. .flux_header .item.link a {
  270. display: inline-block;
  271. width: 40px;
  272. height: 40px;
  273. background: url("icons/link.png") center center no-repeat;
  274. background: url("icons/link.svg") center center no-repeat;
  275. vertical-align: middle;
  276. }
  277. .flux_header .item.link a:hover {
  278. text-decoration: none;
  279. }
  280. #stream.reader .flux {
  281. padding: 0 0 30px;
  282. border: none;
  283. background: #f0f0f0;
  284. color: #333;
  285. }
  286. #stream.reader .flux .author {
  287. margin: 0 0 10px;
  288. font-size: 90%;
  289. color: #666;
  290. }
  291. .content {
  292. max-width: 550px;
  293. margin: 0 auto;
  294. padding: 20px 10px;
  295. line-height: 170%;
  296. font-family: 'OpenSans';
  297. word-wrap: break-word;
  298. }
  299. .content .title {
  300. margin: 0 0 5px;
  301. }
  302. .content h1, .content h2, .content h3 {
  303. margin: 20px 0 5px;
  304. }
  305. .content p {
  306. margin: 0 0 20px;
  307. }
  308. .content img.big {
  309. display: block;
  310. margin: 10px auto;
  311. }
  312. .content hr {
  313. margin: 30px 0;
  314. height: 1px;
  315. background: #ddd;
  316. border: 0;
  317. }
  318. .content pre {
  319. margin: 10px auto;
  320. padding: 10px;
  321. overflow: auto;
  322. background: #000;
  323. color: #fff;
  324. font-size: 110%;
  325. }
  326. .content q, .content blockquote {
  327. display: block;
  328. margin: 5px 0;
  329. padding: 5px 20px;
  330. font-style: italic;
  331. border-left: 4px solid #ccc;
  332. color: #666;
  333. }
  334. .content blockquote p {
  335. margin: 0;
  336. }
  337. .flux_content .bottom {
  338. font-size: 90%;
  339. text-align: center;
  340. }
  341. /*** PAGINATION ***/
  342. .pagination {
  343. display: table;
  344. width: 100%;
  345. margin: 0;
  346. background: #fafafa;
  347. text-align: center;
  348. color: #333;
  349. font-size: 80%;
  350. line-height: 200%;
  351. table-layout: fixed;
  352. }
  353. .pagination .item {
  354. display: table-cell;
  355. line-height: 40px;
  356. }
  357. .pagination .item.pager-current {
  358. font-weight: bold;
  359. font-size: 140%;
  360. }
  361. .pagination .item.pager-first,
  362. .pagination .item.pager-previous,
  363. .pagination .item.pager-next,
  364. .pagination .item.pager-last {
  365. width: 100px;
  366. }
  367. .pagination .item a {
  368. display: block;
  369. color: #333;
  370. font-style: italic;
  371. }
  372. .pagination:first-child .item {
  373. border-bottom: 1px solid #aaa;
  374. }
  375. .pagination:last-child .item {
  376. border-top: 1px solid #aaa;
  377. }
  378. .loading {
  379. background: url("loader.gif") center center no-repeat;
  380. font-size: 0;
  381. }
  382. /*** NOTIFICATION ***/
  383. .notification {
  384. position: fixed;
  385. bottom: 0;
  386. left: 5%; right: 5%;
  387. min-height: 30px;
  388. padding: 10px;
  389. line-height: 30px;
  390. text-align: center;
  391. border-radius: 5px 5px 0 0;
  392. box-shadow: 0 0 5px #666;
  393. background: #ddd;
  394. color: #666;
  395. font-weight: bold;
  396. }
  397. .notification.good {
  398. background: #f4f899;
  399. }
  400. .notification.bad {
  401. background: #f4a899;
  402. }
  403. .notification a.close {
  404. display: inline-block;
  405. width: 16px;
  406. height: 16px;
  407. float: right;
  408. margin: -20px -20px 0 0;
  409. padding: 5px;
  410. background: #fff;
  411. border-radius: 50px;
  412. border: 1px solid #aaa;
  413. line-height: 16px;
  414. }
  415. .toggle_aside, .btn.toggle_aside {
  416. display: none;
  417. }
  418. .actualizeProgress {
  419. position: fixed;
  420. top: 0; left: 25%; right: 25%;
  421. width: 50%;
  422. padding: 5px;
  423. background: #fff;
  424. text-align: center;
  425. border: 1px solid #ddd;
  426. border-top: none;
  427. border-radius: 0 0 5px 5px;
  428. }
  429. .actualizeProgress progress {
  430. max-width: 100%;
  431. vertical-align: middle;
  432. }
  433. .actualizeProgress .progress {
  434. color: #999;
  435. font-size: 90%;
  436. vertical-align: middle;
  437. }
  438. .logs {
  439. border: 1px solid #aaa;
  440. }
  441. .logs .log {
  442. padding: 5px 2%;
  443. overflow: auto;
  444. background: #fafafa;
  445. border-bottom: 1px solid #999;
  446. color: #333;
  447. font-size: 90%;
  448. }
  449. .logs .log .date {
  450. display: block;
  451. }
  452. .logs .log.error {
  453. background: #fdd;
  454. color: #844;
  455. }
  456. .logs .log.warning {
  457. background: #ffe;
  458. color: #c95;
  459. }
  460. .logs .log.notice {
  461. background: #f4f4f4;
  462. color: #aaa;
  463. }
  464. @media(max-width: 840px) {
  465. .header,
  466. .aside .btn-important,
  467. .aside .feeds .dropdown,
  468. .flux_header .item.website span,
  469. .flux_header .item.date,
  470. .flux_content .bottom {
  471. display: none;
  472. }
  473. .flux_header .item.website {
  474. width: 40px;
  475. text-align: center;
  476. }
  477. .flux_header .item.website .favicon {
  478. padding: 12px;
  479. }
  480. .content {
  481. font-size: 120%;
  482. }
  483. .pagination .pager-previous, .pagination .pager-next {
  484. width: 100px;
  485. }
  486. .toggle_aside, .btn.toggle_aside {
  487. display: inline-block;
  488. }
  489. .aside {
  490. position: fixed;
  491. top: 0; left: 0;
  492. width: 0;
  493. overflow: hidden;
  494. border-right: none;
  495. z-index: 10;
  496. transition: width 200ms linear;
  497. }
  498. .aside:target {
  499. width: 80%;
  500. border-right: 1px solid #aaa;
  501. overflow: auto;
  502. }
  503. .aside .toggle_aside {
  504. position: absolute;
  505. right: 0;
  506. display: inline-block;
  507. width: 20px;
  508. height: 20px;
  509. margin: 0 10px 0 0;
  510. border: 1px solid #ccc;
  511. border-radius: 10px;
  512. text-align: center;
  513. line-height: 20px;
  514. }
  515. .aside .categories {
  516. margin: 30px 0;
  517. }
  518. }