debian-mirror-gitlab/app/assets/stylesheets/framework/callout.scss

45 lines
860 B
SCSS
Raw Normal View History

2015-09-25 12:07:36 +05:30
/*
* Callouts from Bootstrap3 docs
*
* Not quite alerts, but custom and helpful notes for folks reading the docs.
* Requires a base and modifier class.
*/
/* Common styles for all types */
.bs-callout {
2015-12-23 02:04:40 +05:30
margin: $gl-padding 0;
padding: $gl-padding;
2015-11-26 14:37:03 +05:30
border-left: 3px solid $border-color;
color: $text-color;
background: $background-color;
2015-09-25 12:07:36 +05:30
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 5px;
}
.bs-callout p:last-child {
margin-bottom: 0;
}
/* Variations */
.bs-callout-danger {
background-color: #fdf7f7;
border-color: #eed3d7;
color: #b94a48;
}
.bs-callout-warning {
background-color: #faf8f0;
border-color: #faebcc;
color: #8a6d3b;
}
.bs-callout-info {
background-color: #f4f8fa;
border-color: #bce8f1;
color: #34789a;
}
.bs-callout-success {
background-color: #dff0d8;
2016-06-02 11:05:42 +05:30
border-color: #5ca64d;
2015-09-25 12:07:36 +05:30
color: #3c763d;
}