Gitlab styled tabs. Better ref selector

This commit is contained in:
randx 2012-09-18 20:50:34 +03:00
parent 560b1ac5f3
commit aaec545a67
2 changed files with 42 additions and 10 deletions

View file

@ -33,7 +33,29 @@
.nav-pills a:hover { background-color:#888; } .nav-pills a:hover { background-color:#888; }
.nav-pills .active a { background-color: $style_color; } .nav-pills .active a { background-color: $style_color; }
.nav-tabs > li > a, .nav-pills > li > a { color:$style_color; } .nav-tabs > li > a, .nav-pills > li > a { color:$style_color; }
.nav-tabs > .active > a { font-weight:bold; } .nav.nav-tabs {
li {
> a {
padding:8px 20px;
margin-right: 7px;
border-color: #EEE;
color:#888;
border-bottom: 1px solid #ddd;
.badge {
background-color: #eee;
color:#888;
text-shadow:0 1px 1px #fff;
}
}
&.active {
> a {
border-color: #CCC;
border-bottom: 1px solid #fff;
color:#333;
}
}
}
}
/** ALERT MESSAGES **/ /** ALERT MESSAGES **/
.alert-message { @extend .alert; } .alert-message { @extend .alert; }

View file

@ -20,15 +20,25 @@
.chzn-drop { .chzn-drop {
margin:7px 0; margin:7px 0;
border: 1px solid #CCC; min-width: 400px;
min-width: 300px; border: 2px solid $blue_link;
@include border-radius(4px);
.chzn-results { .chzn-results {
max-height:300px; max-height:300px;
.group-result {
color: $blue_link;
}
.active-result {
&.highlighted {
background: $blue_link;
}
}
} }
.chzn-search input { .chzn-search input {
min-width:200px; min-width:300px;
} }
} }