Fossil SCM
Ardoise skin: consolidate the various flavors of buttons. Blitz skin: remove a duplicted selector.
Commit
3d9a5cce68cc902296cabab7fe2fa0a2840fb157864365db29b4214773a0294d
Parent
ddb40c531647b8b…
2 files changed
+17
-41
+1
-2
+17
-41
| --- skins/ardoise/css.txt | ||
| +++ skins/ardoise/css.txt | ||
| @@ -154,24 +154,19 @@ | ||
| 154 | 154 | button, |
| 155 | 155 | select { |
| 156 | 156 | text-transform: none |
| 157 | 157 | } |
| 158 | 158 | button, |
| 159 | -html input[type=button], | |
| 159 | +input[type=button], | |
| 160 | 160 | input[type=reset], |
| 161 | -input[type=submit] { | |
| 161 | +input[type=submit]{ | |
| 162 | 162 | cursor: pointer |
| 163 | 163 | } |
| 164 | -button[disabled], | |
| 165 | -html input[disabled] { | |
| 164 | +button:disabled, | |
| 165 | +input:disabled { | |
| 166 | 166 | cursor: default |
| 167 | 167 | } |
| 168 | -button::-moz-focus-inner, | |
| 169 | -input::-moz-focus-inner { | |
| 170 | - border: 0; | |
| 171 | - padding: 0 | |
| 172 | -} | |
| 173 | 168 | input { |
| 174 | 169 | line-height: normal |
| 175 | 170 | } |
| 176 | 171 | input[type=checkbox], |
| 177 | 172 | input[type=radio] { |
| @@ -307,11 +302,11 @@ | ||
| 307 | 302 | text-decoration: none; |
| 308 | 303 | text-align: center; |
| 309 | 304 | white-space: nowrap; |
| 310 | 305 | cursor: pointer |
| 311 | 306 | } |
| 312 | -input[type=submit]:disabled { | |
| 307 | +input:disabled { | |
| 313 | 308 | color: rgb(70,70,70); |
| 314 | 309 | background-color: rgb(153,153,153); |
| 315 | 310 | } |
| 316 | 311 | |
| 317 | 312 | @media (min-width:550px) { |
| @@ -416,30 +411,20 @@ | ||
| 416 | 411 | .offset-by-eleven.columns { |
| 417 | 412 | margin-left: 95.33333% |
| 418 | 413 | } |
| 419 | 414 | } |
| 420 | 415 | .button, |
| 421 | -button { | |
| 422 | - color: #aaa; | |
| 423 | - background-color: #444; | |
| 424 | - border-radius: 5px; | |
| 425 | - border: 0 | |
| 426 | -} | |
| 416 | +button, | |
| 427 | 417 | input[type=button], |
| 428 | 418 | input[type=reset], |
| 429 | 419 | input[type=submit] { |
| 430 | 420 | color: #ddd; |
| 431 | 421 | background-color: #446979; |
| 432 | 422 | border: 0; |
| 433 | 423 | border-radius: 5px |
| 434 | 424 | } |
| 435 | -.button:hover, | |
| 436 | -button:hover { | |
| 437 | - color: #444; | |
| 438 | - background-color: #aaa; | |
| 439 | - outline: 0 | |
| 440 | -} | |
| 425 | +button:hover, | |
| 441 | 426 | input[type=button]:hover, |
| 442 | 427 | input[type=reset]:hover, |
| 443 | 428 | input[type=submit]:hover { |
| 444 | 429 | color: #446979; |
| 445 | 430 | background-color: #ddd; |
| @@ -452,29 +437,20 @@ | ||
| 452 | 437 | input[type=submit]:focus { |
| 453 | 438 | color: #333; |
| 454 | 439 | border-color: #888; |
| 455 | 440 | outline: 0 |
| 456 | 441 | } |
| 457 | -.button.button-primary, | |
| 458 | -.button.button-primary:focus, | |
| 459 | -.button.button-primary:hover, | |
| 460 | -button.button-primary, | |
| 461 | -button.button-primary:focus, | |
| 462 | -button.button-primary:hover, | |
| 463 | -input[type=button].button-primary, | |
| 464 | -input[type=button].button-primary:focus, | |
| 465 | -input[type=button].button-primary:hover, | |
| 466 | -input[type=reset].button-primary, | |
| 467 | -input[type=reset].button-primary:focus, | |
| 468 | -input[type=reset].button-primary:hover, | |
| 469 | -input[type=submit].button-primary, | |
| 470 | -input[type=submit].button-primary:focus, | |
| 471 | -input[type=submit].button-primary:hover { | |
| 472 | - color: #303536; | |
| 473 | - background-color: #ff8000; | |
| 474 | - border-color: #ff8000 | |
| 475 | -} | |
| 442 | + | |
| 443 | +button:disabled, | |
| 444 | +input[type=button]:disabled, | |
| 445 | +input[type=reset]:disabled, | |
| 446 | +input[type=submit]:disabled{ | |
| 447 | + color: #ddd; | |
| 448 | + background-color: #7f7f7f; | |
| 449 | + opacity: 0.8; | |
| 450 | +} | |
| 451 | + | |
| 476 | 452 | input[type=email], |
| 477 | 453 | input[type=number], |
| 478 | 454 | input[type=password], |
| 479 | 455 | input[type=search], |
| 480 | 456 | input[type=tel], |
| 481 | 457 |
| --- skins/ardoise/css.txt | |
| +++ skins/ardoise/css.txt | |
| @@ -154,24 +154,19 @@ | |
| 154 | button, |
| 155 | select { |
| 156 | text-transform: none |
| 157 | } |
| 158 | button, |
| 159 | html input[type=button], |
| 160 | input[type=reset], |
| 161 | input[type=submit] { |
| 162 | cursor: pointer |
| 163 | } |
| 164 | button[disabled], |
| 165 | html input[disabled] { |
| 166 | cursor: default |
| 167 | } |
| 168 | button::-moz-focus-inner, |
| 169 | input::-moz-focus-inner { |
| 170 | border: 0; |
| 171 | padding: 0 |
| 172 | } |
| 173 | input { |
| 174 | line-height: normal |
| 175 | } |
| 176 | input[type=checkbox], |
| 177 | input[type=radio] { |
| @@ -307,11 +302,11 @@ | |
| 307 | text-decoration: none; |
| 308 | text-align: center; |
| 309 | white-space: nowrap; |
| 310 | cursor: pointer |
| 311 | } |
| 312 | input[type=submit]:disabled { |
| 313 | color: rgb(70,70,70); |
| 314 | background-color: rgb(153,153,153); |
| 315 | } |
| 316 | |
| 317 | @media (min-width:550px) { |
| @@ -416,30 +411,20 @@ | |
| 416 | .offset-by-eleven.columns { |
| 417 | margin-left: 95.33333% |
| 418 | } |
| 419 | } |
| 420 | .button, |
| 421 | button { |
| 422 | color: #aaa; |
| 423 | background-color: #444; |
| 424 | border-radius: 5px; |
| 425 | border: 0 |
| 426 | } |
| 427 | input[type=button], |
| 428 | input[type=reset], |
| 429 | input[type=submit] { |
| 430 | color: #ddd; |
| 431 | background-color: #446979; |
| 432 | border: 0; |
| 433 | border-radius: 5px |
| 434 | } |
| 435 | .button:hover, |
| 436 | button:hover { |
| 437 | color: #444; |
| 438 | background-color: #aaa; |
| 439 | outline: 0 |
| 440 | } |
| 441 | input[type=button]:hover, |
| 442 | input[type=reset]:hover, |
| 443 | input[type=submit]:hover { |
| 444 | color: #446979; |
| 445 | background-color: #ddd; |
| @@ -452,29 +437,20 @@ | |
| 452 | input[type=submit]:focus { |
| 453 | color: #333; |
| 454 | border-color: #888; |
| 455 | outline: 0 |
| 456 | } |
| 457 | .button.button-primary, |
| 458 | .button.button-primary:focus, |
| 459 | .button.button-primary:hover, |
| 460 | button.button-primary, |
| 461 | button.button-primary:focus, |
| 462 | button.button-primary:hover, |
| 463 | input[type=button].button-primary, |
| 464 | input[type=button].button-primary:focus, |
| 465 | input[type=button].button-primary:hover, |
| 466 | input[type=reset].button-primary, |
| 467 | input[type=reset].button-primary:focus, |
| 468 | input[type=reset].button-primary:hover, |
| 469 | input[type=submit].button-primary, |
| 470 | input[type=submit].button-primary:focus, |
| 471 | input[type=submit].button-primary:hover { |
| 472 | color: #303536; |
| 473 | background-color: #ff8000; |
| 474 | border-color: #ff8000 |
| 475 | } |
| 476 | input[type=email], |
| 477 | input[type=number], |
| 478 | input[type=password], |
| 479 | input[type=search], |
| 480 | input[type=tel], |
| 481 |
| --- skins/ardoise/css.txt | |
| +++ skins/ardoise/css.txt | |
| @@ -154,24 +154,19 @@ | |
| 154 | button, |
| 155 | select { |
| 156 | text-transform: none |
| 157 | } |
| 158 | button, |
| 159 | input[type=button], |
| 160 | input[type=reset], |
| 161 | input[type=submit]{ |
| 162 | cursor: pointer |
| 163 | } |
| 164 | button:disabled, |
| 165 | input:disabled { |
| 166 | cursor: default |
| 167 | } |
| 168 | input { |
| 169 | line-height: normal |
| 170 | } |
| 171 | input[type=checkbox], |
| 172 | input[type=radio] { |
| @@ -307,11 +302,11 @@ | |
| 302 | text-decoration: none; |
| 303 | text-align: center; |
| 304 | white-space: nowrap; |
| 305 | cursor: pointer |
| 306 | } |
| 307 | input:disabled { |
| 308 | color: rgb(70,70,70); |
| 309 | background-color: rgb(153,153,153); |
| 310 | } |
| 311 | |
| 312 | @media (min-width:550px) { |
| @@ -416,30 +411,20 @@ | |
| 411 | .offset-by-eleven.columns { |
| 412 | margin-left: 95.33333% |
| 413 | } |
| 414 | } |
| 415 | .button, |
| 416 | button, |
| 417 | input[type=button], |
| 418 | input[type=reset], |
| 419 | input[type=submit] { |
| 420 | color: #ddd; |
| 421 | background-color: #446979; |
| 422 | border: 0; |
| 423 | border-radius: 5px |
| 424 | } |
| 425 | button:hover, |
| 426 | input[type=button]:hover, |
| 427 | input[type=reset]:hover, |
| 428 | input[type=submit]:hover { |
| 429 | color: #446979; |
| 430 | background-color: #ddd; |
| @@ -452,29 +437,20 @@ | |
| 437 | input[type=submit]:focus { |
| 438 | color: #333; |
| 439 | border-color: #888; |
| 440 | outline: 0 |
| 441 | } |
| 442 | |
| 443 | button:disabled, |
| 444 | input[type=button]:disabled, |
| 445 | input[type=reset]:disabled, |
| 446 | input[type=submit]:disabled{ |
| 447 | color: #ddd; |
| 448 | background-color: #7f7f7f; |
| 449 | opacity: 0.8; |
| 450 | } |
| 451 | |
| 452 | input[type=email], |
| 453 | input[type=number], |
| 454 | input[type=password], |
| 455 | input[type=search], |
| 456 | input[type=tel], |
| 457 |
+1
-2
| --- skins/blitz/css.txt | ||
| +++ skins/blitz/css.txt | ||
| @@ -287,12 +287,11 @@ | ||
| 287 | 287 | */ |
| 288 | 288 | |
| 289 | 289 | button, |
| 290 | 290 | input[type=button], /* 1 */ |
| 291 | 291 | input[type=reset], |
| 292 | -input[type=submit], | |
| 293 | -input[type=button]{ | |
| 292 | +input[type=submit]{ | |
| 294 | 293 | -webkit-appearance: button; /* 2 */ |
| 295 | 294 | cursor: pointer; /* 3 */ |
| 296 | 295 | } |
| 297 | 296 | |
| 298 | 297 | /** |
| 299 | 298 |
| --- skins/blitz/css.txt | |
| +++ skins/blitz/css.txt | |
| @@ -287,12 +287,11 @@ | |
| 287 | */ |
| 288 | |
| 289 | button, |
| 290 | input[type=button], /* 1 */ |
| 291 | input[type=reset], |
| 292 | input[type=submit], |
| 293 | input[type=button]{ |
| 294 | -webkit-appearance: button; /* 2 */ |
| 295 | cursor: pointer; /* 3 */ |
| 296 | } |
| 297 | |
| 298 | /** |
| 299 |
| --- skins/blitz/css.txt | |
| +++ skins/blitz/css.txt | |
| @@ -287,12 +287,11 @@ | |
| 287 | */ |
| 288 | |
| 289 | button, |
| 290 | input[type=button], /* 1 */ |
| 291 | input[type=reset], |
| 292 | input[type=submit]{ |
| 293 | -webkit-appearance: button; /* 2 */ |
| 294 | cursor: pointer; /* 3 */ |
| 295 | } |
| 296 | |
| 297 | /** |
| 298 |