mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
efca923d30
Related to #118
59 lines
994 B
Plaintext
Executable File
59 lines
994 B
Plaintext
Executable File
.Alert {
|
|
padding: 12px 16px;
|
|
border-radius: @border-radius;
|
|
background: @alert-bg;
|
|
line-height: 1.5;
|
|
|
|
&, .Button, .Button:hover {
|
|
color: @alert-color;
|
|
}
|
|
}
|
|
.Alert--error {
|
|
background: @alert-error-bg;
|
|
|
|
&, a, a:hover, .Button, .Button:hover {
|
|
color: @alert-error-color;
|
|
}
|
|
}
|
|
.Alert--success {
|
|
background: @alert-success-bg;
|
|
|
|
&, a, a:hover, .Button, .Button:hover {
|
|
color: @alert-success-color;
|
|
}
|
|
a, a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
.Alert-controls {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0 -8px 0 8px;
|
|
display: inline-block;
|
|
|
|
> li {
|
|
display: inline-block;
|
|
margin: 0 5px;
|
|
|
|
> a, > .Button {
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
|
|
&.disabled {
|
|
cursor: default;
|
|
text-decoration: none;
|
|
opacity: 0.5;
|
|
}
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
> .Button {
|
|
margin: -10px;
|
|
vertical-align: 0;
|
|
}
|
|
}
|
|
}
|