freshrss.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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: 12px;
  241. }
  242. .flux_header .item.website a {
  243. display: block;
  244. padding: 0;
  245. height: 40px;
  246. }
  247. .flux_header .item.title {
  248. overflow: hidden;
  249. white-space: nowrap;
  250. text-overflow: ellipsis;
  251. cursor: pointer;
  252. }
  253. .flux.not_read .flux_header .item.title {
  254. font-weight: bold;
  255. }
  256. .flux_header .item.date {
  257. width: 200px;
  258. overflow: hidden;
  259. white-space: nowrap;
  260. text-overflow: ellipsis;
  261. text-align: right;
  262. font-size: 10px;
  263. color: #666;
  264. cursor: pointer;
  265. }
  266. .flux_header .item.link {
  267. width: 40px;
  268. text-align: center;
  269. }
  270. .flux_header .item.link a {
  271. display: inline-block;
  272. width: 40px;
  273. height: 40px;
  274. background: url("icons/link.png") center center no-repeat;
  275. background: url("icons/link.svg") center center no-repeat;
  276. vertical-align: middle;
  277. }
  278. .flux_header .item.link a:hover {
  279. text-decoration: none;
  280. }
  281. .content {
  282. max-width: 550px;
  283. margin: 0 auto;
  284. padding: 20px 10px;
  285. line-height: 170%;
  286. font-family: 'OpenSans';
  287. }
  288. .content .title {
  289. margin: 0 0 5px;
  290. }
  291. .content h1, .content h2, .content h3 {
  292. margin: 20px 0 5px;
  293. }
  294. .content p {
  295. margin: 0 0 20px;
  296. }
  297. .content img.big {
  298. display: block;
  299. margin: 10px auto;
  300. }
  301. .content hr {
  302. margin: 30px 0;
  303. height: 1px;
  304. background: #ddd;
  305. border: 0;
  306. }
  307. .content pre {
  308. margin: 10px auto;
  309. padding: 10px;
  310. overflow: auto;
  311. background: #000;
  312. color: #fff;
  313. font-size: 110%;
  314. }
  315. .content q, .content blockquote {
  316. display: block;
  317. margin: 5px 0;
  318. padding: 5px 20px;
  319. font-style: italic;
  320. border-left: 4px solid #ccc;
  321. color: #666;
  322. }
  323. .content blockquote p {
  324. margin: 0;
  325. }
  326. .flux_content .bottom {
  327. font-size: 90%;
  328. text-align: center;
  329. }
  330. /*** PAGINATION ***/
  331. .pagination {
  332. display: table;
  333. width: 100%;
  334. margin: 0;
  335. background: #fafafa;
  336. text-align: center;
  337. color: #333;
  338. font-size: 80%;
  339. line-height: 200%;
  340. table-layout: fixed;
  341. }
  342. .pagination .item {
  343. display: table-cell;
  344. line-height: 40px;
  345. }
  346. .pagination .item.pager-current {
  347. font-weight: bold;
  348. font-size: 140%;
  349. }
  350. .pagination .item.pager-first,
  351. .pagination .item.pager-previous,
  352. .pagination .item.pager-next,
  353. .pagination .item.pager-last {
  354. width: 100px;
  355. }
  356. .pagination .item a {
  357. display: block;
  358. color: #333;
  359. font-style: italic;
  360. }
  361. .pagination:first-child .item {
  362. border-bottom: 1px solid #aaa;
  363. }
  364. .pagination:last-child .item {
  365. border-top: 1px solid #aaa;
  366. }
  367. .loading {
  368. background: url("loader.gif") center center no-repeat;
  369. font-size: 0;
  370. }
  371. /*** NOTIFICATION ***/
  372. .notification {
  373. position: fixed;
  374. bottom: 0;
  375. left: 5%; right: 5%;
  376. min-height: 30px;
  377. padding: 10px;
  378. line-height: 30px;
  379. text-align: center;
  380. border-radius: 5px 5px 0 0;
  381. box-shadow: 0 0 5px #666;
  382. background: #ddd;
  383. color: #666;
  384. font-weight: bold;
  385. }
  386. .notification.good {
  387. background: #f4f899;
  388. }
  389. .notification.bad {
  390. background: #f4a899;
  391. }
  392. .notification a.close {
  393. display: inline-block;
  394. width: 16px;
  395. height: 16px;
  396. float: right;
  397. margin: -20px -20px 0 0;
  398. padding: 5px;
  399. background: #fff;
  400. border-radius: 50px;
  401. border: 1px solid #aaa;
  402. line-height: 16px;
  403. }
  404. .toggle_aside, .btn.toggle_aside {
  405. display: none;
  406. }
  407. .actualizeProgress {
  408. position: fixed;
  409. top: 0; left: 25%; right: 25%;
  410. width: 50%;
  411. padding: 5px;
  412. background: #fff;
  413. text-align: center;
  414. border: 1px solid #ddd;
  415. border-top: none;
  416. border-radius: 0 0 5px 5px;
  417. }
  418. .actualizeProgress progress {
  419. max-width: 100%;
  420. vertical-align: middle;
  421. }
  422. .actualizeProgress .progress {
  423. color: #999;
  424. font-size: 90%;
  425. vertical-align: middle;
  426. }
  427. .logs {
  428. border: 1px solid #aaa;
  429. }
  430. .logs .log {
  431. padding: 5px 2%;
  432. overflow: auto;
  433. background: #fafafa;
  434. border-bottom: 1px solid #999;
  435. color: #333;
  436. font-size: 90%;
  437. }
  438. .logs .log .date {
  439. display: block;
  440. }
  441. .logs .log.error {
  442. background: #fdd;
  443. color: #844;
  444. }
  445. .logs .log.warning {
  446. background: #ffe;
  447. color: #c95;
  448. }
  449. .logs .log.notice {
  450. background: #f4f4f4;
  451. color: #aaa;
  452. }
  453. @media(max-width: 840px) {
  454. .header,
  455. .aside .btn-important,
  456. .aside .feeds .dropdown,
  457. .flux_header .item.website span,
  458. .flux_header .item.date,
  459. .flux_content .bottom {
  460. display: none;
  461. }
  462. .flux_header .item.website {
  463. width: 40px;
  464. text-align: center;
  465. }
  466. .content {
  467. font-size: 120%;
  468. }
  469. .pagination .pager-previous, .pagination .pager-next {
  470. width: 100px;
  471. }
  472. .toggle_aside, .btn.toggle_aside {
  473. display: inline-block;
  474. }
  475. .aside {
  476. position: fixed;
  477. top: 0; left: 0;
  478. width: 0;
  479. overflow: hidden;
  480. border-right: none;
  481. z-index: 10;
  482. transition: width 200ms linear;
  483. }
  484. .aside:target {
  485. width: 80%;
  486. border-right: 1px solid #aaa;
  487. overflow: auto;
  488. }
  489. .aside .toggle_aside {
  490. position: absolute;
  491. right: 0;
  492. display: inline-block;
  493. width: 20px;
  494. height: 20px;
  495. margin: 0 10px 0 0;
  496. border: 1px solid #ccc;
  497. border-radius: 10px;
  498. text-align: center;
  499. line-height: 20px;
  500. }
  501. .aside .categories {
  502. margin: 30px 0;
  503. }
  504. }