diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-10 10:19:22 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-10 10:19:22 +0100 |
commit | 38dd1c342a5d86989a2773f6499c7fbd005e241d (patch) | |
tree | 7d6b416da6031c5c7f0c83cb47e7b43a3069e31f /library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/alerts.less | |
parent | 0f89db3b46be20a80c29ae894e83853831c7394e (diff) | |
download | volse-hubzilla-38dd1c342a5d86989a2773f6499c7fbd005e241d.tar.gz volse-hubzilla-38dd1c342a5d86989a2773f6499c7fbd005e241d.tar.bz2 volse-hubzilla-38dd1c342a5d86989a2773f6499c7fbd005e241d.zip |
font awesome 4.7.0
Diffstat (limited to 'library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/alerts.less')
-rw-r--r-- | library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/alerts.less | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/alerts.less b/library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/alerts.less new file mode 100644 index 000000000..0116b191b --- /dev/null +++ b/library/font_awesome/src/3.2.1/assets/less/bootstrap-2.3.2/alerts.less @@ -0,0 +1,79 @@ +// +// Alerts +// -------------------------------------------------- + + +// Base styles +// ------------------------- + +.alert { + padding: 8px 35px 8px 14px; + margin-bottom: @baseLineHeight; + text-shadow: 0 1px 0 rgba(255,255,255,.5); + background-color: @warningBackground; + border: 1px solid @warningBorder; + .border-radius(@baseBorderRadius); +} +.alert, +.alert h4 { + // Specified for the h4 to prevent conflicts of changing @headingsColor + color: @warningText; +} +.alert h4 { + margin: 0; +} + +// Adjust close link position +.alert .close { + position: relative; + top: -2px; + right: -21px; + line-height: @baseLineHeight; +} + + +// Alternate styles +// ------------------------- + +.alert-success { + background-color: @successBackground; + border-color: @successBorder; + color: @successText; +} +.alert-success h4 { + color: @successText; +} +.alert-danger, +.alert-error { + background-color: @errorBackground; + border-color: @errorBorder; + color: @errorText; +} +.alert-danger h4, +.alert-error h4 { + color: @errorText; +} +.alert-info { + background-color: @infoBackground; + border-color: @infoBorder; + color: @infoText; +} +.alert-info h4 { + color: @infoText; +} + + +// Block alerts +// ------------------------- + +.alert-block { + padding-top: 14px; + padding-bottom: 14px; +} +.alert-block > p, +.alert-block > ul { + margin-bottom: 0; +} +.alert-block p + p { + margin-top: 5px; +} |