freshrss.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  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. #stream.global {
  292. text-align: center;
  293. }
  294. #stream.global .category {
  295. display: inline-block;
  296. width: 280px;
  297. margin: 20px 10px;
  298. vertical-align: top;
  299. background: #fff;
  300. border: 1px solid #aaa;
  301. border-radius: 5px;
  302. text-align: left;
  303. box-shadow: 0 0 5px #bbb;
  304. }
  305. #stream.global .cat_header {
  306. height: 35px;
  307. padding: 0 10px;
  308. background: #eee;
  309. border-bottom: 1px solid #aaa;
  310. border-radius: 5px 5px 0 0;
  311. line-height: 35px;
  312. font-size: 120%;
  313. }
  314. #stream.global .cat_header a {
  315. color: #333;
  316. text-shadow: 0 -1px 0px #aaa;
  317. }
  318. #stream.global .category .feeds {
  319. max-height: 250px;
  320. margin: 0;
  321. list-style: none;
  322. overflow: auto;
  323. }
  324. #stream.global .category .feeds .item {
  325. padding: 2px 10px;
  326. font-size: 90%;
  327. }
  328. .content {
  329. max-width: 550px;
  330. margin: 0 auto;
  331. padding: 20px 10px;
  332. line-height: 170%;
  333. font-family: 'OpenSans';
  334. word-wrap: break-word;
  335. }
  336. .content .title {
  337. margin: 0 0 5px;
  338. }
  339. .content h1, .content h2, .content h3 {
  340. margin: 20px 0 5px;
  341. }
  342. .content p {
  343. margin: 0 0 20px;
  344. }
  345. .content img.big {
  346. display: block;
  347. margin: 10px auto;
  348. }
  349. .content hr {
  350. margin: 30px 0;
  351. height: 1px;
  352. background: #ddd;
  353. border: 0;
  354. }
  355. .content pre {
  356. margin: 10px auto;
  357. padding: 10px;
  358. overflow: auto;
  359. background: #000;
  360. color: #fff;
  361. font-size: 110%;
  362. }
  363. .content q, .content blockquote {
  364. display: block;
  365. margin: 5px 0;
  366. padding: 5px 20px;
  367. font-style: italic;
  368. border-left: 4px solid #ccc;
  369. color: #666;
  370. }
  371. .content blockquote p {
  372. margin: 0;
  373. }
  374. .flux_content .bottom {
  375. font-size: 90%;
  376. text-align: center;
  377. }
  378. /*** PAGINATION ***/
  379. .pagination {
  380. display: table;
  381. width: 100%;
  382. margin: 0;
  383. background: #fafafa;
  384. text-align: center;
  385. color: #333;
  386. font-size: 80%;
  387. line-height: 200%;
  388. table-layout: fixed;
  389. }
  390. .pagination .item {
  391. display: table-cell;
  392. line-height: 40px;
  393. }
  394. .pagination .item.pager-current {
  395. font-weight: bold;
  396. font-size: 140%;
  397. }
  398. .pagination .item.pager-first,
  399. .pagination .item.pager-previous,
  400. .pagination .item.pager-next,
  401. .pagination .item.pager-last {
  402. width: 100px;
  403. }
  404. .pagination .item a {
  405. display: block;
  406. color: #333;
  407. font-style: italic;
  408. }
  409. .pagination:first-child .item {
  410. border-bottom: 1px solid #aaa;
  411. }
  412. .pagination:last-child .item {
  413. border-top: 1px solid #aaa;
  414. }
  415. .nav_entries {
  416. display: none;
  417. }
  418. .loading {
  419. background: url("loader.gif") center center no-repeat;
  420. font-size: 0;
  421. }
  422. /*** NOTIFICATION ***/
  423. .notification {
  424. position: fixed;
  425. bottom: 0;
  426. left: 5%; right: 5%;
  427. min-height: 30px;
  428. padding: 10px;
  429. line-height: 30px;
  430. text-align: center;
  431. border-radius: 5px 5px 0 0;
  432. box-shadow: 0 0 5px #666;
  433. background: #ddd;
  434. color: #666;
  435. font-weight: bold;
  436. }
  437. .notification.good {
  438. background: #f4f899;
  439. }
  440. .notification.bad {
  441. background: #f4a899;
  442. }
  443. .notification a.close {
  444. display: inline-block;
  445. width: 16px;
  446. height: 16px;
  447. float: right;
  448. margin: -20px -20px 0 0;
  449. padding: 5px;
  450. background: #fff;
  451. border-radius: 50px;
  452. border: 1px solid #aaa;
  453. line-height: 16px;
  454. }
  455. .toggle_aside, .btn.toggle_aside {
  456. display: none;
  457. }
  458. .actualizeProgress {
  459. position: fixed;
  460. top: 0; left: 25%; right: 25%;
  461. width: 50%;
  462. padding: 5px;
  463. background: #fff;
  464. text-align: center;
  465. border: 1px solid #ddd;
  466. border-top: none;
  467. border-radius: 0 0 5px 5px;
  468. }
  469. .actualizeProgress progress {
  470. max-width: 100%;
  471. vertical-align: middle;
  472. }
  473. .actualizeProgress .progress {
  474. color: #999;
  475. font-size: 90%;
  476. vertical-align: middle;
  477. }
  478. .logs {
  479. border: 1px solid #aaa;
  480. }
  481. .logs .log {
  482. padding: 5px 2%;
  483. overflow: auto;
  484. background: #fafafa;
  485. border-bottom: 1px solid #999;
  486. color: #333;
  487. font-size: 90%;
  488. }
  489. .logs .log .date {
  490. display: block;
  491. }
  492. .logs .log.error {
  493. background: #fdd;
  494. color: #844;
  495. }
  496. .logs .log.warning {
  497. background: #ffe;
  498. color: #c95;
  499. }
  500. .logs .log.notice {
  501. background: #f4f4f4;
  502. color: #aaa;
  503. }
  504. @media(max-width: 840px) {
  505. .header,
  506. .aside .btn-important,
  507. .aside .feeds .dropdown,
  508. .flux_header .item.website span,
  509. .flux_header .item.date,
  510. .flux_content .bottom {
  511. display: none;
  512. }
  513. .flux_header .item.website {
  514. width: 40px;
  515. text-align: center;
  516. }
  517. .flux_header .item.website .favicon {
  518. padding: 12px;
  519. }
  520. .content {
  521. font-size: 120%;
  522. }
  523. .pagination {
  524. margin: 0 0 40px;
  525. }
  526. .pagination .pager-previous, .pagination .pager-next {
  527. width: 100px;
  528. }
  529. .toggle_aside, .btn.toggle_aside {
  530. display: inline-block;
  531. }
  532. .aside {
  533. position: fixed;
  534. top: 0; left: 0;
  535. width: 0;
  536. overflow: hidden;
  537. border-right: none;
  538. z-index: 10;
  539. transition: width 200ms linear;
  540. }
  541. .aside:target {
  542. width: 80%;
  543. border-right: 1px solid #aaa;
  544. overflow: auto;
  545. }
  546. .aside .toggle_aside {
  547. position: absolute;
  548. right: 0;
  549. display: inline-block;
  550. width: 26px;
  551. height: 26px;
  552. margin: 0 10px 0 0;
  553. border: 1px solid #ccc;
  554. border-radius: 20px;
  555. text-align: center;
  556. line-height: 26px;
  557. }
  558. .aside .categories {
  559. margin: 30px 0;
  560. }
  561. .nav_entries {
  562. display: table;
  563. width: 100%;
  564. height: 40px;
  565. position: fixed;
  566. bottom: 0;
  567. margin: 0;
  568. background: #fff;
  569. border-top: 1px solid #ddd;
  570. text-align: center;
  571. line-height: 40px;
  572. table-layout: fixed;
  573. }
  574. .nav_entries .item {
  575. display: table-cell;
  576. width: 30%;
  577. }
  578. .nav_entries .item a {
  579. display: block;
  580. }
  581. .nav_entries .item .icon.i_up {
  582. margin: 5px 0 0;
  583. vertical-align: top;
  584. }
  585. }