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 runo-button($primaryStyleName : v-button) {
.#{$primaryStyleName} {
padding: 1px;
border: none;
background: transparent;
}
.#{$primaryStyleName}:focus {
outline: none;
}
.#{$primaryStyleName}:focus .#{$primaryStyleName}-wrap {
border-color: #57a7ed;
border-top-color: #60aef1;
border-bottom-color: #4c9adf;
-webkit-box-shadow: 0 0 2px #57a7ed;
-moz-box-shadow: 0 0 2px #57a7ed;
}
.#{$primaryStyleName}:active .#{$primaryStyleName}-wrap,
.#{$primaryStyleName}.v-pressed .#{$primaryStyleName}-wrap {
background-position: 0 -79px;
background-color: #e7e9e9;
border-color: #b8bdbe;
border-top-color: #9da1a2;
border-bottom-color: #babfc0;
border-color: rgba(146,151,152,.9);
border-top-color: rgba(146,151,152,1);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;
text-shadow: none;
}
.#{$primaryStyleName} .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName} .#{$primaryStyleName}-wrap {
display: block;
font-size: 12px;
border: 1px solid #bdc1c2;
border-top-color: #cbcfd0;
border-bottom-color: #b6bbbb;
border-color: rgba(146,151,152,.8);
border-top-color: rgba(146,151,152,.6);
background: #e6e8e8 url(img/bg.png) repeat-x;
-webkit-background-origin: padding;
-moz-background-origin: padding;
padding: 3px 15px;
-webkit-border-radius: 11px;
-moz-border-radius: 11px;
border-radius: 11px;
line-height: 14px;
min-height: 14px;
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
-moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
text-shadow: 0 1px 0 #fff;
color: #464f52;
overflow: hidden;
text-overflow: ellipsis;
}
/* Small style */
.#{$primaryStyleName}-small .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-small .#{$primaryStyleName}-wrap {
font-size: 11px;
line-height: 13px;
padding: 1px 12px;
min-height: 13px;
}
/* Big style */
.#{$primaryStyleName}-big .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-big .#{$primaryStyleName}-wrap {
font-size: 15px;
line-height: 18px;
padding: 4px 18px;
min-height: 18px;
-webkit-border-radius: 14px;
-moz-border-radius: 14px;
border-radius: 14px;
}
/* Default style */
.#{$primaryStyleName}-default:focus .#{$primaryStyleName}-wrap {
background-color: #60839a;
background-position: 0 -158px;
text-shadow: 0 -1px 0 #657883;
}
.#{$primaryStyleName}-default:active .#{$primaryStyleName}-wrap,
.#{$primaryStyleName}-default.v-pressed .#{$primaryStyleName}-wrap {
background-position: 0 -79px;
background-color: #8f9898;
border-color: #737e81;
border-top-color: #576063;
border-bottom-color: #747f82;
color: #f0f2f2;
text-shadow: 0 -1px 0 #5d6969;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;
}
.#{$primaryStyleName}-default .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-default .#{$primaryStyleName}-wrap {
border-color: #899395;
border-top-color: #a4abae;
border-bottom-color: #727b7d;
background: #869090 url(img/bg-default.png) repeat-x;
text-shadow: 0 -1px 0 #797e7e;
color: #fff;
font-weight: bold;
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.22);
-moz-box-shadow: 0 1px 0 rgba(0,0,0,.22);
}
/* Link style */
.#{$primaryStyleName}-link,
.v-disabled.#{$primaryStyleName}-link {
padding: 0;
}
.#{$primaryStyleName}-link .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-link .#{$primaryStyleName}-wrap,
.#{$primaryStyleName}-link:active .#{$primaryStyleName}-wrap,
.v-disabled.#{$primaryStyleName}-pressedv-button-link .#{$primaryStyleName}-wrap {
border: none;
background: transparent;
padding: 0;
font-size: 13px;
-webkit-box-shadow: none;
-mox-box-shadow: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
text-shadow: none;
}
.#{$primaryStyleName}-link:focus {
outline: 1px dotted #4897dc;
}
.#{$primaryStyleName}-link:focus .#{$primaryStyleName}-wrap {
-webkit-box-shadow: none;
-moz-box-shadow: none;
}
/* Checkbox styles */
.v-checkbox .v-errorindicator {
padding-left: 10px;
}
}
|