gaf-mobile
Version:
GAF mobile Web site
118 lines (108 loc) • 2.46 kB
text/less
@import (reference) '../themes/variables';
// Site alerts
.alert {
position: relative;
display: block;
padding: 10px;
padding-left: 50px;
line-height: 1.1em;
background-color: @septenary-color-xxxlight;
border: 1px solid @septenary-color-light;
border-radius: 2px;
font-size: @type-size-sml;
&::before {
display: block;
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 40px;
background-color: @septenary-color-light;
content: '';
}
&::after {
display: block;
position: absolute;
left: 9px;
top: 10px;
color: @septenary-color-xxxlight;
font-size: 22px;
font-family: "icomoon";
content: '\e612';
}
&-title {
display: block;
margin-bottom: 3px;
font-size: @type-size;
}
&-content {
display: block;
margin-bottom: 3px;
}
&-error {
border-color: @error-notify-color;
color: @error-notify-color;
&::before {
background-color: @error-notify-color;
}
&::after {
content: '\e613';
}
.alert-title {
color: @error-notify-color;
}
}
&-success {
border-color: @success-notify-color;
color: @success-notify-color;
&::before {
background-color: @success-notify-color;
}
&::after {
content: '\e617';
}
.alert-title {
color: @success-notify-color;
}
}
&-info {
border-color: @primary-color-dark;
color: @primary-color-dark;
&::before {
background-color: @primary-color-dark;
}
&::after {
content: '\e612';
}
.alert-title {
color: @primary-color-dark;
}
}
}
// form alerts and validation
.alert-form {
color: @error-notify-color;
display: block;
font-size: @type-size-sml;
text-align: left;
margin-bottom: 12px;
}
.validation {
display: block;
font-size: @type-size-sml;
text-align: left;
margin-top: -6px;
margin-bottom: 15px;
&-error {
color: @error-notify-color;
}
&-info {
color: @info-notify-color;
}
&-success {
color: @success-notify-color;
}
&-warning {
color: @warning-notify-color;
}
}