Color selector fixes for transparent color

stable
Xavier Julián 2016-09-22 11:06:09 +02:00 committed by David Barragán Merino
parent b7cc9e9c1e
commit 62a20552a4
2 changed files with 11 additions and 6 deletions

View File

@ -28,6 +28,7 @@
.display-custom-color.empty-color(
ng-if="!vm.color"
)
.display-custom-color-wrapper
.display-custom-color(
ng-if="vm.color"
ng-style="{'background': vm.color}"

View File

@ -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;