2015-10-17 23:49:24 +02:00
|
|
|
.app {
|
2015-10-24 11:15:54 +02:00
|
|
|
@include size(100%);
|
2015-10-17 23:49:24 +02:00
|
|
|
@include display(flex);
|
|
|
|
@include align-items(stretch);
|
|
|
|
@include flex-direction(column);
|
|
|
|
@include justify-content(flex-start);
|
|
|
|
|
2017-03-28 20:08:14 +02:00
|
|
|
&--titlebar-style-hidden-inset {
|
2017-03-26 16:14:28 +02:00
|
|
|
-webkit-app-region: drag;
|
|
|
|
}
|
|
|
|
|
2015-10-17 23:49:24 +02:00
|
|
|
&__body {
|
|
|
|
@include flex(1);
|
|
|
|
@include display(flex);
|
|
|
|
@include align-items(stretch);
|
|
|
|
@include flex-direction(row);
|
|
|
|
@include justify-content(flex-start);
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2017-03-26 16:14:28 +02:00
|
|
|
&__titlebar-drag {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 30px;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
}
|
|
|
|
|
2015-10-17 23:49:24 +02:00
|
|
|
&__menu {
|
|
|
|
@include flex(0 0 auto);
|
|
|
|
@include display(flex);
|
|
|
|
width: 150px;
|
2015-10-24 11:15:54 +02:00
|
|
|
@include mobile {
|
|
|
|
&:not(.menu-visible) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2017-03-28 18:43:25 +02:00
|
|
|
transition: padding-top 150ms;
|
2017-03-28 20:08:14 +02:00
|
|
|
.app--titlebar-style-hidden & {
|
2017-03-26 15:22:29 +02:00
|
|
|
padding-top: 24px;
|
2017-03-26 03:42:21 +02:00
|
|
|
}
|
2017-03-28 20:08:14 +02:00
|
|
|
.app--titlebar-style-hidden-inset & {
|
2017-03-25 18:57:03 +01:00
|
|
|
padding-top: 40px;
|
|
|
|
}
|
2017-03-28 20:08:14 +02:00
|
|
|
.fullscreen .app & {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|
|
|
|
|
2015-11-21 15:55:42 +01:00
|
|
|
&__list-wrap {
|
|
|
|
@include flex(1);
|
|
|
|
@include display(flex);
|
|
|
|
@include align-items(stretch);
|
|
|
|
@include flex-direction(row);
|
|
|
|
@include justify-content(flex-start);
|
2016-01-14 19:33:59 +01:00
|
|
|
overflow: hidden;
|
2015-11-21 15:55:42 +01:00
|
|
|
&.app__list-wrap--table {
|
|
|
|
@include flex-direction(column);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-17 23:49:24 +02:00
|
|
|
&__menu-drag, &__list-drag {
|
|
|
|
@include drag-handle;
|
|
|
|
@include flex(0 0 auto);
|
|
|
|
width: 1px;
|
|
|
|
cursor: col-resize;
|
2015-11-21 15:55:42 +01:00
|
|
|
@include mobile { display: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list-drag {
|
|
|
|
.app__list-wrap--table & {
|
|
|
|
width: auto;
|
|
|
|
height: 1px;
|
|
|
|
cursor: row-resize;
|
2015-10-27 20:07:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-visible + &__menu-drag {
|
|
|
|
display: block;
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__list {
|
2015-11-21 15:55:42 +01:00
|
|
|
@include flex(0 0 250px);
|
2015-10-17 23:49:24 +02:00
|
|
|
@include display(flex);
|
|
|
|
@include align-items(stretch);
|
|
|
|
@include flex-direction(column);
|
|
|
|
overflow-y: auto;
|
2015-10-26 22:07:19 +01:00
|
|
|
@include mobile {
|
2015-11-24 23:01:09 +01:00
|
|
|
@include flex(1 1);
|
|
|
|
.app--details-visible & {
|
2015-10-26 22:07:19 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__details {
|
|
|
|
@include flex(1);
|
|
|
|
@include display(flex);
|
|
|
|
overflow: hidden;
|
|
|
|
padding: $base-spacing;
|
|
|
|
position: relative;
|
2015-10-27 20:07:19 +01:00
|
|
|
@include mobile {
|
|
|
|
width: 100vw;
|
|
|
|
padding: $base-padding;
|
2015-11-24 23:01:09 +01:00
|
|
|
display: none;
|
|
|
|
.app--details-visible & {
|
|
|
|
@include display(flex);
|
|
|
|
}
|
2015-10-27 20:07:19 +01:00
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|
|
|
|
|
2016-08-13 21:13:16 +02:00
|
|
|
&__panel {
|
2015-10-31 20:09:32 +01:00
|
|
|
@include flex(1);
|
|
|
|
@include display(flex);
|
|
|
|
overflow: hidden;
|
|
|
|
padding: $base-spacing;
|
|
|
|
position: relative;
|
|
|
|
@include mobile {
|
|
|
|
padding: $base-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-17 23:49:24 +02:00
|
|
|
&__footer {
|
|
|
|
@include flex(0 0 auto);
|
|
|
|
@include th { border-top: light-border(); }
|
|
|
|
}
|
2016-02-14 08:38:57 +01:00
|
|
|
|
|
|
|
&__beta {
|
|
|
|
padding: $base-padding;
|
|
|
|
text-align: center;
|
|
|
|
@include th {
|
|
|
|
background-color: error-color();
|
|
|
|
color: text-contrast-color(error-color());
|
|
|
|
}
|
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|