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
161
162
163
164
165
|
@mixin runo-select($primaryStyleName : v-filterselect) {
$select-button-width: 25px;
$select-button-negative-width: -25px;
.v-select-select {
font-size: 13px;
}
/* Twincol style */
.v-select-twincol-options,
.v-select-twincol-selections {
font-size: 13px;
}
.v-select-twincol-buttons {
padding: 2px; /* does not work in first render in FF ? */
}
/** Filterselect aka ComboBox styles */
.#{$primaryStyleName} {
height: 23px;
background: transparent url(img/bg-left-filter.png) no-repeat;
padding-left: 4px;
padding-right: $select-button-width; /* Space for the button */
}
&.v-app .#{$primaryStyleName} .#{$primaryStyleName}-input,
.v-window .#{$primaryStyleName} .#{$primaryStyleName}-input,
.v-popupview-popup .#{$primaryStyleName} .#{$primaryStyleName}-input {
background: transparent url(img/bg-center-filter.png) no-repeat 1px 0;
border: none;
height: 23px;
margin: 0;
padding: 2px 0 1px 2px;
font-size: 13px;
}
.#{$primaryStyleName}-prompt .#{$primaryStyleName}-input {
font-style: normal;
}
.#{$primaryStyleName}-input:focus {
/* remove safari/mac outline from this element */
outline: none;
}
.#{$primaryStyleName}-focus {
outline: 1px solid #5daee8;
outline-offset: -1px;
}
.v-sa & .#{$primaryStyleName}-focus {
/* place safari focus outline around the whole thing */
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -4px;
}
.#{$primaryStyleName}-button {
width: $select-button-width;
margin-right: $select-button-negative-width;
height: 23px;
background: transparent url(img/bg-right-filter.png);
}
.#{$primaryStyleName}-button:hover {
background-position: bottom left;
}
.v-disabled .#{$primaryStyleName}-button:hover,
.v-readonly .#{$primaryStyleName}-button:hover {
background-position: top left;
}
.#{$primaryStyleName}.v-readonly .#{$primaryStyleName}-input {
background: transparent;
}
.#{$primaryStyleName}-suggestpopup {
background: #f6f7f7;
border: 1px solid #b6bbbc;
font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
color: #464f52;
font-size: 12px;
line-height: 18px;
margin-top: -1px;
}
.#{$primaryStyleName}-suggestmenu .gwt-MenuItem {
padding: 1px 6px;
cursor: pointer;
height: 18px;
}
.#{$primaryStyleName}-suggestmenu .gwt-MenuItem .v-icon {
margin-right: 3px;
}
.#{$primaryStyleName}-suggestmenu .gwt-MenuItem-selected {
background: #5daee8;
color: #fff;
}
.#{$primaryStyleName}-nextpage,
.#{$primaryStyleName}-nextpage-off,
.#{$primaryStyleName}-prevpage-off,
.#{$primaryStyleName}-prevpage {
height: 11px;
width:100%;
background: transparent url(img/button-bg.png) no-repeat 50% 0;
margin: 2px 0 0 0;
}
.#{$primaryStyleName}-prevpage,
.#{$primaryStyleName}-prevpage-off {
background-position: 50% -1px;
margin: 0 0 2px 0;
}
.#{$primaryStyleName}-prevpage:hover {
background-position: 50% bottom;
}
.#{$primaryStyleName}-nextpage:hover {
background-position: 50% -12px;
}
.#{$primaryStyleName}-nextpage span,
.#{$primaryStyleName}-nextpage-off span,
.#{$primaryStyleName}-prevpage-off span,
.#{$primaryStyleName}-prevpage span {
display: block;
height: 12px;
width:100%;
background: transparent url(img/arrow-up.png) no-repeat 50% 40%;
text-indent: -90000px;
cursor: pointer;
overflow: hidden;
}
.#{$primaryStyleName}-nextpage span,
.#{$primaryStyleName}-nextpage-off span {
background: transparent url(img/arrow-down.png) no-repeat 50% 60%;
}
.#{$primaryStyleName}-status {
font-size: 11px;
line-height: 11px;
width: 100%;
padding: 4px 0px;
height: 11px;
border-top: 1px solid #b6bbbc;
}
/* Error styles (disabled by default)
----------------------------------
.#{$primaryStyleName}-error {
background-image: url(img/bg-left-filter-error.png);
}
.#{$primaryStyleName}-error .#{$primaryStyleName}-input {
background-image: url(img/bg-center-filter-error.png);
}
.#{$primaryStyleName}-error .#{$primaryStyleName}-button {
background-image: url(img/bg-right-filter-error.png);
}
.v-select-error .v-select-option,
.v-select-error .v-select-select,
.v-select-error .v-select-twincol-selections,
.v-select-error .v-select-twincol-options {
background: #FFE0E0;
}
*/
/* Required field styles (disabled by default)
--------------------------------------------
.v-select-required .v-select-option,
.v-select-required .v-select-select,
.v-select-required .v-select-twincol-selections,
.v-select-required .v-select-twincol-options {
background: #FFE0E0;
}
*/
}
|