summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/panel/panel.scss
blob: 74ee10837dee540d274f5fb23f26da482aeae9f0 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@mixin reindeer-panel($primaryStyleName : v-panel) {

.blue .#{$primaryStyleName}-caption,
.blue .#{$primaryStyleName}-nocaption,
.blue .#{$primaryStyleName}-content {
	border-color: #a8bcc5;
}
.#{$primaryStyleName}-caption,
.#{$primaryStyleName}-nocaption,
.white .#{$primaryStyleName}-caption,
.white .#{$primaryStyleName}-nocaption {
	border-bottom: 1px solid #e5e5e5;
	line-height: 16px; /* accommodate minimum icon size */
}

.v-webkit &, 
.v-gecko &, 
.v-ie9 &, 
.v-ie10 & {
	.#{$primaryStyleName}-caption,
	.#{$primaryStyleName}-nocaption {
		border-bottom-color: rgba(0,0,0,.08);
	}
	.#{$primaryStyleName}-content {
		border-top-color: rgba(0,0,0,.07);
	}
	.#{$primaryStyleName}-deco {
		border-top-color: rgba(0,0,0,.1);
		background: rgba(0,0,0,.08);
	}
}

.#{$primaryStyleName}-caption {
	padding-bottom: 2px;
}
.#{$primaryStyleName}-content,
.white .#{$primaryStyleName}-content {
	background: #fff;
	border: 1px solid #dcdcdc;
	border-bottom: none;
	border-top: none;
}

.blue .#{$primaryStyleName}-deco {
	border-color: #92a3ac;
	background: #adc2cd;
}
.#{$primaryStyleName}-deco,
.white .#{$primaryStyleName}-deco {
	height: 1px;
	border-top: 1px solid #bebebe;
	background: #e2e2e2;
	overflow: hidden;
}
.#{$primaryStyleName}-caption .v-errorindicator {
	height: 16px;
	width: 13px;
	background: url(../common/icons/error.png) no-repeat 50%;
	display: inline;
	display: inline-block;
	vertical-align: middle;
}

/* Light style */
.#{$primaryStyleName}-light .#{$primaryStyleName}-caption-light,
.#{$primaryStyleName}-light .#{$primaryStyleName}-nocaption-light {
	border: none;
}
.#{$primaryStyleName}-light .#{$primaryStyleName}-content-light {
	border: none;
	background: transparent;
}
.#{$primaryStyleName}-light .#{$primaryStyleName}-deco-light {
	height: 0;
	border: none;
}

}