aboutsummaryrefslogtreecommitdiffstats
path: root/themes/base
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-11-29 19:26:29 +0000
committerMike Sherov <mike.sherov@gmail.com>2012-11-29 21:48:58 -0500
commitd7bff010691b542d918245bac11beac2b93b3462 (patch)
tree21f99069de5dfcaf21055ecbe180fe4de0f9d916 /themes/base
parent83e2a59ace6f00b785dd6f46fd63b416d86e0cc2 (diff)
downloadjquery-ui-d7bff010691b542d918245bac11beac2b93b3462.tar.gz
jquery-ui-d7bff010691b542d918245bac11beac2b93b3462.zip
Theme: removed or changed occurrences of zoom. Fixes #7975 - Remove invalid CSS for legacy browsers
Because of overlapping issues, this also reverts most of e77edc60 and fixes it in a different way.
Diffstat (limited to 'themes/base')
-rw-r--r--themes/base/jquery.ui.accordion.css3
-rw-r--r--themes/base/jquery.ui.button.css3
-rw-r--r--themes/base/jquery.ui.core.css2
-rw-r--r--themes/base/jquery.ui.dialog.css1
-rw-r--r--themes/base/jquery.ui.menu.css3
-rw-r--r--themes/base/jquery.ui.tabs.css1
-rw-r--r--themes/base/jquery.ui.theme.css5
7 files changed, 7 insertions, 11 deletions
diff --git a/themes/base/jquery.ui.accordion.css b/themes/base/jquery.ui.accordion.css
index d239bc49e..8af1b2e2b 100644
--- a/themes/base/jquery.ui.accordion.css
+++ b/themes/base/jquery.ui.accordion.css
@@ -14,7 +14,7 @@
position: relative;
margin-top: 2px;
padding: .5em .5em .5em .7em;
- zoom: 1;
+ min-height: 0; /* support: IE7 */
}
.ui-accordion .ui-accordion-icons {
padding-left: 2.2em;
@@ -35,5 +35,4 @@
padding: 1em 2.2em;
border-top: 0;
overflow: auto;
- zoom: 1;
}
diff --git a/themes/base/jquery.ui.button.css b/themes/base/jquery.ui.button.css
index 602f93a92..bf6d10547 100644
--- a/themes/base/jquery.ui.button.css
+++ b/themes/base/jquery.ui.button.css
@@ -17,7 +17,6 @@
cursor: pointer;
vertical-align: middle;
text-align: center;
- zoom: 1;
overflow: visible; /* removes extra width in IE */
}
.ui-button,
@@ -44,7 +43,7 @@ button.ui-button-icons-only {
/* button text element */
.ui-button .ui-button-text {
- display: inline-block;
+ display: block;
line-height: normal;
}
.ui-button-text-only .ui-button-text {
diff --git a/themes/base/jquery.ui.core.css b/themes/base/jquery.ui.core.css
index c68808065..cc1efef1d 100644
--- a/themes/base/jquery.ui.core.css
+++ b/themes/base/jquery.ui.core.css
@@ -43,7 +43,7 @@
clear: both;
}
.ui-helper-clearfix {
- zoom: 1;
+ min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
width: 100%;
diff --git a/themes/base/jquery.ui.dialog.css b/themes/base/jquery.ui.dialog.css
index d278d9649..986ce8604 100644
--- a/themes/base/jquery.ui.dialog.css
+++ b/themes/base/jquery.ui.dialog.css
@@ -40,7 +40,6 @@
padding: .5em 1em;
background: none;
overflow: auto;
- zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane {
text-align: left;
diff --git a/themes/base/jquery.ui.menu.css b/themes/base/jquery.ui.menu.css
index 9357158b7..67d5e6f82 100644
--- a/themes/base/jquery.ui.menu.css
+++ b/themes/base/jquery.ui.menu.css
@@ -22,7 +22,6 @@
.ui-menu .ui-menu-item {
margin: 0;
padding: 0;
- zoom: 1;
width: 100%;
}
.ui-menu .ui-menu-divider {
@@ -37,7 +36,7 @@
display: block;
padding: 2px .4em;
line-height: 1.5;
- zoom: 1;
+ min-height: 0; /* support: IE7 */
font-weight: normal;
}
.ui-menu .ui-menu-item a.ui-state-focus,
diff --git a/themes/base/jquery.ui.tabs.css b/themes/base/jquery.ui.tabs.css
index f4d82f038..ec8a05399 100644
--- a/themes/base/jquery.ui.tabs.css
+++ b/themes/base/jquery.ui.tabs.css
@@ -11,7 +11,6 @@
.ui-tabs {
position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
padding: .2em;
- zoom: 1;
}
.ui-tabs .ui-tabs-nav {
margin: 0;
diff --git a/themes/base/jquery.ui.theme.css b/themes/base/jquery.ui.theme.css
index 6388885c2..47aedb0d3 100644
--- a/themes/base/jquery.ui.theme.css
+++ b/themes/base/jquery.ui.theme.css
@@ -41,9 +41,10 @@
background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
color: #222222/*{fcHeader}*/;
font-weight: bold;
- zoom: 1;
}
-.ui-widget-header a { color: #222222/*{fcHeader}*/; }
+.ui-widget-header a {
+ color: #222222/*{fcHeader}*/;
+}
/* Interaction states
----------------------------------*/