| 1 |
/* Reset Gutenberg Css */ |
| 2 |
|
| 3 |
@import "../../styles/variables"; |
| 4 |
|
| 5 |
.spectra-control-popup__options .spectra-control-popup { |
| 6 |
|
| 7 |
.uag-font-family-searchable-select { |
| 8 |
display: flex; |
| 9 |
width: 100%; |
| 10 |
flex-direction: column; |
| 11 |
|
| 12 |
// Note, the wrapper is used outside the actual component in the DOM. |
| 13 |
&__wrapper { |
| 14 |
align-items: center; |
| 15 |
display: grid; |
| 16 |
grid-template-columns: 50% 50%; |
| 17 |
height: $spectra-control-input-height; |
| 18 |
|
| 19 |
label { |
| 20 |
margin-bottom: 0; |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
.uag-font-family-select__input input { |
| 25 |
box-shadow: none; |
| 26 |
border: none; |
| 27 |
min-height: $spectra-control-input-height; |
| 28 |
} |
| 29 |
|
| 30 |
.uag-font-family-select__control { |
| 31 |
cursor: pointer; |
| 32 |
|
| 33 |
&:hover { |
| 34 |
border: 1px solid $spectra-color-border; |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
.uag-font-family-select__menu { |
| 39 |
z-index: 99999; |
| 40 |
} |
| 41 |
|
| 42 |
.uag-font-family-select__indicators { |
| 43 |
height: $spectra-control-input-height; |
| 44 |
} |
| 45 |
|
| 46 |
.uag-font-family-select__dropdown-indicator { |
| 47 |
|
| 48 |
padding-left: 6px; |
| 49 |
|
| 50 |
svg { |
| 51 |
fill: $spectra-color-body; |
| 52 |
height: 14px; |
| 53 |
width: 14px; |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
.uag-font-family-select__dropdown-indicator:hover { |
| 58 |
color: $spectra-color-body; |
| 59 |
} |
| 60 |
|
| 61 |
.uag-font-family-select__value-container { |
| 62 |
|
| 63 |
top: 0; |
| 64 |
|
| 65 |
> div { |
| 66 |
margin: 0; |
| 67 |
padding: 0; |
| 68 |
} |
| 69 |
} |
| 70 |
} |
| 71 |
} |
| 72 |
|