|
13 | 13 | min-width: 90px;
|
14 | 14 | margin: 8px;
|
15 | 15 | }
|
| 16 | + |
| 17 | +.react-select__control { |
| 18 | + background-color: var(--bg-secondary) !important; |
| 19 | + border: 1px solid var(--border-color) !important; |
| 20 | + border-radius: 6px !important; |
| 21 | + min-height: 36px !important; |
| 22 | + box-shadow: none !important; |
| 23 | + cursor: pointer !important; |
| 24 | + transition: all 200ms ease !important; |
| 25 | +} |
| 26 | + |
| 27 | +.react-select__control:hover { |
| 28 | + border-color: var(--border-color-dark) !important; |
| 29 | + background-color: var(--bg-tertiary) !important; |
| 30 | +} |
| 31 | + |
| 32 | +.react-select__control--is-focused { |
| 33 | + border-color: var(--color-primary) !important; |
| 34 | + box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1) !important; |
| 35 | +} |
| 36 | + |
| 37 | +.react-select__menu { |
| 38 | + background-color: var(--bg-primary) !important; |
| 39 | + border: 1px solid var(--border-color) !important; |
| 40 | + border-radius: 6px !important; |
| 41 | + box-shadow: |
| 42 | + 0 4px 6px -1px rgba(0, 0, 0, 0.1), |
| 43 | + 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; |
| 44 | + margin-top: 4px !important; |
| 45 | + z-index: 100 !important; |
| 46 | +} |
| 47 | + |
| 48 | +.react-select__option { |
| 49 | + background-color: var(--bg-primary) !important; |
| 50 | + color: var(--text-primary) !important; |
| 51 | + cursor: pointer !important; |
| 52 | + padding: 8px 12px !important; |
| 53 | + font-size: 14px !important; |
| 54 | + transition: all 200ms ease !important; |
| 55 | +} |
| 56 | + |
| 57 | +.react-select__option:hover { |
| 58 | + background-color: var(--bg-tertiary) !important; |
| 59 | +} |
| 60 | + |
| 61 | +.react-select__option--is-selected { |
| 62 | + background-color: var(--color-primary) !important; |
| 63 | + color: white !important; |
| 64 | +} |
| 65 | + |
| 66 | +.react-select__option--is-focused { |
| 67 | + background-color: var(--bg-tertiary) !important; |
| 68 | +} |
| 69 | + |
| 70 | +.react-select__single-value { |
| 71 | + color: var(--text-primary) !important; |
| 72 | + font-size: 14px !important; |
| 73 | +} |
| 74 | + |
| 75 | +.react-select__indicator-separator { |
| 76 | + background-color: var(--border-color) !important; |
| 77 | +} |
| 78 | + |
| 79 | +.react-select__dropdown-indicator { |
| 80 | + color: var(--text-secondary) !important; |
| 81 | + transition: transform 200ms ease !important; |
| 82 | +} |
| 83 | + |
| 84 | +.react-select__dropdown-indicator:hover { |
| 85 | + color: var(--text-primary) !important; |
| 86 | +} |
| 87 | + |
| 88 | +.react-select__control--menu-is-open .react-select__dropdown-indicator { |
| 89 | + transform: rotate(180deg) !important; |
| 90 | +} |
| 91 | + |
| 92 | +.react-select__placeholder { |
| 93 | + color: var(--text-secondary) !important; |
| 94 | + font-size: 14px !important; |
| 95 | +} |
| 96 | + |
| 97 | +.react-select__multi-value { |
| 98 | + background-color: var(--bg-tertiary) !important; |
| 99 | + border-radius: 4px !important; |
| 100 | +} |
| 101 | + |
| 102 | +.react-select__multi-value__label { |
| 103 | + color: var(--text-primary) !important; |
| 104 | + font-size: 14px !important; |
| 105 | + padding: 2px 6px !important; |
| 106 | +} |
| 107 | + |
| 108 | +.react-select__multi-value__remove { |
| 109 | + color: var(--text-secondary) !important; |
| 110 | + cursor: pointer !important; |
| 111 | + padding: 0 4px !important; |
| 112 | + transition: all 200ms ease !important; |
| 113 | +} |
| 114 | + |
| 115 | +.react-select__multi-value__remove:hover { |
| 116 | + background-color: var(--border-color) !important; |
| 117 | + color: var(--text-primary) !important; |
| 118 | +} |
| 119 | + |
| 120 | +.react-select__clear-indicator { |
| 121 | + color: var(--text-secondary) !important; |
| 122 | + cursor: pointer !important; |
| 123 | + padding: 0 8px !important; |
| 124 | + transition: all 200ms ease !important; |
| 125 | +} |
| 126 | + |
| 127 | +.react-select__clear-indicator:hover { |
| 128 | + color: var(--text-primary) !important; |
| 129 | +} |
0 commit comments