1 |
efrain |
1 |
.yui3-button {
|
|
|
2 |
/* Structure */
|
|
|
3 |
display: inline-block;
|
|
|
4 |
*display: inline; /*IE 6/7*/
|
|
|
5 |
zoom: 1;
|
|
|
6 |
font-size: 100%;
|
|
|
7 |
*font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
|
|
|
8 |
*overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
|
|
|
9 |
padding: 0.4em 1em 0.45em;
|
|
|
10 |
line-height: normal;
|
|
|
11 |
white-space: nowrap;
|
|
|
12 |
vertical-align: baseline;
|
|
|
13 |
text-align: center;
|
|
|
14 |
cursor: pointer;
|
|
|
15 |
-webkit-user-drag: none;
|
|
|
16 |
-webkit-user-select: none;
|
|
|
17 |
-moz-user-select: none;
|
|
|
18 |
user-select: none;
|
|
|
19 |
|
|
|
20 |
/* Presentation */
|
|
|
21 |
color: #444; /* rgba not supported (IE 8) */
|
|
|
22 |
color: rgba(0, 0, 0, 0.80); /* rgba supported */
|
|
|
23 |
*color: #444; /* IE 6 & 7 */
|
|
|
24 |
border: 1px solid #999; /*IE 6/7/8*/
|
|
|
25 |
border: none rgba(0, 0, 0, 0); /*IE9 + everything else*/
|
|
|
26 |
background-color: #E6E6E6;
|
|
|
27 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
|
|
|
28 |
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255,255,255, 0.30)), color-stop(40%, rgba(255,255,255, 0.15)), to(transparent));
|
|
|
29 |
background-image: -webkit-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
|
|
|
30 |
background-image: -moz-linear-gradient(top, rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
|
|
|
31 |
background-image: -ms-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
|
|
|
32 |
background-image: -o-linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
|
|
|
33 |
background-image: linear-gradient(rgba(255,255,255, 0.30), rgba(255,255,255, 0.15) 40%, transparent);
|
|
|
34 |
text-decoration: none;
|
|
|
35 |
-webkit-border-radius: 4px;
|
|
|
36 |
-moz-border-radius: 4px;
|
|
|
37 |
border-radius: 4px;
|
|
|
38 |
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 0 rgba(255,255,255, 0.30) inset, 0 1px 2px rgba(0,0,0, 0.15);
|
|
|
39 |
-moz-box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 0 rgba(255,255,255, 0.30) inset, 0 1px 2px rgba(0,0,0, 0.15);
|
|
|
40 |
box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 0 rgba(255,255,255, 0.30) inset, 0 1px 2px rgba(0,0,0, 0.15);
|
|
|
41 |
|
|
|
42 |
/* Transitions */
|
|
|
43 |
-webkit-transition: 0.1s linear -webkit-box-shadow;
|
|
|
44 |
-moz-transition: 0.1s linear -moz-box-shadow;
|
|
|
45 |
-ms-transition: 0.1s linear box-shadow;
|
|
|
46 |
-o-transition: 0.1s linear box-shadow;
|
|
|
47 |
transition: 0.1s linear box-shadow;
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
a.yui3-button {
|
|
|
51 |
color: rgba(0,0,0, 0.80);
|
|
|
52 |
color: #444;
|
|
|
53 |
text-decoration:none;
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
.yui3-button-hover,
|
|
|
57 |
.yui3-button:hover {
|
|
|
58 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#26000000', GradientType=0);
|
|
|
59 |
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.15)));
|
|
|
60 |
background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
|
|
|
61 |
background-image: -moz-linear-gradient(top, transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
|
|
|
62 |
background-image: -ms-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
|
|
|
63 |
background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
|
|
|
64 |
background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
.yui3-button-active,
|
|
|
68 |
.yui3-button:active {
|
|
|
69 |
border: inset 1px solid #999; /*IE 6/7/8*/
|
|
|
70 |
border: none rgba(0, 0, 0, 0); /*IE9 + everything else*/
|
|
|
71 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1A000000', endColorstr='#26000000', GradientType=0);
|
|
|
72 |
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0,0,0, 0.10)), to(rgba(0,0,0, 0.15)));
|
|
|
73 |
background-image: -webkit-linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
|
|
|
74 |
background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
|
|
|
75 |
background-image: -ms-linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
|
|
|
76 |
background-image: -o-linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
|
|
|
77 |
background-image: linear-gradient(rgba(0,0,0, 0.10), rgba(0,0,0, 0.15));
|
|
|
78 |
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 4px rgba(0,0,0, 0.30) inset;
|
|
|
79 |
-moz-box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 4px rgba(0,0,0, 0.30) inset;
|
|
|
80 |
box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset, 0 2px 4px rgba(0,0,0, 0.30) inset;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
.yui3-button[disabled],
|
|
|
84 |
.yui3-button-disabled,
|
|
|
85 |
.yui3-button-disabled:hover,
|
|
|
86 |
.yui3-button-disabled:active {
|
|
|
87 |
cursor: default;
|
|
|
88 |
background-image: none;
|
|
|
89 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
|
90 |
filter: alpha(opacity=55);
|
|
|
91 |
-khtml-opacity: 0.55;
|
|
|
92 |
-moz-opacity: 0.55;
|
|
|
93 |
opacity: 0.55;
|
|
|
94 |
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset;
|
|
|
95 |
-moz-box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset;
|
|
|
96 |
box-shadow: 0 0 0 1px rgba(0,0,0, 0.25) inset;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
.yui3-button-hidden {
|
|
|
100 |
display:none;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
/* Firefox: Get rid of the inner focus border */
|
|
|
104 |
.yui3-button::-moz-focus-inner{
|
|
|
105 |
padding: 0;
|
|
|
106 |
border: 0;
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
/* Firefox: Add a border around a focused button */
|
|
|
110 |
.yui3-button:-moz-focusring {
|
|
|
111 |
outline: thin dotted;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
/* Sam */
|
|
|
115 |
.yui3-skin-sam .yui3-button-primary,
|
|
|
116 |
.yui3-skin-sam .yui3-button-selected {
|
|
|
117 |
background-color: #345FCB;
|
|
|
118 |
color: #fff;
|
|
|
119 |
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.17) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
120 |
-moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.17) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
121 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.17) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
122 |
}
|
|
|
123 |
.yui3-skin-sam .yui3-button:-moz-focusring {
|
|
|
124 |
outline-color: rgba(0, 0, 0, 0.85);
|
|
|
125 |
}
|
|
|
126 |
|
|
|
127 |
/* Night */
|
|
|
128 |
.yui3-skin-night .yui3-button {
|
|
|
129 |
border: 0px;
|
|
|
130 |
background-color: #343536;
|
|
|
131 |
color: #DCDCDC;
|
|
|
132 |
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
133 |
-moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
134 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
|
135 |
}
|
|
|
136 |
.yui3-skin-night .yui3-button-primary,
|
|
|
137 |
.yui3-skin-night .yui3-button-selected {
|
|
|
138 |
background-color: #747576;
|
|
|
139 |
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
|
|
|
140 |
}
|
|
|
141 |
|
|
|
142 |
.yui3-skin-night .yui3-button:-moz-focusring {
|
|
|
143 |
outline-color: rgba(255, 255, 255, 0.85);
|
|
|
144 |
}
|
|
|
145 |
|
|
|
146 |
/* YUI CSS Detection Stamp */
|
|
|
147 |
#yui3-css-stamp.cssbutton { display: none; }
|