freshrss.css 9.0 KB

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