freshrss.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  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. width: 16px;
  78. }
  79. .categories {
  80. margin: 0;
  81. padding: 0;
  82. text-align: center;
  83. list-style: none;
  84. }
  85. .categories .all,
  86. .categories .favorites,
  87. .categories .category {
  88. display: block;
  89. padding: 5px 0;
  90. width: 220px;
  91. margin: 5px auto;
  92. text-align: left;
  93. overflow: hidden;
  94. white-space: nowrap;
  95. text-overflow: ellipsis;
  96. }
  97. .categories .all .btn,
  98. .categories .favorites .btn,
  99. .categories .category .btn:first-child {
  100. width: 195px;
  101. position: relative;
  102. }
  103. .categories .feeds {
  104. width: 220px;
  105. margin: 0 auto;
  106. list-style: none;
  107. }
  108. .categories .feeds .item.active:after {
  109. content: "⇢";
  110. line-height: 35px;
  111. float: right;
  112. }
  113. .categories .feeds .item .feed {
  114. display: inline-block;
  115. margin: 0;
  116. width: 165px;
  117. line-height: 35px;
  118. font-size: 90%;
  119. vertical-align: middle;
  120. text-align: left;
  121. overflow: hidden;
  122. white-space: nowrap;
  123. text-overflow: ellipsis;
  124. }
  125. .categories .feeds .dropdown .dropdown-menu {
  126. left: 0;
  127. }
  128. .categories .feeds .item .dropdown-toggle i {
  129. background-image: none;
  130. }
  131. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i,
  132. .categories .feeds .item:hover .dropdown-toggle i {
  133. background-image: url("icons/configure.png");
  134. background-image: url("icons/configure.svg");
  135. }
  136. .categories .notRead {
  137. position: absolute;
  138. top: 3px; right: 3px;
  139. padding: 1px 5px;
  140. background: #ccc;
  141. color: #fff;
  142. font-size: 90%;
  143. border: 1px solid #bbb;
  144. border-radius: 5px;
  145. box-shadow: 1px 3px 3px #aaa inset;
  146. text-shadow: 0 0 1px #aaa;
  147. }
  148. .post {
  149. padding: 10px 50px;
  150. }
  151. .post form {
  152. margin: 10px 0;
  153. }
  154. .day {
  155. min-height: 50px;
  156. padding: 0 10px;
  157. font-size: 130%;
  158. font-weight: bold;
  159. line-height: 50px;
  160. background: #fff;
  161. border-top: 1px solid #aaa;
  162. border-bottom: 1px solid #aaa;
  163. }
  164. .day:first-child {
  165. border-top: none;
  166. }
  167. .flux {
  168. border-left: 10px solid #aaa;
  169. background: #fafafa;
  170. }
  171. .flux:hover {
  172. background: #fff;
  173. }
  174. .flux.active {
  175. border-left: 10px solid #0062BE;
  176. background: #fff;
  177. }
  178. .flux.not_read {
  179. border-left: 10px solid #FF5300;
  180. background: #FFF3ED;
  181. }
  182. .flux.favorite {
  183. border-left: 10px solid #FFC300;
  184. background: #FFF6DA;
  185. }
  186. .flux_header {
  187. height: 25px;
  188. font-size: 12px;
  189. line-height: 25px;
  190. border-top: 1px solid #ddd;
  191. }
  192. .flux_header .item.manage {
  193. width: 60px;
  194. white-space: nowrap;
  195. font-size: 0px;
  196. text-align: center;
  197. }
  198. .flux_header .item.manage .read {
  199. display: inline-block;
  200. width: 30px;
  201. height: 40px;
  202. background: url("icons/read.png") center center no-repeat;
  203. background: url("icons/read.svg") center center no-repeat;
  204. vertical-align: middle;
  205. }
  206. .flux_header .item.manage .read:hover {
  207. text-decoration: none;
  208. }
  209. .flux.not_read .flux_header .item.manage .read {
  210. background: url("icons/unread.png") center center no-repeat;
  211. background: url("icons/unread.svg") center center no-repeat;
  212. }
  213. .flux_header .item.manage .bookmark {
  214. display: inline-block;
  215. width: 30px;
  216. height: 40px;
  217. background: url("icons/non-starred.png") center center no-repeat;
  218. background: url("icons/non-starred.svg") center center no-repeat;
  219. vertical-align: middle;
  220. }
  221. .flux_header .item.manage .bookmark:hover {
  222. text-decoration: none;
  223. }
  224. .flux.favorite .flux_header .item.manage .bookmark {
  225. background: url("icons/starred.png") center center no-repeat;
  226. background: url("icons/starred.svg") center center no-repeat;
  227. }
  228. .flux_header .item.website {
  229. width: 200px;
  230. overflow: hidden;
  231. white-space: nowrap;
  232. text-overflow: ellipsis;
  233. line-height: 40px;
  234. }
  235. .flux_header .item.website a {
  236. display: block;
  237. padding: 0 5px;
  238. height: 40px;
  239. }
  240. .flux_header .item.title {
  241. overflow: hidden;
  242. white-space: nowrap;
  243. text-overflow: ellipsis;
  244. cursor: pointer;
  245. }
  246. .flux.not_read .flux_header .item.title {
  247. font-weight: bold;
  248. }
  249. .flux_header .item.date {
  250. width: 200px;
  251. overflow: hidden;
  252. white-space: nowrap;
  253. text-overflow: ellipsis;
  254. text-align: right;
  255. font-size: 10px;
  256. color: #666;
  257. cursor: pointer;
  258. }
  259. .flux_header .item.link {
  260. width: 35px;
  261. text-align: center;
  262. }
  263. .flux_header .item.link a {
  264. display: inline-block;
  265. width: 35px;
  266. height: 40px;
  267. background: url("icons/link.png") center center no-repeat;
  268. background: url("icons/link.svg") center center no-repeat;
  269. vertical-align: middle;
  270. }
  271. .flux_header .item.link a:hover {
  272. text-decoration: none;
  273. }
  274. .content {
  275. max-width: 550px;
  276. margin: 0 auto;
  277. padding: 20px 10px;
  278. line-height: 170%;
  279. font-family: 'OpenSans';
  280. }
  281. .content .title {
  282. margin: 0 0 5px;
  283. }
  284. .content h1, .content h2, .content h3 {
  285. margin: 20px 0 5px;
  286. }
  287. .content p {
  288. margin: 0 0 20px;
  289. }
  290. .content img.big {
  291. display: block;
  292. margin: 10px auto;
  293. }
  294. .content pre {
  295. width: 90%;
  296. margin: 10px auto;
  297. padding: 10px;
  298. overflow: auto;
  299. background: #666;
  300. border: 1px solid #000;
  301. color: #fafafa;
  302. border-radius: 5px;
  303. }
  304. .content q, .content blockquote {
  305. display: block;
  306. margin: 5px 0;
  307. padding: 5px 20px;
  308. font-style: italic;
  309. border-left: 4px solid #ccc;
  310. color: #666;
  311. }
  312. .content blockquote p {
  313. margin: 0;
  314. }
  315. .flux_content .bottom {
  316. font-size: 90%;
  317. text-align: center;
  318. }
  319. /*** PAGINATION ***/
  320. .pagination {
  321. display: table;
  322. width: 100%;
  323. margin: 0;
  324. background: #fafafa;
  325. text-align: center;
  326. color: #333;
  327. font-size: 80%;
  328. line-height: 200%;
  329. table-layout: fixed;
  330. }
  331. .pagination .item {
  332. display: table-cell;
  333. padding: 5px 10px;
  334. border-top: 1px solid #aaa;
  335. }
  336. .pagination .item a {
  337. color: #333;
  338. font-style: italic;
  339. }
  340. .pagination .pager-previous, .pagination .pager-next {
  341. width: 200px;
  342. }
  343. .pagination .item.pager-current {
  344. font-weight: bold;
  345. }
  346. /*** NOTIFICATION ***/
  347. .notification {
  348. position: fixed;
  349. bottom: 0;
  350. left: 5%; right: 5%;
  351. min-height: 30px;
  352. padding: 10px;
  353. line-height: 30px;
  354. text-align: center;
  355. border-radius: 5px 5px 0 0;
  356. box-shadow: 0 0 5px #666;
  357. background: #ddd;
  358. color: #666;
  359. font-weight: bold;
  360. }
  361. .notification.good {
  362. background: #f4f899;
  363. }
  364. .notification.bad {
  365. background: #f4a899;
  366. }
  367. .notification a.close {
  368. display: inline-block;
  369. width: 16px;
  370. height: 16px;
  371. float: right;
  372. margin: -20px -20px 0 0;
  373. padding: 5px;
  374. background: #fff;
  375. border-radius: 50px;
  376. border: 1px solid #aaa;
  377. line-height: 16px;
  378. }
  379. .toggle_aside, .btn.toggle_aside {
  380. display: none;
  381. }
  382. .actualizeProgress {
  383. position: fixed;
  384. top: 0; left: 25%; right: 25%;
  385. width: 50%;
  386. padding: 5px;
  387. background: #fff;
  388. text-align: center;
  389. border: 1px solid #ddd;
  390. border-top: none;
  391. border-radius: 0 0 5px 5px;
  392. }
  393. .actualizeProgress progress {
  394. max-width: 100%;
  395. vertical-align: middle;
  396. }
  397. .actualizeProgress .progress {
  398. color: #999;
  399. font-size: 90%;
  400. vertical-align: middle;
  401. }
  402. @media(max-width: 840px) {
  403. .header,
  404. .aside .btn-important,
  405. .aside .feeds .dropdown,
  406. .flux_header .item.website span,
  407. .flux_header .item.date,
  408. .flux_content .bottom {
  409. display: none;
  410. }
  411. .flux_header .item.website {
  412. width: 30px;
  413. text-align: center;
  414. }
  415. .pagination .pager-previous, .pagination .pager-next {
  416. width: 100px;
  417. }
  418. .toggle_aside, .btn.toggle_aside {
  419. display: inline-block;
  420. }
  421. .aside {
  422. position: fixed;
  423. top: 0; left: 0;
  424. width: 0;
  425. overflow: hidden;
  426. z-index: 10;
  427. transition: width 200ms linear;
  428. }
  429. .aside:target {
  430. width: 80%;
  431. overflow: auto;
  432. }
  433. .aside .toggle_aside {
  434. position: absolute;
  435. right: 0;
  436. display: inline-block;
  437. width: 20px;
  438. height: 20px;
  439. margin: 0 10px 0 0;
  440. border: 1px solid #ccc;
  441. border-radius: 10px;
  442. text-align: center;
  443. line-height: 20px;
  444. }
  445. .aside .categories {
  446. margin: 30px 0;
  447. }
  448. }