diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-01-16 15:11:09 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-01-16 16:21:16 +0200 |
commit | 5db3ef4cc1c1b01d27b657ba80c431c07064ab39 (patch) | |
tree | 05521ba244d1656b82cc331e3777786b1d83b04f /WebContent/VAADIN/themes/reindeer/grid | |
parent | 836a396fcc38752f211fbccad7ddb455d7d24d16 (diff) | |
parent | 911972c58b14deb847e807b3401ea08039d5b7a2 (diff) | |
download | vaadin-framework-5db3ef4cc1c1b01d27b657ba80c431c07064ab39.tar.gz vaadin-framework-5db3ef4cc1c1b01d27b657ba80c431c07064ab39.zip |
Merge remote-tracking branch 'origin/master' into grid
Change-Id: I0babb7cb93e773a9aab82243c1112d45b15bec78
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/grid')
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/grid.scss | 60 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/img/asc-light.png | bin | 0 -> 228 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/img/desc-light.png | bin | 0 -> 231 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/img/focus-bg-light.png | bin | 0 -> 946 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/img/focus-header-bg-light.png | bin | 0 -> 959 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/img/focus-sel-bg-light.png | bin | 0 -> 954 bytes | |||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/grid/img/header-bg-light.png | bin | 0 -> 208 bytes |
7 files changed, 60 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/grid/grid.scss b/WebContent/VAADIN/themes/reindeer/grid/grid.scss new file mode 100644 index 0000000000..8dacb3ccce --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/grid.scss @@ -0,0 +1,60 @@ +// Variables defined in reindeer.scss + +@mixin reindeer-grid($primaryStyleName: v-grid) { + + .#{$primaryStyleName}-header, + .#{$primaryStyleName}-footer { + .#{$primaryStyleName}-cell { + background-image: url(img/header-bg-light.png); + color: #222; + font-weight: bold; + text-shadow: #f3f5f8 0 1px 0; + text-transform: uppercase; + } + } + + .#{$primaryStyleName}-header-deco, + .#{$primaryStyleName}-footer-deco, + .#{$primaryStyleName}-horizontal-scrollbar-deco { + background-image: url(img/header-bg-light.png); + } + + // Selected row + .#{$primaryStyleName}-row-selected { + color: #fff; + text-shadow: #3b5a7a 0 1px 0; + + > .#{$primaryStyleName}-cell { + background: #4d749f url(../common/img/sel-bg.png) repeat-x; + border-color: #466c90; + } + + // Selected and focused + > .#{$primaryStyleName}-cell-focused:before { + border-color: #b1cde4; + } + } + + // Sort indicators + .#{$primaryStyleName} th.sort-asc, + .#{$primaryStyleName} th.sort-desc { + padding-right: 16px + $v-grid-cell-padding-horizontal; + + &:after { + content: " " attr(sort-order); + background: transparent no-repeat right 7px; + width: 16px; + height: 12px; + top: 0; + } + } + + .#{$primaryStyleName} th.sort-asc:after { + background-image: url(img/asc-light.png); + } + + .#{$primaryStyleName} th.sort-desc:after { + background-image: url(img/desc-light.png); + } + +} diff --git a/WebContent/VAADIN/themes/reindeer/grid/img/asc-light.png b/WebContent/VAADIN/themes/reindeer/grid/img/asc-light.png Binary files differnew file mode 100644 index 0000000000..44ed76001a --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/img/asc-light.png diff --git a/WebContent/VAADIN/themes/reindeer/grid/img/desc-light.png b/WebContent/VAADIN/themes/reindeer/grid/img/desc-light.png Binary files differnew file mode 100644 index 0000000000..84d15a0628 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/img/desc-light.png diff --git a/WebContent/VAADIN/themes/reindeer/grid/img/focus-bg-light.png b/WebContent/VAADIN/themes/reindeer/grid/img/focus-bg-light.png Binary files differnew file mode 100644 index 0000000000..20b34474c7 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/img/focus-bg-light.png diff --git a/WebContent/VAADIN/themes/reindeer/grid/img/focus-header-bg-light.png b/WebContent/VAADIN/themes/reindeer/grid/img/focus-header-bg-light.png Binary files differnew file mode 100644 index 0000000000..4e83df03cb --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/img/focus-header-bg-light.png diff --git a/WebContent/VAADIN/themes/reindeer/grid/img/focus-sel-bg-light.png b/WebContent/VAADIN/themes/reindeer/grid/img/focus-sel-bg-light.png Binary files differnew file mode 100644 index 0000000000..249fd5917c --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/img/focus-sel-bg-light.png diff --git a/WebContent/VAADIN/themes/reindeer/grid/img/header-bg-light.png b/WebContent/VAADIN/themes/reindeer/grid/img/header-bg-light.png Binary files differnew file mode 100644 index 0000000000..0b913e2ef1 --- /dev/null +++ b/WebContent/VAADIN/themes/reindeer/grid/img/header-bg-light.png |