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