summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss
blob: 7dde13e55edb4209bdc52fa9ae486f2a6f511069 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
@mixin reindeer-tabsheet-normal-style($primaryStyleName : v-tabsheet) {

/* Default Tabsheet styles */

.#{$primaryStyleName}-tabitemcell,
.#{$primaryStyleName}-spacertd {
	height: 32px;
}
.#{$primaryStyleName}-tabitemcell {
	background: no-repeat;
	background-image: url(img/framed/tab-left.png); /** sprite-ref: verticals */
	padding-left: 3px;
}
.#{$primaryStyleName}-tabitemcell-first {
	padding-left: 10px;
	background-image: url(img/framed/tab-first-left.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitem,
.#{$primaryStyleName}-spacertd div {
	border: none;
	height: 32px;
	background: transparent repeat-x;
	background-image: url(img/framed/tab-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	padding: 0;
	color: #222;
	text-shadow: #fff 0 1px 0;
}
.#{$primaryStyleName}-tabitem .v-caption {
	border: none;
	height: 23px;
	background: no-repeat right top;
	background-image: url(img/framed/tab-right.png); /** sprite-ref: verticals; sprite-alignment: right */
	padding: 9px 8px 0 6px;
}
.#{$primaryStyleName}-tabitem .v-caption-closable {
	padding-right: 0;
	padding-left: 17px;
}
.#{$primaryStyleName}-tabitem .v-captiontext {
	height: 16px;
	line-height: 16px;
	vertical-align:baseline;
}
.#{$primaryStyleName}-caption-close {
	float: right;
	width: 19px;
	height: 18px;
	margin: -1px -1px 0;
	padding-left: 2px;
	background: transparent;
	background-image: url(img/close-btn.png); /** sprite-ref: verticals */
	cursor: default;
	text-indent: -999px;
	overflow: hidden;
	font-size: 14px;
	font-weight: normal;
}
.v-ff & .#{$primaryStyleName}-caption-close {
	margin-top: -15px;
}
.#{$primaryStyleName}-caption-close:hover {
	background-image: url(img/close-btn-hover.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-caption-close:active {
	background-image: url(img/close-btn-pressed.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitem-selected .#{$primaryStyleName}-caption-close {
	background-image: url(img/close-btn-sel.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitem-selected .#{$primaryStyleName}-caption-close:hover {
	background-image: url(img/close-btn-sel-hover.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitem-selected .#{$primaryStyleName}-caption-close:active {
	background-image: url(img/close-btn-sel-pressed.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitemcell-selected {
	background-image: url(img/framed/tab-left-sel.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitemcell-selected-first {
	background-image: url(img/framed/tab-first-left-sel.png); /** sprite-ref: verticals */
}
.#{$primaryStyleName}-tabitem-selected {
	background-image: url(img/framed/tab-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */
	color: #232930;
}
.#{$primaryStyleName}-tabitem-selected .v-caption {
	background-image: url(img/framed/tab-right-sel.png); /** sprite-ref: verticals; sprite-alignment: right */
}
.#{$primaryStyleName}-spacertd div {
	margin-right: 4px;
}
.#{$primaryStyleName}-spacertd {
	background: transparent no-repeat right top;
	background-image: url(img/framed/tab-spacer-right.png); /** sprite-ref: verticals; sprite-alignment: right */
}
.blue .#{$primaryStyleName}-content {
	border-color: #a8bcc5;
}
.#{$primaryStyleName}-content,
.white .#{$primaryStyleName}-content {
	border: 1px solid #dcdcdc;
	border-bottom: none;
	border-top: none;
	color: #222;
	text-shadow: none;
}
.#{$primaryStyleName}-tabsheetpanel {
	background: #fff;
}
.v-sa & .#{$primaryStyleName}-content {
	border-color: rgba(0,0,0,.1);
}
.blue .#{$primaryStyleName}-deco {
	border-color: #92a3ac;
	background: #adc2cd;
}
.#{$primaryStyleName}-deco,
.white .#{$primaryStyleName}-deco {
	height: 1px;
	border-top: 1px solid #bebebe;
	background: #e2e2e2;
	overflow: hidden;
}
.v-sa & .#{$primaryStyleName}-deco {
	border-top-color: rgba(0,0,0,.1);
	background: rgba(0,0,0,.08);
}


/* Icons & error indicators */

.#{$primaryStyleName}-tabs .v-icon,
.#{$primaryStyleName}-tabs .v-captiontext,
.#{$primaryStyleName}-tabs .v-errorindicator {
	display: inline;
	float: none;
}
.v-sa & .#{$primaryStyleName}-tabs .v-captiontext {
	display: inline-block;
}
.#{$primaryStyleName}-tabs .v-icon {
	width: 16px !important;
	height: 16px !important;
}
.#{$primaryStyleName}-tabs .v-errorindicator {
	display: inline-block;
	width: 13px;
	height: 16px;
	background: transparent url(../common/icons/error.png) no-repeat 50%;
}
.v-ie & .#{$primaryStyleName}-tabs .v-errorindicator {
	zoom: 1;
	display: inline;
}
.v-ie8 & .#{$primaryStyleName}-tabs .v-errorindicator,
.v-ie9 & .#{$primaryStyleName}-tabs .v-errorindicator {
	display: inline-block;
}

}