| 1 |
/** |
| 2 |
* Alpha Color Picker CSS |
| 3 |
*/ |
| 4 |
|
| 5 |
.customize-control-alpha-color .wp-picker-container .iris-picker { |
| 6 |
border-bottom:none; |
| 7 |
} |
| 8 |
|
| 9 |
.customize-control-alpha-color .wp-picker-container { |
| 10 |
max-width: 257px; |
| 11 |
} |
| 12 |
|
| 13 |
.customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap { |
| 14 |
width: 100%; |
| 15 |
} |
| 16 |
|
| 17 |
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.betterdocs-alpha-color-control { |
| 18 |
float: left; |
| 19 |
width: 195px; |
| 20 |
} |
| 21 |
|
| 22 |
.customize-control-alpha-color .wp-picker-input-wrap .button { |
| 23 |
margin-left: 0; |
| 24 |
float: right; |
| 25 |
} |
| 26 |
|
| 27 |
.wp-picker-container .wp-picker-open ~ .wp-picker-holder .alpha-color-picker-container { |
| 28 |
display: block; |
| 29 |
} |
| 30 |
|
| 31 |
.alpha-color-picker-container { |
| 32 |
border: 1px solid #dfdfdf; |
| 33 |
border-top: none; |
| 34 |
display: none; |
| 35 |
background: #FFF; |
| 36 |
padding: 0 11px 10px; |
| 37 |
position: relative; |
| 38 |
} |
| 39 |
|
| 40 |
.alpha-color-picker-container .ui-widget-content, |
| 41 |
.alpha-color-picker-container .ui-widget-header, |
| 42 |
.alpha-color-picker-wrap .ui-state-focus { |
| 43 |
background: transparent; |
| 44 |
border: none; |
| 45 |
} |
| 46 |
|
| 47 |
.alpha-color-picker-wrap a.iris-square-value:focus { |
| 48 |
-webkit-box-shadow: none; |
| 49 |
box-shadow: none; |
| 50 |
} |
| 51 |
|
| 52 |
.alpha-color-picker-container .ui-slider { |
| 53 |
position: relative; |
| 54 |
z-index: 1; |
| 55 |
height: 24px; |
| 56 |
text-align: center; |
| 57 |
margin: 0 auto; |
| 58 |
width: 88%; |
| 59 |
width: calc( 100% - 28px ); |
| 60 |
} |
| 61 |
|
| 62 |
.alpha-color-picker-container .ui-slider-handle, |
| 63 |
.alpha-color-picker-container .ui-widget-content .ui-state-default { |
| 64 |
color: #777; |
| 65 |
background-color: #FFF; |
| 66 |
text-shadow: 0 1px 0 #FFF; |
| 67 |
text-decoration: none; |
| 68 |
position: absolute; |
| 69 |
z-index: 2; |
| 70 |
box-shadow: 0 1px 2px rgba(0,0,0,0.2); |
| 71 |
border: 1px solid #aaa; |
| 72 |
-webkit-border-radius: 4px; |
| 73 |
-moz-border-radius: 4px; |
| 74 |
border-radius: 4px; |
| 75 |
margin-top: -2px; |
| 76 |
top: 0; |
| 77 |
height: 26px; |
| 78 |
width: 26px; |
| 79 |
cursor: ew-resize; |
| 80 |
font-size: 0; |
| 81 |
padding: 0; |
| 82 |
line-height: 27px; |
| 83 |
margin-left: -14px; |
| 84 |
} |
| 85 |
|
| 86 |
.alpha-color-picker-container .ui-slider-handle.show-opacity { |
| 87 |
font-size: 12px; |
| 88 |
} |
| 89 |
|
| 90 |
.alpha-color-picker-container .click-zone { |
| 91 |
width: 14px; |
| 92 |
height: 24px; |
| 93 |
display: block; |
| 94 |
position: absolute; |
| 95 |
left: 10px; |
| 96 |
} |
| 97 |
|
| 98 |
.alpha-color-picker-container .max-click-zone { |
| 99 |
right: 10px; |
| 100 |
left: auto; |
| 101 |
} |
| 102 |
|
| 103 |
.alpha-color-picker-container .transparency { |
| 104 |
height: 24px; |
| 105 |
width: 100%; |
| 106 |
background-color: #FFF; |
| 107 |
background-image: url(../../admin/images/customizer/transparency-grid.png); |
| 108 |
box-shadow: 0 0 5px rgba(0,0,0,0.4) inset; |
| 109 |
-webkit-border-radius: 3px; |
| 110 |
-moz-border-radius: 3px; |
| 111 |
border-radius: 3px; |
| 112 |
padding: 0; |
| 113 |
margin-top: -24px; |
| 114 |
} |
| 115 |
|
| 116 |
@media (max-width: 1755px) { |
| 117 |
.betterdocs-alpha-color-picker .iris-slider.iris-strip, .iris-strip.iris-slider.iris-alpha-slider { |
| 118 |
width: 24px !important; |
| 119 |
margin-left: 5px !important; |
| 120 |
} |
| 121 |
.betterdocs-alpha-color-picker .iris-picker .iris-square { |
| 122 |
margin-right: 5%; |
| 123 |
} |
| 124 |
} |
| 125 |
|
| 126 |
@media only screen and (max-width: 782px) { |
| 127 |
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.betterdocs-alpha-color-control { |
| 128 |
width: 184px; |
| 129 |
} |
| 130 |
} |
| 131 |
|
| 132 |
@media only screen and (max-width: 640px) { |
| 133 |
.customize-control-alpha-color .wp-picker-input-wrap input[type="text"].wp-color-picker.betterdocs-alpha-color-control { |
| 134 |
width: 172px; |
| 135 |
height: 33px; |
| 136 |
} |
| 137 |
} |
| 138 |
|