aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/button
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/button')
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/button.css239
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/button-sprites-ie6.pngbin0 -> 2842 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/button-sprites.pngbin0 -> 9245 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/left-focus.pngbin0 -> 436 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/left-pressed.pngbin0 -> 354 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/left.pngbin0 -> 390 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/primary-left-focus.pngbin0 -> 541 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/primary-left-pressed.pngbin0 -> 385 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/primary-left.pngbin0 -> 465 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/primary-right-focus.pngbin0 -> 786 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/primary-right-pressed.pngbin0 -> 628 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/primary-right.pngbin0 -> 833 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/right-focus.pngbin0 -> 735 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/right-pressed.pngbin0 -> 648 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/right.pngbin0 -> 623 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/small-left-focus.pngbin0 -> 443 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/small-left-pressed.pngbin0 -> 302 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/small-left.pngbin0 -> 324 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/small-right-focus.pngbin0 -> 656 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/small-right-pressed.pngbin0 -> 483 bytes
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/img/small-right.pngbin0 -> 513 bytes
21 files changed, 239 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/button/button.css b/WebContent/VAADIN/themes/reindeer/button/button.css
new file mode 100644
index 0000000000..bd12e4622c
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/button.css
@@ -0,0 +1,239 @@
+/* We serve simpler buttons for IE6, since it doesn't support the adjacent
+ * sibling selector (+) that is needed to position .v-icon properly.
+ */
+div > .v-button,
+.v-ie7 .v-button {
+ height: 26px;
+ padding: 0 0 0 6px;
+ background-color: transparent;
+ background-repeat: no-repeat;
+ background-image: url(img/left.png); /** sprite-ref: buttons */
+ border: none;
+ cursor: default;
+}
+div > .v-button span,
+.v-ie7 .v-button span {
+ display: inline-block;
+ height: 22px;
+ padding: 4px 15px 0 9px;
+ background-color: transparent;
+ background-repeat: no-repeat;
+ background-position: right top;
+ background-image: url(img/right.png); /** sprite-ref: buttons; sprite-alignment: right */
+ text-shadow: #fff 0 1px 0;
+ font-weight: bold;
+ font-size: 11px;
+ line-height: 16px;
+ float: none;
+}
+.v-sa .v-button span {
+ height: 21px;
+ padding-top: 5px;
+}
+.v-button:focus {
+ background-image: url(img/left-focus.png); /** sprite-ref: buttons */
+ outline: none;
+}
+.v-button:focus span {
+ background-image: url(img/right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
+ outline: none;
+}
+.v-button:active,
+.v-ie7 .v-button.v-pressed {
+ background-image: url(img/left-pressed.png); /** sprite-ref: buttons */
+ outline: none;
+}
+.v-button:active span,
+.v-ie7 .v-button.v-pressed span {
+ background-image: url(img/right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
+ outline: none;
+}
+.v-ie7 .v-button.v-pressed span {
+ position: relative;
+}
+/* FF3 & FF2 */
+.v-button::-moz-focus-inner {
+ border: none;
+ padding: 0;
+}
+.v-ff2 .v-button span {
+ display: -moz-inline-box;
+ padding-top: 6px;
+ height: 20px;
+}
+/* IE7 */
+.v-ie7 .v-button.v-pressed .v-icon {
+ position: relative;
+ z-index: 2;
+}
+/* Opera */
+.v-op .v-button:active span {
+ margin-top: -1px;
+ margin-left: -1px;
+}
+/* Modifications for buttons with icons */
+div > .v-button .v-icon,
+.v-ie7 .v-button .v-icon {
+ display: inline-block;
+ width: 16px;
+ height: 16px;
+ overflow: hidden;
+ position: relative;
+ margin: 0 3px 0 0;
+}
+.v-ff2 .v-button .v-icon {
+ display: block;
+ float: left;
+ margin-top: 4px;
+}
+.v-ff2 .v-button-link .v-icon {
+ margin: 0;
+}
+.v-button .v-icon + span,
+.v-button .v-icon + .v-errorindicator + span {
+ margin-left: -19px;
+ padding-left: 19px;
+}
+.v-ie7 .v-button .v-icon + span,
+.v-ie7 .v-button .v-icon + .v-errorindicator + span {
+ margin-left: -23px;
+ padding-left: 23px;
+}
+/* Buttons with error indicator */
+div > .v-button .v-errorindicator,
+.v-ie7 .v-button .v-errorindicator {
+ display: inline;
+ position: absolute;
+ width: 5px;
+ height: 26px;
+ background: transparent url(../../default/icons/16/error.png) no-repeat 50%;
+ overflow: hidden;
+}
+.v-ie6 .v-button .v-errorindicator {
+ position: absolute;
+ width: 5px;
+ height: 18px;
+ background: transparent url(../../default/icons/16/error.gif) no-repeat 50%;
+ overflow: hidden;
+ margin-left: -10px;
+}
+/* Link style buttons */
+.v-button.v-button-link,
+.v-ie7 .v-button-link.v-pressed {
+ background: transparent;
+ height: auto;
+ padding: 0;
+ cursor: pointer;
+}
+.v-button.v-button-link span,
+.v-ie7 .v-button-link.v-pressed span {
+ background: transparent;
+ height: auto;
+ padding: 0;
+ display: inline;
+ font-weight: normal;
+ color: #1b699f;
+}
+.v-button.v-button-link .v-icon + span {
+ margin: 0;
+ padding: 0;
+}
+.v-button-link:focus {
+ outline: 1px dotted #1b699f;
+}
+/**
+ * Default action button style --------------------------
+ */
+div > .v-button-primary,
+.v-ie7 .v-button-primary {
+ background-image: url(img/primary-left.png); /** sprite-ref: buttons */
+}
+div > .v-button-primary span,
+.v-ie7 .v-button-primary span {
+ background-image: url(img/primary-right.png); /** sprite-ref: buttons; sprite-alignment: right */
+}
+.v-button-primary:focus {
+ background-image: url(img/primary-left-focus.png); /** sprite-ref: buttons */
+}
+.v-button-primary:focus span {
+ background-image: url(img/primary-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
+}
+.v-button-primary:active,
+.v-ie7 .v-button-primary.v-pressed {
+ background-image: url(img/primary-left-pressed.png); /** sprite-ref: buttons */
+}
+.v-button-primary:active span,
+.v-ie7 .v-button-primary.v-pressed span {
+ background-image: url(img/primary-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
+}
+/*
+ * Small-style --------------------------
+ */
+div > .v-button-small,
+.v-ie7 .v-button-small {
+ background-image: url(img/small-left.png); /** sprite-ref: buttons */
+ height: 20px;
+}
+div > .v-button-small span,
+.v-ie7 .v-button-small span {
+ background-image: url(img/small-right.png); /** sprite-ref: buttons; sprite-alignment: right */
+ height: 19px;
+ padding: 1px 11px 0 5px;
+ font-weight: normal;
+}
+.v-ff2 .v-button-small span {
+ height: 17px;
+ padding-top: 3px;
+}
+.v-sa .v-button-small span {
+ height: 18px;
+ padding-top: 2px;
+}
+.v-button-small:focus {
+ background-image: url(img/small-left-focus.png); /** sprite-ref: buttons */
+}
+.v-button-small:focus span {
+ background-image: url(img/small-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
+}
+.v-button-small:active,
+.v-ie7 .v-button-small.v-pressed {
+ background-image: url(img/small-left-pressed.png); /** sprite-ref: buttons */
+}
+.v-button-small:active span,
+.v-ie7 .v-button-small.v-pressed span {
+ background-image: url(img/small-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
+}
+
+/**
+ * IE6 buttons --------------------------
+ */
+.v-ie6 .v-button {
+ border: 1px solid #b3b3b3;
+ border-bottom-color: #9a9a9a;
+ background: #d8d8d8 url(img/right.png) no-repeat 0 -1px;
+ padding: 3px 15px 2px 15px;
+ font-weight: bold;
+ font-size: 11px;
+ line-height: 16px;
+ height: 16px;
+ outline: none;
+}
+.v-ie6 .v-button-primary {
+ background-image: url(img/primary-right.png);
+}
+.v-ie6 .v-button-small {
+ font-weight: normal;
+ padding: 1px 11px 0 11px;
+ height: 12px;
+ line-height: normal;
+ background-image: url(img/small-right.png);
+}
+.v-ie6 .v-button.v-pressed {
+ background: transparent url(img/right-pressed.png) no-repeat 0 -1px;
+}
+/* Buttons on blue background */
+.v-ie6 .blue .v-button {
+ border-color: #84949c;
+ border-top-color: #83939b;
+ border-bottom-color: #888d91;
+} \ No newline at end of file
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/button-sprites-ie6.png b/WebContent/VAADIN/themes/reindeer/button/img/button-sprites-ie6.png
new file mode 100644
index 0000000000..6ba8bc2864
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/button-sprites-ie6.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/button-sprites.png b/WebContent/VAADIN/themes/reindeer/button/img/button-sprites.png
new file mode 100644
index 0000000000..c14b6864ae
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/button-sprites.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/left-focus.png b/WebContent/VAADIN/themes/reindeer/button/img/left-focus.png
new file mode 100644
index 0000000000..636cf840c3
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/left-focus.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/left-pressed.png b/WebContent/VAADIN/themes/reindeer/button/img/left-pressed.png
new file mode 100644
index 0000000000..e70f56b84b
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/left-pressed.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/left.png b/WebContent/VAADIN/themes/reindeer/button/img/left.png
new file mode 100644
index 0000000000..c4209e8119
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/left.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/primary-left-focus.png b/WebContent/VAADIN/themes/reindeer/button/img/primary-left-focus.png
new file mode 100644
index 0000000000..7952ae5022
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/primary-left-focus.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/primary-left-pressed.png b/WebContent/VAADIN/themes/reindeer/button/img/primary-left-pressed.png
new file mode 100644
index 0000000000..7ff5296025
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/primary-left-pressed.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/primary-left.png b/WebContent/VAADIN/themes/reindeer/button/img/primary-left.png
new file mode 100644
index 0000000000..abb6bcc5af
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/primary-left.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/primary-right-focus.png b/WebContent/VAADIN/themes/reindeer/button/img/primary-right-focus.png
new file mode 100644
index 0000000000..5fef4143e6
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/primary-right-focus.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/primary-right-pressed.png b/WebContent/VAADIN/themes/reindeer/button/img/primary-right-pressed.png
new file mode 100644
index 0000000000..3c11bb3814
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/primary-right-pressed.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/primary-right.png b/WebContent/VAADIN/themes/reindeer/button/img/primary-right.png
new file mode 100644
index 0000000000..c304c9cfdf
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/primary-right.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/right-focus.png b/WebContent/VAADIN/themes/reindeer/button/img/right-focus.png
new file mode 100644
index 0000000000..dbb0677ac7
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/right-focus.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/right-pressed.png b/WebContent/VAADIN/themes/reindeer/button/img/right-pressed.png
new file mode 100644
index 0000000000..0a99111e60
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/right-pressed.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/right.png b/WebContent/VAADIN/themes/reindeer/button/img/right.png
new file mode 100644
index 0000000000..e70a7be739
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/right.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/small-left-focus.png b/WebContent/VAADIN/themes/reindeer/button/img/small-left-focus.png
new file mode 100644
index 0000000000..96408f225f
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/small-left-focus.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/small-left-pressed.png b/WebContent/VAADIN/themes/reindeer/button/img/small-left-pressed.png
new file mode 100644
index 0000000000..90f0d5cbef
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/small-left-pressed.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/small-left.png b/WebContent/VAADIN/themes/reindeer/button/img/small-left.png
new file mode 100644
index 0000000000..4efaa98ac2
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/small-left.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/small-right-focus.png b/WebContent/VAADIN/themes/reindeer/button/img/small-right-focus.png
new file mode 100644
index 0000000000..8a0c5cac33
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/small-right-focus.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/small-right-pressed.png b/WebContent/VAADIN/themes/reindeer/button/img/small-right-pressed.png
new file mode 100644
index 0000000000..18e6c6ace1
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/small-right-pressed.png
Binary files differ
diff --git a/WebContent/VAADIN/themes/reindeer/button/img/small-right.png b/WebContent/VAADIN/themes/reindeer/button/img/small-right.png
new file mode 100644
index 0000000000..a9abdc5cf1
--- /dev/null
+++ b/WebContent/VAADIN/themes/reindeer/button/img/small-right.png
Binary files differ