summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/panel/panel.scss
blob: bc6a8f555c27c2d4fe7cfa5b8b267573479e50b5 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@mixin chameleon-panel($primaryStyleName : v-panel) {

.#{$primaryStyleName}-caption {
	background: #b9dcff;
	font-size: 1.2em;
	border: 1px solid #b3b3b3;
	border-bottom: none;
	padding: .2em .6em;
	}

.#{$primaryStyleName}-nocaption {
	padding: 0;
	height: 0;
	overflow: hidden;
	border-top: 1px solid #b3b3b3;
	}

.#{$primaryStyleName}-content {
	background: #fff;
	border: 1px solid #b3b3b3;
	border-top: none;
	border-bottom: none;
	}

.#{$primaryStyleName}-deco {
	height: 0;
	overflow: hidden;
	border-top: 1px solid #b3b3b3;
	}


/*******************************************************************************
 * Borderless
 ******************************************************************************/
div.#{$primaryStyleName}-caption-borderless {
	border: none;
	}

div.#{$primaryStyleName}-nocaption-borderless,
div.#{$primaryStyleName}-content-borderless,
div.#{$primaryStyleName}-deco-borderless {
	border: none;
	background: transparent;
	}


/*******************************************************************************
 * Light
 ******************************************************************************/
.#{$primaryStyleName}-light .#{$primaryStyleName}-caption-light {
	background: transparent;
	font-weight: normal;
	border-bottom: 1px solid #b3b3b3;
	}

div.#{$primaryStyleName}-content-light {
	background: transparent;
	}


/*******************************************************************************
 * Bubble
 ******************************************************************************/
.#{$primaryStyleName}-bubble .#{$primaryStyleName}-captionwrap {
	border: 1px solid #b3b3b3;
	border-bottom: none;
	background: #fff;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	padding: 1px 2px;
	overflow: hidden;
	}

.#{$primaryStyleName}-bubble .#{$primaryStyleName}-caption-bubble {
	border: none;
	background-image: url(../../img/grad-light-top.png);
	background-repeat: repeat-x;
	background-position: 0 -1px;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,.4);
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	margin: 1px 0;
	font-size: 1em;
	line-height: 1.2;
	padding: .3em .6em;
	}

.#{$primaryStyleName}-nocaption-bubble {
	padding: 0;
	margin: 0;
	border: none;
	}

.#{$primaryStyleName}-deco-bubble {
	height: 2px;
	border: 1px solid #b3b3b3;
	border-top: none;
	background: #fff;
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	}


/*******************************************************************************
 * Borderless Bubble
 ******************************************************************************/
div.#{$primaryStyleName}-borderless .#{$primaryStyleName}-captionwrap,
div.#{$primaryStyleName}-borderless .#{$primaryStyleName}-deco-bubble {
	border: none;
	padding: 0;
	background: transparent;
	}

div.#{$primaryStyleName}-borderless .#{$primaryStyleName}-content-bubble {
	background: transparent;
	}

}