| 1 |
/* --------- Common Popup Used In The Settings Panel --------- */ |
| 2 |
|
| 3 |
.spectra-control-popup { |
| 4 |
position: relative; |
| 5 |
top: $spectra-control-popup-vertical-gap; |
| 6 |
// z-index: 99; |
| 7 |
width: 100%; |
| 8 |
border-radius: $spectra-control-popup-border-radius; |
| 9 |
padding: $spectra-control-popup-padding; |
| 10 |
margin-bottom: $spectra-control-popup-vertical-gap + $spectra-control-vertical-gap; |
| 11 |
box-shadow: $spectra-control-popup-box-shadow; |
| 12 |
background: $spectra-color-plain-background; |
| 13 |
|
| 14 |
// Important Required to override the common panel margins. |
| 15 |
|
| 16 |
& > .components-base-control { |
| 17 |
margin-bottom: $spectra-control-popup-vertical-gap !important; |
| 18 |
|
| 19 |
&:last-child { |
| 20 |
margin-bottom: 0 !important; |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
& > .uagb-size-type-field-tabs { |
| 25 |
|
| 26 |
margin-bottom: $spectra-control-popup-vertical-gap !important; |
| 27 |
|
| 28 |
.components-base-control { |
| 29 |
margin-bottom: 0 !important; |
| 30 |
} |
| 31 |
|
| 32 |
&:last-child { |
| 33 |
margin-bottom: 0 !important; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
& .uagb-select-control--layout-inline .components-select-control { |
| 38 |
margin-bottom: $spectra-control-popup-vertical-gap !important; |
| 39 |
} |
| 40 |
|
| 41 |
// The Popup Option |
| 42 |
&__options { |
| 43 |
margin-bottom: $spectra-control-popup-vertical-gap; |
| 44 |
position: relative; |
| 45 |
|
| 46 |
&--action { |
| 47 |
|
| 48 |
&-wrapper { |
| 49 |
display: flex; |
| 50 |
justify-content: space-between; |
| 51 |
margin: 0; |
| 52 |
align-items: center; |
| 53 |
|
| 54 |
& > .uag-control-label { |
| 55 |
margin-bottom: 0; |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
&-button { |
| 60 |
margin: 0; |
| 61 |
height: $spectra-control-circle-indicator; |
| 62 |
width: $spectra-control-circle-indicator; |
| 63 |
padding: 5px; |
| 64 |
border: 1px solid $spectra-color-border; |
| 65 |
border-radius: 14px; |
| 66 |
color: $spectra-color-body; |
| 67 |
|
| 68 |
.dashicons-edit { |
| 69 |
font-size: 15px; |
| 70 |
line-height: 20px; |
| 71 |
} |
| 72 |
|
| 73 |
&:focus:not(:disabled) { |
| 74 |
box-shadow: none; |
| 75 |
outline: none; |
| 76 |
} |
| 77 |
|
| 78 |
&:hover { |
| 79 |
color: $spectra-color-primary; |
| 80 |
} |
| 81 |
} |
| 82 |
} |
| 83 |
|
| 84 |
&.active { |
| 85 |
|
| 86 |
.spectra-control-popup__options--action-button { |
| 87 |
color: $spectra-color-primary; |
| 88 |
} |
| 89 |
} |
| 90 |
} |
| 91 |
} |
| 92 |
|
| 93 |
.components-base-control:last-child { |
| 94 |
|
| 95 |
.spectra-control-popup { |
| 96 |
margin-bottom: $spectra-panel-body-padding; |
| 97 |
} |
| 98 |
} |
| 99 |
|