web-apps/apps/common/main/resources/less/tabbar.less

61 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.nav-tabs {
white-space: nowrap;
overflow: hidden;
> li {
float: none;
2020-02-13 09:09:05 +00:00
display: inline-block;
2016-03-11 00:48:53 +00:00
&.active {
2020-02-13 09:09:05 +00:00
> span, > span:hover, > span:focus {
background-color: @background-normal;
color: @text-normal;
border-color: @background-normal;
2016-03-11 00:48:53 +00:00
cursor: pointer;
}
}
2018-11-13 14:30:46 +00:00
&:not(.dragged) {
transition: left .2s;
}
2020-02-13 09:09:05 +00:00
> span {
2016-03-11 00:48:53 +00:00
display: inline;
background-color: @background-toolbar;
color: @text-secondary;
2016-03-11 00:48:53 +00:00
padding-top: 0;
padding-bottom: 0;
white-space: pre;
text-align: center;
&::after {
content: attr(title);
font-weight: bold;
display: block;
}
2016-03-11 00:48:53 +00:00
&:hover, &:focus {
background-color: @background-toolbar;
border-color: @background-toolbar;
2016-03-11 00:48:53 +00:00
cursor: pointer;
}
}
}
&.bottom {
border-bottom: none;
border-top: none;
> li {
vertical-align: middle;
2020-02-13 09:09:05 +00:00
> span {
2016-03-11 00:48:53 +00:00
padding-bottom: 1px;
border-radius: 0 0 4px 4px;
}
}
}
}