blob: b3927576ed265e722d9323d6a238cd3eeded1526 (
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
|
@mixin valo-twincolselect ($primary-stylename: v-select-twincol) {
.#{$primary-stylename} {
white-space: normal;
select {
@include valo-nativeselect-select-style;
}
&:not(.v-has-width) {
width: auto !important;
}
.v-textfield,
.v-nativebutton {
width: auto !important;
margin-top: round($v-unit-size/4);
}
.v-nativebutton {
margin-left: round($v-unit-size/4);
}
}
.#{$primary-stylename}-caption-left,
.#{$primary-stylename}-caption-right {
@include valo-caption-style;
}
.#{$primary-stylename}-buttons {
white-space: nowrap;
display: inline-block;
vertical-align: top;
position: relative;
min-width: 3.5em;
.v-button {
@include valo-widget-style;
position: absolute;
left: round($v-unit-size/4);
right: round($v-unit-size/4);
top: $v-unit-size - $v-button-border-width;
padding: 0;
text-align: center;
&:first-child {
top: 0;
}
}
.v-button-caption {
display: none;
}
.v-button:focus {
z-index: 1;
}
@if $v-button-border-radius > 0 {
.v-button:first-child {
border-radius: $v-button-border-radius $v-button-border-radius 0 0;
}
.v-button:last-child {
border-radius: 0 0 $v-button-border-radius $v-button-border-radius;
}
}
.v-button-wrap:before {
@include valo-twincolselect-remove-icon-style;
}
.v-button:first-child .v-button-wrap:before {
@include valo-twincolselect-add-icon-style;
}
}
}
@mixin valo-twincolselect-add-icon-style {
font-family: FontAwesome;
content: "\f054";
}
@mixin valo-twincolselect-remove-icon-style {
font-family: FontAwesome;
content: "\f053";
}
|