freshrss.css 14 KB

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