1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-24 10:16:16 +01:00
blog/_src/_assets/styl/_kremalicious/alerts.styl

39 lines
817 B
Stylus
Raw Normal View History

2014-07-12 02:00:18 +02:00
//
// kremalicious3
// --------------
2014-07-12 21:22:47 +02:00
// Alerts
2014-07-12 02:00:18 +02:00
//
2016-06-12 16:36:25 +02:00
$alert-info = #f7f1e4
$alert-success = #dff0d8
$alert-error = #f2dede
2014-07-12 02:00:18 +02:00
.alert
2016-06-12 16:36:25 +02:00
padding: $spacer
margin-bottom: $spacer
2014-07-12 02:00:18 +02:00
border-radius: $border-radius-base
2014-07-12 21:22:47 +02:00
border: 1px solid transparent
2016-06-12 16:36:25 +02:00
box-shadow: 0 1px 3px rgba($brand-grey, .1), inset 0 1px 0 #fff
2014-07-12 02:00:18 +02:00
> p,
> ul
margin-bottom: 0
> p + p
2016-06-12 16:36:25 +02:00
margin-top: $spacer
2014-07-12 02:00:18 +02:00
.alert-success
2016-06-12 16:36:25 +02:00
color: darken($alert-success, 60%)
background: $alert-success
border-color: darken($alert-success, 10%)
2014-07-12 02:00:18 +02:00
.alert-danger,
.alert-error
2016-06-12 16:36:25 +02:00
color: darken($alert-error, 60%)
background: $alert-error
border-color: darken($alert-error, 10%)
2014-07-12 02:00:18 +02:00
.alert-info
2016-06-12 16:36:25 +02:00
color: darken($alert-info, 60%)
background: $alert-info
border-color: darken($alert-info, 10%)