Files
cms_thermo_active/Step/wwwroot/assets/styles/base/layout.less
T
2018-07-10 15:00:43 +02:00

197 lines
4.3 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";
@import "nc.less";
@import "plc-softkeys.less";
@import "keypad.less";
@import "back-view.less";
@import "head.less";
@import "tooling.less";
@import "card.less";
@import "depot.less";
@import "summary-depot.less";
@import "assisted-tooling.less";
@import "tooling-equipment.less";
@import "info-equipment.less";
@import "utilities.less";
@import "maintenance.less";
@import "maintenance-progress.less";
@import "maintenance-card.less";
@import "depot-action-modal.less";
@import "production.less";
@import "create-queue.less";
@import "program-management.less";
@background-color: rgb(216, 216, 216);
@handle-width: 48px;
@handle-height: 32px;
@persona-size: 88px;
@spinner-loading-height: 200px;
@spinner-loading-width: 200px;
.persona {
height: @persona-size;
width: @persona-size;
border-radius: @persona-size;
font-size: @persona-size;
text-align: center;
background-color: @color-darkish-blue;
color: white;
margin: auto;
margin-top: 46px;
margin-bottom: 33px;
border: 2px solid @color-darkish-blue;
}
.scrollable {
overflow-y: scroll;
}
.scrollable_auto {
overflow-y: auto;
}
.scrollable_auto::-webkit-scrollbar, .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_auto::-webkit-scrollbar-thumb, .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;
user-select: none;
-webkit-user-select: none;
}
.blur {
filter: blur(10px);
}
#main-view {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 80px;
box-shadow: none;
height: calc(~'100vh - 80px');
background-color: @background-color;
z-index: 100;
transition: transform 0.5s ease-out;
.handle {
display: none;
}
&.liftedUp {
transition: transform 0.5s ease-out, box-shadow 0.1s ease-out 0.5s;
box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.2);
}
}
#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);
box-shadow: none;
z-index: 250;
transition: transform 0.5s ease-out;
.handle {
background-color: @background-color;
display: block;
position: absolute;
top: 0;
box-shadow: none;
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;
}
&.liftedUp {
.handle {
transition: box-shadow 0.1s ease-out 0.5s;
box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.2);
}
}
}
.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;
}
}
// img {
// user-drag: none;
// -webkit-user-drag: none;
// }
.clearfix {
clear: both;
}
#loading-spinner {
position: absolute;
width: @spinner-loading-height;
height: @spinner-loading-width;
top: calc(~'50%' - @spinner-loading-height /2);
left: calc(~'50%' - @spinner-loading-width /2);
}
.clickable {
cursor: pointer;
}