PageRenderTime 33ms CodeModel.GetById 1ms app.highlight 25ms RepoModel.GetById 1ms app.codeStats 0ms

/hudson-war/src/main/webapp/scripts/yui/button/assets/skins/sam/button-skin.css

http://github.com/hudson/hudson
CSS | 232 lines | 120 code | 97 blank | 15 comment | 0 complexity | 9afee0ceb0069cbab4d7c14078d347fd MD5 | raw file
  1/*
  2Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  3Code licensed under the BSD License:
  4http://developer.yahoo.net/yui/license.txt
  5version: 2.5.1
  6*/
  7.yui-skin-sam .yui-button  {
  8
  9    border-width: 1px 0;
 10    border-style: solid;
 11    border-color: #808080;
 12    background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
 13    margin: auto .25em;
 14    
 15}
 16
 17.yui-skin-sam .yui-button .first-child {
 18
 19    border-width: 0 1px;
 20    border-style: solid;
 21    border-color: #808080;
 22    margin: 0 -1px;
 23    *position: relative;    /* Necessary to get negative margins working in IE */
 24    *left: -1px;
 25
 26}
 27
 28.yui-skin-sam .yui-button button,
 29.yui-skin-sam .yui-button a {
 30
 31    padding: 0 10px;
 32    font-size: 93%;  /* 12px */
 33    line-height: 2;  /* ~24px */
 34    *line-height: 1.7; /* For IE */
 35    min-height: 2em; /* For Gecko */
 36    *min-height: auto; /* For IE */
 37    color: #000; 
 38
 39}
 40
 41.yui-skin-sam .yui-button a {
 42
 43    /*
 44        Necessary to get Button's of type "link" to be the correct 
 45        height in IE.
 46    */
 47    *line-height: 2;
 48
 49}
 50
 51.yui-skin-sam .yui-split-button button,
 52.yui-skin-sam .yui-menu-button button {
 53
 54    padding-right: 20px;
 55    background-position: right center;
 56    background-repeat: no-repeat;
 57    
 58}
 59
 60.yui-skin-sam .yui-menu-button button {
 61
 62    background-image: url(menu-button-arrow.png);
 63
 64}
 65
 66.yui-skin-sam .yui-split-button button {
 67
 68    background-image: url(split-button-arrow.png);
 69
 70}
 71
 72
 73/* Focus state */
 74
 75
 76.yui-skin-sam .yui-button-focus {
 77
 78    border-color: #7D98B8;
 79    background-position: 0 -1300px;
 80
 81}
 82
 83.yui-skin-sam .yui-button-focus .first-child {
 84
 85    border-color: #7D98B8;
 86
 87}
 88
 89.yui-skin-sam .yui-button-focus button, 
 90.yui-skin-sam .yui-button-focus a {
 91
 92    color: #000;
 93
 94}
 95
 96.yui-skin-sam .yui-split-button-focus button {
 97
 98    background-image: url(split-button-arrow-focus.png);
 99
100}
101
102
103/* Hover state */
104
105.yui-skin-sam .yui-button-hover {
106
107    border-color: #7D98B8;
108    background-position: 0 -1300px;
109
110}
111
112.yui-skin-sam .yui-button-hover .first-child {
113
114    border-color: #7D98B8;
115
116}
117
118.yui-skin-sam .yui-button-hover button, 
119.yui-skin-sam .yui-button-hover a {
120
121    color: #000;
122
123}
124
125.yui-skin-sam .yui-split-button-hover button {
126
127    background-image: url(split-button-arrow-hover.png);
128
129}
130
131
132/* Active state */
133
134.yui-skin-sam .yui-button-active {
135    
136    border-color: #7D98B8;
137    background-position: 0 -1700px;
138    
139}
140
141.yui-skin-sam .yui-button-active .first-child {
142
143    border-color: #7D98B8;
144
145}
146
147.yui-skin-sam .yui-button-active button, 
148.yui-skin-sam .yui-button-active a {
149
150    color: #000;
151
152}
153
154.yui-skin-sam .yui-split-button-activeoption {
155
156    border-color: #808080;
157    background-position: 0 0;
158
159}
160
161.yui-skin-sam .yui-split-button-activeoption .first-child {
162
163    border-color: #808080;
164
165}
166
167.yui-skin-sam .yui-split-button-activeoption button {
168
169    background-image: url(split-button-arrow-active.png);
170
171}
172
173
174/* Checked state */
175
176.yui-skin-sam .yui-radio-button-checked,
177.yui-skin-sam .yui-checkbox-button-checked {
178    
179    border-color: #304369;
180    background-position: 0 -1400px;
181    
182}
183
184.yui-skin-sam .yui-radio-button-checked .first-child,
185.yui-skin-sam .yui-checkbox-button-checked .first-child {
186
187    border-color: #304369;
188
189}
190
191.yui-skin-sam .yui-radio-button-checked button,
192.yui-skin-sam .yui-checkbox-button-checked button { 
193
194    color: #fff;
195
196}
197
198
199/* Disabled state */
200
201.yui-skin-sam .yui-button-disabled {
202    
203    border-color: #ccc;
204    background-position: 0 -1500px;
205    
206}
207
208.yui-skin-sam .yui-button-disabled .first-child {
209
210    border-color: #ccc;
211
212}
213
214.yui-skin-sam .yui-button-disabled button, 
215.yui-skin-sam .yui-button-disabled a {
216
217    color: #A6A6A6;
218    cursor: default;
219
220}
221
222.yui-skin-sam .yui-menu-button-disabled button {
223
224    background-image: url(menu-button-arrow-disabled.png);
225    
226}
227
228.yui-skin-sam .yui-split-button-disabled button {
229
230    background-image: url(split-button-arrow-disabled.png);
231    
232}