[mobile] Fixed material display an active element ot the color palette.

This commit is contained in:
Alexander Yuzhin 2016-11-28 12:37:53 +03:00
parent f5d7f4bfd2
commit 6b1cb68e16
3 changed files with 24 additions and 25 deletions

View file

@ -19,17 +19,11 @@
&:after {
content:' ';
position: absolute;
left: 50%;
margin-left: -6px;
top: 50%;
margin-top: -4px;
width: 12px;
height: 9px;
background: no-repeat center;
.encoded-svg-background("<svg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 12 9' xml:space='preserve'><polygon fill='#fff' points='12,0.7 11.3,0 3.9,7.4 0.7,4.2 0,4.9 3.9,8.8 3.9,8.8 3.9,8.8 '/></svg>");
-webkit-background-size: 12px 9px;
background-size: 12px 9px;
filter: drop-shadow(0px 0px 1px #000);
width: 100%;
height: 100%;
box-shadow: 0 0 0 1px white, 0 0 0 4px @themeColor;
z-index: 1;
border-radius: 1px;
}
}
@ -43,6 +37,13 @@
.theme-colors {
.item-inner {
display: inline-block;
overflow: visible;
}
}
.standart-colors {
.item-inner {
overflow: visible;
}
}

View file

@ -55,7 +55,7 @@
height: 30px;
border-radius: 16px;
margin-top: -3px;
border: 0.5px solid gray;
box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
}
}

File diff suppressed because one or more lines are too long