1
0
mirror of synced 2024-11-27 23:36:01 +03:00
select2/docs/_sass/_alert.scss

48 lines
774 B
SCSS
Raw Normal View History

// Alerts
//
// Modify Bootstrap's default alert styles to mimick
// the `.bs-callout` styles from Bootstrap's docs.
//
// @see https://github.com/twbs/bootstrap/blob/master/docs/assets/css/src/docs.css#L711
// @see https://github.com/twbs/bootstrap/blob/master/less/alerts.less
2015-06-07 01:46:05 +03:00
.alert {
background: #fff;
2015-06-07 01:46:05 +03:00
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;
color: #333;
margin: 20px 0;
padding: 20px;
2015-06-07 01:46:05 +03:00
h4 {
font-size: 18px;
2015-06-07 01:46:05 +03:00
margin-top: 0;
margin-bottom: 5px;
}
&-danger {
border-left-color: #ce4844;
2015-06-07 01:46:05 +03:00
h4 {
color: #ce4844;
2015-06-07 01:46:05 +03:00
}
}
&-info {
border-left-color: #1b809e;
2015-06-07 01:46:05 +03:00
h4 {
color: #1b809e;
2015-06-07 01:46:05 +03:00
}
}
&-warning {
border-left-color: #aa6708;
2015-06-07 01:46:05 +03:00
h4 {
color: #aa6708;
2015-06-07 01:46:05 +03:00
}
}
}