/*
 * Very simple jQuery Color Picker
 * https://github.com/tkrotoff/jquery-simplecolorpicker
 *
 * Copyright (C) 2012-2013 Tanguy Krotoff <tkrotoff@gmail.com>
 *
 * Licensed under the MIT license
 */

/**
 * Inspired by Bootstrap Twitter.
 * See https://github.com/twbs/bootstrap/blob/master/less/navbar.less
 * See https://github.com/twbs/bootstrap/blob/master/less/dropdowns.less
 */

.simplecolorpicker.picker {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1051;
    display: none;
    float: left;

    min-width: 160px;
    max-width: 283px;

    padding: 5px 0 0 5px;
    margin: 2px 0 0;
    list-style: none;
    background-color: #fff;

    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;

    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);

    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.simplecolorpicker.inline {
    display: inline-block;
}

.simplecolorpicker span {
    margin: 0 5px 5px 0;
}

.simplecolorpicker.icon,
.simplecolorpicker span.color {
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 3px;
    width: 25px;
}

.simplecolorpicker.icon:after,
.simplecolorpicker span.color:after {
    content: '\00a0\00a0\00a0\00a0';
}

.simplecolorpicker span.color[data-disabled]:hover {
    cursor: not-allowed;
    border: 2px solid transparent;
}

.simplecolorpicker span.color:hover,
.simplecolorpicker span.color[data-selected],
.simplecolorpicker span.color[data-selected]:hover {
    border: 2px solid #000;
}
.simplecolorpicker span.color[data-selected]:after {
    color: #fff;
}

.simplecolorpicker span.vr {
    border-left: 2px solid #222;
}
.simplecolorpicker {
    margin-right: 10px;
}
