summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-15 20:06:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-15 20:06:50 +0000
commit424f461e584ccc8ef5be9cd0e92c6b5023131e8f (patch)
treef7edac1a96c5dac93d72c00332d14627f07112a4 /themes/openwrt.org/htdocs
parente69dcf68a2da0c2dc74ce6932b195144330a6c1b (diff)
* luci/themes/openwrt.org: fourth round of layout fixes, affects IE6 and IE7
Diffstat (limited to 'themes/openwrt.org/htdocs')
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css83
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/ie6.css71
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/ie7.css13
3 files changed, 90 insertions, 77 deletions
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
index 4f2491b5d..7457977c0 100644
--- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
@@ -136,32 +136,15 @@ ul.dropdowns li ul {
min-width: 10em;
}
-* html ul.dropdowns li ul {
- width: 10em;
-}
-
ul.dropdowns li li {
float: none;
position: relative;
}
-* html ul.dropdowns li li {
- clear: both;
- float: left;
-}
-
-* html ul.dropdowns li li {
- width: 100%;
-}
-
ul.dropdowns li a {
display: block;
}
-* html ul.dropdowns li li a {
- height: 1%;
-}
-
ul.dropdowns ul li ul {
top: 0;
}
@@ -397,25 +380,16 @@ html #menubar a:visited.warning {
color: #555555;
}
-*+html .cbi-section legend {
- background-color: #ffffff;
- color: #555555;
-}
-
-* html .cbi-section legend {
- background-color: #ffffff;
- color: #555555;
-}
-
.cbi-section h2 {
margin: 0em 0 0.5em -0.5em !important;
}
.cbi-section h3 {
- height: 1.5em;
- font-size: 90%;
- background-color: #ffffff;
- color: #555555;
+ text-decoration: none !important;
+ font-weight: bold !important;
+ color: #555555 !important;
+ margin: 0.25em !important;
+ font-size: 100% !important;
}
.cbi-section-descr {
@@ -639,6 +613,7 @@ div.cbi-value:hover {
.cbi-value-title {
float: left;
width: 40%;
+ line-height: 1.8em;
}
div.cbi-value-field {
@@ -811,50 +786,4 @@ td.cbi-value-error {
color: black;
}
-
-/* obligatory IE6 Voodoo Code */
-
-* html body {
- padding-left: 50% !important;
-}
-
-* html div#header {
- margin-left: -100% !important;
-}
-
-* html div#menubar {
- margin-left: -100% !important;
- width: 200% !important;
-}
-
-* html div#maincontent {
- margin-left: -80% !important;
- width: 160% !important;
-}
-
-* html div.cbi-value-description {
- width: auto !important;
-}
-
-* html div.cbi-value-field {
- margin-left: 0 !important;
- width: 100% !important;
-}
-
-* html .cbi-input-text,
-* html .cbi-input-user,
-* html .cbi-input-select,
-* html .cbi-input-password {
- width: 50% !important;
-}
-
-* html table.cbi-section-table td .cbi-input-text,
-* html table.cbi-section-table td .cbi-input-select {
- width: 100% !important;
-}
-
-* html div.cbi-page-actions {
- text-align: right !important;
-}
-
}
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/ie6.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/ie6.css
new file mode 100644
index 000000000..d65da4a19
--- /dev/null
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/ie6.css
@@ -0,0 +1,71 @@
+/* obligatory IE6 Voodoo Code */
+
+* html body {
+ padding-left: 50% !important;
+}
+
+* html div#header {
+ margin-left: -100% !important;
+}
+
+* html div#menubar {
+ margin-left: -100% !important;
+ width: 200% !important;
+}
+
+* html ul.dropdowns li ul {
+ width: 10em;
+}
+
+* html ul.dropdowns li li {
+ clear: both;
+ float: left;
+}
+
+* html ul.dropdowns li li {
+ width: 100%;
+}
+
+* html ul.dropdowns li li a {
+ height: 1%;
+}
+
+* html div#maincontent {
+ margin-left: -80% !important;
+ width: 160% !important;
+}
+
+* html div.cbi-value-description {
+ width: auto !important;
+}
+
+* html div.cbi-value-field {
+ margin-left: 0 !important;
+ width: 100% !important;
+}
+
+* html .cbi-input-text,
+* html .cbi-input-user,
+* html .cbi-input-select,
+* html .cbi-input-password {
+ width: 50% !important;
+}
+
+* html .cbi-section legend {
+ background-color: #ffffff;
+ color: #555555;
+}
+
+* html table.cbi-section-table td .cbi-input-text,
+* html table.cbi-section-table td .cbi-input-select {
+ width: 100% !important;
+}
+
+* html div.cbi-page-actions {
+ text-align: right !important;
+}
+
+* html div.cbi-value-field input,
+* html div.cbi-value-field select {
+ font-size: 90% !important;
+}
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/ie7.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/ie7.css
new file mode 100644
index 000000000..c410f11ff
--- /dev/null
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/ie7.css
@@ -0,0 +1,13 @@
+div.cbi-value-field {
+ margin-left: 0 !important;
+}
+
+.cbi-section legend {
+ background-color: #ffffff;
+ color: #555555;
+}
+
+table.cbi-section-table td .cbi-input-text,
+table.cbi-section-table td .cbi-input-select {
+ width: 95% !important;
+}