Ticket #29792: patch
| File patch, 15.0 KB (added by , 12 years ago) |
|---|
-
Gruntfile.js
diff --git a/Gruntfile.js b/Gruntfile.js index 5019f0e..3fd58db 100644
a b module.exports = function(grunt) { 44 44 tinymce: ['<%= concat.tinymce.dest %>'], 45 45 qunit: ['tests/qunit/compiled.html'] 46 46 }, 47 csslint: { 48 all: { 49 options: { 50 'important': false, 51 'adjoining-classes': false, 52 'known-properties': false, 53 'box-sizing': false, 54 'box-model': false, 55 'overqualified-elements': true, 56 'display-property-grouping': false, 57 'bulletproof-font-face': false, 58 'compatible-vendor-prefixes': false, 59 'regex-selectors': true, 60 'errors': true, 61 'duplicate-background-images': true, 62 'duplicate-properties': true, 63 'empty-rules': true, 64 'selector-max-approaching': false, 65 'gradients': false, 66 'fallback-colors': false, 67 'font-sizes': false, 68 'font-faces': false, 69 'floats': false, 70 'star-property-hack': true, 71 'outline-none': false, 72 'import': false, 73 'ids': false, 74 'underscore-property-hack': false, 75 'rules-count': false, 76 'qualified-headings': false, 77 'selector-max': false, 78 'shorthand': false, 79 'text-indent': true, 80 'unique-headings': false, 81 'universal-selector': false, 82 'unqualified-attributes': false, 83 'vendor-prefix': false, 84 'zero-units': false 85 }, 86 src: [ 87 SOURCE_DIR + 'wp-admin/css/*.css', 88 SOURCE_DIR + 'wp-includes/css/*.css', 89 // forms.css contains a @moz-document directive that CSSLint cannot currently recognize 90 '!' + SOURCE_DIR + 'wp-admin/css/forms.css' 91 ] 92 }, 93 }, 94 'wp-css-check': { 95 all: { 96 src: [ 97 SOURCE_DIR + 'wp-admin/css/*.css', 98 SOURCE_DIR + 'wp-includes/css/*.css', 99 ] 100 }, 101 }, 47 102 copy: { 48 103 files: { 49 104 files: [ -
package.json
diff --git a/package.json b/package.json index 7f56805..005e73c 100644
a b 16 16 "grunt-contrib-concat": "~0.5.0", 17 17 "grunt-contrib-copy": "~0.5.0", 18 18 "grunt-contrib-cssmin": "~0.10.0", 19 "grunt-contrib-csslint": "~0.3.1", 19 20 "grunt-contrib-imagemin": "~0.4.1", 20 21 "grunt-contrib-jshint": "~0.10.0", 21 22 "grunt-contrib-qunit": "~0.5.2", … … 26 27 "grunt-legacy-util": "^0.2.0", 27 28 "grunt-patch-wordpress": "~0.2.1", 28 29 "grunt-sass": "~0.14.0", 30 "grunt-wp-css-check": "git://github.com/x1024/grunt-wp-css-check#b00613899f76f64e27fcff7e78f9b5d9f645bb0b", 29 31 "matchdep": "~0.3.0" 30 32 } 31 33 } -
src/wp-admin/css/about.css
diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 50c4d92..2aa1a22 100644
a b 358 358 /* =Media Queries 359 359 -------------------------------------------------------------- */ 360 360 361 @media screen and ( max-width: 782px) {361 @media screen and (max-width: 782px) { 362 362 .about-wrap .feature-section.one-col > div, 363 363 .about-wrap .feature-section.two-col > div, 364 364 .about-wrap .feature-section.three-col > div { … … 379 379 } 380 380 381 381 /* Responsive release video */ 382 @media screen and ( max-width: 710px) {382 @media screen and (max-width: 710px) { 383 383 .about-overview { 384 384 position: relative; 385 385 padding-bottom: 56.25%; /* 360 / 640 */ -
src/wp-admin/css/admin-menu.css
diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css index 7f317bd..a2ed1ed 100644
a b li#wp-admin-bar-menu-toggle { 730 730 731 731 } 732 732 733 @media screen and ( max-width: 782px) {733 @media screen and (max-width: 782px) { 734 734 .auto-fold #wpcontent { 735 735 position: relative; 736 736 margin-left: 0; -
src/wp-admin/css/common.css
diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 48e0857..bfab57d 100644
a b div.action-links { 2476 2476 font-size: 13px; 2477 2477 } 2478 2478 2479 @media screen and ( max-width: 771px) {2479 @media screen and (max-width: 771px) { 2480 2480 #plugin-information-title.with-banner { 2481 2481 height: 100px; 2482 2482 bottom: 100px; … … body.index-php .tb-close-icon:before { 2622 2622 } 2623 2623 2624 2624 /* move plugin install close icon to top on narrow screens */ 2625 @media screen and ( max-width: 830px) {2625 @media screen and (max-width: 830px) { 2626 2626 body.plugin-install-php .tb-close-icon, 2627 2627 body.import-php .tb-close-icon, 2628 2628 body.plugins-php .tb-close-icon, … … img { 3046 3046 width: device-width; 3047 3047 } 3048 3048 3049 @media screen and ( max-width: 782px) {3049 @media screen and (max-width: 782px) { 3050 3050 html.wp-toolbar { 3051 3051 padding-top: 46px; 3052 3052 } -
src/wp-admin/css/customize-controls.css
diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index f9f11b3..82b3372 100644
a b p.customize-section-description { 823 823 100% { color: #d4b146; } 824 824 } 825 825 826 @-ms-keyframes dice-color-change {827 0% { color: #d4b146; }828 50% { color: #ef54b0; }829 75% { color: #7190d3; }830 100% { color: #d4b146; }831 }832 833 826 @keyframes dice-color-change { 834 827 0% { color: #d4b146; } 835 828 50% { color: #ef54b0; } -
src/wp-admin/css/dashboard.css
diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 7ed45d2..867e682 100644
a b a.rsswidget { 1087 1087 1088 1088 } 1089 1089 1090 @media screen and ( max-width: 782px) {1090 @media screen and (max-width: 782px) { 1091 1091 #dashboard_recent_comments #the-comment-list .comment-item .avatar { 1092 1092 height: 30px; 1093 1093 width: 30px; -
src/wp-admin/css/edit.css
diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index cc64ae5..5011e28 100644
a b table.links-table { 1277 1277 } 1278 1278 } 1279 1279 1280 @media screen and ( max-width: 782px) {1280 @media screen and (max-width: 782px) { 1281 1281 #post-body-content { 1282 1282 min-width: 0; 1283 1283 } -
src/wp-admin/css/forms.css
diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index b80f98a..e55f846 100644
a b table.form-table td .updated { 765 765 /* =Media Queries 766 766 -------------------------------------------------------------- */ 767 767 768 @media screen and ( max-width: 782px) {768 @media screen and (max-width: 782px) { 769 769 /* Input Elements */ 770 770 textarea { 771 771 -webkit-appearance: none; -
src/wp-admin/css/install.css
diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index 28c071c..c5f8b47 100644
a b body.rtl, 275 275 } 276 276 } 277 277 278 @media screen and ( max-width: 782px) {278 @media screen and (max-width: 782px) { 279 279 280 280 .form-table { 281 281 margin-top: 0; -
src/wp-admin/css/list-tables.css
diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 6feaa22..6afb056 100644
a b tr.active + tr.plugin-update-tr .plugin-update .update-message { 1271 1271 margin-right: 0; 1272 1272 } 1273 1273 1274 @media screen and ( min-width: 1600px) {1274 @media screen and (min-width: 1600px) { 1275 1275 .plugin-card { 1276 1276 width: 30%; 1277 1277 width: -webkit-calc( 33.1% - 8px ); … … tr.active + tr.plugin-update-tr .plugin-update .update-message { 1297 1297 } 1298 1298 } 1299 1299 1300 @media screen and ( max-width: 782px) {1300 @media screen and (max-width: 782px) { 1301 1301 .plugin-card { 1302 1302 margin-left: 0; 1303 1303 margin-right: 0; … … div.action-links, 1449 1449 /* =Media Queries 1450 1450 -------------------------------------------------------------- */ 1451 1451 1452 @media screen and ( max-width: 1100px ) and ( min-width: 782px ), ( max-width: 480px) {1452 @media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) { 1453 1453 .plugin-card .action-links { 1454 1454 position: static; 1455 1455 margin-left: 148px; … … div.action-links, 1481 1481 } 1482 1482 } 1483 1483 1484 @media screen and ( max-width: 782px) {1484 @media screen and (max-width: 782px) { 1485 1485 /* WP List Table Options & Filters */ 1486 1486 .tablenav { 1487 1487 height: auto; -
src/wp-admin/css/login.css
diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 02ee1d8..687d85d 100644
a b body.interim-login { 255 255 width: device-width; 256 256 } 257 257 258 @media screen and ( max-width: 782px) {258 @media screen and (max-width: 782px) { 259 259 .interim-login input[type=checkbox] { 260 260 height: 16px; 261 261 width: 16px; -
src/wp-admin/css/media.css
diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index e27b665..1d2ba11 100644
a b 334 334 right: 0; 335 335 } 336 336 337 @media screen and ( max-width: 782px) {337 @media screen and (max-width: 782px) { 338 338 .find-box-inside { 339 339 bottom: 57px; 340 340 } 341 341 } 342 342 343 @media screen and ( max-width: 660px) {343 @media screen and (max-width: 660px) { 344 344 345 345 .find-box { 346 346 top: 0; … … audio, video { 1100 1100 } 1101 1101 } 1102 1102 1103 @media screen and ( max-width: 782px) {1103 @media screen and (max-width: 782px) { 1104 1104 .wp_attachment_details label[for="content"] { 1105 1105 font-size: 14px; 1106 1106 line-height: 1.5em; … … audio, video { 1131 1131 } 1132 1132 } 1133 1133 1134 @media only screen and ( max-width: 782px) {1134 @media only screen and (max-width: 782px) { 1135 1135 .media-frame.mode-select .attachments-browser.fixed .media-toolbar { 1136 1136 top: 46px; 1137 1137 right: 10px; -
src/wp-admin/css/nav-menus.css
diff --git a/src/wp-admin/css/nav-menus.css b/src/wp-admin/css/nav-menus.css index 28e32b8..a2eb723 100644
a b body.menu-max-depth-11 { min-width: 1280px !important; } 751 751 /* =Media Queries 752 752 -------------------------------------------------------------- */ 753 753 754 @media screen and ( max-width: 782px) {754 @media screen and (max-width: 782px) { 755 755 body.nav-menus-php { 756 756 min-width: 0 !important; 757 757 } -
src/wp-admin/css/press-this.css
diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css index dbf355a..3b8a423 100644
a b h3.tb { 366 366 -------------------------------------------------------------- */ 367 367 368 368 /* Reset responsive styles in Press This */ 369 @media screen and ( max-width: 782px) {369 @media screen and (max-width: 782px) { 370 370 .press-this ul.category-tabs li.tabs { 371 371 padding: 3px 5px 5px; /* Reset tabs in Press This to standard size */ 372 372 } -
src/wp-admin/css/revisions.css
diff --git a/src/wp-admin/css/revisions.css b/src/wp-admin/css/revisions.css index f191494..62272b3 100644
a b div.revisions-controls > .wp-slider > .ui-slider-handle { 560 560 } 561 561 } 562 562 563 @media screen and ( max-width: 782px) {563 @media screen and (max-width: 782px) { 564 564 #diff-next-revision, 565 565 #diff-previous-revision { 566 566 margin-top: -1em; -
src/wp-admin/css/themes.css
diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 6ff0f9f..e7662a3 100644
a b body.full-overlay-active { 1718 1718 } 1719 1719 } 1720 1720 1721 @media screen and ( max-width: 782px) {1721 @media screen and (max-width: 782px) { 1722 1722 .available-theme .action-links .delete-theme { 1723 1723 float: none; 1724 1724 margin: 0; -
src/wp-includes/admin-bar.php
diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php index 726c50a..e8f4ab5 100644
a b function _admin_bar_bump_cb() { ?> 786 786 <style type="text/css" media="screen"> 787 787 html { margin-top: 32px !important; } 788 788 * html body { margin-top: 32px !important; } 789 @media screen and ( max-width: 782px) {789 @media screen and (max-width: 782px) { 790 790 html { margin-top: 46px !important; } 791 791 * html body { margin-top: 46px !important; } 792 792 } -
src/wp-includes/css/admin-bar.css
diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 4f5343c..82dd348 100644
a b html:lang(he-il) .rtl #wpadminbar * { 741 741 } 742 742 /* End no @font-face */ 743 743 744 @media screen and ( max-width: 782px) {744 @media screen and (max-width: 782px) { 745 745 /* Toolbar Touchification*/ 746 746 html #wpadminbar { 747 747 left: 0 !important; -
src/wp-includes/css/buttons.css
diff --git a/src/wp-includes/css/buttons.css b/src/wp-includes/css/buttons.css index e84a0b5..8d3d7d1 100644
a b TABLE OF CONTENTS: 305 305 5.0 - Responsive Button Styles 306 306 ---------------------------------------------------------------------------- */ 307 307 308 @media screen and ( max-width: 782px) {308 @media screen and (max-width: 782px) { 309 309 310 310 .wp-core-ui .button, 311 311 .wp-core-ui .button.button-large, -
src/wp-includes/css/editor.css
diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index e69869a..ec7cbaf 100644
a b i.mce-i-hr:before { 961 961 margin: 5px 5px 0 0; 962 962 } 963 963 964 @media screen and ( max-width: 782px) {964 @media screen and (max-width: 782px) { 965 965 .mce-toolbar .mce-btn button, 966 966 .qt-fullscreen { 967 967 padding: 6px 7px; … … i.mce-i-hr:before { 996 996 } 997 997 } 998 998 999 @media screen and ( min-width: 782px) {999 @media screen and (min-width: 782px) { 1000 1000 .wp-core-ui .quicktags-toolbar input.button.button-small { 1001 1001 /* .button-small is normaly 11px, but a bit too small for these buttons. */ 1002 1002 font-size: 12px; … … i.mce-i-hr:before { 1379 1379 margin-bottom: 0; 1380 1380 } 1381 1381 1382 @media screen and ( max-width: 782px) {1382 @media screen and (max-width: 782px) { 1383 1383 #wp-link-wrap { 1384 1384 height: 280px; 1385 1385 margin-top: -140px; … … i.mce-i-hr:before { 1402 1402 } 1403 1403 } 1404 1404 1405 @media screen and ( max-width: 520px) {1405 @media screen and (max-width: 520px) { 1406 1406 #wp-link-wrap { 1407 1407 width: auto; 1408 1408 margin-left: 0; … … i.mce-i-hr:before { 1412 1412 } 1413 1413 } 1414 1414 1415 @media screen and ( max-height: 520px) {1415 @media screen and (max-height: 520px) { 1416 1416 #wp-link-wrap { 1417 1417 -webkit-transition: none; 1418 1418 transition: none; … … i.mce-i-hr:before { 1434 1434 } 1435 1435 } 1436 1436 1437 @media screen and ( max-height: 290px) {1437 @media screen and (max-height: 290px) { 1438 1438 #wp-link-wrap { 1439 1439 height: auto; 1440 1440 margin-top: 0; … … i.mce-i-hr:before { 1886 1886 height: 30px; 1887 1887 } 1888 1888 1889 @media screen and ( max-width: 782px) {1889 @media screen and (max-width: 782px) { 1890 1890 #wp-fullscreen-close, 1891 1891 #wp-fullscreen-central-toolbar, 1892 1892 #wp-fullscreen-mode-bar, … … i.mce-i-hr:before { 1926 1926 } 1927 1927 } 1928 1928 1929 @media screen and ( max-width: 480px) {1929 @media screen and (max-width: 480px) { 1930 1930 #wp_fs_help { 1931 1931 display: none; 1932 1932 } -
src/wp-includes/css/jquery-ui-dialog.css
diff --git a/src/wp-includes/css/jquery-ui-dialog.css b/src/wp-includes/css/jquery-ui-dialog.css index 78e9741..45b9921 100644
a b 234 234 cursor: default; 235 235 } 236 236 237 @media screen and ( max-width: 782px) {237 @media screen and (max-width: 782px) { 238 238 239 239 .ui-button { 240 240 padding: 10px 14px; -
src/wp-includes/css/wp-pointer.css
diff --git a/src/wp-includes/css/wp-pointer.css b/src/wp-includes/css/wp-pointer.css index 1d69823..c5a3f64 100644
a b 205 205 } 206 206 207 207 /* Disable pointers at responsive sizes */ 208 @media screen and ( max-width: 782px) {208 @media screen and (max-width: 782px) { 209 209 .wp-pointer { 210 210 display: none; 211 211 }