grafana/public/sass/components/_tabs.scss

71 lines
1.2 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.nav-tabs-alt {
& > li > a {
2016-02-16 02:42:46 -06:00
color: darken($link-color, 20%);
2016-02-15 08:27:41 -06:00
}
li > a:hover {
border-bottom: none;
}
li.active > a,
li.active > a:focus,
li.active > a:hover {
@include border-radius(3px);
2016-02-16 07:07:41 -06:00
border: 1px solid $divider-border-color;
2016-02-15 08:27:41 -06:00
background-color: transparent;
2016-02-16 01:30:37 -06:00
border-bottom: 1px solid $panel-bg;
2016-02-16 02:42:46 -06:00
color: $link-color;
2016-02-15 08:27:41 -06:00
}
li.disabled > a {
2016-02-16 02:42:46 -06:00
color: $text-color;
2016-02-15 08:27:41 -06:00
}
.open .dropdown-toggle {
background-color: #060606;
border-color: transparent;
}
.tab-content {
padding: 10px;
2016-02-16 01:30:37 -06:00
background-color: $panel-bg;
2016-02-15 08:27:41 -06:00
}
}
2016-02-23 06:20:59 -06:00
.gf-tabs {
@include clearfix();
float: left;
margin: 0.5rem 0 0 2rem;
}
.gf-tabs-item {
float: left;
list-style: none;
}
.gf-tabs-link {
padding: ($spacer * 0.75) $spacer;
margin-right: $spacer/2;
line-height: $line-height-base;
border: 1px solid transparent;
@include border-radius(4px 4px 0 0);
2016-02-15 08:27:41 -06:00
2016-02-23 06:20:59 -06:00
&:hover,
&:focus {
border-color: $divider-border-color;
color: $link-color;
}
&.active,
&.active:hover,
&.active:focus {
@include border-radius(3px);
border: 1px solid $divider-border-color;
background-color: transparent;
border-bottom: 1px solid $panel-bg;
color: $link-color;
position: relative;
top: 1px;
}
}