Updating Bootstrap to v2.0.1
This commit is contained in:
30
css/less/labels.less
Executable file → Normal file
30
css/less/labels.less
Executable file → Normal file
@@ -1,16 +1,32 @@
|
||||
// LABELS
|
||||
// ------
|
||||
|
||||
// Base
|
||||
.label {
|
||||
padding: 1px 3px 2px;
|
||||
font-size: @baseFontSize * .75;
|
||||
padding: 2px 4px 3px;
|
||||
font-size: @baseFontSize * .85;
|
||||
font-weight: bold;
|
||||
color: @white;
|
||||
text-transform: uppercase;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||
background-color: @grayLight;
|
||||
.border-radius(3px);
|
||||
}
|
||||
.label-important { background-color: @errorText; }
|
||||
.label-warning { background-color: @orange; }
|
||||
.label-success { background-color: @successText; }
|
||||
.label-info { background-color: @infoText; }
|
||||
|
||||
// Hover state
|
||||
.label:hover {
|
||||
color: @white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Colors
|
||||
.label-important { background-color: @errorText; }
|
||||
.label-important:hover { background-color: darken(@errorText, 10%); }
|
||||
|
||||
.label-warning { background-color: @orange; }
|
||||
.label-warning:hover { background-color: darken(@orange, 10%); }
|
||||
|
||||
.label-success { background-color: @successText; }
|
||||
.label-success:hover { background-color: darken(@successText, 10%); }
|
||||
|
||||
.label-info { background-color: @infoText; }
|
||||
.label-info:hover { background-color: darken(@infoText, 10%); }
|
||||
|
||||
Reference in New Issue
Block a user