Changeset 20777
- Timestamp:
- 05/12/2012 12:48:20 AM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize-control.php
r20761 r20777 173 173 ?> 174 174 <label> 175 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>176 175 <input type="checkbox" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); checked( $this->value() ); ?> /> 176 <?php echo esc_html( $this->label ); ?> 177 177 </label> 178 178 <?php -
trunk/wp-includes/css/customize-controls-rtl.dev.css
r20674 r20777 22 22 margin-right: 0; 23 23 margin-left: 10px; 24 }25 26 .customize-control-content {27 float: left;28 }29 30 .customize-control-text input,31 .customize-control-select select,32 .customize-control-checkbox input,33 .customize-control-color .color-picker,34 .customize-control-upload div {35 float: right;36 clear: left;37 24 } 38 25 -
trunk/wp-includes/css/customize-controls.dev.css
r20761 r20777 35 35 } 36 36 37 .control-section {38 border: 0;39 }40 41 37 .control-section .customize-section-title { 42 padding: 8px 20px; 43 border-top: 1px solid #fff; 44 border-bottom: 1px solid #dfdfdf; 45 font-size: 13px; 38 padding: 10px 20px; 39 font-size: 15px; 40 font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; 41 font-weight: normal; 42 text-shadow: 0 1px 0 #fff; 43 44 background-color: #f5f5f5; 45 background-image: -webkit-linear-gradient( top, #f5f5f5, #eee ); 46 background-image: -moz-linear-gradient( top, #f5f5f5, #eee ); 47 background-image: -ms-linear-gradient( top, #f5f5f5, #eee ); 48 background-image: -o-linear-gradient( top, #f5f5f5, #eee ); 49 background-image: linear-gradient( top, #f5f5f5, #eee ); 46 50 } 47 51 48 52 .control-section .customize-section-title:hover { 49 background-color: #efefef;50 background- image: -webkit-linear-gradient( top, #f5f5f5, #eee );51 background-image: - moz-linear-gradient( top, #f5f5f5, #eee);52 background-image: -ms-linear-gradient( top, #f5f5f5, #eee);53 background-image: -o-linear-gradient( top, #f5f5f5, #eee);54 background-image: linear-gradient( top, #f5f5f5, #eee);55 b ox-shadow: inset -11px 0 8px -8px rgba( 0, 0, 0, 0.1 );53 color: #222; 54 background-color: #f9f9f9; 55 background-image: -webkit-linear-gradient( top, #f9f9f9, #f1f1f1 ); 56 background-image: -moz-linear-gradient( top, #f9f9f9, #f1f1f1 ); 57 background-image: -ms-linear-gradient( top, #f9f9f9, #f1f1f1 ); 58 background-image: -o-linear-gradient( top, #f9f9f9, #f1f1f1 ); 59 background-image: linear-gradient( top, #f9f9f9, #f1f1f1 ); 56 60 } 57 61 58 62 .control-section .customize-section-content { 59 border-top: 1px solid #fff; 63 64 } 65 .control-section.open .customize-section-title { 66 border-bottom: 1px solid #e5e5e5; 67 } 68 .control-section.open .customize-section-title:hover { 60 69 border-bottom: 1px solid #dfdfdf; 61 70 } … … 69 78 width: 0; 70 79 height: 0; 71 border-color: #ccc transparent transparent transparent;80 border-color: #ccc transparent; 72 81 border-style: solid; 73 border-width: 6px ;82 border-width: 6px 6px 0; 74 83 position: absolute; 75 84 top: 25px; … … 79 88 80 89 .customize-section.open .customize-section-title:after { 81 margin-top: -7px; 82 border-color: transparent transparent #ccc transparent; 90 margin-top: -1px; 91 border-width: 0 6px 6px; 92 } 93 94 .customize-section-title:hover:after { 95 border-color: #aaa transparent; 83 96 } 84 97 85 98 .control-section .customize-section-title:after { 86 top: 1 3px;99 top: 15px; 87 100 } 88 101 … … 141 154 142 155 .customize-control { 156 width: 100%; 143 157 float: left; 144 158 clear: both; 145 margin-bottom: 4px;159 margin-bottom: 8px; 146 160 } 147 161 148 162 .customize-control-title { 149 clear: left; 150 float: left; 151 min-width: 110px; 152 margin-right: 10px; 163 display: block; 164 line-height: 24px; 165 font-weight: bold; 166 } 167 168 .customize-control select, 169 .customize-control input[type="text"], 170 .customize-control input[type="radio"], 171 .customize-control input[type="checkbox"], 172 .customize-control-color .color-picker, 173 .customize-control-checkbox label, 174 .customize-control-upload div { 153 175 line-height: 28px; 154 176 } 155 177 156 .customize-control-content { 157 float: right; 158 width: 140px; 159 } 160 161 .customize-control-text input, 162 .customize-control-select select, 163 .customize-control-checkbox input, 164 .customize-control-color .color-picker, 165 .customize-control-upload div { 166 float: left; 167 clear: right; 168 line-height: 28px; 169 } 170 171 .customize-control-text input { 172 float: right; 173 width: 138px; 178 .customize-control input[type="text"] { 179 width: 98%; 174 180 line-height: 18px; 175 margin: 1px; 176 } 177 178 .customize-control-select select { 179 width: 138px; 181 margin: 0; 182 } 183 184 .customize-control select { 185 min-width: 50%; 186 max-width: 100%; 180 187 height: 28px; 181 188 line-height: 28px; … … 183 190 184 191 .customize-control-checkbox input { 185 margin- top: 8px;192 margin-right: 5px; 186 193 } 187 194 … … 213 220 * Style for custom settings 214 221 */ 215 .customize-section select {216 max-width: 150px;217 }218 222 219 223 /* … … 357 361 358 362 .customize-control-color .farbtastic-placeholder { 359 width: 235px;360 margin: 5px 0 10px 25px;363 width: 100%; 364 margin: 5px 0 10px; 361 365 float: left; 362 366 }
Note: See TracChangeset
for help on using the changeset viewer.