/* * This file is part of Dorado 7.x (http://dorado7.bsdn.org). * * Copyright (c) 2002-2012 BSTEK Corp. All rights reserved. * * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) * and BSDN commercial (http://www.bsdn.org/licenses) licenses. * * If you are unsure which license is appropriate for your use, please contact the sales department * at http://www.bstek.com/contact. */ /* label */ .d-label { height: 30px; line-height: 30px; } /* text-box */ .d-text-box { position: relative; text-align: left; height: 28px; line-height: 28px; } .d-text-box > .editor-wrapper { display: block; } .d-text-box > .editor-wrapper > .editor { background: transparent; white-space: nowrap; border: 0; margin: 0; width: 100%; line-height: 28px; padding: 0; } .d-text-box .d-trigger { position: absolute; top: 0; right: 0; cursor: pointer; overflow: hidden; width: 28px; height: 28px; border-width: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .d-text-box .d-trigger .d-icon { width: 28px; height: 28px; line-height: 28px !important; } .d-text-box .blank-text { font-style: italic; } .d-text-box .d-dirty-flag { width: 0; height: 0; border: 4px solid transparent; border-bottom-color: #1ab394; position: absolute; top: -4px; left: -4px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } .d-text-box { -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; border: 1px #bfbfbf solid; background-color: #ffffff; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: background-color, border-color, color, -webkit-box-shadow, -webkit-transform; -moz-transition-property: background-color, border-color, color, -moz-box-shadow, -moz-transform; -ms-transition-property: background-color, border-color, color, -ms-box-shadow, -ms-transform; -o-transition-property: background-color, border-color, color, -o-box-shadow, -o-transform; transition-property: background-color, border-color, color, box-shadow, transform; } .d-text-box > .editor-wrapper > .editor { color: #333333; } .d-text-box > .editor-wrapper > .blank-text { color: #999999 !important; } .d-text-box.d-text-box-hover { border-color: #dddddd; background-color: #ffffff; } .d-text-box.d-text-box-focused { border-color: #dddddd; background-color: #ffffff; } .d-text-box.d-text-box-warn { border-color: #ecc463; background-color: #faefd5; } .d-text-box.d-text-box-warn .d-dirty-flag { border-bottom-color: #f8ac59; } .d-text-box.d-text-box-error { border-color: #ff6267; background-color: #ffe1e2; } .d-text-box.d-text-box-error .d-dirty-flag { border-bottom-color: #ed5565; } .d-text-box.d-text-box-readonly { border-color: #e6e6e6; background: #ffffff; } .d-text-box .d-trigger { color: #333333; background-color: rgba(0, 0, 0, 0); } .d-text-box .d-trigger:hover { color: #333333; background-color: #f5f5f5; } .d-text-box .d-trigger:active { -webkit-transition-duration: 0; -moz-transition-duration: 0; -ms-transition-duration: 0; -o-transition-duration: 0; transition-duration: 0; color: #333333; background-color: #e1e1e1; } .d-text-box .d-trigger.d-opened { color: #333333; background-color: #e1e1e1; } /* text-area */ .d-text-area { height: 32px; } .d-text-area .textarea { color: #333333; background: transparent; border-width: 0; margin: 0; padding: 0; resize: none; } .d-text-area .blank-text { font-style: italic; } .d-text-area .d-trigger-panel { position: absolute; top: 0; right: 0; width: 30px; height: 100%; } .d-text-area .d-trigger-panel .d-trigger { display: block; border-width: 0; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } .d-text-area .d-trigger-panel .d-trigger .d-icon { margin-top: 0; width: 28px; height: 28px; line-height: 28px !important; } .d-text-area .d-dirty-flag { width: 0; height: 0; border: 4px solid transparent; border-bottom-color: #1ab394; position: absolute; top: -4px; left: -4px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } .d-text-area { -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; border: 1px #bfbfbf solid; background-color: #ffffff; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: background-color, border-color, color, -webkit-box-shadow, -webkit-transform; -moz-transition-property: background-color, border-color, color, -moz-box-shadow, -moz-transform; -ms-transition-property: background-color, border-color, color, -ms-box-shadow, -ms-transform; -o-transition-property: background-color, border-color, color, -o-box-shadow, -o-transform; transition-property: background-color, border-color, color, box-shadow, transform; } .d-text-area .text-area { color: #333333; } .d-text-area .blank-text { color: #999999 !important; } .d-text-area.d-text-area-hover { border-color: #dddddd; background-color: #ffffff; } .d-text-area.d-text-area-focused { border-color: #dddddd; background-color: #ffffff; } .d-text-area.d-text-area-warn { border-color: #ecc463; background-color: #faefd5; } .d-text-area.d-text-area-error { border-color: #ff6267; background-color: #ffe1e2; } .d-text-area.d-text-area-readonly { border-color: #e6e6e6; background: #ffffff; } .d-text-area .d-trigger { color: #333333; background-color: rgba(0, 0, 0, 0); } .d-text-area .d-trigger:hover { color: #333333; background-color: #f5f5f5; } .d-text-area .d-trigger:active { -webkit-transition-duration: 0; -moz-transition-duration: 0; -ms-transition-duration: 0; -o-transition-duration: 0; transition-duration: 0; color: #333333; background-color: #e1e1e1; } .d-text-area .d-trigger.d-opened { color: #333333; background-color: #e1e1e1; } /* trigger */ .d-trigger-icon-drop { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-drop:before { content: "\e6a4"; } .d-trigger-icon-drop:before { content: "\e6a4"; } .d-trigger-icon-search { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-search:before { content: "\e617"; } .d-trigger-icon-search:before { content: "\e617"; } .d-trigger-icon-date { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-date:before { content: "\e6a4"; } .d-trigger-icon-date:before { content: "\e6a4"; } .d-trigger-icon-custom { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-custom:before { content: "\e6b0"; } .d-trigger-icon-custom:before { content: "\e6b0"; } .d-trigger-icon-clear { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-clear:before { content: "\e605"; } .d-trigger-icon-clear:before { content: "\e605"; } .d-trigger-icon-filter { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-filter:before { content: "\e61f"; } .d-trigger-icon-filter:before { content: "\e61f"; } .d-trigger-icon-reset { line-height: 28px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-trigger-icon-reset:before { content: "\e614"; } .d-trigger-icon-reset:before { content: "\e614"; } /* checkbox */ .d-checkbox { position: relative; display: inline-block; white-space: nowrap; overflow: hidden; cursor: default; min-width: 14px; height: 14px; padding: 8px 2px; } .d-checkbox .icon { float: left; width: 14px; height: 14px; } .d-checkbox .caption { position: relative; top: -1px; margin-left: 4px; white-space: nowrap; word-wrap: break-word; } .d-checkbox-dirty:after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-bottom-color: #1ab394; position: absolute; top: -4px; left: -4px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } .d-checkbox-center { float: none; position: relative; left: 50%; margin-left: -7px; padding: 0; } .d-checkbox-icononly { width: 14px; height: 14px; padding: 0 0; } .d-checkbox-readonly .icon { border-color: #e6e6e6; background: #ffffff; } .d-checkbox:before { content: ""; display: block; position: absolute; box-sizing: border-box; width: 14px; height: 14px; border: 1px #bfbfbf solid; background-color: #ffffff; } .d-checkbox .icon { position: relative; line-height: 14px; text-align: center; font-size: 14px; font-family: FontAwesome; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: transparent; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: background-color, border-color, color, -webkit-box-shadow, -webkit-transform; -moz-transition-property: background-color, border-color, color, -moz-box-shadow, -moz-transform; -ms-transition-property: background-color, border-color, color, -ms-box-shadow, -ms-transform; -o-transition-property: background-color, border-color, color, -o-box-shadow, -o-transform; transition-property: background-color, border-color, color, box-shadow, transform; } .d-checkbox .icon:before { content: "\f00c"; } .d-checkbox .icon:before { content: "\f00c"; } .d-checkbox .icon.checked { color: #2a394f; } .d-checkbox .icon.halfchecked:before { content: ""; display: block; position: absolute; margin: 4px; width: 6px; height: 6px; background-color: rgba(42, 57, 79, 0.5); opacity: 0.5; filter: alpha(opacity=50); } .d-checkbox:hover:before, .d-checkbox-focused:before { border-color: #f5f5f5; background-color: #ffffff; } .d-checkbox:hover .icon.checked, .d-checkbox-focused .icon.checked { color: #2a394f; } .d-checkbox:hover .icon.halfchecked:before, .d-checkbox-focused .icon.halfchecked:before { background-color: rgba(42, 57, 79, 0.5); } /* radio-group */ .d-radiogroup { overflow: visible; padding: 0 3px; } .d-radiogroup:before { content: ""; display: table; } .d-radiogroup:after { content: ""; display: table; clear: both; } .d-radiogroup .d-radio { overflow: hidden; cursor: default; min-width: 14px; height: 30px; line-height: 30px; white-space: nowrap; } .d-radiogroup .d-radio .icon { float: left; display: inline-block; width: 14px; height: 14px; margin-top: 8px; } .d-radiogroup .d-radio .text { margin-left: 4px; margin-right: 7px; } .d-radiogroup .d-radio-readonly .icon { border-color: #e6e6e6; background: #ffffff; } .d-radiogroup-dirty { position: relative; } .d-radiogroup-dirty:after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-bottom-color: #1ab394; position: absolute; top: -4px; left: -4px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } .d-radiogroup-flow .d-radio { float: left; } .d-radio .icon { box-sizing: border-box; -webkit-border-radius: 14px; -moz-border-radius: 14px; border-radius: 14px; width: 14px; height: 14px; border: 1px #bfbfbf solid; background-color: #ffffff; -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: background-color, border-color, color, -webkit-box-shadow, -webkit-transform; -moz-transition-property: background-color, border-color, color, -moz-box-shadow, -moz-transform; -ms-transition-property: background-color, border-color, color, -ms-box-shadow, -ms-transform; -o-transition-property: background-color, border-color, color, -o-box-shadow, -o-transform; transition-property: background-color, border-color, color, box-shadow, transform; } .d-radio .icon:before { content: ""; display: block; position: absolute; margin: 2px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; width: 8px; height: 8px; background-color: #2a394f; opacity: 0; filter: alpha(opacity=0); -webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-property: background-color, border-color, color, -webkit-box-shadow, -webkit-transform; -moz-transition-property: background-color, border-color, color, -moz-box-shadow, -moz-transform; -ms-transition-property: background-color, border-color, color, -ms-box-shadow, -ms-transform; -o-transition-property: background-color, border-color, color, -o-box-shadow, -o-transform; transition-property: background-color, border-color, color, box-shadow, transform; -webkit-transition-property: opacity; -moz-transition-property: opacity; -ms-transition-property: opacity; -o-transition-property: opacity; transition-property: opacity; } .d-radio .icon.checked:before { opacity: 1; filter: alpha(opacity=100); } .d-radio .text { color: #333333; } .d-radio:hover:before, .d-radio-focused:before { background-color: #ffffff; } .d-radio:hover .icon, .d-radio-focused .icon { border-color: #f5f5f5; } .d-radio:hover .icon:before, .d-radio-focused .icon:before { background-color: #2a394f; } /* data-message */ .d-data-message .d-message { height: 30px; line-height: 30px; } .d-data-message .d-message .icon { float: left; width: 24px; height: 30px; background-repeat: no-repeat; background-position: center center; } .d-data-message .d-message .icon-info { line-height: 30px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #1c84c6; } .d-data-message .d-message .icon-info:before { content: "\e607"; } .d-data-message .d-message .icon-info:before { content: "\e607"; } .d-data-message .d-message .icon-ok { line-height: 30px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #1ab394; } .d-data-message .d-message .icon-ok:before { content: "\e604"; } .d-data-message .d-message .icon-ok:before { content: "\e604"; } .d-data-message .d-message .icon-warn { line-height: 30px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #f8ac59; } .d-data-message .d-message .icon-warn:before { content: "\e609"; } .d-data-message .d-message .icon-warn:before { content: "\e609"; } .d-data-message .d-message .icon-error { line-height: 30px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #ed5565; } .d-data-message .d-message .icon-error:before { content: "\e606"; } .d-data-message .d-message .icon-error:before { content: "\e606"; } .d-data-message .d-message .icon-validating { padding-left: 7px; padding-top: 7px; } .d-data-message .d-message .icon-validating > .spinner { width: 16px; height: 16px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #f5f5f5; border-left-color: #f5f5f5; border-radius: 50%; -webkit-animation: loading-icon 400ms linear infinite; -moz-animation: loading-icon 400ms linear infinite; -ms-animation: loading-icon 400ms linear infinite; -o-animation: loading-icon 400ms linear infinite; } .d-data-message .d-message .icon-validating > .spinner { width: 16px; height: 16px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #f5f5f5; border-left-color: #f5f5f5; border-radius: 50%; -webkit-animation: loading-icon 400ms linear infinite; -moz-animation: loading-icon 400ms linear infinite; -ms-animation: loading-icon 400ms linear infinite; -o-animation: loading-icon 400ms linear infinite; } /* form-element */ .d-form-element { position: relative; overflow: hidden; } .d-form-element .form-label { height: 32px; line-height: 32px; padding-right: 12px; } .d-form-element .form-label-left { float: left; height: 100%; } .d-form-element .form-label-align-left { text-align: left; } .d-form-element .form-label-align-center { text-align: center; } .d-form-element .form-label-align-right { text-align: right; } .d-form-element .form-label-required { position: relative; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .d-form-element .form-label-required:before { content: "\e683"; font-family: entypo; } .d-form-element .form-label-required:before { content: "\e683"; font-family: entypo; } .d-form-element .form-label-required:before { position: absolute; right: 0; color: #f8ac59; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); } .d-form-element .form-content { display: block; zoom: 1; } .d-form-element .form-content-right { height: 100%; } .d-form-element .form-content .form-editor { height: 100%; overflow: hidden; } .d-form-element .form-content .form-editor-left { height: 100%; } .d-form-element .form-hint-right { position: absolute; top: 0; right: 0; height: 100%; } .d-form-element .form-hint-bottom { width: 100%; } /*** Spectrum Colorpicker v1.2.0 https://github.com/bgrins/spectrum Author: Brian Grinstead License: MIT ***/ .sp-container { display: inline-block; *display: inline; *zoom: 1; /* https://github.com/bgrins/spectrum/issues/40 */ z-index: 1050; overflow: hidden; } .sp-container .sp-flat { position: relative; } /* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */ .sp-top { position: relative; width: 100%; display: inline-block; margin-bottom: 3px; } .sp-top-inner { position: absolute; top: 0; left: 0; bottom: 0; right: 0; } .sp-color { position: absolute; top: 0; left: 0; bottom: 0; right: 20%; } .sp-hue { position: absolute; top: 0; right: 0; bottom: 0; left: 84%; height: 100%; } .sp-clear-enabled .sp-hue { top: 33px; height: 77.5%; } .sp-fill { padding-top: 80%; } .sp-sat, .sp-val { position: absolute; top: 0; left: 0; right: 0; bottom: 0; } .sp-alpha { display: none; position: absolute; bottom: -14px; right: 0; left: 0; height: 7px; } .sp-alpha-inner { border: solid 1px #1c84c6; } .sp-alpha-handle { position: absolute; top: -4px; bottom: -4px; width: 6px; left: 50%; cursor: pointer; border: 1px solid #dddddd; background: white; opacity: .8; } .sp-alpha-enabled .sp-top { margin-bottom: 18px; } .sp-alpha-enabled .sp-alpha { display: block; } .sp-clear { display: none; } .sp-clear.sp-clear-display { background-position: center; } .sp-clear-enabled .sp-clear { display: block; position: absolute; top: 0px; right: 0; bottom: 0; left: 84%; height: 28px; } /* Don't allow text selection */ .sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .sp-container.sp-input-disabled .sp-input-container, .sp-container.sp-buttons-disabled .sp-button-container, .sp-palette-only .sp-picker-container, .sp-palette-disabled .sp-palette-container, .sp-initial-disabled .sp-initial { display: none; } /* Gradients for hue, saturation and value instead of images. Not pretty... but it works */ .sp-sat { background-image: -webkit-linear-gradient(left, #ffffff, rgba(204, 154, 129, 0)); background-image: -moz-linear-gradient(left, #ffffff, rgba(204, 154, 129, 0)); background-image: -moz-linear-gradient(to right, #ffffff, rgba(204, 154, 129, 0)); background-image: -o-linear-gradient(to right, #ffffff, rgba(204, 154, 129, 0)); background-image: linear-gradient(to right, #ffffff, rgba(204, 154, 129, 0)); background-repeat: repeat; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)"; filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81'); } .sp-val { background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0)); background-image: -moz-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0)); background-image: -moz-linear-gradient(to top, #000000, rgba(204, 154, 129, 0)); background-image: -o-linear-gradient(to top, #000000, rgba(204, 154, 129, 0)); background-image: linear-gradient(to top, #000000, rgba(204, 154, 129, 0)); background-repeat: repeat; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)"; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000'); } .sp-hue { background-image: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%); background-image: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%); background-image: -moz-linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%); background-image: -o-linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%); background-image: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%); background-repeat: repeat; } /* IE filters do not support multiple color stops. Generate 6 divs, line them up, and do two color gradients for each. Yes, really. */ .sp-1 { height: 17%; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00'); } .sp-2 { height: 16%; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00'); } .sp-3 { height: 17%; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff'); } .sp-4 { height: 17%; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff'); } .sp-5 { height: 16%; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff'); } .sp-6 { height: 17%; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000'); } .sp-hidden { display: none !important; } /* Clearfix hack */ .sp-cf:before, .sp-cf:after { content: ""; display: table; } .sp-cf:after { clear: both; } .sp-cf { *zoom: 1; } /* Mobile devices, make hue slider bigger so it is easier to slide */ @media (max-device-width: 480px) { .sp-color { right: 40%; } .sp-hue { left: 63%; } .sp-fill { padding-top: 60%; } } .sp-dragger { border-radius: 5px; height: 5px; width: 5px; border: 1px solid #fff; background: #000; cursor: pointer; position: absolute; top: 0; left: 0; } .sp-slider { position: absolute; top: 0; cursor: pointer; height: 3px; left: -1px; right: -1px; border: 1px solid #dddddd; background: #fff; opacity: .8; } /* Theme authors: Here are the basic themeable display options (colors, fonts, global widths). See http://bgrins.github.io/spectrum/themes/ for instructions. */ .sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .d-color-editor { -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; } /* d-color-picker */ .sp-container { position: relative; background-color: #f7f7f7; padding: 0; /* Input */ /* Palettes */ /* Initial */ /* Buttons */ } .sp-container .sp-color, .sp-container .sp-hue, .sp-container .sp-clear { border: solid 1px #1c84c6; } .sp-container .sp-input-container { float: right; width: 100px; margin-bottom: 4px; } .sp-container .sp-initial-disabled .sp-input-container { width: 100%; } .sp-container .sp-input { height: 32px; background-color: #ffffff; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; border: 1px solid #bfbfbf; color: #333333; padding: 4px 5px; margin: 0; width: 100%; } .sp-container .sp-input:hover .sp-input:focus { background-color: #ffffff; border-color: #dddddd; } .sp-container .sp-input.sp-validation-error { background-color: #ffe1e2; border-color: #ff393f; } .sp-container .sp-picker-container, .sp-container .sp-palette-container { float: left; position: relative; padding: 10px; padding-bottom: 300px; margin-bottom: -290px; } .sp-container .sp-picker-container { width: 172px; border-left: solid 1px #ffffff; } .sp-container .sp-palette-container { border-right: solid 1px #1c84c6; } .sp-container .sp-palette .sp-thumb-el { display: block; position: relative; float: left; width: 24px; height: 15px; margin: 3px; cursor: pointer; border: solid 2px transparent; } .sp-container .sp-palette .sp-thumb-el:hover, .sp-container .sp-palette .sp-thumb-el.sp-thumb-active { border-color: #dddddd; } .sp-container .sp-thumb-el { position: relative; } .sp-container .sp-initial { float: left; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; border: solid 1px #1c84c6; } .sp-container .sp-initial span { width: 30px; height: 25px; border: none; display: block; float: left; margin: 0; } .sp-container .sp-initial .sp-clear-display { background-position: center; } .sp-container .sp-button-container { float: right; padding-top: 2px; } .sp-container .sp-button-container .button-cancel { margin-right: 2px; } .sp-container .sp-palette { *width: 500px; max-width: 500px; } .sp-container .sp-palette .sp-thumb-el { width: 16px; height: 16px; margin: 2px 1px; border: solid 1px #1c84c6; } .sp-container .sp-palette span:hover, .sp-container .sp-palette span.sp-thumb-active { border-color: #dddddd; } .sp-container .sp-palette .sp-thumb-inner { background-position: 50% 50%; background-repeat: no-repeat; } .sp-container .sp-clear-display { background-repeat: no-repeat; background-position: center; background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==); } .sp-container .sp-alpha, .sp-container .sp-thumb-el { position: relative; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==); } .sp-container .sp-alpha-inner, .sp-container .sp-thumb-inner { display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; } /* Replacer (the little preview div that shows up instead of the ) */ .sp-replacer { margin: 0; overflow: hidden; cursor: pointer; padding: 2px; display: inline-block; *zoom: 1; *display: inline; background-color: #ffffff; border: solid 1px #bfbfbf; color: #333333; vertical-align: middle; } .sp-replacer:hover, .sp-replacer.sp-active { background-color: #ffffff; border-color: #dddddd; } .sp-replacer.sp-disabled { cursor: default; border-color: silver; color: silver; } .sp-replacer .sp-dd { padding: 0; float: left; font-size: 0; width: 16px; height: 24px; line-height: 24px; text-align: center; font-size: 14px; font-family: entypo; font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #333333; } .sp-replacer .sp-dd:before { content: "\e6a4"; } .sp-replacer .sp-dd:before { content: "\e6a4"; } .sp-replacer .sp-preview { box-sizing: border-box; width: 30px; height: 24px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; border: solid 1px #1c84c6; margin-right: 2px; margin-top: 1px; float: left; position: relative; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==); } .sp-replacer .sp-preview-inner { display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; }