mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-01 16:29:31 +01:00
105 lines
2.7 KiB
CSS
105 lines
2.7 KiB
CSS
|
.wp-color-picker {
|
||
|
width: 80px;
|
||
|
}
|
||
|
.wp-picker-container .hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
.wp-color-result {
|
||
|
background-color: #f9f9f9;
|
||
|
border: 1px solid #c4c4c4;
|
||
|
-moz-border-radius: 4px;
|
||
|
-webkit-border-radius: 4px;
|
||
|
border-radius: 4px;
|
||
|
box-shadow: inset 1px 1px 0 rgba(0,0,0,.05);
|
||
|
-moz-box-shadow: inset 1px 1px 0 rgba(0,0,0,.05);
|
||
|
-ms-box-shadow: inset 1px 1px 0 rgba(0,0,0,.05);
|
||
|
-o-box-shadow: inset 1px 1px 0 rgba(0,0,0,.05);
|
||
|
-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.05);
|
||
|
cursor: pointer;
|
||
|
display: inline-block;
|
||
|
height: 21px;
|
||
|
margin: 0 6px 1px 0px;
|
||
|
position: relative;
|
||
|
top: 1px;
|
||
|
user-select: none;
|
||
|
-moz-user-select: none;
|
||
|
-ms-user-select: none;
|
||
|
-webkit-user-select: none;
|
||
|
vertical-align: bottom;
|
||
|
display: inline-block;
|
||
|
padding-left: 30px;
|
||
|
}
|
||
|
.wp-color-result::after {
|
||
|
background-color: #f9f9f9;
|
||
|
background-image: -moz-linear-gradient(top, #fff 0%, #eee 100%);
|
||
|
background-image: -webkit-linear-gradient(top, #fff 0%, #eee 100%);
|
||
|
background-image: -ms-linear-gradient(top, #fff 0%, #eee 100%);
|
||
|
background-image: -o-linear-gradient(top, #fff 0%, #eee 100%);
|
||
|
background-image: linear-gradient(top, #fff 0%, #eee 100%);
|
||
|
-moz-border-radius-bottomright: 3px;
|
||
|
-moz-border-radius-topright: 3px;
|
||
|
-webkit-border-radius: 0 3px 3px 0;
|
||
|
border-radius: 0 3px 3px 0;
|
||
|
border-bottom-right-radius: 3px;
|
||
|
border-left: 1px solid #c4c4c4;
|
||
|
content: attr( title );
|
||
|
color: #555;
|
||
|
display: block;
|
||
|
font-size: 11px;
|
||
|
line-height: 21px;
|
||
|
padding: 0 6px;
|
||
|
position: relative;
|
||
|
right: 0px;
|
||
|
text-align: center;
|
||
|
top: 0px;
|
||
|
}
|
||
|
.wp-color-result:hover {
|
||
|
border-color: #aaa;
|
||
|
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||
|
-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||
|
-ms-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||
|
-o-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||
|
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||
|
}
|
||
|
.wp-color-result:hover:after {
|
||
|
color: #222;
|
||
|
border-color: #aaa;
|
||
|
border-left: 1px solid #999;
|
||
|
}
|
||
|
.wp-color-result.wp-picker-open {
|
||
|
top: 0;
|
||
|
/*width: 5px;*/
|
||
|
}
|
||
|
.wp-color-result.wp-picker-open:after {
|
||
|
content: attr( data-current );
|
||
|
}
|
||
|
.wp-picker-container, .wp-picker-container:active {
|
||
|
display: inline-block;
|
||
|
outline: 0;
|
||
|
}
|
||
|
.wp-color-result:focus {
|
||
|
border-color: #888;
|
||
|
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||
|
-ms-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||
|
-o-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||
|
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||
|
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||
|
}
|
||
|
.wp-color-result:focus:after {
|
||
|
border-color: #888;
|
||
|
}
|
||
|
.wp-picker-container .button {
|
||
|
margin-left: 6px;
|
||
|
}
|
||
|
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
||
|
background-color: #555
|
||
|
}
|
||
|
.wp-picker-container .iris-picker {
|
||
|
border-color: #dfdfdf;
|
||
|
margin-top: 6px;
|
||
|
}
|
||
|
input[type="text"].iris-error {
|
||
|
background-color: #ffebe8;
|
||
|
border-color: #c00;
|
||
|
color: #000;
|
||
|
}
|