index.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @import "./../common/abstracts/_mixin.scss";
  2. @import "./../common/abstracts/variable.scss";
  3. .wot-theme-dark {
  4. @include b(picker) {
  5. @include e(action) {
  6. @include m(cancel) {
  7. color: $-dark-color;
  8. }
  9. @include when(loading) {
  10. color: $-dark-color3;
  11. }
  12. }
  13. :deep(.wd-picker__arrow),
  14. :deep(.wd-picker__clear) {
  15. color: $-dark-color;
  16. }
  17. :deep(.wd-picker__cell--placeholder) {
  18. .wd-cell__value {
  19. color: $-dark-color-gray;
  20. }
  21. }
  22. }
  23. }
  24. @include b(picker) {
  25. @include edeep(popup) {
  26. border-radius: 16px 16px 0px 0px;
  27. }
  28. @include edeep(cell) {
  29. @include when(disabled) {
  30. .wd-cell__value {
  31. color: $-input-disabled-color;
  32. cursor: not-allowed;
  33. }
  34. }
  35. @include when(error) {
  36. .wd-cell__value {
  37. color: $-input-error-color;
  38. }
  39. .wd-picker__arrow {
  40. color: $-input-error-color;
  41. }
  42. }
  43. @include when(large) {
  44. .wd-picker__arrow,
  45. .wd-picker__clear {
  46. font-size: $-cell-icon-size-large;
  47. }
  48. }
  49. @include m(placeholder) {
  50. .wd-cell__value {
  51. color: $-input-placeholder-color;
  52. }
  53. }
  54. }
  55. @include edeep(arrow, clear) {
  56. display: block;
  57. font-size: $-cell-icon-size;
  58. color: $-cell-arrow-color;
  59. line-height: $-cell-line-height;
  60. }
  61. @include edeep(clear) {
  62. color: $-cell-clear-color;
  63. }
  64. @include e(wraper) {
  65. padding-bottom: var(--window-bottom);
  66. }
  67. @include e(toolbar) {
  68. position: relative;
  69. display: flex;
  70. font-size: $-picker-toolbar-fs;
  71. height: $-picker-toolbar-height;
  72. line-height: $-picker-action-height;
  73. justify-content: space-between;
  74. align-items: center;
  75. box-sizing: border-box;
  76. }
  77. @include e(action) {
  78. display: block;
  79. border: none;
  80. outline: none;
  81. font-size: $-picker-toolbar-fs;
  82. color: $-picker-toolbar-finish-color;
  83. background: transparent;
  84. padding: 24px 15px 14px 15px;
  85. @include m(cancel) {
  86. color: $-picker-toolbar-cancel-color;
  87. }
  88. @include when(loading) {
  89. color: $-picker-loading-button-color;
  90. }
  91. }
  92. @include e(title) {
  93. display: block;
  94. float: 1;
  95. color: $-picker-toolbar-title-color;
  96. }
  97. }