update ColorPicker

This commit is contained in:
梁灏 2017-08-18 12:27:35 +08:00
parent e7893a68ed
commit 0aefe4aa09
3 changed files with 88 additions and 30 deletions

View file

@ -7,10 +7,16 @@
&-color{
width: 18px;
height: 18px;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
border-radius: 2px;
position: relative;
top: 2px;
div{
width: 100%;
height: 100%;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
border-radius: 2px;
}
}
&-large &-color{
width: 20px;