Changeset 21789
- Timestamp:
- 09/08/2012 04:58:34 AM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r21641 r21789 58 58 input[type="file"]:focus, 59 59 input[type="button"]:focus, 60 input[type="submit"].focus, 60 61 input[type="submit"]:focus, 61 62 input[type="reset"]:focus, … … 378 379 } 379 380 381 a.button:active { 382 outline: none; 383 } 384 380 385 .button, 381 386 .button-secondary, … … 383 388 input[type=button], 384 389 input[type=submit] { 385 border-color: #bbb; 386 color: #464646; 387 } 388 390 background: #ececec; 391 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 392 background-image: -webkit-linear-gradient(top, #fff, #eee); 393 background-image: -moz-linear-gradient(top, #fff, #eee); 394 background-image: -o-linear-gradient(top, #fff, #eee); 395 background-image: linear-gradient(to bottom, #fff, #eee); 396 border-color: #ccc; 397 -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 398 box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 399 color: #464646; 400 text-shadow: 1px 1px 0 #fff; 401 } 402 403 .button.hover, 389 404 .button:hover, 405 .button-secondary.hover, 390 406 .button-secondary:hover, 391 407 .submit input:hover, 392 408 input[type=button]:hover, 393 input[type=submit]:hover { 409 input[type=submit]:hover, 410 .button.focus, 411 .button:focus, 412 .button-secondary.focus, 413 .button-secondary:focus, 414 .submit input.focus, 415 .submit input:focus, 416 input[type=button]:focus, 417 input[type=submit].focus, 418 input[type=submit]:focus { 419 background: #ececec; 420 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 421 background-image: -webkit-linear-gradient(top, #fff, #eee); 422 background-image: -moz-linear-gradient(top, #fff, #eee); 423 background-image: -o-linear-gradient(top, #fff, #eee); 424 background-image: linear-gradient(to bottom, #fff, #eee); 425 border-color: #bbb; 426 -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1); 427 box-shadow: 0px 1px 1px rgba(0,0,0,.1); 394 428 color: #000; 395 border-color: #666; 396 } 397 398 .button, 399 .submit input, 400 .button-secondary { 401 text-shadow: 0 1px 0 #fff; 402 background: #f2f2f2; 403 background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff)); 404 background-image: -webkit-linear-gradient(bottom, #ededed, #fff); 405 background-image: -moz-linear-gradient(bottom, #ededed, #fff); 406 background-image: -o-linear-gradient(bottom, #ededed, #fff); 407 background-image: linear-gradient(to top, #ededed, #fff); 408 } 409 429 } 430 431 .button.active, 410 432 .button:active, 433 .button-secondary.active, 434 .button-secondary:active, 411 435 .submit input:active, 412 .button-secondary:active { 436 input[type=button]:active, 437 input[type=submit].active, 438 input[type=submit]:active { 413 439 background: #eee; 414 background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff)); 415 background-image: -webkit-linear-gradient(top, #ededed, #fff); 416 background-image: -moz-linear-gradient(top, #ededed, #fff); 417 background-image: -o-linear-gradient(top, #ededed, #fff); 418 background-image: linear-gradient(to bottom, #ededed, #fff); 440 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 441 background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 442 background-image: -moz-linear-gradient(top, #eee, #f9f9f9); 443 background-image: -o-linear-gradient(top, #eee, #f9f9f9); 444 background-image: linear-gradient(to bottom, #eee, #f9f9f9); 445 border-color: #999 #ddd #ddd #999; 446 color: #555; 447 -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 448 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 449 } 450 451 .button.focus, 452 .button:focus, 453 .button-secondary.focus, 454 .button-secondary:focus, 455 .submit input.focus, 456 .submit input:focus, 457 input[type=button].focus, 458 input[type=submit]:focus { 459 border-color: #aaa; 419 460 } 420 461 … … 422 463 button.button-primary, 423 464 a.button-primary { 424 border-color: #298cba; 425 font-weight: bold; 465 background-color: #21759b; 466 background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 467 background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 468 background-image: -moz-linear-gradient(top, #2a95c5, #21759b); 469 background-image: -o-linear-gradient(top, #2a95c5, #21759b); 470 background-image: linear-gradient(to bottom, #2a95c5, #21759b); 471 border-color: #21759b; 472 border-bottom-color: #1e6a8d; 473 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 474 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 475 color: #fff; 476 text-decoration: none; 477 text-shadow: -1px -1px 0 rgba(0,0,0,0.1); 478 } 479 480 input.button-primary.hover, 481 input.button-primary:hover, 482 button.button-primary:hover, 483 a.button-primary:hover, 484 input.button-primary.focus, 485 input.button-primary:focus, 486 button.button-primary:focus, 487 a.button-primary:focus { 488 background-color: #278ab7; 489 background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); 490 background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b); 491 background-image: -moz-linear-gradient(top, #2e9fd2, #21759b); 492 background-image: -o-linear-gradient(top, #2e9fd2, #21759b); 493 background-image: linear-gradient(to bottom, #2e9fd2, #21759b); 494 border-color: #1b607f; 495 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4); 496 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4); 426 497 color: #fff; 427 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 428 background: #21759b; 429 background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba)); 430 background-image: -webkit-linear-gradient(bottom, #227199, #298cba); 431 background-image: -moz-linear-gradient(bottom, #227199, #298cba); 432 background-image: -o-linear-gradient(bottom, #227199, #298cba); 433 background-image: linear-gradient(to top, #227199, #298cba); 434 } 435 498 text-shadow: -1px -1px 0 rgba(0,0,0,0.3); 499 } 500 501 input.button-primary.active, 436 502 input.button-primary:active, 437 503 button.button-primary:active, 438 504 a.button-primary:active { 439 color: #eaf2fa; 440 background: #298cba; 441 background-image: -webkit-gradient(linear, left top, left bottom, from(#227199), to(#298cba)); 442 background-image: -webkit-linear-gradient(top, #227199, #298cba); 443 background-image: -moz-linear-gradient(top, #227199, #298cba); 444 background-image: -o-linear-gradient(top, #227199, #298cba); 445 background-image: linear-gradient(to bottom, #227199, #298cba); 446 } 447 448 input.button-primary:hover, 449 button.button-primary:hover, 450 a.button-primary:hover, 451 a.button-primary:focus, 452 a.button-primary:active { 453 border-color: #13455b; 454 color: #eaf2fa; 505 background: #1b607f; 506 background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); 507 background-image: -webkit-linear-gradient(top, #21759b, #278ab7); 508 background-image: -moz-linear-gradient(top, #21759b, #278ab7); 509 background-image: -o-linear-gradient(top, #21759b, #278ab7); 510 background-image: linear-gradient(to bottom, #21759b, #278ab7); 511 border-color: #124560 #2382ae #2382ae #124560; 512 color: rgba(255,255,255,0.95); 513 -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 514 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 515 } 516 517 input.button-primary.focus, 518 input.button-primary:focus, 519 button.button-primary:focus, 520 a.button-primary:focus { 521 border-color: #124560; 455 522 } 456 523 … … 463 530 color: #aaa !important; 464 531 border-color: #ddd !important; 532 -webkit-box-shadow: none !important; 533 box-shadow: none !important; 465 534 } 466 535 … … 468 537 .button-primary[disabled], 469 538 .button-primary:disabled { 470 color: #9 fd0d5!important;539 color: #94cde7 !important; 471 540 background: #298cba !important; 541 -webkit-box-shadow: none !important; 542 box-shadow: none !important; 472 543 } 473 544 … … 948 1019 949 1020 /* Containers */ 1021 .wp-editor-wrap .wp-editor-container, 950 1022 .wp-editor-wrap .wp_themeSkin table.mceLayout { 951 1023 border-color: #bed1dd #bed1dd #d0dfe9; … … 968 1040 } 969 1041 970 /* Button */ 971 .wp-editor-wrap .wp_themeSkin .mceButton, 972 .wp-editor-wrap .wp_themeSkin .mceListBox .mceText, 973 .wp-editor-wrap .wp_themeSkin .mceListBox .mceOpen { 974 border-color: #b0c8d7; 975 background: #cfdfe9; 1042 .wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:hover { 1043 border-color: #bbb; 1044 background: #eee; 976 1045 background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); 977 1046 background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff); … … 979 1048 background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); 980 1049 background-image: linear-gradient(to top, #cfdfe9, #fff); 981 }982 983 .wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:hover {984 border-color: #5589aa;985 background: #c9c9c9;986 background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#000));987 background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff);988 background-image: -moz-linear-gradient(bottom, #bdccd5, #fff);989 background-image: -o-linear-gradient(bottom, #bdccd5, #fff);990 background-image: linear-gradient(to top, #bdccd5, #fff);991 1050 } 992 1051 … … 997 1056 .wp-editor-wrap .wp_themeSkin a.mceButtonActive:active, 998 1057 .wp-editor-wrap .wp_themeSkin a.mceButtonActive:hover { 999 background: # b0c8d7;1000 border-color: # 5589aa;1058 background: #c7d8e2; 1059 border-color: #b0c8d7; 1001 1060 background-image: -webkit-gradient(linear, left top, left bottom, from(#cfdfe9), to(#fff)); 1002 1061 background-image: -webkit-linear-gradient(top, #cfdfe9, #fff); … … 1004 1063 background-image: -o-linear-gradient(top, #cfdfe9, #fff); 1005 1064 background-image: linear-gradient(to bottom, #cfdfe9, #fff); 1006 }1007 1008 .wp-editor-wrap .wp_themeSkin .mceButtonDisabled {1009 border-color: #b0c8d7 !important;1010 1065 } 1011 1066 … … 1020 1075 .wp-editor-wrap .wp_themeSkin .mceListBoxSelected .mceText, 1021 1076 .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:active .mceText { 1022 background: #b0c8d7; 1023 border-color: #5589aa; 1077 border-color: #B0C8D7; 1078 background: #c9c9c9; 1079 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1080 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1081 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1082 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1083 background-image: linear-gradient(to top, #fff, #bdccd5); 1024 1084 } 1025 1085 … … 1028 1088 .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, 1029 1089 .wp-editor-wrap .wp_themeSkin .mceListBoxHover .mceOpen { 1030 border-color: # 5589aa;1031 background: #c 9c9c9;1090 border-color: #B0C8D7; 1091 background: #c7d8e2; 1032 1092 background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); 1033 1093 background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff); … … 1037 1097 } 1038 1098 1039 /* SplitButton */ 1040 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceAction, 1041 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceOpen { 1042 border-color: #b0c8d7; 1043 } 1044 1045 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceOpen:hover, 1099 .wp-editor-wrap .wp_themeSkin .mceSplitButton:hover a.mceOpen, 1046 1100 .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected a.mceOpen, 1101 .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected a.mceAction, 1047 1102 .wp-editor-wrap .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, 1048 1103 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceAction:hover { 1049 border-color: # 5589aa;1050 } 1051 1052 .wp-editor-wrap .wp_themeSkin table.mceSplitButtontd {1053 background: #c fdfe9;1054 background-image: -webkit-gradient(linear, left bottom, left top, from(# cfdfe9), to(#fff));1055 background-image: -webkit-linear-gradient(bottom, # cfdfe9, #fff);1056 background-image: -moz-linear-gradient(bottom, # cfdfe9, #fff);1057 background-image: -o-linear-gradient(bottom, # cfdfe9, #fff);1058 background-image: linear-gradient(to top, # cfdfe9, #fff);1104 border-color: #B0C8D7; 1105 } 1106 1107 .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected td { 1108 background: #c9c9c9; 1109 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1110 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1111 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1112 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1113 background-image: linear-gradient(to top, #fff, #bdccd5); 1059 1114 } 1060 1115 1061 1116 .wp-editor-wrap .wp_themeSkin table.mceSplitButton:hover td { 1117 border-color: #bbb; 1062 1118 background: #c9c9c9; 1063 background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(# 000));1119 background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#fff)); 1064 1120 background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff); 1065 1121 background-image: -moz-linear-gradient(bottom, #bdccd5, #fff); … … 1068 1124 } 1069 1125 1070 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive { 1071 background-color: #b0c8d7; 1126 .wp-editor-wrap .wp_themeSkin table.mceSplitButton:active td.mceFirst, 1127 .wp-editor-wrap .wp_themeSkin table.mceSplitButton td.mceLast:active { 1128 border-color: #bbb; 1129 background: #c9c9c9; 1130 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1131 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1132 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1133 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1134 background-image: linear-gradient(to top, #fff, #bdccd5); 1135 } 1136 1137 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td a.mceAction, 1138 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td a.mceOpen { 1139 border-color: #B0C8D7; 1140 } 1141 1142 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td { 1143 background: #c9c9c9; 1144 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1145 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1146 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1147 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1148 background-image: linear-gradient(to top, #fff, #bdccd5); 1072 1149 } 1073 1150 -
trunk/wp-admin/css/colors-fresh.css
r21641 r21789 53 53 input[type="file"]:focus, 54 54 input[type="button"]:focus, 55 input[type="submit"].focus, 55 56 input[type="submit"]:focus, 56 57 input[type="reset"]:focus, … … 369 370 } 370 371 372 a.button:active { 373 outline: none; 374 } 375 371 376 .button, 372 377 .button-secondary, … … 374 379 input[type=button], 375 380 input[type=submit] { 376 border-color: #bbb; 377 color: #464646; 378 } 379 381 background: #ececec; 382 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 383 background-image: -webkit-linear-gradient(top, #fff, #eee); 384 background-image: -moz-linear-gradient(top, #fff, #eee); 385 background-image: -o-linear-gradient(top, #fff, #eee); 386 background-image: linear-gradient(to bottom, #fff, #eee); 387 border-color: #ccc; 388 -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 389 box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 390 color: #464646; 391 text-shadow: 1px 1px 0 #fff; 392 } 393 394 .button.hover, 380 395 .button:hover, 396 .button-secondary.hover, 381 397 .button-secondary:hover, 382 398 .submit input:hover, 383 399 input[type=button]:hover, 384 input[type=submit]:hover { 400 input[type=submit]:hover, 401 .button.focus, 402 .button:focus, 403 .button-secondary.focus, 404 .button-secondary:focus, 405 .submit input.focus, 406 .submit input:focus, 407 input[type=button].focus, 408 input[type=button]:focus, 409 input[type=submit]:focus { 410 background: #ececec; 411 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 412 background-image: -webkit-linear-gradient(top, #fff, #eee); 413 background-image: -moz-linear-gradient(top, #fff, #eee); 414 background-image: -o-linear-gradient(top, #fff, #eee); 415 background-image: linear-gradient(to bottom, #fff, #eee); 416 border-color: #bbb; 417 -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1); 418 box-shadow: 0px 1px 1px rgba(0,0,0,.1); 385 419 color: #000; 386 border-color: #666; 387 } 388 389 .button, 390 .submit input, 391 .button-secondary { 392 text-shadow: 0 1px 0 #fff; 393 background: #f2f2f2; 394 background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff)); 395 background-image: -webkit-linear-gradient(bottom, #ededed, #fff); 396 background-image: -moz-linear-gradient(bottom, #ededed, #fff); 397 background-image: -o-linear-gradient(bottom, #ededed, #fff); 398 background-image: linear-gradient(to top, #ededed, #fff); 399 } 400 420 } 421 422 .button.active, 401 423 .button:active, 424 .small.active, 425 .small:active, 426 .button-secondary.active, 427 .button-secondary:active, 402 428 .submit input:active, 403 .button-secondary:active { 429 input[type=button].active, 430 input[type=button]:active, 431 input[type=submit]:active { 404 432 background: #eee; 405 background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff)); 406 background-image: -webkit-linear-gradient(top, #ededed, #fff); 407 background-image: -moz-linear-gradient(top, #ededed, #fff); 408 background-image: -o-linear-gradient(top, #ededed, #fff); 409 background-image: linear-gradient(to bottom, #ededed, #fff); 433 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 434 background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 435 background-image: -moz-linear-gradient(top, #eee, #f9f9f9); 436 background-image: -o-linear-gradient(top, #eee, #f9f9f9); 437 background-image: linear-gradient(to bottom, #eee, #f9f9f9); 438 border-color: #999 #ddd #ddd #999; 439 color: #555; 440 -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 441 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 442 } 443 444 .button.focus, 445 .button:focus, 446 .button-secondary.focus, 447 .button-secondary:focus, 448 .submit input.focus, 449 .submit input:focus, 450 input[type=button].focus, 451 input[type=button]:focus, 452 input[type=submit]:focus { 453 border-color: #aaa; 410 454 } 411 455 … … 413 457 button.button-primary, 414 458 a.button-primary { 415 border-color: #298cba; 416 font-weight: bold; 459 background-color: #21759b; 460 background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 461 background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 462 background-image: -moz-linear-gradient(top, #2a95c5, #21759b); 463 background-image: -o-linear-gradient(top, #2a95c5, #21759b); 464 background-image: linear-gradient(to bottom, #2a95c5, #21759b); 465 border-color: #21759b; 466 border-bottom-color: #1e6a8d; 467 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 468 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 469 color: #fff; 470 text-decoration: none; 471 text-shadow: -1px -1px 0 rgba(0,0,0,0.1); 472 } 473 474 input.button-primary.hover, 475 input.button-primary:hover, 476 button.button-primary:hover, 477 a.button-primary:hover, 478 input.button-primary.focus, 479 input.button-primary:focus, 480 button.button-primary:focus, 481 a.button-primary:focus { 482 background-color: #278ab7; 483 background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); 484 background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b); 485 background-image: -moz-linear-gradient(top, #2e9fd2, #21759b); 486 background-image: -o-linear-gradient(top, #2e9fd2, #21759b); 487 background-image: linear-gradient(to bottom, #2e9fd2, #21759b); 488 border-color: #1b607f; 489 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3); 490 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3); 417 491 color: #fff; 418 text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 419 background: #21759b; 420 background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba)); 421 background-image: -webkit-linear-gradient(bottom, #227199, #298cba); 422 background-image: -moz-linear-gradient(bottom, #227199, #298cba); 423 background-image: -o-linear-gradient(bottom, #227199, #298cba); 424 background-image: linear-gradient(to top, #227199, #298cba); 425 } 426 492 text-shadow: -1px -1px 0 rgba(0,0,0,0.3); 493 } 494 495 input.button-primary.active, 427 496 input.button-primary:active, 428 497 button.button-primary:active, 429 498 a.button-primary:active { 430 color: #eaf2fa; 431 background: #298cba; 432 background-image: -webkit-gradient(linear, left top, left bottom, from(#227199), to(#298cba)); 433 background-image: -webkit-linear-gradient(top, #227199, #298cba); 434 background-image: -moz-linear-gradient(top, #227199, #298cba); 435 background-image: -o-linear-gradient(top, #227199, #298cba); 436 background-image: linear-gradient(to bottom, #227199, #298cba); 437 } 438 439 input.button-primary:hover, 440 button.button-primary:hover, 441 a.button-primary:hover, 442 a.button-primary:focus, 443 a.button-primary:active { 444 border-color: #13455b; 445 color: #eaf2fa; 499 background: #1b607f; 500 background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); 501 background-image: -webkit-linear-gradient(top, #21759b, #278ab7); 502 background-image: -moz-linear-gradient(top, #21759b, #278ab7); 503 background-image: -o-linear-gradient(top, #21759b, #278ab7); 504 background-image: linear-gradient(to bottom, #21759b, #278ab7); 505 border-color: #124560 #2382ae #2382ae #124560; 506 color: rgba(255,255,255,0.95); 507 -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 508 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 509 } 510 511 input.button-primary.focus, 512 input.button-primary:focus, 513 button.button-primary:focus, 514 a.button-primary:focus { 515 border-color: #124560; 446 516 } 447 517 … … 454 524 color: #aaa !important; 455 525 border-color: #ddd !important; 526 -webkit-box-shadow: none !important; 527 box-shadow: none !important; 456 528 } 457 529 … … 459 531 .button-primary[disabled], 460 532 .button-primary:disabled { 461 color: #9 fd0d5!important;533 color: #94cde7 !important; 462 534 background: #298cba !important; 535 -webkit-box-shadow: none !important; 536 box-shadow: none !important; 463 537 } 464 538 -
trunk/wp-admin/css/ie.css
r21641 r21789 125 125 #wpbody-content input.button, 126 126 #wpbody-content input.button-primary, 127 #wpbody-content input.button-secondary, 128 #wpbody-content input.button-highlighted { 127 #wpbody-content input.button-secondary { 129 128 overflow: visible; 130 129 } -
trunk/wp-admin/css/wp-admin-rtl.css
r21592 r21789 2304 2304 .button-primary, 2305 2305 .button-secondary, 2306 .button-highlighted,2307 2306 #postcustomstuff .submit input { 2308 2307 font-family: Tahoma, Arial, sans-serif; … … 2474 2473 .locale-he-il .button-primary, 2475 2474 .locale-he-il .button-secondary, 2476 .locale-he-il .button-highlighted,2477 2475 .locale-he-il #postcustomstuff .submit input, 2478 2476 .locale-he-il div.sidebar-name h3 { -
trunk/wp-admin/css/wp-admin.css
r21781 r21789 780 780 input.button-primary, 781 781 .button-secondary, 782 input.button-secondary, 783 .button-highlighted, 784 input.button-highlighted, 785 #postcustomstuff .submit input { 782 input.button-secondary { 783 display: inline-block; 786 784 text-decoration: none; 787 font-size: 12px !important; 788 line-height: 13px; 789 padding: 3px 8px; 785 font-size: 12px; 786 line-height: 15px; 787 margin: 0; 788 padding: 0.5em 0.8em 0.4em; 790 789 cursor: pointer; 791 790 border-width: 1px; 792 791 border-style: solid; 793 -webkit-border-radius: 11px; 794 border-radius: 11px; 795 -moz-box-sizing: content-box; 792 -webkit-border-radius: 3px; 793 border-radius: 3px; 796 794 -webkit-box-sizing: content-box; 797 box-sizing: content-box; 795 -moz-box-sizing: content-box; 796 box-sizing: content-box; 797 white-space: nowrap; 798 } 799 800 .button.button-small { 801 padding: 3px .8em 2px; 802 } 803 804 .button.button-large { 805 font-size: 14px; 806 padding: 0.6em 1em 0.5em; 807 } 808 809 .button.button-tiny { 810 padding: .2em .8em; 811 font-size: 11px; 798 812 } 799 813 … … 801 815 #major-publishing-actions input, 802 816 #minor-publishing-actions .preview { 803 min-width: 80px;804 817 text-align: center; 805 818 } … … 1014 1027 padding-left: 18px; 1015 1028 list-style: square; 1016 }1017 1018 a.button,1019 a.button-primary,1020 a.button-secondary {1021 line-height: 15px;1022 padding: 3px 10px;1023 white-space: nowrap;1024 -webkit-border-radius: 10px;1025 1029 } 1026 1030 … … 2805 2809 #titlediv { 2806 2810 position: relative; 2807 margin-bottom: 20px;2811 margin-bottom: 10px; 2808 2812 } 2809 2813 #titlediv label { cursor: text; } … … 2858 2862 2859 2863 #edit-slug-box { 2860 height: 1em;2861 2864 margin-top: 8px; 2862 2865 padding: 0 10px; 2866 } 2867 2868 #edit-slug-box .cancel { 2869 margin-right: 10px; 2870 font-size: 11px; 2863 2871 } 2864 2872 … … 3160 3168 border: 0 none; 3161 3169 float: none; 3162 padding: 5px 8px;3170 padding: 0 0 8px 8px; 3163 3171 } 3164 3172 … … 3194 3202 #postcustomstuff td.left { 3195 3203 width: 38%; 3196 }3197 3198 #postcustomstuff #newmeta .submit {3199 padding: 0 8px;3200 3204 } 3201 3205 … … 4244 4248 #replysubmit { 4245 4249 margin: 0; 4246 padding: 0 7px 3px;4250 padding: 0 5px 3px; 4247 4251 text-align: center; 4248 4252 } … … 4673 4677 #pass-strength-result.strong, 4674 4678 #pass-strength-result.short, 4675 .button-highlighted,4676 input.button-highlighted,4677 4679 #ed_reply_toolbar #ed_reply_strong, 4678 4680 .item-controls .item-order a, … … 5632 5634 } 5633 5635 5634 #titlediv,5635 5636 #poststuff .postarea { 5636 5637 margin-bottom: 20px; … … 6085 6086 6086 6087 #dashboard-widgets #dashboard_quick_press form p.submit #save-post { 6087 margin: 0 1em 0 10px;6088 margin: 0 0.3em 0 5px; 6088 6089 } 6089 6090 … … 6279 6280 .login .button-primary { 6280 6281 font-size: 13px !important; 6281 line-height: 16px; 6282 padding: 3px 10px; 6282 padding: .4em .8em; 6283 6283 float: right; 6284 6284 } -
trunk/wp-admin/edit-form-advanced.php
r21683 r21789 295 295 $shortlink = wp_get_shortlink($post->ID, 'post'); 296 296 if ( !empty($shortlink) ) 297 $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button " onclick="prompt('URL:', jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';297 $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-tiny" onclick="prompt('URL:', jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>'; 298 298 299 299 if ( $post_type_object->public && ! ( 'pending' == $post->post_status && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?> -
trunk/wp-admin/includes/class-wp-comments-list-table.php
r21736 r21789 225 225 </select> 226 226 <?php 227 submit_button( __( 'Filter' ), 's econdary', false, false, array( 'id' => 'post-query-submit' ) );227 submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) ); 228 228 } 229 229 … … 231 231 wp_nonce_field( 'bulk-destroy', '_destroy_nonce' ); 232 232 $title = ( 'spam' == $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' ); 233 submit_button( $title, ' button-secondaryapply', 'delete_all', false );233 submit_button( $title, 'small apply', 'delete_all', false ); 234 234 } 235 235 do_action( 'manage_comments_nav', $comment_status ); -
trunk/wp-admin/includes/class-wp-links-list-table.php
r21323 r21789 69 69 ); 70 70 wp_dropdown_categories( $dropdown_options ); 71 submit_button( __( 'Filter' ), 's econdary', false, false, array( 'id' => 'post-query-submit' ) );71 submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) ); 72 72 ?> 73 73 </div> -
trunk/wp-admin/includes/class-wp-list-table.php
r21750 r21789 218 218 <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 219 219 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 220 <?php submit_button( $text, ' button', false, false, array('id' => 'search-submit') ); ?>220 <?php submit_button( $text, 'small', false, false, array('id' => 'search-submit') ); ?> 221 221 </p> 222 222 <?php … … 305 305 echo "</select>\n"; 306 306 307 submit_button( __( 'Apply' ), ' button-secondaryaction', false, false, array( 'id' => "doaction$two" ) );307 submit_button( __( 'Apply' ), 'small action', false, false, array( 'id' => "doaction$two" ) ); 308 308 echo "\n"; 309 309 } -
trunk/wp-admin/includes/class-wp-media-list-table.php
r21736 r21789 92 92 93 93 do_action( 'restrict_manage_posts' ); 94 submit_button( __( 'Filter' ), 's econdary', false, false, array( 'id' => 'post-query-submit' ) );94 submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) ); 95 95 } 96 96 … … 98 98 submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false ); 99 99 } elseif ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) { 100 submit_button( __( 'Empty Trash' ), ' button-secondaryapply', 'delete_all', false );100 submit_button( __( 'Empty Trash' ), 'small apply', 'delete_all', false ); 101 101 } ?> 102 102 </div> -
trunk/wp-admin/includes/class-wp-plugins-list-table.php
r21700 r21789 275 275 276 276 if ( ! $screen->is_network && 'recently_activated' == $status ) 277 submit_button( __( 'Clear List' ), 's econdary', 'clear-recent-list', false );277 submit_button( __( 'Clear List' ), 'small', 'clear-recent-list', false ); 278 278 elseif ( 'top' == $which && 'mustuse' == $status ) 279 279 echo '<p>' . sprintf( __( 'Files in the <code>%s</code> directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '</p>'; -
trunk/wp-admin/includes/class-wp-posts-list-table.php
r21788 r21789 219 219 } 220 220 do_action( 'restrict_manage_posts' ); 221 submit_button( __( 'Filter' ), 's econdary', false, false, array( 'id' => 'post-query-submit' ) );221 submit_button( __( 'Filter' ), 'small', false, false, array( 'id' => 'post-query-submit' ) ); 222 222 } 223 223 224 224 if ( $this->is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) { 225 submit_button( __( 'Empty Trash' ), ' button-secondaryapply', 'delete_all', false );225 submit_button( __( 'Empty Trash' ), 'small apply', 'delete_all', false ); 226 226 } 227 227 ?> -
trunk/wp-admin/includes/class-wp-users-list-table.php
r21413 r21789 146 146 <?php wp_dropdown_roles(); ?> 147 147 </select> 148 <?php submit_button( __( 'Change' ), 's econdary', 'changeit', false ); ?>148 <?php submit_button( __( 'Change' ), 'small', 'changeit', false ); ?> 149 149 </div> 150 150 <?php -
trunk/wp-admin/includes/dashboard.php
r21387 r21789 440 440 <p> 441 441 <input type="search" name="s" value="" size="30" autocomplete="off" /> 442 <?php submit_button( __( 'Search Users' ), ' button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>442 <?php submit_button( __( 'Search Users' ), 'small', 'submit', false, array( 'id' => 'submit_users' ) ); ?> 443 443 </p> 444 444 </form> … … 447 447 <p> 448 448 <input type="search" name="s" value="" size="30" autocomplete="off" /> 449 <?php submit_button( __( 'Search Sites' ), ' button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>449 <?php submit_button( __( 'Search Sites' ), 'small', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> 450 450 </p> 451 451 </form> -
trunk/wp-admin/includes/meta-boxes.php
r21770 r21789 29 29 <div id="save-action"> 30 30 <?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?> 31 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button button-highlighted" />31 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save Draft'); ?>" class="button" /> 32 32 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?> 33 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button button-highlighted" />33 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button" /> 34 34 <?php } ?> 35 35 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" /> … … 287 287 <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div> 288 288 <p><input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" /> 289 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>289 <input type="button" class="button button-tiny tagadd" value="<?php esc_attr_e('Add'); ?>" /></p> 290 290 </div> 291 291 <p class="howto"><?php echo esc_attr( $taxonomy->labels->separate_items_with_commas ); ?></p> -
trunk/wp-admin/includes/plugin-install.php
r21143 r21789 131 131 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 132 132 <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 133 <?php submit_button( __( 'Search Plugins' ), ' button', 'plugin-search-input', false ); ?>133 <?php submit_button( __( 'Search Plugins' ), 'small', 'plugin-search-input', false ); ?> 134 134 </form><?php 135 135 } -
trunk/wp-admin/includes/post.php
r21770 r21789 1085 1085 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n"; 1086 1086 if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) 1087 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button " target="_blank">' . __('Change Permalinks') . "</a></span>\n";1087 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-tiny" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 1088 1088 if ( isset($view_post) ) 1089 $return .= "<span id='view-post-btn'><a href='$permalink' class='button '>$view_post</a></span>\n";1089 $return .= "<span id='view-post-btn'><a href='$permalink' class='button button-tiny'>$view_post</a></span>\n"; 1090 1090 1091 1091 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); … … 1114 1114 $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n"; 1115 1115 $return .= '‎'; // Fix bi-directional text display defect in RTL languages. 1116 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";1116 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button button-tiny hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n"; 1117 1117 $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n"; 1118 1118 if ( isset($view_post) ) 1119 $return .= "<span id='view-post-btn'><a href='$view_link' class='button '>$view_post</a></span>\n";1119 $return .= "<span id='view-post-btn'><a href='$view_link' class='button button-tiny'>$view_post</a></span>\n"; 1120 1120 1121 1121 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); -
trunk/wp-admin/includes/template.php
r21781 r21789 555 555 556 556 <tr><td colspan="2" class="submit"> 557 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta ', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?>557 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?> 558 558 <?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?> 559 559 </td></tr> … … 1116 1116 if ( $section['title'] ) 1117 1117 echo "<h3>{$section['title']}</h3>\n"; 1118 1118 1119 1119 if ( $section['callback'] ) 1120 1120 call_user_func( $section['callback'], $section ); 1121 1121 1122 1122 if ( ! isset( $wp_settings_fields ) || !isset( $wp_settings_fields[$page] ) || !isset( $wp_settings_fields[$page][$section['id']] ) ) 1123 1123 continue; … … 1638 1638 */ 1639 1639 function get_submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap = true, $other_attributes = null ) { 1640 switch ( $type ) : 1641 case 'primary' : 1642 case 'secondary' : 1643 $class = 'button-' . $type; 1644 break; 1645 case 'delete' : 1646 $class = 'button-secondary delete'; 1647 break; 1648 default : 1649 $class = $type; // Custom cases can just pass in the classes they want to be used 1650 endswitch; 1651 $text = ( null == $text ) ? __( 'Save Changes' ) : $text; 1640 if ( ! is_array( $type ) ) 1641 $type = explode( ' ', $type ); 1642 1643 $button_shorthand = array( 'primary', 'tiny', 'small', 'large' ); 1644 $classes = array( 'button' ); 1645 foreach ( $type as $t ) { 1646 if ( 'secondary' === $t || 'button-secondary' === $t ) 1647 continue; 1648 $classes[] = in_array( $t, $button_shorthand ) ? 'button-' . $t : $t; 1649 } 1650 $class = implode( ' ', array_unique( $classes ) ); 1651 1652 if ( 'delete' === $type ) 1653 $class = 'button-secondary delete'; 1654 1655 $text = $text ? $text : __( 'Save Changes' ); 1652 1656 1653 1657 // Default the id attribute to $name unless an id was specifically provided in $other_attributes -
trunk/wp-admin/js/post.js
r21737 r21789 559 559 560 560 $('#view-post-btn').hide(); 561 b.html('<a href="#" class="save button ">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>');561 b.html('<a href="#" class="save button button-tiny">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>'); 562 562 b.children('.save').click(function() { 563 563 var new_slug = e.children('input').val();
Note: See TracChangeset
for help on using the changeset viewer.