summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/button
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2009-08-27 13:39:02 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2009-08-27 13:39:02 +0000
commit9354bec8f2a381cb73912c00bea594ba229beefb (patch)
tree390658dbc360215313f457342f9e7ed306504f60 /WebContent/VAADIN/themes/runo/button
parentb30a639b58c6ae63365691c298da46b47586db7e (diff)
downloadvaadin-framework-9354bec8f2a381cb73912c00bea594ba229beefb.tar.gz
vaadin-framework-9354bec8f2a381cb73912c00bea594ba229beefb.zip
Fixes #3232: Implement new default look for Runo theme button
svn changeset:8562/svn branch:6.1
Diffstat (limited to 'WebContent/VAADIN/themes/runo/button')
-rw-r--r--WebContent/VAADIN/themes/runo/button/button.css68
-rw-r--r--WebContent/VAADIN/themes/runo/button/img/bg.pngbin0 -> 227 bytes
2 files changed, 57 insertions, 11 deletions
diff --git a/WebContent/VAADIN/themes/runo/button/button.css b/WebContent/VAADIN/themes/runo/button/button.css
index 4b4cc14759..667c230f17 100644
--- a/WebContent/VAADIN/themes/runo/button/button.css
+++ b/WebContent/VAADIN/themes/runo/button/button.css
@@ -1,21 +1,67 @@
-.v-button {
+.v-button:focus {
+ border-color: #4897dc;
+ outline: none;
+ }
+
+.v-button:active,
+.v-button.v-pressed {
+ background-position: left bottom;
+ border-color: #babfc0;
+ border-top-color: #a5abac;
+ }
+
+.v-button,
+.v-disabled.v-button {
font-size: 13px;
-}
+ border: 1px solid #babfc0;
+ border-bottom-color: #a5abac;
+ background: #fff url(img/bg.png);
+ padding: 3px 15px;
+ -webkit-border-radius: 10px;
+ -moz-border-radius: 10px;
+ border-radius: 10px;
+ font-size: 12px;
+ line-height: 16px;
+ min-height: 16px;
+ }
+
+
+/* Small style */
+
+.v-button-small {
+ font-size: 11px;
+ line-height: 14px;
+ padding: 1px 15px;
+ min-height: 14px;
+ }
+
+
+/* Link style */
+.v-button-link {
+ border: none;
+ background: transparent;
+ padding: 0;
+ font-size: 13px;
+ }
+
+.v-button-link:focus {
+ outline: 1px dotted #4897dc;
+ }
+
+
+
+
+/* Checkbox styles */
.v-checkbox .v-errorindicator {
padding-left: 10px;
-}
-.v-ie6 .v-button,
-.v-ie7 .v-button {
- padding-left: 10px;
- padding-right: 10px;
-}
+ }
.v-ie6 .v-checkbox .v-errorindicator {
padding-right: 4px;
-}
+ }
.v-ie7 .v-checkbox .v-errorindicator {
padding-right: 7px;
-}
+ }
.v-ie6 .v-button .v-errorindicator,
.v-ie7 .v-button .v-errorindicator {
padding-right: 5px;
-} \ No newline at end of file
+ } \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/runo/button/img/bg.png b/WebContent/VAADIN/themes/runo/button/img/bg.png
new file mode 100644
index 0000000000..1d3843a760
--- /dev/null
+++ b/WebContent/VAADIN/themes/runo/button/img/bg.png
Binary files differ