swage.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437
  1. @use "sass:color";
  2. @charset "UTF-8";
  3. //colors
  4. $color_text: #181621;
  5. $color_light: #fcfcfc;
  6. $color_nav: #0062be;
  7. $color_aside: #22303d;
  8. $color_alert: #fa8052;
  9. $color_good: #5eaabf;
  10. $color_bad: #b0425b;
  11. $color_stared: #fff6da;
  12. $color_unread: #fff3ed;
  13. $color_hover: #fff;
  14. // @extend-elements
  15. %input {
  16. min-height: 25px;
  17. margin-top: 4px;
  18. line-height: 25px;
  19. vertical-align: middle;
  20. background: $color_light;
  21. border: none;
  22. padding-left: 5px;
  23. }
  24. %invalid {
  25. color: $color_bad;
  26. border-color: $color_bad;
  27. box-shadow: none;
  28. }
  29. %nav-list {
  30. height: 2.5em;
  31. line-height: 2.5em;
  32. font-size: 0.9rem;
  33. }
  34. %dropdown {
  35. padding: 0 22px;
  36. color: $color_light;
  37. font-size: 0.8rem;
  38. line-height: 2.5em;
  39. }
  40. %after {
  41. content: "";
  42. display: block;
  43. clear: both;
  44. }
  45. %aside-width {
  46. width: 231px;
  47. }
  48. // /@extend-elements
  49. html,
  50. body {
  51. height: 100%;
  52. font-family: Helvetica, Arial, sans-serif;
  53. }
  54. a {
  55. color: color.adjust( $color_nav, $lightness: -10%);
  56. outline: none;
  57. &.btn {
  58. min-height: 25px;
  59. line-height: 25px;
  60. text-decoration: none;
  61. &:hover {
  62. background: color.adjust( $color_nav, $lightness: -10%);
  63. }
  64. }
  65. &#btn-subscription {
  66. width: 76%;
  67. }
  68. &#btn-add {
  69. width: 5%;
  70. }
  71. }
  72. img {
  73. &.icon:hover {
  74. background: none;
  75. }
  76. }
  77. main#stream {
  78. margin-top: 35px;
  79. }
  80. sup {
  81. top: -0.3em;
  82. }
  83. legend {
  84. margin: 20px 0 5px;
  85. padding: 5px 20px;
  86. background: color.adjust( $color_light, $lightness: -10%);
  87. display: inline-block;
  88. width: auto;
  89. font-size: 1.4em;
  90. clear: both;
  91. }
  92. label {
  93. min-height: 25px;
  94. }
  95. textarea {
  96. background: color.adjust( $color_light, $lightness: -10% );
  97. width: 360px;
  98. height: 100px;
  99. @extend %input;
  100. &:focus {
  101. border-color: color.adjust( $color_nav, $lightness: -10%);
  102. }
  103. }
  104. input,
  105. select {
  106. @extend %input;
  107. &:focus {
  108. border-color: color.adjust( $color_nav, $lightness: -10%);
  109. }
  110. &:invalid {
  111. @extend %invalid;
  112. }
  113. &:disabled {
  114. background: $color_light;
  115. }
  116. }
  117. select {
  118. background: color.adjust( $color_light, $lightness: -10% );
  119. }
  120. input {
  121. &.extend {
  122. transition: width 200ms linear;
  123. }
  124. }
  125. option {
  126. padding: 0 .5em;
  127. }
  128. table {
  129. border-collapse: collapse;
  130. }
  131. tr,
  132. td,
  133. th {
  134. padding: 0.5em;
  135. border: 1px solid color.adjust( $color_light, $lightness: -10%);
  136. }
  137. th {
  138. background: $color_light;
  139. }
  140. form {
  141. td,
  142. th {
  143. font-weight: normal;
  144. text-align: center;
  145. }
  146. }
  147. .category {
  148. .title.error::before {
  149. display: inline-block;
  150. padding-right: 7px;
  151. width: 16px;
  152. content: url(../Swage/icons/error.svg);
  153. }
  154. }
  155. .form-group {
  156. padding: 5px;
  157. border: 1px solid transparent;
  158. &:hover {
  159. background: $color_light;
  160. border: 1px solid $color_light;
  161. }
  162. &.form-actions {
  163. margin: 15px 0 25px;
  164. padding: 5px 0;
  165. background: color.adjust( $color_light, $lightness: -10%);
  166. border-top: 3px solid color.adjust( $color_light, $lightness: -10%);
  167. .btn {
  168. margin: 0 10px;
  169. }
  170. }
  171. .group-name {
  172. padding: 10px 0;
  173. text-align: right;
  174. }
  175. .group-controls {
  176. min-height: 25px;
  177. padding: 5px 0;
  178. .control {
  179. line-height: 2.0em;
  180. }
  181. }
  182. }
  183. .form-group::after {
  184. @extend %after;
  185. }
  186. .stick {
  187. vertical-align: middle;
  188. font-size: 0;
  189. &.configure-feeds {
  190. @extend %aside-width;
  191. }
  192. }
  193. .btn {
  194. margin: 0;
  195. padding: 5px 10px;
  196. background: $color_nav;
  197. display: inline-block;
  198. color: $color_light;
  199. font-size: 0.9rem;
  200. border: none;
  201. min-height: 35px;
  202. min-width: 15px;
  203. vertical-align: middle;
  204. cursor: pointer;
  205. overflow: hidden;
  206. &.active,
  207. :active,
  208. :hover {
  209. background: color.adjust( $color_nav, $lightness: -10%);
  210. text-decoration: none;
  211. }
  212. }
  213. .btn-important, .btn-attention {
  214. font-weight: normal;
  215. background: $color_alert;
  216. color: $color_light;
  217. &:hover,
  218. :active {
  219. background: color.adjust( $color_alert, $lightness: -10%) !important;
  220. }
  221. }
  222. .nav-list {
  223. .nav-header {
  224. @extend %nav-list;
  225. padding: 0 10px;
  226. font-weight: bold;
  227. background: $color_aside;
  228. color: $color_light;
  229. cursor: default;
  230. }
  231. .item {
  232. @extend %nav-list;
  233. &:hover,
  234. &.active {
  235. background: color.adjust( $color_nav, $lightness: -10%);
  236. color: $color_light;
  237. a {
  238. color: $color_light;
  239. }
  240. &.empty a,
  241. .error a {
  242. color: $color_light;
  243. }
  244. &.empty a {
  245. background: $color_alert;
  246. }
  247. &.error a {
  248. background: color.adjust( $color_bad, $lightness: 10%);
  249. }
  250. }
  251. > a {
  252. padding: 0 10px;
  253. }
  254. &.empty a {
  255. color: $color_alert;
  256. }
  257. &.error a {
  258. color: color.adjust( $color_bad, $lightness: 10%);
  259. }
  260. }
  261. .disable {
  262. text-align: center;
  263. background: $color_light;
  264. color: color.adjust( $color_light, $lightness: -40% );
  265. }
  266. .nav-form {
  267. padding: 3px;
  268. text-align: center;
  269. }
  270. a:hover {
  271. text-decoration: none;
  272. }
  273. }
  274. .nav-head {
  275. margin: 0;
  276. text-align: right;
  277. background: $color_aside;
  278. color: $color_light;
  279. a {
  280. color: $color_light;
  281. }
  282. .item {
  283. padding: 5px 10px;
  284. font-size: 0.9rem;
  285. line-height: 1.5rem;
  286. }
  287. }
  288. .horizontal-list {
  289. margin: 0;
  290. padding: 0;
  291. .item {
  292. vertical-align: middle;
  293. }
  294. }
  295. .dropdown-menu {
  296. padding: 5px 0;
  297. font-size: 0.8rem;
  298. text-align: left;
  299. border: none;
  300. background-color: color.adjust( $color_nav, $lightness: -10%);
  301. .dropdown-header {
  302. cursor: default;
  303. }
  304. &::after {
  305. content: none;
  306. }
  307. > {
  308. .item {
  309. @extend %dropdown;
  310. padding: 0;
  311. margin-left: 10px;
  312. > a,
  313. > span,
  314. > .as-link,
  315. button {
  316. @extend %dropdown;
  317. }
  318. > a {
  319. min-width: initial;
  320. white-space: nowrap;
  321. }
  322. &:hover {
  323. background: $color_nav;
  324. color: $color_light;
  325. > a {
  326. text-decoration: none;
  327. color: $color_light;
  328. }
  329. }
  330. }
  331. .item[aria-checked="true"] > a::before {
  332. font-weight: bold;
  333. margin: 0 0 0 -14px;
  334. }
  335. }
  336. .input {
  337. select,
  338. input {
  339. margin: 0 auto 5px;
  340. padding: 2px 5px;
  341. }
  342. }
  343. }
  344. .dropdown-header {
  345. padding: 0 5px 5px;
  346. font-weight: bold;
  347. text-align: left;
  348. color: $color_light;
  349. }
  350. .separator {
  351. margin: 5px 0;
  352. border-bottom: 1px solid color.adjust( $color_light, $lightness: -10%);
  353. cursor: default;
  354. }
  355. .alert {
  356. margin: 5px auto;
  357. padding: 10px 15px;
  358. background: $color_light;
  359. color: color.adjust( $color_light, $lightness: -40% );
  360. font-size: 0.9em;
  361. border: none;
  362. text-shadow: 0 0 1px $color_light;
  363. > a {
  364. color: inherit;
  365. text-decoration: underline;
  366. }
  367. }
  368. .alert-head {
  369. font-size: 1.15em;
  370. }
  371. .alert-warn,
  372. .alert-success,
  373. .alert-error {
  374. border: none;
  375. }
  376. .alert-warn {
  377. background: $color_light;
  378. color: $color_alert;
  379. }
  380. .alert-success {
  381. background: $color_light;
  382. color: $color_good;
  383. }
  384. .alert-error {
  385. background: $color_light;
  386. color: $color_bad;
  387. }
  388. .pagination {
  389. background: color.adjust( $color_light, $lightness: -10%);
  390. color: $color_text;
  391. font-size: 0.8em;
  392. text-align: center;
  393. .item {
  394. &.pager-current {
  395. background: $color_aside;
  396. color: color.adjust( $color_light, $lightness: -10%);
  397. font-size: 1.5em;
  398. font-weight: bold;
  399. }
  400. a {
  401. display: block;
  402. color: $color_text;
  403. font-style: italic;
  404. line-height: 3em;
  405. text-decoration: none;
  406. &:hover {
  407. background: $color_aside;
  408. color: color.adjust( $color_light, $lightness: -10%);
  409. }
  410. }
  411. }
  412. }
  413. #load_more.loading,
  414. #load_more.loading:hover {
  415. background: url(loader.gif) center center no-repeat $color_aside;
  416. }
  417. .content {
  418. padding: 20px 10px;
  419. .pagination {
  420. margin: 0;
  421. padding: 0;
  422. }
  423. hr {
  424. margin: 30px 10px;
  425. background: color.adjust( $color_light, $lightness: -10%);
  426. height: 1px;
  427. border: 0;
  428. box-shadow: 0 2px 5px color.adjust( $color_light, $lightness: -10%);
  429. }
  430. pre {
  431. margin: 10px auto;
  432. padding: 10px 20px;
  433. overflow: auto;
  434. background: $color_text;
  435. color: $color_light;
  436. font-size: 0.9rem;
  437. code {
  438. background: transparent;
  439. color: $color_light;
  440. border: none;
  441. }
  442. }
  443. code {
  444. padding: 2px 5px;
  445. background: $color_light;
  446. color: $color_bad;
  447. border: 1px solid $color_light;
  448. }
  449. blockquote {
  450. margin: 0;
  451. padding: 5px 20px;
  452. background: $color_light;
  453. display: block;
  454. color: color.adjust( $color_light, $lightness: -40% );
  455. border-top: 1px solid color.adjust( $color_light, $lightness: -10%);
  456. border-bottom: 1px solid color.adjust( $color_light, $lightness: -10%);
  457. p {
  458. margin: 0;
  459. }
  460. }
  461. > h1.title > a {
  462. color: $color_text;
  463. }
  464. }
  465. .box {
  466. border: 1px solid color.adjust( $color_light, $lightness: -10%);
  467. .box-title {
  468. margin: 0;
  469. padding: 5px 10px;
  470. background: color.adjust( $color_light, $lightness: -10%);
  471. color: color.adjust( $color_light, $lightness: -40% );
  472. border-bottom: 1px solid color.adjust( $color_light, $lightness: -10%);
  473. .configure {
  474. margin-right: 4px;
  475. }
  476. }
  477. .box-content {
  478. padding-left: 30px;
  479. max-height: 260px;
  480. .item {
  481. padding: 0 10px;
  482. font-size: 0.9rem;
  483. line-height: 2.5em;
  484. .configure {
  485. .icon {
  486. vertical-align: middle;
  487. background-color: color.adjust( $color_light, $lightness: -10%);
  488. }
  489. }
  490. }
  491. }
  492. &.category {
  493. .box-title .title {
  494. font-weight: normal;
  495. text-decoration: none;
  496. text-align: left;
  497. }
  498. &:not([data-unread="0"]) .box-title {
  499. background: $color_nav;
  500. &:active {
  501. background: color.adjust( $color_nav, $lightness: -10%);
  502. }
  503. .title {
  504. font-weight: bold;
  505. color: $color_light;
  506. }
  507. }
  508. .title:not([data-unread="0"])::after {
  509. background: none;
  510. border: 0;
  511. box-shadow: none;
  512. position: absolute;
  513. top: 5px;
  514. right: 10px;
  515. font-weight: bold;
  516. text-shadow: none;
  517. }
  518. .item.feed {
  519. padding: 2px 10px;
  520. font-size: 0.8rem;
  521. }
  522. }
  523. }
  524. .tree {
  525. margin: 10px 0;
  526. }
  527. .tree-folder-title {
  528. padding: 0 10px;
  529. background: $color_aside;
  530. height: 35px;
  531. font-size: 1rem;
  532. position: relative;
  533. line-height: 2.3rem;
  534. .title {
  535. background: inherit;
  536. color: $color_light;
  537. &:hover {
  538. text-decoration: none;
  539. }
  540. }
  541. }
  542. .tree-folder-items {
  543. background: $color_aside;
  544. > .item {
  545. padding: 0 10px;
  546. line-height: 2.5rem;
  547. font-size: 0.8rem;
  548. &.active {
  549. background: color.adjust( $color_nav, $lightness: -10%);
  550. }
  551. > a {
  552. text-decoration: none;
  553. color: $color_light;
  554. }
  555. }
  556. }
  557. @supports (scrollbar-width: thin) {
  558. #sidebar {
  559. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  560. }
  561. #sidebar:hover {
  562. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  563. }
  564. }
  565. @supports not (scrollbar-width: thin) {
  566. #sidebar::-webkit-scrollbar-thumb {
  567. background: rgba(255, 255, 255, 0.1);
  568. }
  569. #sidebar:hover::-webkit-scrollbar-thumb {
  570. background: rgba(255, 255, 255, 0.3);
  571. }
  572. }
  573. .header {
  574. > .item {
  575. vertical-align: middle;
  576. &.title {
  577. @extend %aside-width;
  578. position: absolute;
  579. text-align: center;
  580. .logo {
  581. display: inline-block;
  582. height: 26px;
  583. vertical-align: top;
  584. position: relative;
  585. top: 5px;
  586. filter: grayscale(100%) brightness(100);
  587. }
  588. }
  589. &.search input {
  590. width: 230px;
  591. }
  592. }
  593. .item.search input:focus {
  594. width: 350px;
  595. }
  596. .item.search {
  597. display: none;
  598. }
  599. .item.configure {
  600. position: fixed;
  601. right: 0;
  602. z-index: 1000;
  603. width: 35px;
  604. }
  605. }
  606. .aside {
  607. padding: 35px 0;
  608. background: $color_aside;
  609. @extend %aside-width;
  610. &.aside_feed {
  611. .tree {
  612. margin: 0 0 50px;
  613. }
  614. .nav-form {
  615. input,
  616. select {
  617. width: 140px;
  618. }
  619. .dropdown {
  620. .dropdown-menu {
  621. right: -20px;
  622. }
  623. .dropdown-menu::after {
  624. right: 33px;
  625. }
  626. }
  627. }
  628. }
  629. }
  630. .aside_feed {
  631. .category .title:not([data-unread="0"])::after {
  632. background-color: #00488b;
  633. color: #fcfcfc;
  634. }
  635. .feed .item-title:not([data-unread="0"])::after {
  636. background-color: #0062be;
  637. color: #fcfcfc;
  638. }
  639. .tree-folder-items .dropdown-menu::after {
  640. left: 2px;
  641. }
  642. }
  643. .post {
  644. padding: 10px 50px;
  645. font-size: 0.9em;
  646. input {
  647. background: color.adjust( $color_light, $lightness: -10% );
  648. &.long {
  649. height: 33px;
  650. margin-top: 0px;
  651. }
  652. }
  653. form {
  654. margin: 10px 0;
  655. }
  656. &.content {
  657. max-width: 550px;
  658. }
  659. }
  660. .prompt {
  661. text-align: center;
  662. label {
  663. text-align: left;
  664. }
  665. form {
  666. margin: 10px auto 20px auto;
  667. width: 200px;
  668. }
  669. input {
  670. margin: 5px auto;
  671. width: 100%;
  672. }
  673. p {
  674. margin: 20px 0;
  675. }
  676. }
  677. #new-article {
  678. background: $color_nav;
  679. font-size: 1em;
  680. text-align: center;
  681. position: fixed;
  682. bottom: 48px;
  683. z-index: 900;
  684. left: 0;
  685. line-height: 1.5em;
  686. @extend %aside-width;
  687. > a {
  688. line-height: 1.5em;
  689. font-weight: bold;
  690. color: $color_light;
  691. &:hover {
  692. text-decoration: none;
  693. background: color.adjust( $color_nav, $lightness: -10%);
  694. }
  695. }
  696. }
  697. .day {
  698. padding: 0 10px;
  699. font-weight: bold;
  700. line-height: 3em;
  701. text-align: center;
  702. .name {
  703. display: none;
  704. }
  705. }
  706. .nav {
  707. a {
  708. color: $color_light;
  709. }
  710. }
  711. .nav_menu {
  712. width: 100%;
  713. font-size: 0;
  714. background-color: $color_nav;
  715. position: fixed;
  716. z-index: 900;
  717. .item.search {
  718. display: inline-block;
  719. position: fixed;
  720. right: 40px;
  721. }
  722. }
  723. .flux {
  724. padding-right: 10px;
  725. background: $color_light;
  726. &::after {
  727. @extend %after;
  728. margin: 0 auto;
  729. width: 90%;
  730. border-top: 1px solid color.adjust( $color_light, $lightness: -10%);
  731. }
  732. &:hover,
  733. .current {
  734. background: $color_hover;
  735. &:not(.current):hover .item.title {
  736. background: $color_hover;
  737. }
  738. }
  739. &.favorite:not(.current) {
  740. background: $color_stared;
  741. &:hover .item.title {
  742. background: $color_stared;
  743. }
  744. }
  745. &.not_read:not(.current) {
  746. background: $color_unread;
  747. &:hover .item.title {
  748. background: $color_unread;
  749. }
  750. }
  751. .item {
  752. &.date {
  753. color: color.adjust( $color_light, $lightness: -40% );
  754. font-size: 0.7rem;
  755. }
  756. }
  757. .bottom {
  758. font-size: 0.8rem;
  759. text-align: center;
  760. }
  761. .website .favicon {
  762. padding: 5px;
  763. }
  764. label {
  765. color: $color_light;
  766. cursor: pointer;
  767. }
  768. }
  769. .flux_header {
  770. font-size: 0.8rem;
  771. cursor: pointer;
  772. .title {
  773. font-size: 0.9rem;
  774. }
  775. }
  776. .notification {
  777. padding: 10px 0;
  778. background: color.adjust( $color_light, $lightness: -10%);
  779. height: auto;
  780. color: color.adjust( $color_light, $lightness: -40% );
  781. font-size: 1em;
  782. border: none;
  783. text-align: center;
  784. font-weight: bold;
  785. z-index: 10;
  786. vertical-align: middle;
  787. position: fixed;
  788. bottom: 48px;
  789. left: 0;
  790. top: auto;
  791. @extend %aside-width;
  792. &.good,
  793. &.bad {
  794. color: $color_light;
  795. }
  796. &.good {
  797. background: $color_good;
  798. a.close:hover {
  799. background: $color_good;
  800. }
  801. }
  802. &.bad {
  803. background: color.adjust( $color_bad, $lightness: 10%);
  804. a.close:hover {
  805. background: color.adjust( $color_bad, $lightness: 10%);
  806. }
  807. }
  808. &#actualizeProgress {
  809. line-height: 2em;
  810. }
  811. a.close {
  812. display: none;
  813. }
  814. }
  815. #bigMarkAsRead {
  816. text-align: center;
  817. text-decoration: none;
  818. background: color.adjust( $color_light, $lightness: -10%);
  819. &:hover {
  820. background: $color_aside;
  821. color: $color_light;
  822. }
  823. }
  824. #nav_entries {
  825. margin: 0;
  826. text-align: center;
  827. line-height: 3em;
  828. table-layout: fixed;
  829. @extend %aside-width;
  830. background: $color_aside;
  831. }
  832. .stat {
  833. margin: 10px 0 20px;
  834. th,
  835. td,
  836. tr {
  837. border: none;
  838. }
  839. > table {
  840. td,
  841. th {
  842. border-bottom: 1px solid color.adjust( $color_light, $lightness: -10%);
  843. }
  844. }
  845. > .horizontal-list {
  846. margin: 0 0 5px;
  847. .item {
  848. overflow: hidden;
  849. white-space: nowrap;
  850. text-overflow: ellipsis;
  851. &:first-child {
  852. width: 270px;
  853. }
  854. }
  855. }
  856. }
  857. .formLogin {
  858. #global {
  859. height: 0;
  860. }
  861. .header {
  862. background: $color_aside;
  863. height: 55px;
  864. > .item {
  865. &.configure {
  866. width: 200px;
  867. position: unset;
  868. }
  869. }
  870. }
  871. a.signin {
  872. color: $color_light;
  873. padding-left: 5px;
  874. }
  875. input {
  876. border-top: 1px color.adjust( $color_light, $lightness: -10%);
  877. border-right: 1px color.adjust( $color_light, $lightness: -10%);
  878. border-bottom: 1px color.adjust( $color_light, $lightness: -10%);
  879. border-left: 5px solid;
  880. }
  881. }
  882. .loglist {
  883. overflow: hidden;
  884. border: 1px solid color.adjust( $color_light, $lightness: -40% );
  885. }
  886. .log {
  887. padding: 5px 2%;
  888. background: $color_light;
  889. font-size: 0.8rem;
  890. overflow: auto;
  891. > .date {
  892. margin: 0 10px 0 0;
  893. padding: 5px 10px;
  894. }
  895. &.error > .date {
  896. background: color.adjust( $color_bad, $lightness: 10%);
  897. color: $color_light;
  898. }
  899. &.warning > .date {
  900. background: $color_alert;
  901. color: $color_light;
  902. }
  903. &.notice > .date {
  904. background: color.adjust( $color_light, $lightness: -10%);
  905. color: $color_light;
  906. }
  907. &.debug > .date {
  908. background: $color_text;
  909. color: $color_light;
  910. }
  911. }
  912. @media (max-width: 840px) {
  913. .formLogin .header {
  914. display: none;
  915. }
  916. .form-group .group-name {
  917. padding-bottom: 0;
  918. text-align: left;
  919. }
  920. .dropdown-header, .dropdown-menu > .item {
  921. padding: 12px;
  922. }
  923. #new-article {
  924. width: 100%;
  925. position: sticky;
  926. top: 0;
  927. }
  928. .header {
  929. display: table;
  930. .item.title .logo {
  931. display: none;
  932. }
  933. .item.configure {
  934. padding: 0;
  935. position: absolute;
  936. right: 77px;
  937. }
  938. }
  939. .header > .item.title a {
  940. display: block;
  941. position: absolute;
  942. top: -35px;
  943. left: 10px;
  944. }
  945. button.read_all.btn {
  946. display: none;
  947. }
  948. .flux .item.manage,
  949. .flux_header .item.website {
  950. width: 35px;
  951. text-align: center;
  952. }
  953. .aside {
  954. width: 0;
  955. transition: width 200ms linear;
  956. .toggle_aside {
  957. background: $color_aside;
  958. display: block;
  959. height: 50px;
  960. line-height: 50px;
  961. text-align: right;
  962. padding-right: 10px;
  963. }
  964. &.aside_feed {
  965. padding: 0;
  966. }
  967. &.aside_feed .configure-feeds {
  968. display: flex;
  969. margin-top: 0;
  970. margin-left: auto;
  971. margin-right: auto;
  972. }
  973. &:target {
  974. width: 78%;
  975. z-index: 1000;
  976. }
  977. }
  978. .nav_menu {
  979. position: initial;
  980. height: 71px;
  981. .btn {
  982. margin: 0;
  983. }
  984. .stick {
  985. margin: 0;
  986. .btn {
  987. margin: 0;
  988. }
  989. }
  990. .search {
  991. position: absolute !important;
  992. top: 3px;
  993. left: 37px;
  994. form {
  995. display: block;
  996. }
  997. input {
  998. width: 85%;
  999. }
  1000. }
  1001. }
  1002. .pagination {
  1003. margin: 0 0 3.5em;
  1004. }
  1005. #panel .close,
  1006. .dropdown-menu .toggle_aside {
  1007. background: $color_aside;
  1008. display: block;
  1009. height: 50px;
  1010. line-height: 50px;
  1011. text-align: right;
  1012. padding-right: 10px;
  1013. }
  1014. .dropdown-target:target ~ .dropdown-toggle.btn::after {
  1015. display: none;
  1016. }
  1017. .day .name {
  1018. font-size: 1.1rem;
  1019. }
  1020. .notification {
  1021. width: 100%;
  1022. a.close {
  1023. background: transparent;
  1024. display: block;
  1025. left: 0;
  1026. &:hover {
  1027. opacity: 0.5;
  1028. }
  1029. .icon {
  1030. display: none;
  1031. }
  1032. }
  1033. }
  1034. #nav_entries {
  1035. width: 100% !important;
  1036. }
  1037. .post {
  1038. padding-left: 15px;
  1039. padding-right: 15px;
  1040. }
  1041. div#stream {
  1042. margin-top: 0px;
  1043. }
  1044. a.btn.toggle_aside {
  1045. position: absolute;
  1046. top: 0;
  1047. }
  1048. form#mark-read-menu,
  1049. a#actualize,
  1050. a#toggle-order,
  1051. div#nav_menu_actions,
  1052. div#nav_menu_views {
  1053. position: absolute;
  1054. }
  1055. form#mark-read-menu {
  1056. right: 38px;
  1057. top: 0;
  1058. }
  1059. a#actualize,
  1060. a#toggle-order {
  1061. right: 0;
  1062. }
  1063. a#actualize {
  1064. top: 0;
  1065. }
  1066. a#toggle-order,
  1067. div#nav_menu_actions,
  1068. div#nav_menu_views {
  1069. top: 36px;
  1070. }
  1071. div#nav_menu_actions {
  1072. left: 0px;
  1073. }
  1074. div#nav_menu_views {
  1075. right: 50px;
  1076. }
  1077. }
  1078. @media (max-width: 410px) {
  1079. .nav_menu .stick {
  1080. margin: 0;
  1081. }
  1082. }
  1083. @media (max-width: 374px) {
  1084. #nav_menu_views {
  1085. display: none;
  1086. }
  1087. }
  1088. button.as-link {
  1089. color: $color_light;
  1090. outline: none;
  1091. }
  1092. .dropdown-target:target ~ .btn.dropdown-toggle {
  1093. background: color.adjust( $color_nav, $lightness: -10%);
  1094. }
  1095. .tree-folder.active .tree-folder-title {
  1096. background: color.adjust( $color_nav, $lightness: -10%);
  1097. font-weight: bold;
  1098. }
  1099. .feed.item {
  1100. &.empty {
  1101. color: $color_alert;
  1102. &.active {
  1103. background: $color_alert;
  1104. color: $color_light;
  1105. > a {
  1106. color: $color_light;
  1107. }
  1108. }
  1109. > a {
  1110. color: $color_alert;
  1111. }
  1112. }
  1113. &.error {
  1114. color: color.adjust( $color_bad, $lightness: 10%);
  1115. &.active {
  1116. background: color.adjust( $color_bad, $lightness: 10%);
  1117. color: $color_light;
  1118. > a {
  1119. color: $color_light;
  1120. }
  1121. }
  1122. > a {
  1123. color: color.adjust( $color_bad, $lightness: 10%);
  1124. }
  1125. }
  1126. }
  1127. #dropdown-query ~ .dropdown-menu .dropdown-header .icon {
  1128. vertical-align: middle;
  1129. float: right;
  1130. }
  1131. #stream.reader .flux {
  1132. padding: 0 0 50px;
  1133. background: $color_light;
  1134. color: $color_aside;
  1135. border: none;
  1136. .author {
  1137. margin: 0 0 10px;
  1138. color: color.adjust( $color_light, $lightness: -40% );
  1139. font-size: 90%;
  1140. }
  1141. }
  1142. #nav_menu_actions, #nav_menu_read_all {
  1143. ul.dropdown-menu {
  1144. left: 0px;
  1145. }
  1146. }
  1147. #slider {
  1148. label {
  1149. min-height: initial;
  1150. }
  1151. .form-group {
  1152. &:hover {
  1153. background: initial;
  1154. }
  1155. }
  1156. }