freshrss.css 15 KB

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