- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/buttons.css
r27494 r35697 68 68 .wp-core-ui input[type="button"]::-moz-focus-inner, 69 69 .wp-core-ui input[type="submit"]::-moz-focus-inner { 70 border-width: 1px 0; 71 border-style: solid none; 72 border-color: transparent; 70 border-width: 0; 71 border-style: none; 73 72 padding: 0; 74 73 } … … 97 96 } 98 97 99 .wp-core-ui .button:active { 98 .wp-core-ui .button:active, 99 .wp-core-ui .button:focus { 100 100 outline: none; 101 101 } … … 128 128 border-color: #cccccc; 129 129 background: #f7f7f7; 130 -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08);131 box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08);130 -webkit-box-shadow: 0 1px 0 #cccccc; 131 box-shadow: 0 1px 0 #cccccc; 132 132 vertical-align: top; 133 133 } … … 145 145 background: #fafafa; 146 146 border-color: #999; 147 color: #2 22;147 color: #23282d; 148 148 } 149 149 150 150 .wp-core-ui .button.focus, 151 151 .wp-core-ui .button:focus, 152 .wp-core-ui .button-secondary:focus { 153 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2); 154 box-shadow: 1px 1px 1px rgba(0,0,0,.2); 152 .wp-core-ui .button-secondary:focus, 153 .wp-core-ui .button-link:focus { 154 border-color: #5b9dd9; 155 -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 156 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); 155 157 } 156 158 157 159 .wp-core-ui .button.active, 158 160 .wp-core-ui .button.active:hover, 159 .wp-core-ui .button.active:focus,160 161 .wp-core-ui .button:active, 161 162 .wp-core-ui .button-secondary:active { 162 163 background: #eee; 163 164 border-color: #999; 164 color: #333;165 165 -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); 166 166 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); 167 -webkit-transform: translateY(1px); 168 -ms-transform: translateY(1px); 169 transform: translateY(1px); 170 } 171 172 .wp-core-ui .button.active:focus { 173 border-color: #5b9dd9; 174 -webkit-box-shadow: 175 inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), 176 0 0 3px rgba( 0, 115, 170, .8 ); 177 box-shadow: 178 inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), 179 0 0 3px rgba( 0, 115, 170, .8 ); 167 180 } 168 181 … … 174 187 .wp-core-ui .button-secondary.disabled, 175 188 .wp-core-ui .button-disabled { 176 color: #a aa !important;189 color: #a0a5aa !important; 177 190 border-color: #ddd !important; 178 191 background: #f7f7f7 !important; … … 181 194 text-shadow: 0 1px 0 #fff !important; 182 195 cursor: default; 196 -webkit-transform: none !important; 197 -ms-transform: none !important; 198 transform: none !important; 199 } 200 201 /* Buttons that look like links, for a cross of good semantics with the visual */ 202 .wp-core-ui .button-link { 203 margin: 0; 204 padding: 0; 205 -webkit-box-shadow: none; 206 box-shadow: none; 207 border: 0; 208 -webkit-border-radius: 0; 209 border-radius: 0; 210 background: none; 211 outline: none; 212 cursor: pointer; 213 } 214 215 .wp-core-ui .button-link:focus { 216 outline: #5b9dd9 solid 1px; 183 217 } 184 218 … … 188 222 189 223 .wp-core-ui .button-primary { 190 background: # 2ea2cc;191 border-color: #007 4a2;192 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5), 0 1px 0 rgba(0,0,0,.15);193 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5), 0 1px 0 rgba(0,0,0,.15);224 background: #0085ba; 225 border-color: #0073aa #006799 #006799; 226 -webkit-box-shadow: 0 1px 0 #006799; 227 box-shadow: 0 1px 0 #006799; 194 228 color: #fff; 195 229 text-decoration: none; 230 text-shadow: 0 -1px 1px #006799, 231 1px 0 1px #006799, 232 0 1px 1px #006799, 233 -1px 0 1px #006799; 196 234 } 197 235 … … 200 238 .wp-core-ui .button-primary.focus, 201 239 .wp-core-ui .button-primary:focus { 202 background: #1e8cbe; 203 border-color: #0074a2; 204 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); 205 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); 240 background: #008ec2; 241 border-color: #006799; 206 242 color: #fff; 207 243 } … … 209 245 .wp-core-ui .button-primary.focus, 210 246 .wp-core-ui .button-primary:focus { 211 border-color: #0e3950; 212 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4); 213 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4); 247 -webkit-box-shadow: 0 1px 0 #0073aa, 248 0 0 2px 1px #33b3db; 249 box-shadow: 0 1px 0 #0073aa, 250 0 0 2px 1px #33b3db; 214 251 } 215 252 … … 218 255 .wp-core-ui .button-primary.active:focus, 219 256 .wp-core-ui .button-primary:active { 220 background: #1b7aa6; 221 border-color: #005684; 222 color: rgba(255,255,255,0.95); 223 -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); 224 box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); 257 background: #0073aa; 258 border-color: #006799; 259 -webkit-box-shadow: inset 0 2px 0 #006799; 260 box-shadow: inset 0 2px 0 #006799; 225 261 vertical-align: top; 226 262 } … … 230 266 .wp-core-ui .button-primary-disabled, 231 267 .wp-core-ui .button-primary.disabled { 232 color: # 94cde7!important;233 background: # 298cba!important;234 border-color: # 1b607f!important;268 color: #66c6e4 !important; 269 background: #008ec2 !important; 270 border-color: #007cb2 !important; 235 271 -webkit-box-shadow: none !important; 236 272 box-shadow: none !important; 237 text-shadow: 0 -1px 0 rgba( 0,0,0,0.1) !important;273 text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.1 ) !important; 238 274 cursor: default; 275 } 276 277 .wp-core-ui .button.button-primary.button-hero { 278 -webkit-box-shadow: 0 2px 0 #006799; 279 box-shadow: 0 2px 0 #006799; 280 } 281 282 .wp-core-ui .button.button-primary.button-hero.active, 283 .wp-core-ui .button.button-primary.button-hero.active:hover, 284 .wp-core-ui .button.button-primary.button-hero.active:focus, 285 .wp-core-ui .button.button-primary.button-hero:active { 286 -webkit-box-shadow: inset 0 3px 0 #006799; 287 box-shadow: inset 0 3px 0 #006799; 239 288 } 240 289 … … 277 326 } 278 327 328 .wp-core-ui .button-group > .button:focus { 329 position: relative; 330 z-index: 1; 331 } 332 279 333 /* ---------------------------------------------------------------------------- 280 334 5.0 - Responsive Button Styles … … 289 343 input#save-post, 290 344 a.preview { 291 padding: 10px 14px;292 line-height: 1;345 padding: 6px 14px; 346 line-height: normal; 293 347 font-size: 14px; 294 348 vertical-align: middle; … … 304 358 } 305 359 360 .media-frame.mode-grid .bulk-select .button { 361 margin-bottom: 0; 362 } 363 306 364 /* Publish Metabox Options */ 307 365 .wp-core-ui .save-post-status.button { … … 312 370 /* Reset responsive styles in Press This, Customizer */ 313 371 314 .wp-core-ui.wp-customizer .button, 315 .press-this.wp-core-ui .button, 316 .press-this input#publish, 317 .press-this input#save-post, 318 .press-this a.preview { 372 .wp-core-ui.wp-customizer .button { 319 373 padding: 0 10px 1px; 320 374 font-size: 13px;
Note: See TracChangeset
for help on using the changeset viewer.