2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

remove theme.less and split preboot.less to mixins.less and variables.less to isolate customization from function

This commit is contained in:
Mark Otto
2011-09-12 20:07:26 -07:00
parent 2978934bd5
commit 206334ba70
8 changed files with 176 additions and 257 deletions
+29
View File
@@ -488,6 +488,35 @@ footer {
// BUTTON STYLES
// -------------
// Shared colors for buttons and alerts
.btn,
.alert-message {
// Set text color
&.danger,
&.danger:hover,
&.error,
&.error:hover,
&.success,
&.success:hover,
&.info,
&.info:hover {
color: @white
}
// Danger and error appear as red
&.danger,
&.error {
.gradientBar(#ee5f5b, #c43c35);
}
// Success appears as green
&.success {
.gradientBar(#62c462, #57a957);
}
// Info appears as a neutral blue
&.info {
.gradientBar(#5bc0de, #339bb9);
}
}
// Base .btn styles
.btn {
// Button Base