2013-09-01 19:41:39 +00:00
|
|
|
.tabs {
|
2013-09-13 22:57:57 +00:00
|
|
|
background: @faded;
|
2013-09-15 20:00:16 +00:00
|
|
|
padding: 2px 2px 0px 0px;
|
2013-09-01 19:41:39 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
2013-09-15 20:00:16 +00:00
|
|
|
box-shadow: inset 4px 4px 16px rgba(0, 0, 0, .3);
|
2014-01-12 02:22:32 +00:00
|
|
|
|
|
|
|
a.tab {
|
2013-09-01 19:41:39 +00:00
|
|
|
display: flex;
|
2014-01-12 02:22:32 +00:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: default;
|
2013-09-01 19:41:39 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2014-01-12 09:12:14 +00:00
|
|
|
max-width: 200px;
|
2013-11-06 22:45:10 +00:00
|
|
|
padding: 0px 0px 0px 4px;
|
2013-09-01 19:41:39 +00:00
|
|
|
margin-right: 3px;
|
2013-09-15 20:00:16 +00:00
|
|
|
opacity: .8;
|
2013-09-13 22:57:57 +00:00
|
|
|
background: @background;
|
2013-09-15 20:00:16 +00:00
|
|
|
border-radius: 2px 2px 0 0;
|
|
|
|
color: @foreground;
|
2013-09-14 06:59:43 +00:00
|
|
|
padding-bottom: 4px;
|
2014-01-12 09:12:14 +00:00
|
|
|
flex: 1 1 auto;
|
2013-09-01 19:41:39 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2013-09-14 06:59:43 +00:00
|
|
|
position: relative;
|
2013-09-15 20:00:16 +00:00
|
|
|
box-shadow: inset 0px -4px 8px rgba(128, 128, 128, .3);
|
2013-09-14 06:59:43 +00:00
|
|
|
|
2013-10-17 00:06:32 +00:00
|
|
|
transition: max-width .5s linear, -webkit-transform .2s ease, border-width .5s ease;
|
|
|
|
transition: max-width .5s linear, transform .2s ease, border-width .5s ease;
|
2013-09-01 19:41:39 +00:00
|
|
|
|
|
|
|
&.active {
|
2013-09-14 06:59:43 +00:00
|
|
|
padding-bottom: 0px;
|
2013-09-06 07:04:20 +00:00
|
|
|
border-bottom: 4px solid @accent;
|
2013-09-13 22:57:57 +00:00
|
|
|
color: @foreground;
|
2013-09-15 20:00:16 +00:00
|
|
|
opacity: 1;
|
|
|
|
box-shadow: none;
|
2013-09-01 19:41:39 +00:00
|
|
|
}
|
|
|
|
|
2013-09-14 06:59:43 +00:00
|
|
|
&.dragging {
|
|
|
|
width: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.hovering {
|
|
|
|
border-color: @faded;
|
|
|
|
border-left-width: 50px;
|
|
|
|
border-left-style: solid;
|
|
|
|
}
|
|
|
|
|
2013-10-17 00:06:32 +00:00
|
|
|
&.enter {
|
|
|
|
//max-width: 0px;
|
|
|
|
-webkit-transform: translateY(24px);
|
|
|
|
transform: translateY(24px);
|
|
|
|
}
|
|
|
|
|
2013-09-01 19:41:39 +00:00
|
|
|
.close {
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
2013-09-06 07:04:20 +00:00
|
|
|
color: @accent;
|
2013-10-17 16:09:37 +00:00
|
|
|
background: @background;
|
2013-09-01 19:41:39 +00:00
|
|
|
position: relative;
|
|
|
|
margin-left: 4px;
|
2013-11-06 22:45:10 +00:00
|
|
|
padding-right: 4px;
|
2013-09-01 19:41:39 +00:00
|
|
|
|
|
|
|
&:hover {
|
2013-09-13 22:57:57 +00:00
|
|
|
color: @foreground;
|
2013-09-01 19:41:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|