freshrss.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  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. .bigMarkAsRead {
  478. background:#34495E;
  479. color:#FFF;
  480. cursor:pointer;
  481. height:32em;
  482. text-shadow: 0 -1px 0 #AAA;
  483. }
  484. .bigMarkAsRead:hover {
  485. background:#D04200;
  486. }
  487. .bigTick {
  488. font-size:72pt;
  489. margin:32px 0 8px 0;
  490. }
  491. /*** NOTIFICATION ***/
  492. .notification {
  493. position: fixed;
  494. top: 10px; left: 10%; right: 10%;
  495. min-height: 30px;
  496. padding: 10px;
  497. line-height: 30px;
  498. text-align: center;
  499. border-radius: 3px;
  500. background: #ddd;
  501. color: #666;
  502. font-weight: bold;
  503. }
  504. .notification.good {
  505. background: #1abc9c;
  506. color: #fff;
  507. }
  508. .notification.bad {
  509. background: #e74c3c;
  510. color: #fff;
  511. }
  512. .notification a.close {
  513. display: inline-block;
  514. width: 16px;
  515. height: 16px;
  516. float: right;
  517. margin: -16px -16px 0 0;
  518. padding: 5px;
  519. border-radius: 3px;
  520. line-height: 16px;
  521. }
  522. .notification.good a.close {
  523. background: #1abc9c;
  524. }
  525. .notification.bad a.close {
  526. background: #e74c3c;
  527. }
  528. .toggle_aside, .btn.toggle_aside {
  529. display: none;
  530. }
  531. .actualizeProgress {
  532. position: fixed;
  533. top: 10px; left: 25%; right: 25%;
  534. padding: 5px;
  535. background: #3498db;
  536. color: #fff;
  537. text-align: center;
  538. border-radius: 3px;
  539. font-weight: bold;
  540. }
  541. .actualizeProgress progress {
  542. max-width: 100%;
  543. width: 250px;
  544. height: 15px;
  545. vertical-align: middle;
  546. background: #fff;
  547. border: none;
  548. }
  549. .actualizeProgress .progress {
  550. color: #ecf0f1;
  551. }
  552. .logs {
  553. border: 1px solid #34495e;
  554. }
  555. .logs .log {
  556. margin: 10px 0;
  557. padding: 5px 2%;
  558. overflow: auto;
  559. background: #fafafa;
  560. color: #666;
  561. font-size: 90%;
  562. }
  563. .logs .log .date {
  564. margin: 0 10px 0 0;
  565. padding: 5px 10px;
  566. border-radius: 20px;
  567. }
  568. .logs .log.error .date {
  569. background: #e74c3c;
  570. color: #fff;
  571. }
  572. .logs .log.warning .date {
  573. background: #f39c12;
  574. }
  575. .logs .log.notice .date {
  576. background: #ecf0f1;
  577. }
  578. @media(max-width: 840px) {
  579. .header,
  580. .aside .btn-important,
  581. .aside .feeds .dropdown,
  582. .flux_header .item.website span,
  583. .item.date {
  584. display: none;
  585. }
  586. .flux_header .item.website {
  587. width: 40px;
  588. text-align: center;
  589. }
  590. .flux_header .item.website .favicon {
  591. padding: 12px;
  592. }
  593. .nav-login {
  594. display: block;
  595. }
  596. .content {
  597. font-size: 120%;
  598. }
  599. .pagination {
  600. margin: 0 0 40px;
  601. }
  602. .pagination .pager-previous, .pagination .pager-next {
  603. width: 100px;
  604. }
  605. .toggle_aside, .btn.toggle_aside {
  606. display: inline-block;
  607. }
  608. .aside {
  609. position: fixed;
  610. top: 0; left: 0;
  611. width: 0;
  612. overflow: hidden;
  613. z-index: 10;
  614. transition: width 200ms linear;
  615. background: #ecf0f1;
  616. }
  617. .aside.aside_flux {
  618. padding: 10px 0 0;
  619. }
  620. .aside:target {
  621. width: 80%;
  622. border-right: 1px solid #aaa;
  623. overflow: auto;
  624. }
  625. .aside .toggle_aside {
  626. position: absolute;
  627. right: 10px;
  628. display: inline-block;
  629. width: 26px;
  630. height: 26px;
  631. margin: 0 10px 0 0;
  632. border-radius: 3px;
  633. text-align: center;
  634. line-height: 24px;
  635. background: #95a5a6;
  636. }
  637. .aside .toggle_aside:hover {
  638. background: #7f8c8d;
  639. }
  640. .aside .categories {
  641. margin: 30px 0;
  642. }
  643. .nav_entries {
  644. width: 100%;
  645. }
  646. .nav_menu .btn {
  647. margin: 10px;
  648. }
  649. .nav_menu .stick {
  650. margin: 0 10px;
  651. }
  652. .nav_menu .stick .btn {
  653. margin: 10px 0;
  654. }
  655. #panel {
  656. left: 5px; right: 5px;
  657. }
  658. }