| 1 |
/* --------- Common Heading Used for the Device Switcher, Reset, and Unit Selection --------- */ |
| 2 |
|
| 3 |
.uagb-control__header { |
| 4 |
display: flex; |
| 5 |
width: 100%; |
| 6 |
justify-content: space-between; |
| 7 |
align-items: center; |
| 8 |
margin-bottom: $spectra-control-label-bottom-margin; |
| 9 |
|
| 10 |
.uag-control-label, |
| 11 |
.uagb-inspector-tab .components-base-control__label, |
| 12 |
.uagb-inspector-tab .components-panel__body label, |
| 13 |
.uagb-extention-tab label { |
| 14 |
margin-bottom: 0; |
| 15 |
} |
| 16 |
|
| 17 |
.uagb-control__inputs { |
| 18 |
display: flex; |
| 19 |
} |
| 20 |
|
| 21 |
.uagb-control__label { |
| 22 |
margin-bottom: 0; |
| 23 |
} |
| 24 |
|
| 25 |
.uagb-control__actions { |
| 26 |
position: relative; |
| 27 |
top: 0; |
| 28 |
display: flex; |
| 29 |
|
| 30 |
.uagb-reset { |
| 31 |
padding: 0; |
| 32 |
margin-right: 10px; |
| 33 |
|
| 34 |
&:only-child, |
| 35 |
&:disabled { |
| 36 |
margin-right: 0; |
| 37 |
} |
| 38 |
} |
| 39 |
|
| 40 |
.disabled-element-wrapper { |
| 41 |
padding: 0; |
| 42 |
margin-right: 10px; |
| 43 |
|
| 44 |
&:only-child { |
| 45 |
margin-right: 0; |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
.uagb-control__units { |
| 50 |
display: flex; |
| 51 |
align-items: center; |
| 52 |
|
| 53 |
.components-button { |
| 54 |
font-size: 10px; |
| 55 |
justify-content: center; |
| 56 |
padding: 0; |
| 57 |
text-align: center; |
| 58 |
text-shadow: none; |
| 59 |
text-transform: uppercase; |
| 60 |
width: 100%; |
| 61 |
cursor: pointer; |
| 62 |
padding-right: 5px; |
| 63 |
|
| 64 |
&.is-primary.is-small, |
| 65 |
&.is-secondary.is-small { |
| 66 |
box-shadow: unset; |
| 67 |
} |
| 68 |
|
| 69 |
&.is-primary { |
| 70 |
background: unset; |
| 71 |
background-color: unset; |
| 72 |
color: $spectra-color-primary; |
| 73 |
box-shadow: unset; |
| 74 |
} |
| 75 |
|
| 76 |
&.is-secondary, |
| 77 |
&.is-tertiary { |
| 78 |
background: unset; |
| 79 |
background-color: unset; |
| 80 |
color: $spectra-color-body; |
| 81 |
|
| 82 |
&:hover:not(:disabled) { |
| 83 |
color: $spectra-color-primary; |
| 84 |
} |
| 85 |
} |
| 86 |
} |
| 87 |
|
| 88 |
.components-button:last-child { |
| 89 |
padding: 0; |
| 90 |
} |
| 91 |
} |
| 92 |
|
| 93 |
.components-button.is-secondary:hover:not(:disabled) { |
| 94 |
background: 0 0; |
| 95 |
box-shadow: 0 0; |
| 96 |
} |
| 97 |
|
| 98 |
.components-button.is-secondary:disabled { |
| 99 |
background: 0 0; |
| 100 |
color: $spectra-color-icon-disabled; |
| 101 |
} |
| 102 |
|
| 103 |
.components-button.is-secondary { |
| 104 |
color: $spectra-color-primary; |
| 105 |
box-shadow: 0 0; |
| 106 |
} |
| 107 |
} |
| 108 |
} |
| 109 |
|