grafana/public/sass/components/_tabs.scss

80 lines
1.3 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;
border-bottom: 1px solid $page-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;
2016-03-02 13:56:04 -06:00
margin: $tabs-top-margin 0 0 0;
2016-02-23 06:20:59 -06:00
}
.gf-tabs-item {
float: left;
list-style: none;
}
.gf-tabs-link {
2016-03-02 13:56:04 -06:00
padding: $tabs-padding-top $spacer $tabs-padding-bottom $spacer;
2016-02-23 06:20:59 -06:00
margin-right: $spacer/2;
border: 1px solid transparent;
2016-02-23 07:05:12 -06:00
position: relative;
display: block;
2016-02-23 07:05:12 -06:00
@include border-radius(2px 2px 0 0);
2016-02-15 08:27:41 -06:00
2016-02-23 06:20:59 -06:00
&:hover,
&:focus {
color: $link-hover-color;
2016-02-23 06:20:59 -06:00
}
&.active,
&.active:hover,
&.active:focus {
@include border-radius(3px);
2016-02-24 03:32:22 -06:00
border-color: rgba(216, 131, 40, 0.77);
border-bottom: 1px solid $page-bg;
2016-02-23 06:20:59 -06:00
color: $link-color;
position: relative;
top: 1px;
2016-02-23 06:20:59 -06:00
}
}
2017-05-08 04:17:29 -05:00
.form-tabs-wrapper {
@include brand-bottom-border();
@include clearfix();
}
.form-tabs-content {
padding: $spacer*2 $spacer;
}