diff options
author | Marc Englund <marc.englund@itmill.com> | 2008-11-10 10:50:35 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2008-11-10 10:50:35 +0000 |
commit | a5678498b35e7237503feb540aa554a64dea3f88 (patch) | |
tree | fffcbec2d66b1df93211552cc2ec6995414824ab /WebContent/ITMILL/themes/sampler | |
parent | 238dfff1da5b80676bafbe54e0532c2f76a7f089 (diff) | |
download | vaadin-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.png | bin | 0 -> 2036 bytes | |||
-rw-r--r-- | WebContent/ITMILL/themes/sampler/prominentprimaryaction/styles.css | 23 |
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 Binary files differnew file mode 100644 index 0000000000..cef6bec5cd --- /dev/null +++ b/WebContent/ITMILL/themes/sampler/prominentprimaryaction/prominentbg.png 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 |