insomnia/app/ui/css/components/pane.less

63 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-09-17 05:46:44 +00:00
@import '../constants/colors';
@import '../constants/dimensions';
.pane {
2016-09-20 21:17:01 +00:00
display: grid;
grid-template-rows: @height-nav minmax(0, 1fr);
grid-template-columns: 100%;
.pane__header {
position: relative;
2016-09-20 21:17:01 +00:00
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: @bg-super-light;
color: @font-super-light-bg;
box-sizing: border-box;
border-left: 1px solid @hl-md;
border-bottom: 1px solid @hl-md;
border-top: 1px solid @hl-md;
.pane__header__right {
box-shadow: -@padding-md 0 @padding-md -@padding-sm @bg-super-light;
background: @bg-super-light;
}
2016-09-20 21:17:01 +00:00
}
2016-09-17 05:46:44 +00:00
2016-09-20 21:17:01 +00:00
.pane__body {
border-left: 1px solid @hl-md;
box-sizing: border-box;
height: 100%;
}
.pane__body--placeholder {
overflow: hidden;
padding: @padding-md;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: @hl-xxl;
& > * {
min-width: 20em;
2016-09-17 05:46:44 +00:00
}
2016-09-20 21:17:01 +00:00
.pane__body--placeholder__cta {
width: auto;
margin: @padding-lg auto 0;
display: block;
2016-09-17 05:46:44 +00:00
& > * {
2016-09-20 21:17:01 +00:00
margin: @padding-xs;
2016-09-17 05:46:44 +00:00
}
}
}
}
body[data-platform="win32"] .pane .pane__header {
border-top: 1px solid @hl-md;
}