Revision 9ea77c4b snf-cyclades-app/synnefo/ui/new_ui/ui/sass/_common.scss
b/snf-cyclades-app/synnefo/ui/new_ui/ui/sass/_common.scss | ||
---|---|---|
171 | 171 |
} |
172 | 172 |
} |
173 | 173 |
|
174 |
|
|
175 | 174 |
.btn1 { |
176 |
border:1px solid $primary-color;
|
|
177 |
color:$primary-color;
|
|
175 |
border:1px solid $link-color;
|
|
176 |
color:$link-color;
|
|
178 | 177 |
display:inline-block; |
179 |
padding:10px 20px; |
|
180 |
line-height:1em; |
|
178 |
height:$btn-height; |
|
181 | 179 |
text-align:center; |
180 |
font-size:emCalc(12px); |
|
182 | 181 |
&:hover, |
183 |
&.current, |
|
184 | 182 |
&:focus { |
185 |
border-color:$secondary-color; |
|
186 |
background:$secondary-color; |
|
187 |
color:#fff; |
|
183 |
color: $link-color; |
|
184 |
span { |
|
185 |
border-color: $link-color; |
|
186 |
} |
|
188 | 187 |
} |
189 | 188 |
&.current { |
190 |
cursor:default; |
|
189 |
span { |
|
190 |
background-color: $link-color; |
|
191 |
} |
|
192 |
color:#fff; |
|
193 |
} |
|
194 |
span { |
|
195 |
border: 1px solid transparent; |
|
196 |
display: block; |
|
197 |
padding:0 20px; |
|
198 |
line-height:$btn-height - 4px; |
|
199 |
height:100%; |
|
200 |
|
|
191 | 201 |
} |
192 | 202 |
} |
193 | 203 |
|
... | ... | |
217 | 227 |
} |
218 | 228 |
} |
219 | 229 |
|
230 |
|
|
220 | 231 |
.btn4 { |
221 |
@extend .btn1; |
|
222 |
color:#fff; |
|
223 |
border-color:#fff; |
|
224 |
background: $secondary-color; |
|
225 |
&:hover, |
|
226 |
&.current, |
|
232 |
border:1px solid white; |
|
233 |
color:white; |
|
234 |
display:inline-block; |
|
235 |
height:$btn-height; |
|
236 |
text-align:center; |
|
237 |
font-size:emCalc(12px); |
|
238 |
&:hover, |
|
227 | 239 |
&:focus { |
228 |
color: $secondary-color; |
|
229 |
border-color: $secondary-color; |
|
230 |
background: #fff; |
|
240 |
color: #fff; |
|
241 |
span { |
|
242 |
border-color: white; |
|
243 |
} |
|
244 |
} |
|
245 |
&.current { |
|
246 |
span { |
|
247 |
background-color: white; |
|
248 |
} |
|
249 |
background:white; |
|
250 |
color:$secondary-color; |
|
251 |
} |
|
252 |
span { |
|
253 |
border: 1px solid transparent; |
|
254 |
display: block; |
|
255 |
padding:0 20px; |
|
256 |
line-height:$btn-height - 4px; |
|
257 |
height:100%; |
|
258 |
|
|
231 | 259 |
} |
232 | 260 |
} |
233 | 261 |
|
... | ... | |
235 | 263 |
border:1px solid white; |
236 | 264 |
color:white; |
237 | 265 |
display:inline-block; |
238 |
padding:0 20px; |
|
239 |
line-height:$btn-height - 2px; |
|
240 | 266 |
height:$btn-height; |
241 | 267 |
text-align:center; |
242 | 268 |
font-size:emCalc(12px); |
243 | 269 |
&:hover, |
244 | 270 |
&:focus { |
245 |
border-width:2px; |
|
246 |
line-height: $btn-height - 4px; |
|
247 |
padding:0 19px; |
|
248 |
color:white; |
|
271 |
span { |
|
272 |
border-color: white; |
|
273 |
} |
|
249 | 274 |
} |
250 | 275 |
&.current { |
276 |
span { |
|
277 |
background-color: white; |
|
278 |
} |
|
251 | 279 |
background:white; |
252 | 280 |
color:$secondary-color; |
253 | 281 |
} |
282 |
span { |
|
283 |
border: 1px solid transparent; |
|
284 |
display: block; |
|
285 |
padding:0 20px; |
|
286 |
line-height:$btn-height - 4px; |
|
287 |
height:100%; |
|
288 |
|
|
289 |
} |
|
254 | 290 |
} |
255 | 291 |
|
256 | 292 |
.btn-img { |
Also available in: Unified diff