grafana/public/sass/components/_tabs.scss

40 lines
583 B
SCSS
Raw Normal View History

2016-02-23 06:20:59 -06:00
.gf-tabs {
@include clearfix();
float: left;
2017-11-30 04:31:38 -06:00
position: relative;
top: 1px;
2016-02-23 06:20:59 -06:00
}
.gf-tabs-item {
float: left;
list-style: none;
}
.gf-tabs-link {
2017-11-30 01:18:23 -06:00
padding: $tabs-padding;
2016-02-23 06:20:59 -06:00
margin-right: $spacer/2;
2016-02-23 07:05:12 -06:00
position: relative;
display: block;
2017-11-30 01:18:23 -06:00
border: solid transparent;
border-width: 2px 1px 1px;
border-radius: 3px 3px 0 0;
2016-02-23 07:05:12 -06:00
2017-11-30 01:18:23 -06:00
i {
2017-11-30 04:31:38 -06:00
margin-right: 5px;
2017-11-30 01:18:23 -06:00
}
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 {
2017-11-30 01:18:23 -06:00
border-color: $orange $dark-4 transparent;
background: $page-bg;
2016-02-23 06:20:59 -06:00
color: $link-color;
}
}
2017-05-08 04:17:29 -05:00