freshrss.css 14 KB

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