mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 15:13:30 -06:00
e8807f4bce
* ux: Make new tabs responsive #10082 * ux: Add possibility to manipulate url in angular router outside of angular - and use it in the responsive navigation #10082
52 lines
858 B
SCSS
52 lines
858 B
SCSS
.gf-tabs {
|
|
@include clearfix();
|
|
float: left;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
|
|
.gf-tabs-item {
|
|
float: left;
|
|
list-style: none;
|
|
}
|
|
|
|
.gf-tabs-link {
|
|
padding: $tabs-padding;
|
|
margin-right: $spacer/2;
|
|
position: relative;
|
|
display: block;
|
|
border: solid transparent;
|
|
border-width: 0 1px 1px;
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
i {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: $link-hover-color;
|
|
}
|
|
|
|
&.active,
|
|
&.active:hover,
|
|
&.active:focus {
|
|
border-color: $orange $tab-border-color transparent;
|
|
background: $page-bg;
|
|
color: $link-color;
|
|
overflow: hidden;
|
|
|
|
&::before {
|
|
display: block;
|
|
content: ' ';
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
top: 0;
|
|
background-image: linear-gradient(to right, #ffd500 0%, #ff4400 99%, #ff4400 100%);
|
|
}
|
|
}
|
|
}
|
|
|