261 lines
5.7 KiB
CSS
261 lines
5.7 KiB
CSS
.fw-colour-picker {
|
|
border-radius: 5px;
|
|
border: 2px solid #123456;
|
|
padding: 3px;
|
|
display: flex;
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
background-color: #444;
|
|
color: #fff;
|
|
box-shadow: 0 3px 10px #000;
|
|
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
width: 290px;
|
|
transition: width .2s, border-color .2s;
|
|
}
|
|
|
|
.fw-colour-picker-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.fw-colour-picker-tabbed {
|
|
width: 100%;
|
|
margin-bottom: 3px;
|
|
}
|
|
.fw-colour-picker-tabbed-container {
|
|
border: 2px solid #123456;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
border-radius: 5px 5px 0 0;
|
|
height: 234px;
|
|
overflow: auto;
|
|
transition: border-color .2s;
|
|
}
|
|
.fw-colour-picker-tabbed-list {
|
|
background-color: #222;
|
|
border-radius: 0 0 5px 5px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.fw-colour-picker-tab-button {
|
|
background: #333;
|
|
color: #fff;
|
|
border-radius: 0;
|
|
border-width: 0;
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
height: 24px;
|
|
margin-right: 1px;
|
|
transition: background .2s, border-color .2s;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
cursor: pointer;
|
|
}
|
|
.fw-colour-picker-tab-button:hover {
|
|
background: #444;
|
|
border-color: #444;
|
|
}
|
|
.fw-colour-picker-tab-button:focus {
|
|
border-color: #fff;
|
|
}
|
|
.fw-colour-picker-tab-button-active {
|
|
background: #123456;
|
|
border-color: #123456;
|
|
color: #123456;
|
|
}
|
|
|
|
.fw-colour-picker-middle-row {
|
|
width: 100%;
|
|
margin-bottom: 3px;
|
|
height: 60px;
|
|
}
|
|
|
|
.fw-colour-picker-colour-preview-container {
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 60px;
|
|
vertical-align: middle;
|
|
}
|
|
.fw-colour-picker-colour-preview {
|
|
display: block;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 5px;
|
|
background: #123456;
|
|
}
|
|
|
|
.fw-colour-picker-values-container {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.fw-colour-picker-values-child {
|
|
display: block;
|
|
padding: 2px 3px;
|
|
margin: 1px;
|
|
margin-left: 31px;
|
|
cursor: text;
|
|
}
|
|
.fw-colour-picker-values-child-label {
|
|
font-weight: 700;
|
|
width: 40px;
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
text-align: right;
|
|
}
|
|
.fw-colour-picker-values-child-input {
|
|
display: inline-block;
|
|
border: 1px solid #222;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
background: #333;
|
|
border-radius: 0;
|
|
color: #fff;
|
|
padding: 1px;
|
|
width: 100px;
|
|
transition: border-color .2s;
|
|
outline-style: none;
|
|
}
|
|
.fw-colour-picker-values-child-input:focus {
|
|
border-color: #777;
|
|
}
|
|
|
|
.fw-colour-picker-buttons-container {
|
|
text-align: right;
|
|
margin: 1px;
|
|
}
|
|
.fw-colour-picker-buttons-container-inner {
|
|
text-align: left;
|
|
display: inline-block;
|
|
}
|
|
|
|
.fw-colour-picker-buttons-button {
|
|
border-radius: 5px;
|
|
background: #222;
|
|
border-width: 0;
|
|
color: #fff;
|
|
font-size: 1.1em;
|
|
line-height: 1.2em;
|
|
padding: 3px 10px;
|
|
margin-left: 5px;
|
|
cursor: pointer;
|
|
}
|
|
.fw-colour-picker-buttons-button:focus {
|
|
box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #fff;
|
|
}
|
|
.fw-colour-picker-buttons-button-submit {
|
|
font-weight: 700;
|
|
color: #123456;
|
|
background: #123456;
|
|
transition: background .2s;
|
|
}
|
|
|
|
.fw-colour-picker-tab-container {
|
|
display: none;
|
|
}
|
|
.fw-colour-picker-tab-container-active {
|
|
display: block;
|
|
}
|
|
|
|
.fw-colour-picker-tab-presets-container {
|
|
text-align: center;
|
|
padding-top: 3px;
|
|
padding-left: 3px;
|
|
}
|
|
.fw-colour-picker-presets-option {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 3px;
|
|
margin-bottom: 3px;
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
}
|
|
.fw-colour-picker-presets-option:focus {
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000, inset 0 0 0 1px #000;
|
|
}
|
|
.fw-colour-picker-presets-option-active {
|
|
box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #fff;
|
|
}
|
|
|
|
.fw-colour-picker-tab-grid-container {
|
|
text-align: center;
|
|
}
|
|
.fw-colour-picker-grid-option {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 23px;
|
|
height: 23px;
|
|
z-index: 1;
|
|
position: relative;
|
|
cursor: cell;
|
|
}
|
|
.fw-colour-picker-grid-option:focus {
|
|
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000, inset 0 0 0 1px #000;
|
|
z-index: 3;
|
|
}
|
|
.fw-colour-picker-grid-option-active {
|
|
box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #fff;
|
|
z-index: 2;
|
|
}
|
|
|
|
.fw-colour-picker-slider {
|
|
margin: 0 2px;
|
|
}
|
|
.fw-colour-picker-slider-gradient {
|
|
width: 100%;
|
|
height: 6px;
|
|
}
|
|
.fw-colour-picker-slider-name {
|
|
font-weight: 700;
|
|
margin: 0 2px;
|
|
}
|
|
.fw-colour-picker-slider-value-slider-container {
|
|
display: inline-block;
|
|
width: 200px;
|
|
margin: 4px;
|
|
}
|
|
.fw-colour-picker-slider-value-slider {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
.fw-colour-picker-slider-value-input-container {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
text-align: center;
|
|
width: 64px;
|
|
}
|
|
.fw-colour-picker-slider-value-input {
|
|
display: inline-block;
|
|
border: 1px solid #222;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
background: #333;
|
|
border-radius: 0;
|
|
color: #fff;
|
|
padding: 1px;
|
|
width: 50px;
|
|
transition: border-color .2s;
|
|
outline-style: none;
|
|
}
|
|
.fw-colour-picker-slider-value-input:focus {
|
|
border-color: #777;
|
|
}
|
|
.fw-colour-picker-slider-red .fw-colour-picker-slider-value-input:focus {
|
|
border-color: #f00;
|
|
}
|
|
.fw-colour-picker-slider-green .fw-colour-picker-slider-value-input:focus {
|
|
border-color: #0f0;
|
|
}
|
|
.fw-colour-picker-slider-blue .fw-colour-picker-slider-value-input:focus {
|
|
border-color: #00f;
|
|
}
|