2013-09-01 19:41:39 +00:00
|
|
|
.tabs {
|
2014-02-22 06:07:27 +00:00
|
|
|
background: linear-gradient(to bottom, @faded, lighten(@faded, 10%));
|
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;
|
2014-02-22 06:07:27 +00:00
|
|
|
//box-shadow: inset 4px 4px 16px rgba(0, 0, 0, .3);
|
2014-01-12 02:22:32 +00:00
|
|
|
|
2014-02-23 20:52:00 +00:00
|
|
|
.tab {
|
2013-09-01 19:41:39 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2014-02-23 20:52:00 +00:00
|
|
|
align-items: stretch;
|
2014-01-12 09:12:14 +00:00
|
|
|
max-width: 200px;
|
2013-09-01 19:41:39 +00:00
|
|
|
margin-right: 3px;
|
2014-02-26 18:18:39 +00:00
|
|
|
opacity: .5;
|
|
|
|
background: radial-gradient(ellipse 200px 25px at top center, lighten(@background, 15%), darken(@background, 10%));
|
2013-09-15 20:00:16 +00:00
|
|
|
border-radius: 2px 2px 0 0;
|
|
|
|
color: @foreground;
|
2014-02-23 20:52:00 +00:00
|
|
|
padding: 0;
|
2014-01-12 09:12:14 +00:00
|
|
|
flex: 1 1 auto;
|
2013-09-14 06:59:43 +00:00
|
|
|
position: relative;
|
2014-02-26 18:10:23 +00:00
|
|
|
box-shadow: 0px -4px 16px rgba(0, 0, 0, .3);
|
2013-09-14 06:59:43 +00:00
|
|
|
|
2014-02-23 20:52:00 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: @foreground;
|
|
|
|
padding: 4px 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-02-23 22:56:48 +00:00
|
|
|
transition: max-width .5s linear, -webkit-transform .2s ease, border-width .2s ease, opacity .2s ease;
|
|
|
|
transition: max-width .5s linear, transform .2s ease, border-width .2s ease, opacity .2s 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;
|
2014-02-26 18:10:23 +00:00
|
|
|
z-index: 9;
|
2014-02-22 05:13:20 +00:00
|
|
|
|
|
|
|
.close {
|
|
|
|
color: @accent;
|
|
|
|
}
|
2013-09-01 19:41:39 +00:00
|
|
|
}
|
|
|
|
|
2014-02-22 06:07:27 +00:00
|
|
|
&:hover:not(.active) {
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
|
2013-09-14 06:59:43 +00:00
|
|
|
&.dragging {
|
|
|
|
width: 0;
|
|
|
|
padding: 0;
|
2014-02-23 22:56:48 +00:00
|
|
|
flex-grow: 0;
|
2013-09-14 06:59:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.hovering {
|
|
|
|
border-color: @faded;
|
2014-02-23 22:56:48 +00:00
|
|
|
border-left-width: 25px;
|
2013-09-14 06:59:43 +00:00
|
|
|
border-left-style: solid;
|
|
|
|
}
|
|
|
|
|
2013-10-17 00:06:32 +00:00
|
|
|
&.enter {
|
|
|
|
//max-width: 0px;
|
|
|
|
-webkit-transform: translateY(24px);
|
|
|
|
transform: translateY(24px);
|
|
|
|
}
|
|
|
|
|
2014-02-23 20:52:00 +00:00
|
|
|
.label {
|
|
|
|
cursor: default;
|
|
|
|
padding: 7px 0 0 6px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-09-01 19:41:39 +00:00
|
|
|
.close {
|
|
|
|
font-size: 18px;
|
|
|
|
text-align: center;
|
2014-02-22 05:13:20 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
width: 18px;
|
2013-09-01 19:41:39 +00:00
|
|
|
position: relative;
|
|
|
|
margin-left: 4px;
|
2014-02-23 23:21:38 +00:00
|
|
|
padding: 0 4px 0 0;
|
2014-01-27 19:02:02 +00:00
|
|
|
cursor: pointer;
|
2014-02-23 23:58:43 +00:00
|
|
|
align-self: center;
|
2014-04-04 05:11:45 +00:00
|
|
|
font-family: monospace;
|
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
|
|
|
}
|
|
|
|
}
|
2014-03-24 15:18:25 +00:00
|
|
|
|
|
|
|
&.newtab {
|
|
|
|
opacity: .25;
|
2014-03-24 16:37:20 +00:00
|
|
|
min-width: 30px;
|
|
|
|
max-width: 30px;
|
|
|
|
margin: 2px 0 4px 0;
|
|
|
|
border-radius: 2px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-content: center;
|
2014-03-24 15:18:25 +00:00
|
|
|
|
|
|
|
.big-label {
|
2014-03-24 16:37:20 +00:00
|
|
|
font-size: 24px;
|
|
|
|
color: lighten(@foreground, 60%);
|
|
|
|
font-weight: bold;
|
2014-03-24 15:18:25 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2013-09-01 19:41:39 +00:00
|
|
|
}
|
|
|
|
}
|