[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 { &:after {
content:' '; content:' ';
position: absolute; position: absolute;
left: 50%; width: 100%;
margin-left: -6px; height: 100%;
top: 50%; box-shadow: 0 0 0 1px white, 0 0 0 4px @themeColor;
margin-top: -4px; z-index: 1;
width: 12px; border-radius: 1px;
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);
} }
} }
@ -43,6 +37,13 @@
.theme-colors { .theme-colors {
.item-inner { .item-inner {
display: inline-block; display: inline-block;
overflow: visible;
}
}
.standart-colors {
.item-inner {
overflow: visible;
} }
} }

View file

@ -55,7 +55,7 @@
height: 30px; height: 30px;
border-radius: 16px; border-radius: 16px;
margin-top: -3px; 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