integrate palette list with palette manager

This commit is contained in:
juliandescottes
2014-03-30 01:10:00 +01:00
parent 41e52a7a39
commit d2ec797496
11 changed files with 193 additions and 32 deletions

View File

@@ -23,6 +23,16 @@
-moz-box-sizing: border-box;
}
.palette-manager-close {
position: absolute;
top: 0;
right: 0;
line-height: 45px;
margin-right: 10px;
font-size: 1.3em;
cursor: pointer;
}
.palette-manager-drawer {
width: 200px;
position: absolute;

View File

@@ -7,3 +7,45 @@
background-repeat: no-repeat;
background-position: 97%;
}
.palettes-list-colors {
overflow:hidden;
}
.palettes-list-color {
cursor : pointer;
float: left;
margin : 0px 0 5px 5px;
width : 32px;
height : 32px;
position: relative;
}
.palettes-list-color div{
width : 32px;
height : 32px;
}
.palettes-list-color.primary:before,
.palettes-list-color.secondary:before {
content: "";
position: absolute;
bottom: -1px;
display: inline-block;
border: 7px solid gold;
border-top-color: transparent;
width: 0px;
height: 0px;
}
.palettes-list-color.primary:before {
left: -1px;
border-right-color: transparent;
}
.palettes-list-color.secondary:before {
right: -1px;
border-left-color: transparent;
}