2015-10-17 23:49:24 +02:00
|
|
|
.app {
|
2019-08-16 23:05:39 +02:00
|
|
|
@include size(100%);
|
2017-04-16 18:37:16 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
2019-08-16 23:05:39 +02:00
|
|
|
flex-direction: column;
|
2017-04-16 18:37:16 +02:00
|
|
|
justify-content: flex-start;
|
2017-03-26 16:14:28 +02:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
.titlebar-hidden-inset & {
|
|
|
|
-webkit-app-region: drag;
|
2015-10-24 11:15:54 +02:00
|
|
|
}
|
2019-08-16 23:05:39 +02:00
|
|
|
|
|
|
|
&__body {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
overflow: hidden;
|
2017-03-26 03:42:21 +02:00
|
|
|
}
|
2019-08-16 23:05:39 +02:00
|
|
|
|
|
|
|
&__titlebar-drag {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 30px;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
pointer-events: none;
|
2017-03-25 18:57:03 +01:00
|
|
|
}
|
2019-08-16 23:05:39 +02:00
|
|
|
|
2021-03-03 22:12:49 +01:00
|
|
|
&__titlebar {
|
|
|
|
.titlebar-custom & {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__menu {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
2020-11-28 23:38:12 +01:00
|
|
|
width: 15em;
|
|
|
|
background-color: var(--secondary-background-color);
|
2019-08-16 23:05:39 +02:00
|
|
|
@include mobile {
|
|
|
|
&:not(.menu-visible) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
transition: padding-top 150ms;
|
|
|
|
.titlebar-hidden & {
|
|
|
|
padding-top: $titlebar-padding-small;
|
|
|
|
}
|
|
|
|
.titlebar-hidden-inset & {
|
|
|
|
padding-top: $titlebar-padding-large;
|
|
|
|
}
|
|
|
|
.fullscreen .app & {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2017-03-28 20:08:14 +02:00
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__list-wrap {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
overflow: hidden;
|
|
|
|
&.app__list-wrap--table {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2015-11-21 15:55:42 +01:00
|
|
|
}
|
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__menu-drag,
|
|
|
|
&__list-drag {
|
|
|
|
@include drag-handle;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 1px;
|
|
|
|
cursor: col-resize;
|
|
|
|
@include mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 15:55:42 +01:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__list-drag {
|
|
|
|
.app__list-wrap--table & {
|
|
|
|
width: auto;
|
|
|
|
height: 1px;
|
|
|
|
cursor: row-resize;
|
2019-09-05 22:30:04 +02:00
|
|
|
|
|
|
|
.drag-handle__inner {
|
|
|
|
top: -2px;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 5px;
|
|
|
|
}
|
2019-08-16 23:05:39 +02:00
|
|
|
}
|
2015-10-27 20:07:19 +01:00
|
|
|
}
|
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
.menu-visible + &__menu-drag {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__list {
|
2020-11-28 23:38:12 +01:00
|
|
|
flex: 0 0 25em;
|
2019-08-16 23:05:39 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: auto;
|
2020-11-28 23:38:12 +01:00
|
|
|
.titlebar-hidden & {
|
|
|
|
padding-top: $titlebar-padding-tiny;
|
|
|
|
}
|
2019-08-16 23:05:39 +02:00
|
|
|
@include mobile {
|
|
|
|
flex: 1 1;
|
|
|
|
.app--details-visible & {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-10-26 22:07:19 +01:00
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__details {
|
|
|
|
flex: 1;
|
2017-04-16 18:37:16 +02:00
|
|
|
display: flex;
|
2019-08-16 23:05:39 +02:00
|
|
|
overflow: hidden;
|
|
|
|
padding: $base-spacing;
|
|
|
|
position: relative;
|
|
|
|
@include mobile {
|
|
|
|
width: 100vw;
|
|
|
|
padding: $base-padding;
|
|
|
|
display: none;
|
|
|
|
.app--details-visible & {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2021-03-03 22:12:49 +01:00
|
|
|
.titlebar-custom & {
|
|
|
|
margin-top: $custom-titlebar-height;
|
|
|
|
}
|
2015-10-27 20:07:19 +01:00
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__panel {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
@include mobile {
|
|
|
|
padding: $base-padding;
|
|
|
|
}
|
2015-10-31 20:09:32 +01:00
|
|
|
}
|
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__footer {
|
|
|
|
flex: 0 0 auto;
|
2019-09-08 09:31:25 +02:00
|
|
|
border-top: light-border();
|
2020-11-28 23:38:12 +01:00
|
|
|
background-color: var(--secondary-background-color);
|
2019-08-16 23:05:39 +02:00
|
|
|
}
|
2016-02-14 08:38:57 +01:00
|
|
|
|
2019-08-16 23:05:39 +02:00
|
|
|
&__beta {
|
|
|
|
padding: $base-padding;
|
|
|
|
text-align: center;
|
2019-09-08 09:31:25 +02:00
|
|
|
background-color: var(--error-color);
|
|
|
|
color: var(--text-contrast-error-color);
|
2020-11-29 00:19:49 +01:00
|
|
|
> .fa {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
2016-02-14 08:38:57 +01:00
|
|
|
}
|
2015-10-17 23:49:24 +02:00
|
|
|
}
|