spectrum modification : add position information top container

This commit is contained in:
jdescottes 2013-11-28 07:40:28 +01:00
parent 167adaceb0
commit 0109eb81dd

View File

@ -10,6 +10,14 @@
padding: 5px; padding: 5px;
} }
.sp-container[data-y-position=bottom] {
border-top-left-radius: 0;
}
.sp-container[data-y-position=top] {
border-bottom-left-radius: 0;
}
/* Color square container */ /* Color square container */
.sp-color, .sp-hue { .sp-color, .sp-hue {
border : 1px solid #222; border : 1px solid #222;
@ -21,7 +29,7 @@
height: 100%; height: 100%;
border-width: 0; border-width: 0;
box-sizing: border-box; box-sizing: border-box;
background-color: #888; background-color: #444;
} }
/* Hide the triangle */ /* Hide the triangle */
.sp-dd { .sp-dd {