Files
cms_thermo_active/Thermo.Active/wwwroot/assets/styles/base/setup.less
T
2021-03-26 09:12:35 +01:00

671 lines
13 KiB
Plaintext

// out: false, sourceMap: false, main: ../style.less
@import "grid-system.less";
@import "colors.less";
@import "fonts.less";
.setup {
padding-top: 25px;
display: flex;
justify-content: flex-start;
align-items: center;
flex-flow: column nowrap;
width: 100vw;
height: 100vh;
.notes_textarea {
box-sizing: border-box;
resize: none;
display: block;
border-radius: 2px;
border: solid 1px #dfdfdf;
height: 120px;
font-family: "Work Sans", sans-serif;
color: #4b4b4b;
font-size: 16px;
background-color: #f8f8f8;
margin: 0 0px;
padding-right: 0;
width: 100%;
padding: 10px 5px;
&:focus {
outline: 5px #1791ff auto;
}
}
.doing{
width: 100%;
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
font-size: 4em;
height: calc(100% - 65px);
color: #4f4f4f;
}
.select_folder {
height: 48px;
background-color: #fff;
padding: 0 20px;
font-size: 1rem;
font-weight: 500;
color: #6d6d6d;
border-radius: 2px;
box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);
border: none;
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: stretch;
padding-right: 25px;
position: relative;
cursor: pointer;
}
.description_lbl {
margin-top: 22px;
font-size: 14px;
color: #878787;
margin-bottom: 4px;
}
.tab-header {
display: flex;
flex-flow: row;
align-items: stretch;
justify-content: flex-start;
margin-left: -23px;
button {
background: none;
border: 1px solid #bbbcbc;
padding: 0 38px;
border-bottom: none;
font-size: 20px;
background-color: #bbbcbc;
color: #002680;
&.active {
background-color: #fff;
font-weight: bold;
border-top: 2px solid #002680;
}
&.error {
border-top: 4px solid #d0021b;
}
}
}
hr {
flex-shrink: 0;
background-color: #979797;
width: 2px;
height: 100%;
margin: 0;
margin-left: 5px;
}
.modal {
width: 1820px;
height: 980px;
section.body {
height: calc(~"100% - 66px");
section {
height: 100%;
display: flex;
position: relative;
flex-flow: row nowrap;
padding: 14px;
display: flex;
justify-content: flex-start;
width: calc(~"100% - 28px");
height: calc(~"100% - 28px - 82px");
.auto {
overflow-y: auto;
overflow-x: hidden;
}
aside {
display: flex;
justify-content: start;
flex-direction: column;
height: 100%;
width: 520px;
flex: 0 0 520px;
overflow-y: scroll;
padding-right: 10px;
position: relative;
hr {
flex-shrink: 0;
background-color: #979797;
width: 100%;
height: 2px;
margin-left: 0px;
}
.notEnabled {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 200;
background-color: #ffffffdd;
font-size: 3em;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
&.small {
margin-top: 55px;
height: 90%;
}
}
}
article {
display: flex;
flex-direction: column;
width: 100%;
// align-items: center;
position: relative;
.notEnabled {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 200;
background-color: #ffffffdd;
font-size: 3em;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}
&.shrink {
flex-shrink: 2;
}
.slides {
width: 100%;
height: 160px;
display: flex;
justify-content: space-evenly;
align-items: center;
img {
flex-shrink: 0;
width: 215px;
height: 140px;
border: 1px solid #bbbcbc;
cursor: pointer;
}
.imgborder {
border: 1px solid @color-darkish-blue;
}
}
.svg-area {
display: flex;
justify-content: center;
position: relative;
min-height: 50%;
width: 100%;
flex: 1;
flex-flow: column;
align-items: center;
.small-img {
position: absolute;
right: 0;
bottom: 0;
max-width: 200px;
max-height: 200px;
}
.ventosa {
color: #ffff;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.volantino {
height: 48px;
width: 48px;
position: absolute;
bottom: 101px;
left: 100px;
}
.quota-volantino {
height: 48px;
width: 169px;
position: absolute;
bottom: 101px;
left: 165px;
display: flex;
align-items: center;
font-size: 1.2em;
}
.quota-caricatore {
height: 48px;
width: 169px;
position: absolute;
bottom: 137px;
right: 71px;
display: flex;
align-items: center;
justify-content: flex-end;
font-size: 1.2em;
}
.load-label {
width: 100%;
text-align: center;
font-size: 2em;
color: #4b4b4b;
padding-right: 45px;
}
.borded_label {
cursor: pointer;
min-width: 140px;
max-width: 140px;
width: 140px;
height: 60px;
border-radius: 40px;
border: solid 4px #9b9b9b;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 1rem;
position: absolute;
background-color: white;
&.noteditable {
border-radius: 0;
border: none;
padding: 4px 2px;
height: auto;
width: 100px;
min-width: 100px;
max-width: 100px;
background-color: #9b9b9b;
color: white;
}
&.error {
border-color: #d0021b;
}
div {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
img {
grid-column: 1;
width: unset;
height: unset;
}
span {
grid-column: 2;
display: flex;
align-items: center;
justify-content: flex-end;
}
small {
text-align: center;
grid-column: 3;
display: flex;
align-items: center;
justify-content: flex-end;
}
}
}
img {
width: 100%;
}
}
}
}
footer {
height: 64px;
display: flex;
justify-content: flex-end;
align-items: center;
}
}
header {
background-color: @color-white;
color: @color-darkish-blue;
font-weight: 600;
font-size: 24px;
text-align: left;
padding: 0px 23px;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: stretch;
}
}
.divider {
width: 100%;
height: 20px;
}
.modal-footer-navigator {
position: absolute;
bottom: 0;
left: 0;
width: calc(~"100vw - 2rem");
display: grid;
grid-template-rows: 48px;
flex-flow: row nowrap;
grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
grid-column-gap: 1rem;
padding: 0 1rem;
.setup-button {
height: 48px;
width: 100%;
grid-template-columns: 40px 1fr;
&.current {
.background-top,
.background-bottom {
background-color: #d3d3d3;
&:after {
background: #979797;
}
}
.background-top {
box-shadow: -3px 5px 5px rgba(0, 0, 0, 0.2) inset;
}
.background-bottom {
box-shadow: -3px -5px 5px rgba(0, 0, 0, 0.2) inset;
}
}
i {
z-index: 2;
margin: auto;
position: absolute;
top: -47px;
left: 47px;
font-size: 25px;
width: 14px;
height: 14px;
overflow: visible;
background-color: white;
justify-content: center;
align-items: center;
display: flex;
border-radius: 7px;
&.fa-check-circle {
color: #90bf3d;
}
&.fa-check-circle.undone-step {
color: #1791ff;
}
&.edit{
left: 80px;
color: #1791ff;
}
}
span,
label {
grid-row-start: 1;
grid-row-end: -1;
padding: 0;
align-items: center;
font-size: 14px;
font-weight: bold;
}
label {
padding-left: 5px;
}
}
}
}
.modal.setup-info {
header {
padding-left: 31px;
display: flex;
align-items: center;
font-size: 20px;
font-weight: bold;
color: darkblue;
}
}
.modal.setup-info {
width: 1639px;
height: 695px;
background-color: #fff;
margin: 150px auto;
box-shadow: none;
position: relative;
section {
height: 100%;
.Rectangle {
width: calc(~"100% - 200px");
height: calc(~"100% - 200px");
background-color: #bbbcbc;
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: 1fr 1fr;
align-items: center;
justify-items: center;
padding: 100px;
}
}
}
.setup-button {
cursor: pointer;
display: grid;
width: 200px;
height: 128px;
grid-template-columns: 50px 1fr;
grid-template-rows: 1fr 50px;
* {
cursor: pointer;
}
span,
label {
grid-column: 1;
display: flex;
align-items: flex-end;
color: #fff;
z-index: 2;
justify-content: center;
font-weight: 500;
font-size: 18px;
padding-left: 10px;
}
label {
grid-column: 2;
color: #002680;
justify-content: flex-start;
}
img {
grid-column: 2;
grid-row: 2;
z-index: 2;
margin: auto;
}
i {
position: absolute;
bottom: 6px;
left: 93px;
z-index: 2;
margin: auto;
font-size: 36px;
&.fa-check-circle {
color: #90bf3d;
}
&.fa-check-circle.undone-step {
color: #1791ff;
}
&.edit{
left: 133px;
color: #1791ff;
}
}
position: relative;
.background-top,
.background-bottom {
position: absolute;
left: 0;
width: 100%;
height: 50%;
transform: skewX(12px);
&:after {
content: "";
display: block;
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 35px;
background-color: #002680;
}
}
.background-top {
background-image: linear-gradient(to bottom, #fff, #e6e6e6);
top: 0;
transform: skewX(20deg);
}
.background-bottom {
background-image: linear-gradient(to bottom, #e6e6e6, #e2e2e2);
bottom: 0;
transform: skewX(-20deg);
}
}
article {
.box .body {
border-width: 4px;
}
}
.box {
margin-bottom: 20px;
box-sizing: border-box;
clear: both;
&.transparent {
.body {
border: none;
}
}
&.center {
margin-left: auto;
margin-right: auto;
}
&.box-500 {
width: 500px;
}
&.color_2 {
background-color: #e5f3ff;
}
&.color_3 {
background-color: #b3dbff;
}
.header {
display: flex;
align-items: center;
justify-content: center;
height: 44px;
width: 100%;
font-size: 24px;
font-weight: bold;
color: @color-white;
background-color: #979797;
}
.body {
padding: 1rem;
display: grid;
grid-row-gap: 1rem;
flex-flow: column;
justify-items: center;
padding-bottom: 10px;
padding-top: 5px;
border: 2px solid #979797;
box-sizing: border-box;
align-items: center;
}
.submit {
margin: auto;
width: 90px;
height: 48px;
object-fit: contain;
border-radius: 2px;
border: none;
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
background-image: linear-gradient(to bottom, #f1f1f1 0%, #bbbcbc 98%);
label {
object-fit: contain;
font-size: 18px;
font-weight: 500;
font-stretch: normal;
font-style: normal;
line-height: normal;
letter-spacing: normal;
text-align: center;
color: @color-darkish-blue;
}
}
}
.setup-play {
cursor: pointer;
margin: auto;
display: flex;
}