freshrss.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. /* STRUCTURE */
  2. body {
  3. background: #fafafa;
  4. }
  5. .header {
  6. display: table;
  7. width: 100%;
  8. table-layout: fixed;
  9. background: #ecf0f1;
  10. }
  11. .header > .item {
  12. display: table-cell;
  13. padding: 10px 0;
  14. vertical-align: middle;
  15. text-align: center;
  16. }
  17. .header > .item.title {
  18. width: 250px;
  19. }
  20. .header > .item.title .logo {
  21. display: inline-block;
  22. width: 32px;
  23. padding: 10px;
  24. }
  25. .header > .item.title h1 {
  26. display: inline-block;
  27. margin: 0;
  28. vertical-align: middle;
  29. }
  30. .header > .item.title a:hover {
  31. text-decoration: none;
  32. }
  33. .header > .item.search input {
  34. width: 250px;
  35. transition: width 200ms linear;
  36. border-radius: 5px 0 0 5px;
  37. }
  38. .header .item.search input:focus {
  39. width: 300px;
  40. }
  41. .header > .item.configure {
  42. width: 100px;
  43. }
  44. #global {
  45. display: table;
  46. width: 100%;
  47. height: 100%;
  48. table-layout: fixed;
  49. }
  50. .aside {
  51. display: table-cell;
  52. height: 100%;
  53. width: 250px;
  54. vertical-align: top;
  55. background: #ecf0f1;
  56. }
  57. .aside .nav-form input {
  58. width: 180px;
  59. }
  60. .aside.aside_flux {
  61. padding: 10px 0 40px;
  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-login {
  70. display: none;
  71. }
  72. .nav_menu {
  73. width: 100%;
  74. text-align: center;
  75. padding: 5px 0;
  76. }
  77. .favicon {
  78. height: 16px;
  79. width: 16px;
  80. }
  81. .categories {
  82. margin: 0;
  83. padding: 0;
  84. text-align: center;
  85. list-style: none;
  86. }
  87. .categories .all,
  88. .categories .favorites,
  89. .categories .category {
  90. display: block;
  91. padding: 5px 0;
  92. width: 220px;
  93. margin: 5px auto;
  94. text-align: left;
  95. overflow: hidden;
  96. white-space: nowrap;
  97. text-overflow: ellipsis;
  98. }
  99. .categories .all .btn,
  100. .categories .favorites .btn,
  101. .categories .category .btn:first-child {
  102. width: 195px;
  103. position: relative;
  104. }
  105. .categories .feeds {
  106. width: 220px;
  107. margin: 0 auto;
  108. list-style: none;
  109. }
  110. .categories .feeds .item.active:after {
  111. content: "⇢";
  112. line-height: 35px;
  113. float: right;
  114. }
  115. .categories .feeds .item.error .feed {
  116. color: #BD362F;
  117. }
  118. .categories .feeds .item .feed {
  119. display: inline-block;
  120. margin: 0;
  121. width: 165px;
  122. line-height: 35px;
  123. font-size: 90%;
  124. vertical-align: middle;
  125. text-align: left;
  126. overflow: hidden;
  127. white-space: nowrap;
  128. text-overflow: ellipsis;
  129. }
  130. .categories .feeds .dropdown .dropdown-menu {
  131. left: 0;
  132. }
  133. .categories .feeds .item .dropdown-toggle i {
  134. background-image: none;
  135. }
  136. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i,
  137. .categories .feeds .item:hover .dropdown-toggle i,
  138. .categories .feeds .item.active .dropdown-toggle i {
  139. background-image: url("icons/configure.png");
  140. background-image: url("icons/configure.svg");
  141. background-color: #95a5a6;
  142. }
  143. .categories .notRead {
  144. position: absolute;
  145. top: 5px; right: 0px;
  146. padding: 0 5px;
  147. color: #fff;
  148. font-size: 90%;
  149. background: #3498DB;
  150. border-left: 3px solid #2980B9;
  151. border-radius: 5px 0 0 5px;
  152. }
  153. .categories .btn:hover .notRead,
  154. .categories .btn.active .notRead {
  155. background: #2980B9;
  156. border-left: 3px solid #3498DB;
  157. }
  158. .post {
  159. padding: 10px 50px;
  160. }
  161. .post form {
  162. margin: 10px 0;
  163. }
  164. .day {
  165. display: inline;
  166. min-height: 50px;
  167. padding: 5px 15px;
  168. font-size: 130%;
  169. font-weight: bold;
  170. line-height: 50px;
  171. background: #ecf0f1;
  172. border-radius: 0 20px 20px 0;
  173. }
  174. .flux {
  175. }
  176. .flux.active {
  177. border-left: 3px solid #3498db;
  178. background: #fff;
  179. }
  180. .flux.not_read {
  181. border-left: 3px solid #FF5300;
  182. background: #FFF3ED;
  183. }
  184. .flux.favorite {
  185. border-left: 3px solid #FFC300;
  186. background: #FFF6DA;
  187. }
  188. .flux_header {
  189. height: 25px;
  190. font-size: 12px;
  191. line-height: 25px;
  192. border-top: 1px solid #ecf0f1;
  193. }
  194. .item.manage {
  195. width: 80px;
  196. white-space: nowrap;
  197. font-size: 0px;
  198. text-align: center;
  199. }
  200. .item.manage .read {
  201. display: inline-block;
  202. width: 40px;
  203. height: 40px;
  204. background: url("icons/read.png") center center no-repeat;
  205. background: url("icons/read.svg") center center no-repeat;
  206. vertical-align: middle;
  207. }
  208. .item.manage .read:hover {
  209. text-decoration: none;
  210. }
  211. .flux.not_read .item.manage .read {
  212. background: url("icons/unread.png") center center no-repeat;
  213. background: url("icons/unread.svg") center center no-repeat;
  214. }
  215. .item.manage .bookmark {
  216. display: inline-block;
  217. width: 40px;
  218. height: 40px;
  219. background: url("icons/non-starred.png") center center no-repeat;
  220. background: url("icons/non-starred.svg") center center no-repeat;
  221. vertical-align: middle;
  222. }
  223. .item.manage .bookmark:hover {
  224. text-decoration: none;
  225. }
  226. .flux.favorite .item.manage .bookmark {
  227. background: url("icons/starred.png") center center no-repeat;
  228. background: url("icons/starred.svg") center center no-repeat;
  229. }
  230. .flux_header .item.website {
  231. width: 200px;
  232. overflow: hidden;
  233. white-space: nowrap;
  234. text-overflow: ellipsis;
  235. line-height: 40px;
  236. }
  237. .flux_header .item.website .favicon {
  238. padding: 5px;
  239. }
  240. .flux_header .item.website a {
  241. display: block;
  242. height: 40px;
  243. }
  244. .flux_header .item.title {
  245. overflow: hidden;
  246. white-space: nowrap;
  247. text-overflow: ellipsis;
  248. cursor: pointer;
  249. }
  250. .flux.not_read .flux_header .item.title {
  251. font-weight: bold;
  252. }
  253. .item.date {
  254. width: 200px;
  255. overflow: hidden;
  256. white-space: nowrap;
  257. text-overflow: ellipsis;
  258. text-align: right;
  259. font-size: 10px;
  260. color: #666;
  261. cursor: pointer;
  262. }
  263. .item.link {
  264. width: 40px;
  265. text-align: center;
  266. }
  267. .item.link a {
  268. display: inline-block;
  269. width: 40px;
  270. height: 40px;
  271. background: url("icons/link.png") center center no-repeat;
  272. background: url("icons/link.svg") center center no-repeat;
  273. vertical-align: middle;
  274. }
  275. .item.link a:hover {
  276. text-decoration: none;
  277. }
  278. #stream.reader .flux {
  279. position: relative;
  280. padding: 0 0 30px;
  281. border: none;
  282. background: #ecf0f1;
  283. color: #34495e;
  284. font-size: 120%;
  285. }
  286. #stream.reader .flux a {
  287. }
  288. #stream.reader .flux .author {
  289. margin: 0 0 10px;
  290. font-size: 90%;
  291. color: #aaa;
  292. }
  293. #stream.global {
  294. text-align: center;
  295. }
  296. #stream.global .category {
  297. display: inline-block;
  298. width: 280px;
  299. margin: 20px 10px;
  300. vertical-align: top;
  301. border: 1px solid #aaa;
  302. border-radius: 5px;
  303. text-align: left;
  304. box-shadow: 0 0 5px #bbb;
  305. }
  306. #stream.global .cat_header {
  307. height: 35px;
  308. padding: 0 10px;
  309. background: #eee;
  310. border-bottom: 1px solid #aaa;
  311. border-radius: 5px 5px 0 0;
  312. line-height: 35px;
  313. font-size: 120%;
  314. }
  315. #stream.global .cat_header a {
  316. color: #333;
  317. text-shadow: 0 -1px 0px #aaa;
  318. }
  319. #stream.global .category .feeds {
  320. max-height: 250px;
  321. margin: 0;
  322. list-style: none;
  323. overflow: auto;
  324. }
  325. #stream.global .category .feeds .item {
  326. padding: 2px 10px;
  327. font-size: 90%;
  328. }
  329. .content {
  330. min-height: 300px;
  331. max-width: 550px;
  332. margin: 0 auto;
  333. padding: 20px 10px;
  334. line-height: 170%;
  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 figure img.big {
  351. margin: 0;
  352. }
  353. .content hr {
  354. margin: 30px 0;
  355. height: 1px;
  356. background: #ddd;
  357. border: 0;
  358. }
  359. .content pre {
  360. margin: 10px auto;
  361. padding: 10px;
  362. overflow: auto;
  363. background: #000;
  364. color: #fff;
  365. font-size: 110%;
  366. }
  367. .content q, .content blockquote {
  368. display: block;
  369. margin: 5px 0;
  370. padding: 5px 20px;
  371. font-style: italic;
  372. border-left: 4px solid #ccc;
  373. color: #666;
  374. }
  375. .content blockquote p {
  376. margin: 0;
  377. }
  378. #panel {
  379. display: none;
  380. position: fixed;
  381. top: 10px; bottom: 10px;
  382. left: 100px; right: 100px;
  383. overflow: auto;
  384. background: #fff;
  385. border: 1px solid #95a5a6;
  386. border-radius: 5px;
  387. }
  388. #panel .close {
  389. position: absolute;
  390. top: 10px; right: 0px;
  391. display: inline-block;
  392. width: 26px;
  393. height: 26px;
  394. margin: 0 10px 0 0;
  395. border-radius: 3px;
  396. text-align: center;
  397. line-height: 24px;
  398. background: #95a5a6;
  399. }
  400. #panel .close:hover {
  401. background: #7f8c8d;
  402. }
  403. .flux_content .bottom {
  404. font-size: 90%;
  405. text-align: center;
  406. }
  407. /*** PAGINATION ***/
  408. .pagination {
  409. display: table;
  410. width: 100%;
  411. margin: 0;
  412. background: #ecf0f1;
  413. text-align: center;
  414. color: #000;
  415. font-size: 80%;
  416. line-height: 200%;
  417. table-layout: fixed;
  418. font-weight: bold;
  419. }
  420. .pagination .item {
  421. display: table-cell;
  422. line-height: 40px;
  423. vertical-align: top;
  424. }
  425. .pagination .item.pager-current {
  426. font-weight: bold;
  427. font-size: 140%;
  428. color: #ecf0f1;
  429. background: #34495e;
  430. }
  431. .pagination .item.pager-first,
  432. .pagination .item.pager-previous,
  433. .pagination .item.pager-next,
  434. .pagination .item.pager-last {
  435. width: 100px;
  436. }
  437. .pagination .item a {
  438. display: block;
  439. color: #000;
  440. font-weight: bold;
  441. line-height: 40px;
  442. }
  443. .pagination .item a:hover {
  444. color: #ecf0f1;
  445. background: #34495e;
  446. text-decoration: none;
  447. }
  448. .nav_entries {
  449. display: table;
  450. width: 250px;
  451. height: 40px;
  452. position: fixed;
  453. bottom: 0;
  454. left: 0;
  455. margin: 0;
  456. background: #34495e;
  457. text-align: center;
  458. line-height: 40px;
  459. table-layout: fixed;
  460. }
  461. .nav_entries .item {
  462. display: table-cell;
  463. width: 30%;
  464. }
  465. .nav_entries .item a {
  466. display: block;
  467. }
  468. .nav_entries .item .icon.i_up {
  469. margin: 5px 0 0;
  470. vertical-align: top;
  471. }
  472. .pagination .loading,
  473. .pagination a:hover.loading {
  474. background: url("loader.gif") center center no-repeat #34495e;
  475. font-size: 0;
  476. }
  477. /*** NOTIFICATION ***/
  478. .notification {
  479. position: fixed;
  480. top: 10px; left: 10%; right: 10%;
  481. min-height: 30px;
  482. padding: 10px;
  483. line-height: 30px;
  484. text-align: center;
  485. border-radius: 3px;
  486. background: #ddd;
  487. color: #666;
  488. font-weight: bold;
  489. }
  490. .notification.good {
  491. background: #1abc9c;
  492. color: #fff;
  493. }
  494. .notification.bad {
  495. background: #e74c3c;
  496. color: #fff;
  497. }
  498. .notification a.close {
  499. display: inline-block;
  500. width: 16px;
  501. height: 16px;
  502. float: right;
  503. margin: -16px -16px 0 0;
  504. padding: 5px;
  505. border-radius: 3px;
  506. line-height: 16px;
  507. }
  508. .notification.good a.close {
  509. background: #1abc9c;
  510. }
  511. .notification.bad a.close {
  512. background: #e74c3c;
  513. }
  514. .toggle_aside, .btn.toggle_aside {
  515. display: none;
  516. }
  517. .actualizeProgress {
  518. position: fixed;
  519. top: 10px; left: 25%; right: 25%;
  520. padding: 5px;
  521. background: #3498db;
  522. color: #fff;
  523. text-align: center;
  524. border-radius: 3px;
  525. font-weight: bold;
  526. }
  527. .actualizeProgress progress {
  528. max-width: 100%;
  529. width: 250px;
  530. height: 15px;
  531. vertical-align: middle;
  532. background: #fff;
  533. border: none;
  534. }
  535. .actualizeProgress .progress {
  536. color: #ecf0f1;
  537. }
  538. .logs {
  539. border: 1px solid #34495e;
  540. }
  541. .logs .log {
  542. margin: 10px 0;
  543. padding: 5px 2%;
  544. overflow: auto;
  545. background: #fafafa;
  546. color: #666;
  547. font-size: 90%;
  548. }
  549. .logs .log .date {
  550. margin: 0 10px 0 0;
  551. padding: 5px 10px;
  552. border-radius: 20px;
  553. }
  554. .logs .log.error .date {
  555. background: #e74c3c;
  556. color: #fff;
  557. }
  558. .logs .log.warning .date {
  559. background: #f39c12;
  560. }
  561. .logs .log.notice .date {
  562. background: #ecf0f1;
  563. }
  564. @media(max-width: 840px) {
  565. .header,
  566. .aside .btn-important,
  567. .aside .feeds .dropdown,
  568. .flux_header .item.website span,
  569. .item.date {
  570. display: none;
  571. }
  572. .flux_header .item.website {
  573. width: 40px;
  574. text-align: center;
  575. }
  576. .flux_header .item.website .favicon {
  577. padding: 12px;
  578. }
  579. .nav-login {
  580. display: block;
  581. }
  582. .content {
  583. font-size: 120%;
  584. }
  585. .pagination {
  586. margin: 0 0 40px;
  587. }
  588. .pagination .pager-previous, .pagination .pager-next {
  589. width: 100px;
  590. }
  591. .toggle_aside, .btn.toggle_aside {
  592. display: inline-block;
  593. }
  594. .aside {
  595. position: fixed;
  596. top: 0; left: 0;
  597. width: 0;
  598. overflow: hidden;
  599. z-index: 10;
  600. transition: width 200ms linear;
  601. background: #ecf0f1;
  602. }
  603. .aside.aside_flux {
  604. padding: 10px 0 0;
  605. }
  606. .aside:target {
  607. width: 80%;
  608. border-right: 1px solid #aaa;
  609. overflow: auto;
  610. }
  611. .aside .toggle_aside {
  612. position: absolute;
  613. right: 10px;
  614. display: inline-block;
  615. width: 26px;
  616. height: 26px;
  617. margin: 0 10px 0 0;
  618. border-radius: 3px;
  619. text-align: center;
  620. line-height: 24px;
  621. background: #95a5a6;
  622. }
  623. .aside .toggle_aside:hover {
  624. background: #7f8c8d;
  625. }
  626. .aside .categories {
  627. margin: 30px 0;
  628. }
  629. .nav_entries {
  630. width: 100%;
  631. }
  632. .nav_menu .btn {
  633. margin: 10px;
  634. }
  635. .nav_menu .stick {
  636. margin: 0 10px;
  637. }
  638. .nav_menu .stick .btn {
  639. margin: 10px 0;
  640. }
  641. #panel {
  642. left: 5px; right: 5px;
  643. }
  644. }