freshrss.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  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. .day em {
  175. color:#AAB;
  176. font-size:2em;
  177. height:1.5em;
  178. opacity:.4;
  179. overflow:hidden;
  180. padding:0 .2em 0 0;
  181. position:absolute;
  182. right:0;
  183. text-align:right;
  184. width:75%;
  185. }
  186. .flux {
  187. }
  188. .flux.active {
  189. border-left: 3px solid #3498db;
  190. background: #fff;
  191. }
  192. .flux.not_read {
  193. border-left: 3px solid #FF5300;
  194. background: #FFF3ED;
  195. }
  196. .flux.favorite {
  197. border-left: 3px solid #FFC300;
  198. background: #FFF6DA;
  199. }
  200. .flux_header {
  201. height: 25px;
  202. font-size: 12px;
  203. line-height: 25px;
  204. border-top: 1px solid #ecf0f1;
  205. }
  206. .item.manage {
  207. width: 80px;
  208. white-space: nowrap;
  209. font-size: 0px;
  210. text-align: center;
  211. }
  212. .item.manage .read {
  213. display: inline-block;
  214. width: 40px;
  215. height: 40px;
  216. background: url("icons/read.png") center center no-repeat;
  217. background: url("icons/read.svg") center center no-repeat;
  218. vertical-align: middle;
  219. }
  220. .item.manage .read:hover {
  221. text-decoration: none;
  222. }
  223. .flux.not_read .item.manage .read {
  224. background: url("icons/unread.png") center center no-repeat;
  225. background: url("icons/unread.svg") center center no-repeat;
  226. }
  227. .item.manage .bookmark {
  228. display: inline-block;
  229. width: 40px;
  230. height: 40px;
  231. background: url("icons/non-starred.png") center center no-repeat;
  232. background: url("icons/non-starred.svg") center center no-repeat;
  233. vertical-align: middle;
  234. }
  235. .item.manage .bookmark:hover {
  236. text-decoration: none;
  237. }
  238. .flux.favorite .item.manage .bookmark {
  239. background: url("icons/starred.png") center center no-repeat;
  240. background: url("icons/starred.svg") center center no-repeat;
  241. }
  242. .flux_header .item.website {
  243. width: 200px;
  244. overflow: hidden;
  245. white-space: nowrap;
  246. text-overflow: ellipsis;
  247. line-height: 40px;
  248. }
  249. .flux_header .item.website .favicon {
  250. padding: 5px;
  251. }
  252. .flux_header .item.website a {
  253. display: block;
  254. height: 40px;
  255. }
  256. .flux_header .item.title {
  257. overflow: hidden;
  258. white-space: nowrap;
  259. text-overflow: ellipsis;
  260. cursor: pointer;
  261. }
  262. .flux_header .item.title a {
  263. color: #333;
  264. }
  265. .flux_header .item.title a:hover {
  266. text-decoration: none
  267. }
  268. .flux.not_read .flux_header .item.title {
  269. font-weight: bold;
  270. }
  271. .item.date {
  272. width: 200px;
  273. overflow: hidden;
  274. white-space: nowrap;
  275. text-overflow: ellipsis;
  276. text-align: right;
  277. font-size: 10px;
  278. color: #666;
  279. cursor: pointer;
  280. }
  281. .item.link {
  282. width: 40px;
  283. text-align: center;
  284. }
  285. .item.link a {
  286. display: inline-block;
  287. width: 40px;
  288. height: 40px;
  289. background: url("icons/link.png") center center no-repeat;
  290. background: url("icons/link.svg") center center no-repeat;
  291. vertical-align: middle;
  292. }
  293. .item.link a:hover {
  294. text-decoration: none;
  295. }
  296. #stream.reader .flux {
  297. position: relative;
  298. padding: 0 0 30px;
  299. border: none;
  300. background: #ecf0f1;
  301. color: #34495e;
  302. font-size: 120%;
  303. }
  304. #stream.reader .flux a {
  305. }
  306. #stream.reader .flux .author {
  307. margin: 0 0 10px;
  308. font-size: 90%;
  309. color: #aaa;
  310. }
  311. #stream.global {
  312. text-align: center;
  313. }
  314. #stream.global .category {
  315. display: inline-block;
  316. width: 280px;
  317. margin: 20px 10px;
  318. vertical-align: top;
  319. border: 1px solid #aaa;
  320. border-radius: 5px;
  321. text-align: left;
  322. box-shadow: 0 0 5px #bbb;
  323. }
  324. #stream.global .cat_header {
  325. height: 35px;
  326. padding: 0 10px;
  327. background: #eee;
  328. border-bottom: 1px solid #aaa;
  329. border-radius: 5px 5px 0 0;
  330. line-height: 35px;
  331. font-size: 120%;
  332. }
  333. #stream.global .cat_header a {
  334. color: #333;
  335. text-shadow: 0 -1px 0px #aaa;
  336. }
  337. #stream.global .category .feeds {
  338. max-height: 250px;
  339. margin: 0;
  340. list-style: none;
  341. overflow: auto;
  342. }
  343. #stream.global .category .feeds .item {
  344. padding: 2px 10px;
  345. font-size: 90%;
  346. }
  347. .content {
  348. min-height: 300px;
  349. max-width: 550px;
  350. margin: 0 auto;
  351. padding: 20px 10px;
  352. line-height: 170%;
  353. word-wrap: break-word;
  354. }
  355. .content .title {
  356. margin: 0 0 5px;
  357. }
  358. .content h1, .content h2, .content h3 {
  359. margin: 20px 0 5px;
  360. }
  361. .content p {
  362. margin: 0 0 20px;
  363. }
  364. .content img.big {
  365. display: block;
  366. margin: 10px auto;
  367. }
  368. .content figure img.big {
  369. margin: 0;
  370. }
  371. .content hr {
  372. margin: 30px 0;
  373. height: 1px;
  374. background: #ddd;
  375. border: 0;
  376. }
  377. .content pre {
  378. margin: 10px auto;
  379. padding: 10px;
  380. overflow: auto;
  381. background: #000;
  382. color: #fff;
  383. font-size: 110%;
  384. }
  385. .content q, .content blockquote {
  386. display: block;
  387. margin: 5px 0;
  388. padding: 5px 20px;
  389. font-style: italic;
  390. border-left: 4px solid #ccc;
  391. color: #666;
  392. }
  393. .content blockquote p {
  394. margin: 0;
  395. }
  396. #panel {
  397. display: none;
  398. position: fixed;
  399. top: 10px; bottom: 10px;
  400. left: 100px; right: 100px;
  401. overflow: auto;
  402. background: #fff;
  403. border: 1px solid #95a5a6;
  404. border-radius: 5px;
  405. }
  406. #panel .close {
  407. position: absolute;
  408. top: 10px; right: 0px;
  409. display: inline-block;
  410. width: 26px;
  411. height: 26px;
  412. margin: 0 10px 0 0;
  413. border-radius: 3px;
  414. text-align: center;
  415. line-height: 24px;
  416. background: #95a5a6;
  417. }
  418. #panel .close:hover {
  419. background: #7f8c8d;
  420. }
  421. .flux_content .bottom {
  422. font-size: 90%;
  423. text-align: center;
  424. }
  425. /*** PAGINATION ***/
  426. .pagination {
  427. display: table;
  428. width: 100%;
  429. margin: 0;
  430. background: #ecf0f1;
  431. text-align: center;
  432. color: #000;
  433. font-size: 80%;
  434. line-height: 200%;
  435. table-layout: fixed;
  436. font-weight: bold;
  437. }
  438. .pagination .item {
  439. display: table-cell;
  440. line-height: 40px;
  441. vertical-align: top;
  442. }
  443. .pagination .item.pager-current {
  444. font-weight: bold;
  445. font-size: 140%;
  446. color: #ecf0f1;
  447. background: #34495e;
  448. }
  449. .pagination .item.pager-first,
  450. .pagination .item.pager-previous,
  451. .pagination .item.pager-next,
  452. .pagination .item.pager-last {
  453. width: 100px;
  454. }
  455. .pagination .item a {
  456. display: block;
  457. color: #000;
  458. font-weight: bold;
  459. line-height: 40px;
  460. }
  461. .pagination .item a:hover {
  462. color: #ecf0f1;
  463. background: #34495e;
  464. text-decoration: none;
  465. }
  466. .nav_entries {
  467. display: table;
  468. width: 250px;
  469. height: 40px;
  470. position: fixed;
  471. bottom: 0;
  472. left: 0;
  473. margin: 0;
  474. background: #34495e;
  475. text-align: center;
  476. line-height: 40px;
  477. table-layout: fixed;
  478. }
  479. .nav_entries .item {
  480. display: table-cell;
  481. width: 30%;
  482. }
  483. .nav_entries .item a {
  484. display: block;
  485. }
  486. .nav_entries .item .icon.i_up {
  487. margin: 5px 0 0;
  488. vertical-align: top;
  489. }
  490. .pagination .loading,
  491. .pagination a:hover.loading {
  492. background: url("loader.gif") center center no-repeat #34495e;
  493. font-size: 0;
  494. }
  495. .bigMarkAsRead {
  496. background: #ecf0f1;
  497. cursor: pointer;
  498. height: 300px;
  499. text-shadow: 0 -1px 0 #aaa;
  500. }
  501. .bigMarkAsRead:hover {
  502. background: #34495e;
  503. color: #fff;
  504. }
  505. .bigTick {
  506. font-size: 72pt;
  507. margin: 75px 0 10px 0;
  508. }
  509. /*** NOTIFICATION ***/
  510. .notification {
  511. position: fixed;
  512. top: 10px; left: 10%; right: 10%;
  513. min-height: 30px;
  514. padding: 10px;
  515. line-height: 30px;
  516. text-align: center;
  517. border-radius: 3px;
  518. background: #ddd;
  519. color: #666;
  520. font-weight: bold;
  521. }
  522. .notification.good {
  523. background: #1abc9c;
  524. color: #fff;
  525. }
  526. .notification.bad {
  527. background: #e74c3c;
  528. color: #fff;
  529. }
  530. .notification a.close {
  531. display: inline-block;
  532. width: 16px;
  533. height: 16px;
  534. float: right;
  535. margin: -16px -16px 0 0;
  536. padding: 5px;
  537. border-radius: 3px;
  538. line-height: 16px;
  539. }
  540. .notification.good a.close {
  541. background: #1abc9c;
  542. }
  543. .notification.bad a.close {
  544. background: #e74c3c;
  545. }
  546. .toggle_aside, .btn.toggle_aside {
  547. display: none;
  548. }
  549. .actualizeProgress {
  550. position: fixed;
  551. top: 10px; left: 25%; right: 25%;
  552. padding: 5px;
  553. background: #3498db;
  554. color: #fff;
  555. text-align: center;
  556. border-radius: 3px;
  557. font-weight: bold;
  558. }
  559. .actualizeProgress progress {
  560. max-width: 100%;
  561. width: 250px;
  562. height: 15px;
  563. vertical-align: middle;
  564. background: #fff;
  565. border: none;
  566. }
  567. .actualizeProgress .progress {
  568. color: #ecf0f1;
  569. }
  570. .logs {
  571. border: 1px solid #34495e;
  572. }
  573. .logs .log {
  574. margin: 10px 0;
  575. padding: 5px 2%;
  576. overflow: auto;
  577. background: #fafafa;
  578. color: #666;
  579. font-size: 90%;
  580. }
  581. .logs .log .date {
  582. margin: 0 10px 0 0;
  583. padding: 5px 10px;
  584. border-radius: 20px;
  585. }
  586. .logs .log.error .date {
  587. background: #e74c3c;
  588. color: #fff;
  589. }
  590. .logs .log.warning .date {
  591. background: #f39c12;
  592. }
  593. .logs .log.notice .date {
  594. background: #ecf0f1;
  595. }
  596. @media(max-width: 840px) {
  597. .header,
  598. .aside .btn-important,
  599. .aside .feeds .dropdown,
  600. .flux_header .item.website span,
  601. .item.date {
  602. display: none;
  603. }
  604. .flux_header .item.website {
  605. width: 40px;
  606. text-align: center;
  607. }
  608. .flux_header .item.website .favicon {
  609. padding: 12px;
  610. }
  611. .nav-login {
  612. display: block;
  613. }
  614. .content {
  615. font-size: 120%;
  616. }
  617. .pagination {
  618. margin: 0 0 40px;
  619. }
  620. .pagination .pager-previous, .pagination .pager-next {
  621. width: 100px;
  622. }
  623. .toggle_aside, .btn.toggle_aside {
  624. display: inline-block;
  625. }
  626. .aside {
  627. position: fixed;
  628. top: 0; left: 0;
  629. width: 0;
  630. overflow: hidden;
  631. z-index: 10;
  632. transition: width 200ms linear;
  633. background: #ecf0f1;
  634. }
  635. .aside.aside_flux {
  636. padding: 10px 0 0;
  637. }
  638. .aside:target {
  639. width: 80%;
  640. border-right: 1px solid #aaa;
  641. overflow: auto;
  642. }
  643. .aside .toggle_aside {
  644. position: absolute;
  645. right: 10px;
  646. display: inline-block;
  647. width: 26px;
  648. height: 26px;
  649. margin: 0 10px 0 0;
  650. border-radius: 3px;
  651. text-align: center;
  652. line-height: 24px;
  653. background: #95a5a6;
  654. }
  655. .aside .toggle_aside:hover {
  656. background: #7f8c8d;
  657. }
  658. .aside .categories {
  659. margin: 30px 0;
  660. }
  661. .nav_entries {
  662. width: 100%;
  663. }
  664. .nav_menu .btn {
  665. margin: 10px;
  666. }
  667. .nav_menu .stick {
  668. margin: 0 10px;
  669. }
  670. .nav_menu .stick .btn {
  671. margin: 10px 0;
  672. }
  673. #panel {
  674. left: 5px; right: 5px;
  675. }
  676. }