summaryrefslogtreecommitdiffstats
path: root/WebContent/ITMILL/themes/sampler
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2008-11-10 10:50:35 +0000
committerMarc Englund <marc.englund@itmill.com>2008-11-10 10:50:35 +0000
commita5678498b35e7237503feb540aa554a64dea3f88 (patch)
treefffcbec2d66b1df93211552cc2ec6995414824ab /WebContent/ITMILL/themes/sampler
parent238dfff1da5b80676bafbe54e0532c2f76a7f089 (diff)
downloadvaadin-framework-a5678498b35e7237503feb540aa554a64dea3f88.tar.gz
vaadin-framework-a5678498b35e7237503feb540aa554a64dea3f88.zip
Sampler: ProminentPrimaryAction css
svn changeset:5837/svn branch:trunk
Diffstat (limited to 'WebContent/ITMILL/themes/sampler')
-rw-r--r--WebContent/ITMILL/themes/sampler/prominentprimaryaction/prominentbg.pngbin0 -> 2036 bytes
-rw-r--r--WebContent/ITMILL/themes/sampler/prominentprimaryaction/styles.css23
2 files changed, 23 insertions, 0 deletions
diff --git a/WebContent/ITMILL/themes/sampler/prominentprimaryaction/prominentbg.png b/WebContent/ITMILL/themes/sampler/prominentprimaryaction/prominentbg.png
new file mode 100644
index 0000000000..cef6bec5cd
--- /dev/null
+++ b/WebContent/ITMILL/themes/sampler/prominentprimaryaction/prominentbg.png
Binary files differ
diff --git a/WebContent/ITMILL/themes/sampler/prominentprimaryaction/styles.css b/WebContent/ITMILL/themes/sampler/prominentprimaryaction/styles.css
new file mode 100644
index 0000000000..7c71594cc4
--- /dev/null
+++ b/WebContent/ITMILL/themes/sampler/prominentprimaryaction/styles.css
@@ -0,0 +1,23 @@
+.i-button-primary {
+ /* PNG with alpha as background */
+ background: #66aa00 url(prominentbg.png) bottom right;
+ /* make PNG work in IE */
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/ITMILL/themes/sampler/prominentprimaryaction/prominentbg.png", sizingMethod="scale");
+ border: 2px solid #66aa00;
+ /* make some extra room */
+ padding: 10px;
+ /* round corners for browsers that support it */
+ -moz-border-radius: 9px;
+ -webkit-border-radius: 9px;
+ border-radius: 9px;
+}
+.i-button-primary:hover {
+ /* changing color works due to PNG with alpha */
+ background-color: #ff9000;
+ border-color: #ff9000;
+}
+.i-button-primary span {
+ /* big white caption */
+ color: #fff;
+ font-size: 26px;
+} \ No newline at end of file