freshrss.css 13 KB

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