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

50 lines
1,009 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;
2017-08-17 22:00:37 +05:30
background: $gray-light;
2016-11-03 12:29:30 +05:30
2018-03-17 18:26:18 +05:30
h4 {
margin-top: 0;
margin-bottom: 5px;
}
2016-11-03 12:29:30 +05:30
2018-03-17 18:26:18 +05:30
p:last-child {
margin-bottom: 0;
}
2015-09-25 12:07:36 +05:30
}
/* Variations */
.bs-callout-danger {
2017-08-17 22:00:37 +05:30
background-color: $callout-danger-bg;
border-color: $callout-danger-border;
color: $callout-danger-color;
2015-09-25 12:07:36 +05:30
}
2016-11-03 12:29:30 +05:30
2015-09-25 12:07:36 +05:30
.bs-callout-warning {
2017-08-17 22:00:37 +05:30
background-color: $callout-warning-bg;
border-color: $callout-warning-border;
color: $callout-warning-color;
2015-09-25 12:07:36 +05:30
}
2016-11-03 12:29:30 +05:30
2015-09-25 12:07:36 +05:30
.bs-callout-info {
2017-08-17 22:00:37 +05:30
background-color: $callout-info-bg;
border-color: $callout-info-border;
color: $callout-info-color;
2015-09-25 12:07:36 +05:30
}
2016-11-03 12:29:30 +05:30
2015-09-25 12:07:36 +05:30
.bs-callout-success {
2017-08-17 22:00:37 +05:30
background-color: $callout-success-bg;
border-color: $callout-success-border;
color: $callout-success-color;
2015-09-25 12:07:36 +05:30
}