- Patch #1269586 by Everett Zufelt, ericduran: Use .js instead of html.js in CSS.

8.0.x
Dries 2012-01-24 21:00:59 -05:00
parent 47ca221a13
commit 39b65b363e
14 changed files with 30 additions and 30 deletions

View File

@ -43,6 +43,6 @@
float: right; float: right;
right: -10px; right: -10px;
} }
html.js #preview { .js #preview {
float: right; float: right;
} }

View File

@ -78,7 +78,7 @@
#preview { #preview {
display: none; display: none;
} }
html.js #preview { .js #preview {
display: block; display: block;
position: relative; position: relative;
float: left; /* LTR */ float: left; /* LTR */

View File

@ -25,7 +25,7 @@ div.contextual-links-wrapper {
top: 2px; top: 2px;
z-index: 999; z-index: 999;
} }
html.js div.contextual-links-wrapper { .js div.contextual-links-wrapper {
display: block; display: block;
} }
a.contextual-links-trigger { a.contextual-links-trigger {

View File

@ -7,8 +7,8 @@
#user-login .openid-links { #user-login .openid-links {
padding-right: 0; padding-right: 0;
} }
html.js #user-login-form li.openid-link, .js #user-login-form li.openid-link,
html.js #user-login li.openid-link { .js #user-login li.openid-link {
margin-right: 0; margin-right: 0;
} }
#user-login-form li.openid-link a, #user-login-form li.openid-link a,

View File

@ -8,8 +8,8 @@
div.form-item-openid-identifier { div.form-item-openid-identifier {
display: block; display: block;
} }
html.js #user-login-form div.form-item-openid-identifier, .js #user-login-form div.form-item-openid-identifier,
html.js #user-login div.form-item-openid-identifier { .js #user-login div.form-item-openid-identifier {
display: none; display: none;
} }
#user-login-form ul { #user-login-form ul {
@ -32,8 +32,8 @@ html.js #user-login div.form-item-openid-identifier {
display: none; display: none;
list-style: none; list-style: none;
} }
html.js #user-login-form li.openid-link, .js #user-login-form li.openid-link,
html.js #user-login li.openid-link { .js #user-login li.openid-link {
display: block; display: block;
margin-left: 0; /* LTR */ margin-left: 0; /* LTR */
} }

View File

@ -1,9 +1,9 @@
html.js { .js {
background: transparent !important; background: transparent !important;
overflow-y: scroll; overflow-y: scroll;
} }
html.js body { .js body {
background: transparent !important; background: transparent !important;
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;

View File

@ -8,10 +8,10 @@
* Autocomplete. * Autocomplete.
*/ */
/* Animated throbber */ /* Animated throbber */
html.js input.form-autocomplete { .js input.form-autocomplete {
background-position: 0% 2px; background-position: 0% 2px;
} }
html.js input.throbbing { .js input.throbbing {
background-position: 0% -18px; background-position: 0% -18px;
} }

View File

@ -29,12 +29,12 @@
white-space: pre; white-space: pre;
} }
/* Animated throbber */ /* Animated throbber */
html.js input.form-autocomplete { .js input.form-autocomplete {
background-image: url(../../misc/throbber.gif); background-image: url(../../misc/throbber.gif);
background-position: 100% 2px; /* LTR */ background-position: 100% 2px; /* LTR */
background-repeat: no-repeat; background-repeat: no-repeat;
} }
html.js input.throbbing { .js input.throbbing {
background-position: 100% -18px; /* LTR */ background-position: 100% -18px; /* LTR */
} }
@ -43,13 +43,13 @@ html.js input.throbbing {
* *
* @see collapse.js * @see collapse.js
*/ */
html.js fieldset.collapsed { .js fieldset.collapsed {
border-bottom-width: 0; border-bottom-width: 0;
border-left-width: 0; border-left-width: 0;
border-right-width: 0; border-right-width: 0;
height: 1em; height: 1em;
} }
html.js fieldset.collapsed .fieldset-wrapper { .js fieldset.collapsed .fieldset-wrapper {
display: none; display: none;
} }
fieldset.collapsible { fieldset.collapsible {
@ -201,7 +201,7 @@ tr .ajax-progress-throbber .throbber {
* For anything you want to hide on page load when JS is enabled, so * For anything you want to hide on page load when JS is enabled, so
* that you can use the JS to control visibility and avoid flicker. * that you can use the JS to control visibility and avoid flicker.
*/ */
html.js .js-hide { .js .js-hide {
display: none; display: none;
} }

View File

@ -41,12 +41,12 @@ th {
/** /**
* Collapsible fieldsets. * Collapsible fieldsets.
*/ */
html.js fieldset.collapsible > legend .fieldset-legend { .js fieldset.collapsible > legend .fieldset-legend {
background-position: 98% 75%; background-position: 98% 75%;
padding-left: 0; padding-left: 0;
padding-right: 15px; padding-right: 15px;
} }
html.js fieldset.collapsed > legend .fieldset-legend { .js fieldset.collapsed > legend .fieldset-legend {
background-image: url(../../misc/menu-collapsed-rtl.png); background-image: url(../../misc/menu-collapsed-rtl.png);
background-position: 98% 50%; background-position: 98% 50%;
} }

View File

@ -173,11 +173,11 @@ abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
* *
* @see collapse.js * @see collapse.js
*/ */
html.js fieldset.collapsible > legend .fieldset-legend { .js fieldset.collapsible > legend .fieldset-legend {
background: url(../../misc/menu-expanded.png) 5px 65% no-repeat; /* LTR */ background: url(../../misc/menu-expanded.png) 5px 65% no-repeat; /* LTR */
padding-left: 15px; /* LTR */ padding-left: 15px; /* LTR */
} }
html.js fieldset.collapsed > legend .fieldset-legend { .js fieldset.collapsed > legend .fieldset-legend {
background-image: url(../../misc/menu-collapsed.png); /* LTR */ background-image: url(../../misc/menu-collapsed.png); /* LTR */
background-position: 5px 50%; /* LTR */ background-position: 5px 50%; /* LTR */
} }

View File

@ -9,7 +9,7 @@
/* ---------- Preview Styles ----------- */ /* ---------- Preview Styles ----------- */
html.js #preview { .js #preview {
clear: both; clear: both;
float: none !important; float: none !important;
} }

View File

@ -220,10 +220,10 @@ ul.action-links li a {
} }
/* Animated throbber */ /* Animated throbber */
html.js input.form-autocomplete { .js input.form-autocomplete {
background-position: 1% 4px; background-position: 1% 4px;
} }
html.js input.throbbing { .js input.throbbing {
background-position: 1% -16px; background-position: 1% -16px;
} }

View File

@ -1306,10 +1306,10 @@ input.form-button-disabled:active,
} }
/* Animated throbber */ /* Animated throbber */
html.js input.form-autocomplete { .js input.form-autocomplete {
background-position: 100% 4px; /* LTR */ background-position: 100% 4px; /* LTR */
} }
html.js input.throbbing { .js input.throbbing {
background-position: 100% -16px; /* LTR */ background-position: 100% -16px; /* LTR */
} }

View File

@ -565,7 +565,7 @@ fieldset .fieldset-wrapper {
fieldset.collapsed { fieldset.collapsed {
background-color: transparent; background-color: transparent;
} }
html.js fieldset.collapsed { .js fieldset.collapsed {
border-width: 1px; border-width: 1px;
height: auto; height: auto;
} }
@ -722,10 +722,10 @@ select.form-select:focus {
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(220, 220, 220, 0.4); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(220, 220, 220, 0.4);
outline-color: rgba(0, 116, 189, 0.5); outline-color: rgba(0, 116, 189, 0.5);
} }
html.js input.form-autocomplete { .js input.form-autocomplete {
background-position: 100% 4px; background-position: 100% 4px;
} }
html.js input.throbbing { .js input.throbbing {
background-position: 100% -16px; background-position: 100% -16px;
} }
ul.action-links { ul.action-links {