Commit b4b31c10 authored by Dries's avatar Dries

- Patch #745380 by sun: CSS contains too many needless differences between JS and no-JS versions.

parent 6fc055ab
......@@ -43,14 +43,18 @@ html.js fieldset.collapsed {
border-bottom-width: 0;
border-left-width: 0;
border-right-width: 0;
margin-bottom: 0;
height: 1em;
}
html.js fieldset.collapsed .fieldset-wrapper {
display: none;
}
html.js fieldset.collapsible .fieldset-legend {
fieldset.collapsible {
position: relative;
}
fieldset.collapsible .fieldset-legend {
display: block;
}
html.js fieldset.collapsible .fieldset-legend {
padding-left: 15px; /* LTR */
background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */
}
......@@ -58,23 +62,11 @@ html.js fieldset.collapsed .fieldset-legend {
background-image: url(../../misc/menu-collapsed.png); /* LTR */
background-position: 5px 50%; /* LTR */
}
html.js fieldset.collapsible legend span.summary {
.fieldset-legend span.summary {
font-size: 0.9em;
color: #999;
margin-left: 0.5em;
}
/* IE6: Fix due to '* html' (breaks Konqueror otherwise). */
* html.js fieldset.collapsed table * {
display: inline;
}
/* Safari 2: Tables in collapsible fieldsets disappear due to tableheader.js. */
html.js fieldset.collapsible {
position: relative;
}
/* Avoid jumping around due to margins collapsing into collapsible fieldset border */
html.js fieldset.collapsible .fieldset-wrapper {
overflow: auto;
}
/**
* Resizable textareas
......
......@@ -36,7 +36,6 @@ fieldset {
/* Prevent fieldsets from shifting when changing collapsed state. */
html.js fieldset.collapsible {
position: relative;
top: -1em;
}
......
......@@ -37,7 +37,6 @@ ul.primary {
/* Prevent fieldsets from shifting when changing collapsed state. */
html.js fieldset.collapsible {
position: relative;
top: -1em;
}
html.js fieldset.collapsed {
......
......@@ -910,7 +910,7 @@ html.js fieldset.collapsed .fieldset-legend {
background: url(images/menu-collapsed.gif) no-repeat 0% 50%; /* LTR */
}
html.js fieldset.collapsible legend span.summary {
.fieldset-legend span.summary {
color: #898989;
}
......
......@@ -558,7 +558,6 @@ fieldset.collapsed {
html.js fieldset.collapsed {
border-width: 1px;
height: auto;
margin-bottom: 10px;
}
fieldset fieldset {
background-color: #fff;
......@@ -566,9 +565,6 @@ fieldset fieldset {
fieldset fieldset fieldset {
background-color: #f8f8f8;
}
html.js fieldset.collapsible .fieldset-wrapper {
overflow: visible;
}
/**
* Form elements.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment