mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
59 lines
928 B
Plaintext
59 lines
928 B
Plaintext
.alerts {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
z-index: @zindex-alerts;
|
|
|
|
& .alert {
|
|
display: inline-block;
|
|
.box-shadow(0 2px 6px @fl-shadow-color);
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
.alert {
|
|
padding: 12px 16px;
|
|
border-radius: @border-radius-base;
|
|
background: #FFF2AE;
|
|
&, & a, & a:hover {
|
|
color: #AD6C00;
|
|
}
|
|
}
|
|
.alert-warning {
|
|
background: #D83E3E;
|
|
&, & a, & a:hover {
|
|
color: #fff;
|
|
}
|
|
}
|
|
.alert-controls {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0 -8px 0 8px;
|
|
display: inline-block;
|
|
|
|
& li {
|
|
display: inline-block;
|
|
margin: 0 5px;
|
|
}
|
|
& a {
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
& .btn {
|
|
margin: -10px;
|
|
}
|
|
}
|
|
.form-group { // probably move this elsewhere
|
|
position: relative;
|
|
}
|
|
.form-alert {
|
|
position: absolute;
|
|
bottom: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
margin-bottom: 12px;
|
|
& .alert {
|
|
display: inline-block;
|
|
}
|
|
}
|