aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/grid/grid.scss
blob: 88c7754a1090010bf664ef7e0711390694802645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@mixin base-grid($primaryStyleName : v-grid) {
	@include base-escalator($primaryStyleName);

	.#{$primaryStyleName} {

		th {
			position: relative;
		}

		th.sort-asc:after {
			content: "\25B2" attr(sort-order);
			position: absolute;
			right: 5px;
		}

		th.sort-desc:after {
			content: "\25BC" attr(sort-order);
			position: absolute;
			right: 5px;
		}

		.#{$primaryStyleName}-cell-active {
			border-color: blue;
		}

		.#{$primaryStyleName}-header-active {
			background: lightgray;
		}

		.#{$primaryStyleName}-row-active > td {
			background: rgb(244,244,244);
		}
	}

	.#{$primaryStyleName}-row-selected > td {
		background: lightblue;
	}
}