swage.scss 18 KB

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