summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2014-06-24 09:52:15 +0300
committerJohn Ahlroos <john@vaadin.com>2014-06-27 09:07:55 +0300
commit67ad795d9e5761da1c788d4760edf290fc99391a (patch)
treef955e909a9785614a74976dcd08eb77a28bbf888 /WebContent
parent6294a26ab8ae5df83d25318c4a8b14db34f5b8a4 (diff)
downloadvaadin-framework-67ad795d9e5761da1c788d4760edf290fc99391a.tar.gz
vaadin-framework-67ad795d9e5761da1c788d4760edf290fc99391a.zip
Added sort indicators to Grid headers #13334
Change-Id: I35ceccea85ff0f74cbd0fd7655dba20efa25e191
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/grid/grid.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss
index 9f7a2d8664..6a050405cb 100644
--- a/WebContent/VAADIN/themes/base/grid/grid.scss
+++ b/WebContent/VAADIN/themes/base/grid/grid.scss
@@ -1,3 +1,17 @@
@mixin base-grid($primaryStyleName : v-grid) {
@include base-escalator($primaryStyleName);
+
+ .#{$primaryStyleName} {
+
+ th.sort-asc:after {
+ content: "\25B2" attr(sort-order);
+ float:right;
+ }
+
+ th.sort-desc:after {
+ content: "\25BC" attr(sort-order);
+ float:right;
+ }
+
+ }
} \ No newline at end of file