From 86c772edf37a22b0ed4c9f81ff3d0606821c27e1 Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Wed, 15 Oct 2008 13:01:37 +0000 Subject: [PATCH] Still moving Sampler theme. svn changeset:5640/svn branch:trunk --- WebContent/ITMILL/themes/example/styles.css | 51 ------------------ .../ITMILL/themes/sampler/dummy/styles.css | 4 ++ .../layouts}/featureview.html | 0 .../ITMILL/themes/sampler/sampler/styles.css | 51 ++++++++++++++++++ WebContent/ITMILL/themes/sampler/styles.css | 53 +------------------ 5 files changed, 57 insertions(+), 102 deletions(-) create mode 100644 WebContent/ITMILL/themes/sampler/dummy/styles.css rename WebContent/ITMILL/themes/{example/layouts/sampler => sampler/layouts}/featureview.html (100%) create mode 100644 WebContent/ITMILL/themes/sampler/sampler/styles.css diff --git a/WebContent/ITMILL/themes/example/styles.css b/WebContent/ITMILL/themes/example/styles.css index 15bd621044..426cfade50 100644 --- a/WebContent/ITMILL/themes/example/styles.css +++ b/WebContent/ITMILL/themes/example/styles.css @@ -43,54 +43,3 @@ text-align: right; } -/****************************************************************************** - * For Sampler - ******************************************************************************/ -#sampler { - background-color: white; -} -#sampler .i-expandlayout-topbar { - border-bottom: 1px solid #999; -} -#sampler .feature-main { - padding: 20px; -} -#sampler .feature-controls { - margin-bottom: 20px; -} -#sampler .feature-info { - background-color: #999; - color: white; - padding: 20px; - line-height: 30px; -} -#sampler .feature-name { - font-size: 18px; - font-weight: bold; -} -.i-customcomponent-ModeSwitch .i-button { - height: 28px; - border: none; - border-right: 1px solid #736a60; - margin: 0px; -} -.i-customcomponent-ModeSwitch .i-button-first-on { - background: transparent url(sampler/left-on.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-first { - background: transparent url(sampler/left.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-mid-on { - background: transparent url(sampler/mid-on.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-mid { - background: transparent url(sampler/mid.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-last-on { - border: none; - background: transparent url(sampler/right-on.gif) no-repeat right top; -} -.i-customcomponent-ModeSwitch .i-button-last { - border: none; - background: transparent url(sampler/right.gif) no-repeat right top; -} diff --git a/WebContent/ITMILL/themes/sampler/dummy/styles.css b/WebContent/ITMILL/themes/sampler/dummy/styles.css new file mode 100644 index 0000000000..ac15844c18 --- /dev/null +++ b/WebContent/ITMILL/themes/sampler/dummy/styles.css @@ -0,0 +1,4 @@ +/* Dummy styles for the DummyExample */ +.i-panel-DummyFeatureExample .i-label { + border: 1px dotted red; +} \ No newline at end of file diff --git a/WebContent/ITMILL/themes/example/layouts/sampler/featureview.html b/WebContent/ITMILL/themes/sampler/layouts/featureview.html similarity index 100% rename from WebContent/ITMILL/themes/example/layouts/sampler/featureview.html rename to WebContent/ITMILL/themes/sampler/layouts/featureview.html diff --git a/WebContent/ITMILL/themes/sampler/sampler/styles.css b/WebContent/ITMILL/themes/sampler/sampler/styles.css new file mode 100644 index 0000000000..56077af8cd --- /dev/null +++ b/WebContent/ITMILL/themes/sampler/sampler/styles.css @@ -0,0 +1,51 @@ +/****************************************************************************** + * Sampler styles + ******************************************************************************/ +#sampler { + background-color: white; +} +#sampler .i-expandlayout-topbar { + border-bottom: 1px solid #999; +} +#sampler .feature-main { + padding: 20px; +} +#sampler .feature-controls { + margin-bottom: 20px; +} +#sampler .feature-info { + background-color: #999; + color: white; + padding: 20px; + line-height: 30px; +} +#sampler .feature-name { + font-size: 18px; + font-weight: bold; +} +.i-customcomponent-ModeSwitch .i-button { + height: 28px; + border: none; + border-right: 1px solid #736a60; + margin: 0px; +} +.i-customcomponent-ModeSwitch .i-button-first-on { + background: transparent url(left-on.gif) no-repeat; +} +.i-customcomponent-ModeSwitch .i-button-first { + background: transparent url(left.gif) no-repeat; +} +.i-customcomponent-ModeSwitch .i-button-mid-on { + background: transparent url(mid-on.gif) no-repeat; +} +.i-customcomponent-ModeSwitch .i-button-mid { + background: transparent url(mid.gif) no-repeat; +} +.i-customcomponent-ModeSwitch .i-button-last-on { + border: none; + background: transparent url(right-on.gif) no-repeat right top; +} +.i-customcomponent-ModeSwitch .i-button-last { + border: none; + background: transparent url(right.gif) no-repeat right top; +} diff --git a/WebContent/ITMILL/themes/sampler/styles.css b/WebContent/ITMILL/themes/sampler/styles.css index 0a20a0771f..cd0aed8820 100644 --- a/WebContent/ITMILL/themes/sampler/styles.css +++ b/WebContent/ITMILL/themes/sampler/styles.css @@ -1,55 +1,6 @@ @import url(../default/styles.css); +@import url(sampler/styles.css); + @import url(dummy/styles.css); -/****************************************************************************** - * For Sampler - ******************************************************************************/ -#sampler { - background-color: white; -} -#sampler .i-expandlayout-topbar { - border-bottom: 1px solid #999; -} -#sampler .feature-main { - padding: 20px; -} -#sampler .feature-controls { - margin-bottom: 20px; -} -#sampler .feature-info { - background-color: #999; - color: white; - padding: 20px; - line-height: 30px; -} -#sampler .feature-name { - font-size: 18px; - font-weight: bold; -} -.i-customcomponent-ModeSwitch .i-button { - height: 28px; - border: none; - border-right: 1px solid #736a60; - margin: 0px; -} -.i-customcomponent-ModeSwitch .i-button-first-on { - background: transparent url(sampler/left-on.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-first { - background: transparent url(sampler/left.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-mid-on { - background: transparent url(sampler/mid-on.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-mid { - background: transparent url(sampler/mid.gif) no-repeat; -} -.i-customcomponent-ModeSwitch .i-button-last-on { - border: none; - background: transparent url(sampler/right-on.gif) no-repeat right top; -} -.i-customcomponent-ModeSwitch .i-button-last { - border: none; - background: transparent url(sampler/right.gif) no-repeat right top; -} -- 2.39.5