Remove obsolete code for non-supported browsers
As we continue to live with software like 2010 wikitext editor for a chunk of our users in foreseeable future, let's at least remove some obsolete code sent down the wire. Note that I haven't touched this code as part of If51f20137a00, but when thinking about this again while doing a final code search it seems appropriate to remove this the highly customized code here in contrast to normal 'library' styles. Bug: T258766 Change-Id: Id4993dcb5b5be6a399800d9c07e26ebe145a8372
This commit is contained in:
parent
6a0607afdf
commit
f68dab62a6
|
@ -14,6 +14,3 @@
|
|||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
|
|
|
@ -164,11 +164,7 @@ body .ui-button {
|
|||
margin: 0.5em 0 0.5em 0.4em;
|
||||
border: 1px solid #aaa !important;
|
||||
background: #f0f0f0 !important;
|
||||
background: -moz-linear-gradient(top, #fff 0%, #ddd 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #fff 0%, #ddd 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #fff 0%, #ddd 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #fff 0%, #ddd 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd', GradientType=0); /* IE6-8 */
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
line-height: 1.4em;
|
||||
|
@ -189,11 +185,7 @@ body .ui-button:hover {
|
|||
color: #2779aa;
|
||||
border-color: #bbb !important;
|
||||
background: #fff !important;
|
||||
background: -moz-linear-gradient(top, #fff 0%, #eee 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #fff 0%, #eee 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #fff 0%, #eee 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #fff 0%, #eee 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.1);
|
||||
}
|
||||
body .ui-button:active,
|
||||
|
@ -203,11 +195,7 @@ body .ui-button:focus {
|
|||
}
|
||||
body .ui-button:active {
|
||||
background: #e0e0e0 !important;
|
||||
background: -moz-linear-gradient(top, #f0f0f0 0%, #d0d0d0 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #f0f0f0 0%, #d0d0d0 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #f0f0f0 0%, #d0d0d0 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #f0f0f0 0%, #d0d0d0 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#d0d0d0', GradientType=0); /* IE6-8 */
|
||||
}
|
||||
|
||||
/* Customizations for MediaWiki Vector */
|
||||
|
@ -221,20 +209,12 @@ body .ui-button-green .ui-button-text {
|
|||
body .ui-button.ui-button-green {
|
||||
border-color: #294 !important;
|
||||
background: #295 !important;
|
||||
background: -moz-linear-gradient(top, #3c8 0%, #295 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #3c8 0%, #295 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #3c8 0%, #295 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #3c8 0%, #295 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33cc88', endColorstr='#229955', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.3);
|
||||
}
|
||||
body .ui-button.ui-button-green:hover {
|
||||
background: #33a055 !important;
|
||||
background: -moz-linear-gradient(top, #44d388 0%, #33a055 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #44d388 0%, #33a055 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #44d388 0%, #33a055 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #44d388 0%, #33a055 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#44d388', endColorstr='#33a055', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.25);
|
||||
}
|
||||
body .ui-button.ui-button-green:active,
|
||||
|
@ -244,11 +224,7 @@ body .ui-button.ui-button-green:focus {
|
|||
}
|
||||
body .ui-button.ui-button-green:active {
|
||||
background: #338855 !important;
|
||||
background: -moz-linear-gradient(top, #30c080 0%, #338855 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #30c080 0%, #338855 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #30c080 0%, #338855 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #30c080 0%, #338855 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#30c080', endColorstr='#338855', GradientType=0); /* IE6-8 */
|
||||
}
|
||||
|
||||
/* Blue buttons */
|
||||
|
@ -260,20 +236,12 @@ body .ui-button-blue .ui-button-text {
|
|||
body .ui-button.ui-button-blue {
|
||||
border-color: #468 !important;
|
||||
background: #36b !important;
|
||||
background: -moz-linear-gradient(top, #48e 0%, #36b 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #48e 0%, #36b 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #48e 0%, #36b 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #48e 0%, #36b 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4488ee', endColorstr='#3366bb', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.35);
|
||||
}
|
||||
body .ui-button.ui-button-blue:hover {
|
||||
background: #36c !important;
|
||||
background: -moz-linear-gradient(top, #59e 0%, #36c 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #59e 0%, #36c 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #59e 0%, #36c 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #59e 0%, #36c 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5599ee', endColorstr='#3366cc', GradientType=0); /* IE6-8 */
|
||||
}
|
||||
body .ui-button.ui-button-blue:active,
|
||||
body .ui-button.ui-button-blue:focus {
|
||||
|
@ -282,11 +250,7 @@ body .ui-button.ui-button-blue:focus {
|
|||
}
|
||||
body .ui-button.ui-button-blue:active {
|
||||
background: #3060a0 !important;
|
||||
background: -moz-linear-gradient(top, #4080e0 0%, #3060a0 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #4080e0 0%, #3060a0 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #4080e0 0%, #3060a0 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #4080e0 0%, #3060a0 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4080e0', endColorstr='#3060a0', GradientType=0); /* IE6-8 */
|
||||
}
|
||||
|
||||
/* Red buttons */
|
||||
|
@ -298,21 +262,13 @@ body .ui-button-red .ui-button-text {
|
|||
body .ui-button.ui-button-red {
|
||||
border-color: #944 !important;
|
||||
background: #a22 !important;
|
||||
background: -moz-linear-gradient(top, #d44 0%, #a22 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #d44 0%, #a22 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #d44 0%, #a22 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #d44 0%, #a22 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dd4444', endColorstr='#aa2222', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.35);
|
||||
}
|
||||
body .ui-button.ui-button-red:hover {
|
||||
border-color: #a44 !important;
|
||||
background: #b03333 !important;
|
||||
background: -moz-linear-gradient(top, #ee4646 0%, #b03333 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #ee4646 0%, #b03333 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ee4646 0%, #b03333 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #ee4646 0%, #b03333 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee4646', endColorstr='#b03333', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,.3);
|
||||
}
|
||||
body .ui-button.ui-button-red:active,
|
||||
|
@ -322,11 +278,7 @@ body .ui-button.ui-button-red:focus {
|
|||
}
|
||||
body .ui-button.ui-button-red:active {
|
||||
background: #952020 !important;
|
||||
background: -moz-linear-gradient(top, #d04545 0%, #952020 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #d04545 0%, #952020 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #d04545 0%, #952020 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #d04545 0%, #952020 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d04545', endColorstr='#952020', GradientType=0); /* IE6-8 */
|
||||
}
|
||||
|
||||
/* Disabled buttons */
|
||||
|
@ -347,11 +299,7 @@ body .ui-button.disabled:hover {
|
|||
color: #aaa;
|
||||
border-color: #ccc !important;
|
||||
background: #eee !important;
|
||||
background: -moz-linear-gradient(top, #f6f6f6 0%, #eee 90%) !important; /* FF3.6+ */
|
||||
background: -webkit-linear-gradient(top, #f6f6f6 0%, #eee 90%) !important; /* Chrome10+, Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #f6f6f6 0%, #eee 90%) !important; /* Opera 11.10+ */
|
||||
background: linear-gradient(to bottom, #f6f6f6 0%, #eee 90%) !important;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#eeeeee', GradientType=0); /* IE6-8 */
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0);
|
||||
}
|
||||
body .ui-button-green.disabled .ui-button-text,
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||
.ui-state-disabled .ui-icon { filter:Alpha(Opacity=35); } /* For IE8 - See #6059 */
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
|
|
@ -11,11 +11,7 @@
|
|||
position: absolute;
|
||||
z-index: 9999;
|
||||
max-width: 300px;
|
||||
-webkit-box-shadow: 0 0 5px #aaa;
|
||||
box-shadow: 0 0 5px #aaa;
|
||||
}
|
||||
/* Fades and background-images don't work well together in IE6, drop the image */
|
||||
* html .ui-tooltip {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
body .ui-tooltip { border-width: 2px; }
|
||||
|
|
Loading…
Reference in New Issue