app.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. @use "sass:map";
  2. @use "src/css/quasar.variables.scss";
  3. .flex-grow {
  4. flex-grow: 1;
  5. flex-shrink: 1;
  6. flex-basis: 0;
  7. }
  8. .round {
  9. border-radius: 50%;
  10. }
  11. .self-center {
  12. align-self: center;
  13. }
  14. .input-disable {
  15. .q-field--outlined .q-field__control::before {
  16. border: 1px solid #b9b9b9 !important;
  17. transition: border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  18. }
  19. }
  20. .q-item__section--avatar {
  21. min-width: 0;
  22. }
  23. .q-toolbar {
  24. position: relative;
  25. padding: 0 12px;
  26. min-height: 50px;
  27. width: auto;
  28. }
  29. .q-drawer:has(.detached-container) {
  30. margin: 16px !important;
  31. margin-bottom: 16px !important;
  32. margin-left: 10px !important;
  33. border-radius: 8px !important;
  34. transition: all;
  35. color: #8b8b8b;
  36. }
  37. body.body--light {
  38. .q-drawer:has(.detached-container) {
  39. background: #{map.get($colors, "surface")} !important;
  40. }
  41. .q-menu {
  42. background: $neutral-light !important;
  43. color: $color-text !important;
  44. .q-item {
  45. color: $color-text;
  46. }
  47. .q-item--active,
  48. .q-item:hover {
  49. background: $violet-light !important;
  50. color: $violet-normal !important;
  51. }
  52. }
  53. .q-dialog {
  54. .q-card {
  55. background: #{map.get($colors, "surface-dark")};
  56. }
  57. }
  58. background: #{map.get($colors, "page")} !important;
  59. .q-list--dark,
  60. .q-item--dark:not(.q-item--active) {
  61. color: black;
  62. }
  63. .q-field--dark {
  64. .q-field__control:not(.text-negative) {
  65. .q-field__marginal {
  66. color: rgba(0, 0, 0, 0.54);
  67. }
  68. & ~ .q-field__bottom {
  69. color: rgba(0, 0, 0, 0.54);
  70. }
  71. }
  72. &:not(.q-field--highlighted)
  73. .q-field__control:not(.text-negative)
  74. .q-field__label {
  75. color: rgba(0, 0, 0, 0.54);
  76. }
  77. }
  78. .card-ring {
  79. box-shadow: 0 0 0 1px #c0c0c0c0 !important;
  80. }
  81. .menu-drawer {
  82. color: #8b8b8b;
  83. }
  84. }
  85. // body.body--dark {
  86. // background: #{map.get($colors-dark, "page")};
  87. // .q-drawer:has(.detached-container) {
  88. // background: #{map.get($colors-dark, "surface")} !important;
  89. // }
  90. // .q-menu {
  91. // background: #{map.get($colors-dark, "surface")};
  92. // }
  93. // .card-ring {
  94. // box-shadow: 0 0 0 1px #505050 !important;
  95. // }
  96. // }
  97. .q-card__actions .q-btn {
  98. padding: 10px 16px;
  99. }
  100. input[type="number"]::-webkit-inner-spin-button,
  101. input[type="number"]::-webkit-outer-spin-button {
  102. -webkit-appearance: none;
  103. -moz-appearance: none;
  104. appearance: none;
  105. margin: 0;
  106. }
  107. .q-separator {
  108. padding-top: 0px;
  109. padding-left: 0;
  110. }
  111. .q-scrollarea__content {
  112. display: flex;
  113. flex-direction: column;
  114. flex: 1 1 auto !important;
  115. }
  116. .remove-header-expansion-item {
  117. .q-list--dense > .q-item,
  118. .q-item--dense {
  119. display: none;
  120. }
  121. }
  122. .q-field__control {
  123. background: #fff !important;
  124. }
  125. .q-field--dark .q-field__native {
  126. color: black;
  127. }
  128. .q-field--dark .q-field__native,
  129. .q-field--dark .q-field__prefix,
  130. .q-field--dark .q-field__suffix,
  131. .q-field--dark .q-field__input {
  132. color: black;
  133. }
  134. .q-field--dark:not(.q-field--highlighted) .q-field__label,
  135. .q-field--dark .q-field__marginal,
  136. .q-field--dark {
  137. color: black;
  138. }
  139. .q-field--standout.q-field--rounded .q-field__control {
  140. border-radius: 8px;
  141. box-shadow: 0 0 0 1px #c0c0c0c0;
  142. }
  143. .q-btn--rectangle {
  144. border-radius: 8px;
  145. }
  146. .q-table__select {
  147. .q-field__inner {
  148. .q-field__control {
  149. padding-left: 6px;
  150. border-radius: 8px;
  151. overflow: hidden;
  152. }
  153. }
  154. }