2016-07-13 20:13:28 +00:00
|
|
|
.sidebar__header {
|
|
|
|
padding: #{10 / $base-font-size}rem #{6 / $base-font-size}rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
border-top: 1px solid $ide-border-color;
|
2016-07-14 16:47:54 +00:00
|
|
|
align-items: center;
|
|
|
|
height: #{47 / $base-font-size}rem;
|
2016-07-13 20:13:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__title {
|
2016-07-14 16:47:54 +00:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
2016-07-13 20:13:28 +00:00
|
|
|
display: inline-block;
|
2016-07-14 16:47:54 +00:00
|
|
|
.sidebar--contracted & {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-07-13 20:13:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__add {
|
2016-08-01 01:38:46 +00:00
|
|
|
@extend %icon;
|
2016-07-13 20:13:28 +00:00
|
|
|
cursor: pointer;
|
2016-07-14 16:47:54 +00:00
|
|
|
height: #{26 / $base-font-size}rem;
|
|
|
|
margin-right: #{16 / $base-font-size}rem;
|
|
|
|
font-size: #{24 / $base-font-size}rem;
|
|
|
|
.sidebar--contracted & {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-07-13 20:13:28 +00:00
|
|
|
}
|
|
|
|
|
2016-07-06 19:09:05 +00:00
|
|
|
.sidebar__file-list {
|
2016-07-12 16:25:48 +00:00
|
|
|
border-top: 1px solid $ide-border-color;
|
2016-07-14 16:47:54 +00:00
|
|
|
.sidebar--contracted & {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-07-06 19:09:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__file-item {
|
2016-07-14 16:47:54 +00:00
|
|
|
font-size: #{16 / $base-font-size}rem;
|
2016-07-08 19:58:49 +00:00
|
|
|
padding: #{8 / $base-font-size}rem #{20 / $base-font-size}rem;
|
2016-07-06 19:09:05 +00:00
|
|
|
color: $light-inactive-text-color;
|
2016-07-12 16:25:48 +00:00
|
|
|
cursor: pointer;
|
|
|
|
&--selected {
|
|
|
|
background-color: $ide-border-color;
|
|
|
|
}
|
2016-07-06 19:09:05 +00:00
|
|
|
}
|
2016-07-14 16:47:54 +00:00
|
|
|
|
|
|
|
.sidebar__contract {
|
|
|
|
@extend %icon;
|
|
|
|
height: #{14 / $base-font-size}rem;
|
|
|
|
& svg {
|
|
|
|
height: #{14 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
.sidebar--contracted & {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__expand {
|
|
|
|
@extend %icon;
|
|
|
|
height: #{14 / $base-font-size}rem;
|
|
|
|
& svg {
|
|
|
|
height: #{14 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
display: none;
|
|
|
|
.sidebar--contracted & {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__icons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|