freshrss.css 11 KB

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