Chatwoot/app/javascript/dashboard/assets/scss/_layout.scss

99 lines
1.4 KiB
SCSS
Raw Normal View History

html,
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
height: 100%;
margin: 0;
padding: 0;
width: 100%;
}
.app-wrapper {
@include full-height;
flex-grow: 0;
min-height: 0;
width: 100%;
}
2019-10-27 13:58:02 +00:00
.banner + .app-wrapper {
.button--fixed-right-top {
top: 5.6 * $space-one;
}
.off-canvas-content {
.button--fixed-right-top {
top: $space-small;
}
}
}
is-closed .app-root {
@include flex;
2019-10-20 08:04:19 +00:00
flex-direction: column;
}
2019-10-27 13:58:02 +00:00
.app-content {
@include flex;
@include full-height;
min-height: 0;
overflow: hidden;
}
.view-box {
@include full-height;
@include margin(0);
@include space-between-column;
height: 100vh;
}
.view-panel {
@include margin($zero);
@include padding($space-normal);
flex-direction: column;
overflow-y: auto;
}
.content-box {
@include padding($space-normal);
overflow: auto;
}
.back-button {
@include flex;
align-items: center;
color: $color-woot;
cursor: pointer;
font-size: $font-size-default;
font-weight: $font-weight-normal;
margin-right: $space-normal;
&::before {
font-size: $font-size-large;
margin-right: $space-small;
vertical-align: text-bottom;
}
}
.button-spinner {
float: right;
}
.no-items-error-message {
@include flex;
@include full-height;
2019-10-20 08:04:19 +00:00
align-items: center;
flex-direction: column;
justify-content: center;
img {
@include padding($space-one);
max-width: $space-mega;
}
}