Color selector fixes for transparent color
parent
b7cc9e9c1e
commit
62a20552a4
|
@ -28,11 +28,12 @@
|
|||
.display-custom-color.empty-color(
|
||||
ng-if="!vm.color"
|
||||
)
|
||||
.display-custom-color(
|
||||
ng-if="vm.color"
|
||||
ng-style="{'background': vm.color}"
|
||||
ng-click="vm.onSelectDropdownColor(vm.color)"
|
||||
)
|
||||
.display-custom-color-wrapper
|
||||
.display-custom-color(
|
||||
ng-if="vm.color"
|
||||
ng-style="{'background': vm.color}"
|
||||
ng-click="vm.onSelectDropdownColor(vm.color)"
|
||||
)
|
||||
input.custom-color-input(
|
||||
type="text"
|
||||
maxlength="7"
|
||||
|
|
|
@ -52,16 +52,20 @@
|
|||
}
|
||||
|
||||
.custom-color-selector {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
.custom-color-input {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.display-custom-color-wrapper {
|
||||
background: $mass-white;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
.display-custom-color {
|
||||
@include color-selector-option;
|
||||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
margin-right: .5rem;
|
||||
&.empty-color {
|
||||
@include empty-color(34);
|
||||
cursor: default;
|
||||
|
|
Loading…
Reference in New Issue