insomnia/app/css/components/pane.scss

56 lines
1.1 KiB
SCSS
Raw Normal View History

2016-05-01 19:56:30 +00:00
@import '../constants/colors';
@import '../constants/dimensions';
.pane {
height: 100%;
width: 100%;
display: grid;
grid-template-rows: $line-height-md 1fr;
grid-template-columns: 1fr;
.pane__header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: $bg-super-light;
color: $font-super-light-bg;
border-left: 1px solid $hl-md;
box-sizing: border-box;
2016-06-16 06:16:24 +00:00
&.pane__header--grey {
background: $bg-light;
border-left: 1px solid $hl-xs;
}
2016-05-01 19:56:30 +00:00
}
.pane__body {
border-left: 1px solid $hl-md;
box-sizing: border-box;
}
.pane__body--placeholder {
overflow: hidden;
padding: $padding-md;
2016-05-01 19:56:30 +00:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: $hl-xxl;
2016-05-01 19:56:30 +00:00
& > * {
min-width: 20em;
2016-05-01 19:56:30 +00:00
}
2016-07-27 20:07:50 +00:00
.pane__body--placeholder__cta {
width: auto;
margin: $padding-lg auto;
display: block;
}
2016-05-01 19:56:30 +00:00
}
}
2016-07-18 19:44:46 +00:00
body[data-platform="win32"] .pane .pane__header {
border-top: 1px solid $hl-md;
}