freshrss.css 13 KB

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