Styling: Error on tabs + hover state

This commit is contained in:
Anders Stentebjerg
2013-11-05 13:48:38 +01:00
parent 4f9ddfeb7a
commit 63eccb4909
2 changed files with 14 additions and 7 deletions

View File

@@ -162,14 +162,21 @@
.show-validation .tab-error a, .show-validation .tab-error a,
.show-validation .tab-error a:hover, .show-validation .tab-error a:hover,
.show-validation .tab-error a:focus { .show-validation .tab-error a:focus {
color: @red !important; color: @white !important;
border-bottom: 1px solid @red !important; background-color: @red !important;
border-color: @errorBorder;
}
.show-validation .tab-error a:before {
content: "\e25d";
font-family: 'icomoon';
margin-right: 5px;
vertical-align: top;
} }
.show-validation .nav-tabs > li.active.error > a, .show-validation .nav-tabs > li.active.error > a,
.show-validation .nav-tabs > li.active.error > a:hover, .show-validation .nav-tabs > li.active.error > a:hover,
.show-validation .nav-tabs > li.active.error > a:focus { .show-validation .nav-tabs > li.active.error > a:focus {
border-bottom-color: white !important;
} }
.umb-nav-tabs { .umb-nav-tabs {

View File

@@ -153,9 +153,7 @@ a.umb-options {
right: 10px; right: 10px;
top: 3px; top: 3px;
padding: 0 3px 3px 5px; padding: 0 3px 3px 5px;
border: 1px solid @grayLight; border: 1px solid transparent;
.border-radius(@baseBorderRadius);
background: @btnBackground;
} }
a.umb-options i { a.umb-options i {
@@ -168,7 +166,9 @@ a.umb-options i {
} }
a.umb-options:hover { a.umb-options:hover {
background: @btnBackgroundHighlight background: @btnBackgroundHighlight;
border: 1px solid @grayLight;
.border-radius(@baseBorderRadius);
} }
li.root > div > a.umb-options { li.root > div > a.umb-options {