mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Fixes #10399: Add hover styles to text emphasis classes
This commit is contained in:
+33
-6
@@ -32,12 +32,39 @@ small,
|
||||
cite { font-style: normal; }
|
||||
|
||||
// Contextual emphasis
|
||||
.text-muted { color: @text-muted; }
|
||||
.text-primary { color: @brand-primary; }
|
||||
.text-warning { color: @state-warning-text; }
|
||||
.text-danger { color: @state-danger-text; }
|
||||
.text-success { color: @state-success-text; }
|
||||
.text-info { color: @state-info-text; }
|
||||
.text-muted {
|
||||
color: @text-muted;
|
||||
}
|
||||
.text-primary {
|
||||
color: @brand-primary;
|
||||
&:hover {
|
||||
color: darken(@brand-primary, 10%);
|
||||
}
|
||||
}
|
||||
.text-warning {
|
||||
color: @state-warning-text;
|
||||
&:hover {
|
||||
color: darken(@state-warning-text, 10%);
|
||||
}
|
||||
}
|
||||
.text-danger {
|
||||
color: @state-danger-text;
|
||||
&:hover {
|
||||
color: darken(@state-danger-text, 10%);
|
||||
}
|
||||
}
|
||||
.text-success {
|
||||
color: @state-success-text;
|
||||
&:hover {
|
||||
color: darken(@state-success-text, 10%);
|
||||
}
|
||||
}
|
||||
.text-info {
|
||||
color: @state-info-text;
|
||||
&:hover {
|
||||
color: darken(@state-info-text, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
// Alignment
|
||||
.text-left { text-align: left; }
|
||||
|
||||
Reference in New Issue
Block a user