2017-06-08 15:14:36 +00:00
|
|
|
@height-tabs: 32px;
|
2017-04-20 08:45:33 +00:00
|
|
|
@height-controls: 67px;
|
|
|
|
|
2017-06-02 14:26:43 +00:00
|
|
|
//@tabs-bg-color: #fff;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
.toolbar {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:not(.folded) {
|
|
|
|
height: @height-tabs + @height-controls;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.folded {
|
|
|
|
height: @height-tabs;
|
|
|
|
transition: height .2s;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&.expanded {
|
|
|
|
height: @height-tabs + @height-controls;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.expanded):not(.cover){
|
|
|
|
.marker {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ribtab.active {
|
|
|
|
> a {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-tabs {
|
|
|
|
height: @height-tabs;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
.extra {
|
|
|
|
background-color: @tabs-bg-color;
|
|
|
|
}
|
|
|
|
|
2017-06-08 15:14:36 +00:00
|
|
|
//&::after {
|
|
|
|
// content: '';
|
|
|
|
// position: absolute;
|
|
|
|
// width: 100%;
|
|
|
|
// border-top: 1px solid @gray-dark;
|
|
|
|
// top: @height-tabs - 1;
|
|
|
|
// left: 0;
|
|
|
|
// z-index: 1;
|
|
|
|
//}
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabs {
|
2017-06-08 15:14:36 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
background-color: @tabs-bg-color;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
padding-top: 2px;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
> ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
list-style: none;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
//background-color: #a6c995;
|
|
|
|
|
2017-06-08 15:14:36 +00:00
|
|
|
position: relative;
|
|
|
|
.tab-bg {
|
|
|
|
position: absolute;
|
2017-06-14 09:58:04 +00:00
|
|
|
height: 24px;
|
2017-06-08 15:14:36 +00:00
|
|
|
width: 100%;
|
2017-06-14 09:58:04 +00:00
|
|
|
top: 6px;
|
|
|
|
background-color: @tabs-bg-color;
|
|
|
|
border-radius: 2px 2px 0 0;
|
2017-06-08 15:14:36 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 09:58:04 +00:00
|
|
|
&:hover {
|
2017-06-08 15:14:36 +00:00
|
|
|
.tab-bg {
|
2017-06-14 09:58:04 +00:00
|
|
|
background-color: rgba(255,255,255,0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
.tab-bg {
|
|
|
|
background-color: @gray-light;
|
2017-06-08 15:14:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-20 08:45:33 +00:00
|
|
|
> a {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: @height-tabs;
|
|
|
|
height: 100%;
|
2017-06-14 09:58:04 +00:00
|
|
|
padding: 2px 8px;
|
2017-04-20 08:45:33 +00:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: default;
|
2017-06-08 15:14:36 +00:00
|
|
|
font-size: 11px;
|
2017-04-20 08:45:33 +00:00
|
|
|
text-align: center;
|
2017-06-08 15:26:03 +00:00
|
|
|
color: #fff;
|
2017-06-08 15:14:36 +00:00
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
//&::after {
|
|
|
|
// display: block;
|
|
|
|
// content: attr(data-title);
|
|
|
|
// //font-weight: bold;
|
|
|
|
// height: 1px;
|
|
|
|
// overflow: hidden;
|
|
|
|
// visibility: hidden;
|
|
|
|
//}
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
> a {
|
2017-06-14 09:58:04 +00:00
|
|
|
color: #444;
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.marker {
|
|
|
|
position: relative;
|
2017-06-08 15:14:36 +00:00
|
|
|
border-top: 2px solid #fff;
|
|
|
|
top: -7px;
|
2017-04-20 08:45:33 +00:00
|
|
|
-webkit-transition: width .2s, left .2s ease-out;
|
|
|
|
opacity: 1;
|
|
|
|
transition: width .2s, left .2s ease-out, opacity .2s;
|
2017-06-08 15:14:36 +00:00
|
|
|
display: none;
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.short) {
|
|
|
|
.scroll {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroll {
|
|
|
|
line-height: @height-tabs;
|
|
|
|
min-width: 20px;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 1;
|
2017-04-28 10:44:03 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
&.left{
|
2017-04-28 10:44:03 +00:00
|
|
|
box-shadow: 5px 0 20px 5px rgba(255, 255, 255, .8)
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
&.right{
|
2017-04-28 10:44:03 +00:00
|
|
|
box-shadow: -5px 0 20px 5px rgba(255, 255, 255, .8)
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-controls {
|
|
|
|
height: @height-controls;
|
|
|
|
padding: 10px 0;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
//background-color: #F2CBBF;
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
display: table;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
//width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-panels {
|
|
|
|
.panel:not(.active) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
background-color: @gray-light;
|
|
|
|
.box-inner-shadow(0 -1px 0 @gray-dark);
|
|
|
|
|
|
|
|
.group {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-left: 12px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.group {
|
|
|
|
//background-color: #a9f261;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.elset {
|
|
|
|
height: 20px;
|
|
|
|
font-size: 0;
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
margin-left: 12px;
|
|
|
|
|
2017-04-21 13:36:06 +00:00
|
|
|
&.close {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2017-04-20 08:45:33 +00:00
|
|
|
&.long {
|
|
|
|
height: 46px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.short {
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-slot {
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.split {
|
|
|
|
width: 29px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.text {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.border {
|
|
|
|
border: 1px solid @gray;
|
|
|
|
.border-radius(1px);
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.x-huge {
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-fullview-panel {
|
|
|
|
position: absolute;
|
|
|
|
top: @height-tabs;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2017-05-01 11:30:44 +00:00
|
|
|
z-index: 1041;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar {
|
|
|
|
&.cover {
|
|
|
|
ul {
|
|
|
|
z-index: 1042;
|
|
|
|
}
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
2017-04-20 13:36:15 +00:00
|
|
|
|
|
|
|
.btn-toolbar {
|
|
|
|
&:active {
|
|
|
|
svg.icon {
|
|
|
|
fill: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg.icon {
|
|
|
|
background-image: none;
|
|
|
|
|
|
|
|
fill: @gray-deep;
|
|
|
|
}
|
|
|
|
}
|
2017-04-25 16:55:19 +00:00
|
|
|
|
|
|
|
.button-otherstates-icon2(btn-toolbar, @toolbar-icon-size);
|