| 1 |
.shaped-plugin-multiple-select { |
| 2 |
.custom-select-arrow{ |
| 3 |
display: flex; |
| 4 |
align-items: center; |
| 5 |
cursor: pointer; |
| 6 |
} |
| 7 |
.custom-select-arrow svg{ |
| 8 |
pointer-events: none; |
| 9 |
} |
| 10 |
.sp-multiple-select-dnd-label { |
| 11 |
font-size: 13px; |
| 12 |
font-weight: 400; |
| 13 |
line-height: 20px; |
| 14 |
margin-bottom: 8px; |
| 15 |
} |
| 16 |
|
| 17 |
.sp-multiple-select-dnd-container { |
| 18 |
min-height: 32px; |
| 19 |
position: relative; |
| 20 |
|
| 21 |
.sp-select-header { |
| 22 |
padding: 4px; |
| 23 |
background-color: #fff; |
| 24 |
border: 1px solid #ccc; |
| 25 |
border-radius: 4px; |
| 26 |
display: flex; |
| 27 |
justify-content: space-between; |
| 28 |
// align-items: center; |
| 29 |
|
| 30 |
.sp-selected-options { |
| 31 |
width: 90%; |
| 32 |
margin: 0; |
| 33 |
padding-right: 7px; |
| 34 |
border-right: 1px solid #F0F0F0; |
| 35 |
display: flex; |
| 36 |
flex-direction: column; |
| 37 |
gap: 0px; |
| 38 |
div { |
| 39 |
.sp-selected-option { |
| 40 |
width: 100%; |
| 41 |
margin: 2px; |
| 42 |
height: 30px; |
| 43 |
background-color: #f1f1f1; |
| 44 |
border: 1px solid #ccc; |
| 45 |
border-radius: 2px; |
| 46 |
display: flex; |
| 47 |
align-items: center; |
| 48 |
justify-content: space-between; |
| 49 |
|
| 50 |
.sp-select-label { |
| 51 |
cursor: move; |
| 52 |
padding: 5px; |
| 53 |
width: 85%; |
| 54 |
white-space: nowrap; |
| 55 |
overflow: hidden; |
| 56 |
text-overflow: ellipsis; |
| 57 |
} |
| 58 |
|
| 59 |
.sp-select-remove-button { |
| 60 |
cursor: pointer; |
| 61 |
padding: 3px; |
| 62 |
width: 15%; |
| 63 |
text-align: center; |
| 64 |
margin-right: 2px; |
| 65 |
border-radius: 2px; |
| 66 |
&:hover { |
| 67 |
background-color: var( --sp-smart-primary-2-400 ); |
| 68 |
|
| 69 |
svg path { |
| 70 |
fill: #fff; |
| 71 |
} |
| 72 |
} |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
// all options modal css |
| 80 |
.sp-select-options { |
| 81 |
margin: 5px 0 0 0; |
| 82 |
position: absolute; |
| 83 |
width: 100%; |
| 84 |
background-color: white; |
| 85 |
border: 1px solid #ccc; |
| 86 |
border-radius: 4px; |
| 87 |
max-height: 200px; |
| 88 |
overflow-y: auto; |
| 89 |
overflow-x: hidden; |
| 90 |
z-index: 999; |
| 91 |
|
| 92 |
.sp-select-option { |
| 93 |
cursor: pointer; |
| 94 |
padding: 10px; |
| 95 |
margin: 0; |
| 96 |
|
| 97 |
&.selected { |
| 98 |
background-color: #e6e6e6; |
| 99 |
} |
| 100 |
|
| 101 |
&:hover { |
| 102 |
background-color: #f0f0f0; |
| 103 |
} |
| 104 |
|
| 105 |
} |
| 106 |
|
| 107 |
//input field css |
| 108 |
.sp-select-search-field { |
| 109 |
background-color: transparent; |
| 110 |
width: 97%; |
| 111 |
padding: 6px; |
| 112 |
margin: 4px; |
| 113 |
border-radius: 4px; |
| 114 |
border: 1px solid #ccc; |
| 115 |
|
| 116 |
&:focus-visible { |
| 117 |
border: 1px solid #ccc; |
| 118 |
box-shadow: none; |
| 119 |
outline: 0; |
| 120 |
} |
| 121 |
} |
| 122 |
} |
| 123 |
|
| 124 |
.sp-select-remove-button { |
| 125 |
cursor: pointer; |
| 126 |
} |
| 127 |
} |
| 128 |
} |
| 129 |
|
| 130 |
|
| 131 |
// Drag and Drop components CSS |
| 132 |
.sp-drag-and-drop-dnd-container { |
| 133 |
.sp-selected-options { |
| 134 |
display: flex; |
| 135 |
flex-direction: column; |
| 136 |
gap: 8px; |
| 137 |
// background: #FFF; |
| 138 |
|
| 139 |
.sp-grabbing { |
| 140 |
cursor: grabbing; |
| 141 |
z-index: 9; |
| 142 |
} |
| 143 |
.sp-grab { |
| 144 |
cursor: grab; |
| 145 |
} |
| 146 |
|
| 147 |
.sp-selected-option { |
| 148 |
|
| 149 |
.sp-select-toggle-button { |
| 150 |
cursor: pointer; |
| 151 |
padding: 5px; |
| 152 |
width: 20%; |
| 153 |
text-align: center; |
| 154 |
|
| 155 |
.components-base-control { |
| 156 |
margin: 0; |
| 157 |
|
| 158 |
.components-form-toggle.is-checked { |
| 159 |
.components-form-toggle__track { |
| 160 |
background-color: var( --sp-smart-primary-2-400 ); |
| 161 |
border-color: var( --sp-smart-primary-2-400 ); |
| 162 |
} |
| 163 |
} |
| 164 |
} |
| 165 |
} |
| 166 |
} |
| 167 |
} |
| 168 |
.sp-disabled { |
| 169 |
cursor: grab; |
| 170 |
margin-bottom: 8px; |
| 171 |
} |
| 172 |
.sp-selected-option { |
| 173 |
display: flex; |
| 174 |
flex-direction: row; |
| 175 |
padding: 4px 8px; |
| 176 |
align-items: center; |
| 177 |
gap: 8px; |
| 178 |
align-self: stretch; |
| 179 |
border-radius: 4px; |
| 180 |
border: 1px solid #E0E0E0; |
| 181 |
background: #FFF; |
| 182 |
|
| 183 |
.sp-select-label { |
| 184 |
display: flex; |
| 185 |
flex-direction: row; |
| 186 |
align-items: center; |
| 187 |
justify-content: flex-start; |
| 188 |
gap: 8px; |
| 189 |
padding: 5px; |
| 190 |
width: 85%; |
| 191 |
white-space: nowrap; |
| 192 |
overflow: hidden; |
| 193 |
text-overflow: ellipsis; |
| 194 |
} |
| 195 |
} |
| 196 |
|
| 197 |
.sp-smart-pro-item { |
| 198 |
.sp-select-label { |
| 199 |
color: #00000080; |
| 200 |
} |
| 201 |
.sp-smart-pro-text { |
| 202 |
margin-left: -5px; |
| 203 |
} |
| 204 |
span.components-form-toggle { |
| 205 |
pointer-events: none; |
| 206 |
opacity: 0.6; |
| 207 |
} |
| 208 |
} |
| 209 |
} |
| 210 |
|