Files
cms_thermo_active/Step/wwwroot/assets/styles/base/layout.less
T
2018-01-11 15:00:58 +01:00

139 lines
2.8 KiB
Plaintext

// out: false, sourceMap: false, main: ../style.less
@import "colors.less";
@import "modals.less";
@import "grid-system.less";
@import "input.less";
@import "buttons.less";
@import "fonts.less";
@import "header.less";
@import "ribbons.less";
@import "footer.less";
@import "process-info.less";
@import "alarms.less";
@background-color: rgb(216, 216, 216);
@handle-width: 48px;
@handle-height: 32px;
@persona-size: 88px;
.persona {
height: @persona-size;
width: @persona-size;
border-radius: @persona-size /2;
}
.scrollable {
overflow-y: scroll;
}
.scrollable::-webkit-scrollbar {
border-radius: 15px;
width: 16px;
background-color: rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
}
.scrollable::-webkit-scrollbar-thumb {
border-radius: 20px;
width:8px;
background-color: rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
}
body {
font-family: 'Work Sans', sans-serif;
background-color: @color-body-background;
margin: 0;
padding: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
}
#app {
margin: 0;
padding: 0;
height: 100vh;
width: 100vw;
position: relative;
}
#app.blur {
filter: blur(10px);
}
#main-view {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 80px;
box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.2);
height: calc(~'100vh - 80px');
background-color: @background-color;
z-index: 100;
transition: 0.5s ease-out;
.handle {
display: none;
}
}
#main-view.turn-up, #main-view-handler.turn-up {
transform: translateY(calc(~'-100vh + 84px'));
}
#main-view-handler {
position: absolute;
bottom: 80px;
left: 0;
width: 100vw;
box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.4);
z-index: 250;
transition: 0.5s ease-out;
.handle {
background-color: @background-color;
display: block;
position: absolute;
top: 0;
left: calc(~'50vw - 24px');
text-align: center;
width: @handle-width;
height: @handle-height;
border-bottom-left-radius: @handle-height /2;
border-bottom-right-radius: @handle-height /2;
box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.4);
font-size: 26px;
color: @color-darkish-blue;
line-height: @handle-height;
cursor: pointer;
}
}
#back-view {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 80px;
height: calc(~'100vh - 80px'); // background-color: rgb(145, 55, 55);
z-index: 1;
}
.tester {
margin: auto;
width: 60vw;
height: 60vh;
top: calc(50% - 30vh);
position: absolute;
left: calc(50% - 30vw);
background-color: white;
padding: 10px;
.row {
display: flex;
}
button {
height: 50px;
margin: 0 10px;
}
}