From 68d142e79287e9b5e9f980f37b546070a38fc478 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 26 Mar 2008 20:55:14 +0000 Subject: * CBI update * Added some configuration pages * Introduced contact site * Introduced luci UCI config file --- contrib/media/cascade.css | 48 +++++++++++++++++++++++++------------- contrib/media/css/public_index.css | 3 +++ 2 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 contrib/media/css/public_index.css (limited to 'contrib/media') diff --git a/contrib/media/cascade.css b/contrib/media/cascade.css index 8b192ba7c8..b0131dc581 100644 --- a/contrib/media/cascade.css +++ b/contrib/media/cascade.css @@ -9,6 +9,7 @@ h1 { margin: 0%; font-size: 1.4em; font-weight: bold; + margin-bottom: 0.5em; } h2 { @@ -17,6 +18,10 @@ h2 { font-weight: bold; } +h3 { + margin: 0%; +} + #header { padding: 0.2em; height: 4.5em; @@ -156,6 +161,19 @@ h2 { display: none; } +.inline { + display: inline; +} + +code { + display: block; + background: #f7f7f7; + border: 1px solid #d7d7d7; + margin: 1em 1.75em; + padding: 1em; + overflow: auto; + white-space: pre; +} .cbi-section { margin-top: 1em; @@ -166,34 +184,37 @@ h2 { } .cbi-value-title { - font-weight: bold; line-height: 1.75em; } .cbi-value-field { - text-align: right; - vertical-align: center; + margin-left: 10em; + text-align: center; line-height: 1.75em; } +.cbi-value-field input, .cbi-value-field select, .cbi-optionals select, .cbi-optionals input { + font-size: 0.8em; +} + .cbi-value-description { - clear: both; font-style: italic; font-size: 0.8em; } -.cbi-value { - margin-bottom: 1em; -} - .cbi-form-separator { margin-top: 1em; } .cbi-section-node { - margin-top: 1em; - border: none; - background-color: #eeeeee; + display: block; + background: #f7f7f7; + border: 1px solid #d7d7d7; + overflow: auto; +} + +.cbi-section-node h3 { + margin-bottom: 0.5em; } .cbi-error { @@ -205,11 +226,6 @@ h2 { margin-top: 2em; } -.cbi-optionals select { - height: 1.5em; - width: 20em; -} - .cbi-optionals option { font-size: 0.8em; } \ No newline at end of file diff --git a/contrib/media/css/public_index.css b/contrib/media/css/public_index.css new file mode 100644 index 0000000000..a415537a64 --- /dev/null +++ b/contrib/media/css/public_index.css @@ -0,0 +1,3 @@ +.contact th { + text-align: left; +} \ No newline at end of file -- cgit v1.2.3