mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
fix user/username error class
This commit is contained in:
parent
570c4b6300
commit
ecbda44be4
@ -9,7 +9,7 @@
|
||||
{{#if error}}
|
||||
<div class="control-group">
|
||||
<div class="instructions">
|
||||
<div class='alert error'>{{i18n user.change_about.error}}</div>
|
||||
<div class='alert alert-error'>{{i18n user.change_about.error}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -17,7 +17,7 @@
|
||||
{{#if error}}
|
||||
<div class="control-group">
|
||||
<div class="instructions">
|
||||
<div class='alert error'>{{i18n user.change_email.error}}</div>
|
||||
<div class='alert alert-error'>{{i18n user.change_email.error}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -10,7 +10,7 @@
|
||||
{{#if error}}
|
||||
<div class="control-group">
|
||||
<div class="instructions">
|
||||
<div class='alert error'>{{i18n user.change_username.error}}</div>
|
||||
<div class='alert alert-error'>{{i18n user.change_username.error}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -13,7 +13,7 @@ blockquote {
|
||||
border-left: 5px solid darken(scale-color-diff(), 10%);
|
||||
}
|
||||
|
||||
a.no-href {
|
||||
a.no-href {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
@ -491,27 +491,12 @@ body {
|
||||
margin-bottom: 18px;
|
||||
background-color: scale-color($danger, $lightness: 75%);
|
||||
color: #c09853;
|
||||
}
|
||||
.alert .close {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
right: -21px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.alert-success {
|
||||
background-color: scale-color($success, $lightness: 90%);
|
||||
color: $success;
|
||||
}
|
||||
.alert-error {
|
||||
background-color: scale-color($danger, $lightness: 75%);
|
||||
color: $danger;
|
||||
}
|
||||
.alert-info {
|
||||
background-color: scale-color($tertiary, $lightness: 90%);
|
||||
color: $primary;
|
||||
}
|
||||
.alert {
|
||||
|
||||
.close {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
right: -21px;
|
||||
line-height: 18px;
|
||||
float: right;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
@ -534,7 +519,20 @@ body {
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
&.alert-success {
|
||||
background-color: scale-color($success, $lightness: 90%);
|
||||
color: $success;
|
||||
}
|
||||
&.alert-error {
|
||||
background-color: scale-color($danger, $lightness: 75%);
|
||||
color: $danger;
|
||||
}
|
||||
&.alert-info {
|
||||
background-color: scale-color($tertiary, $lightness: 90%);
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.bootbox.modal {
|
||||
.modal-footer {
|
||||
a.btn-primary {
|
||||
|
Loading…
Reference in New Issue
Block a user