Files
cms_thermo_active/Step/wwwroot/assets/styles/base/head.less
T
2018-07-06 16:25:36 +02:00

454 lines
11 KiB
Plaintext

// out: false, sourceMap: false, main: ../style.less
.head-spindle,
.head-production,
.head-awj {
&>*, & {
box-sizing: border-box;
}
border-top:0;
border-bottom: 0;
width: 512px;
min-height: 96px;
margin: 4px;
background-color: white;
border-radius: 2px;
box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4);
display: flex;
label {
color: #4b4b4b;
font-size: 18px;
line-height: 20px;
font-weight: 600;
margin: 8px 0;
text-align: center;
}
header {
width: 94px;
flex-shrink: 0;
height: 100%;
border-right: 2px solid #979797;
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
font-size: 20px;
font-weight: 600;
color: @color-darkish-blue;
span.process {
color: @color-darkish-blue;
width: 64px;
font-size: 14px;
height: 21px;
line-height: 21px;
flex-grow: 0;
text-transform: uppercase;
text-align: center;
border: 1px solid @color-darkish-blue;
margin: 8px;
}
}
section {
width: 218px;
flex-shrink: 0;
display: flex;
flex-flow: column;
justify-content: space-between;
div {
padding: 10px 8px;
padding-top: 0;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
button {
width: 48px;
height: 48px;
border: none;
i {
color: @color-darkish-blue;
font-size: 22px;
}
background-image: linear-gradient(to bottom, #f1f1f1, @color-silver);
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
border-radius: 2px;
&:active {
background-image: linear-gradient(to bottom, #404040,#657178);
color: white;
box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}
&:disabled{
background-color: #dddddd !important;
background-image: none !important;
box-shadow: none !important;
i{
color: @color-warm-grey;
}
}
}
span {
text-align: center;
color: #4b4b4b;
// text-transform: lowercase;
font-size: 14px;
display: flex;
flex-flow: column;
justify-content: center;
h5 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
}
}
}
.tool-box,
.load-box,
.abrasive,
.vacuum {
display: flex;
flex-flow: column;
align-items: center;
border-left: 2px solid #979797;
color: #4b4b4b;
position: relative;
span {
font-weight: 600;
font-size: 30px;
line-height: 30px;
}
&.disabled > label,
&.disabled > span,
&.disabled > small{
color: #4b4b4b !important;
}
&.disabled::after{
content: " ";
position: absolute;
display: block;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(216, 216, 216, 0.5);
}
}
.load-box {
span {
color: @color-clear-blue;
}
&.danger span {
color: @color-scarlet !important;
}
&.warning span {
color: @color-squash !important;
}
}
.tool-box,
.vacuum {
width: 88px;
flex-shrink: 0;
}
.load-box,
.abrasive {
width: 100%;
}
&.selected {
box-shadow: inset 0px 0px 0px 2px #51adff;
*{
border-color: #51adff !important;
}
header{
background-color: #51adff;
color:#fff;
span.process {
border-color: #fff !important;
color: #fff;
}
}
}
}
.head-place-holder{
width: 240px;
height: 102px;
margin: 4px;
margin-bottom: 6px;
margin-top: 6px;
background-color: #4e585e;
border-radius: 2px;
}
.head-std {
&>* {
box-sizing: border-box;
} //width: 248px;
width: 240px;
height: 102px;
margin: 4px;
margin-bottom: 6px;
margin-top: 6px;
background-color: white;
border-radius: 2px;
box-sizing: border-box;
box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.4);
display: flex;
header {
display: flex;
font-size: 18px;
color: @color-darkish-blue;
padding: 0 4px;
height: 24px;
line-height: 24px;
flex-shrink: 0;
border-bottom: 1px solid #dfdfdf;
justify-content: space-between;
font-weight: 600;
span.title{
font-size: 16px;
flex-grow: 1;
width: 100%;
overflow: hidden;
margin-right: 4px;
white-space: nowrap;
}
span.process, span.isRunning {
color: @color-darkish-blue;
// width: 25px;
width: 32px;
font-size: 14px;
height: 20px;
flex-grow: 0;
line-height: 20px;
margin-top: 1px;
text-transform: uppercase;
text-align: center;
border: 1px solid @color-darkish-blue;
i{
line-height: 20px;
}
}
span.isRunning{
margin-right: 4px;
}
}
section {
width: calc(~"100% - 56px");
display: flex;
flex-flow: column;
justify-content: space-between;
position: relative;
div {
padding: 7px 8px;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
button {
width: 48px;
min-width: 48px;
height: 48px;
border: none;
i {
color: @color-darkish-blue;
font-size: 22px;
}
background-image: linear-gradient(to bottom, #f1f1f1, @color-silver);
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
border-radius: 2px;
&:active {
background-image: linear-gradient(to bottom, @color-silver, #f1f1f1);
box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}
&:disabled{
background-color: #dddddd !important;
background-image: none !important;
box-shadow: none !important;
i{
color: @color-warm-grey;
}
}
}
span {
text-align: center;
color: #4b4b4b;
// text-transform: lowercase;
font-size: 14px;
display: flex;
flex-flow: column;
justify-content: center;
width: 70px;
overflow: hidden;
h5 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
}
}
span.progress {
position: absolute;
font-size: 12px;
color: @color-clear-blue;
bottom: 6px;
width: 100%;
text-align: center;
font-weight: 600;
}
progress {
width: 100%;
height: 6px;
background-color: #fff;
&::-moz-progress-bar {
background-color: #fff;
}
&::-webkit-progress-value {
background-image: linear-gradient(to right, @color-clear-blue, #33c4ff);
transition: width 0.3s;
}
}
}
aside {
width: 56px;
height: 100%;
display: flex;
flex-flow: column;
.tool-box,
.load-box {
height: 50%;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
border-left: 1px solid #dfdfdf;
overflow: hidden;
position: relative;
label {
color: #4b4b4b;
font-size: 14px;
line-height: 20px;
font-weight: normal;
}
span {
font-weight: 600;
font-size: 18px;
line-height: 14px;
}
small{
color: #4b4b4b;
font-size: 10px;
}
&.disabled > label,
&.disabled > span,
&.disabled > small{
color: #4b4b4b !important;
}
&.disabled::after{
content: " ";
position: absolute;
display: block;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(216, 216, 216, 0.5);
}
}
.load-box {
border-top: 1px solid #dfdfdf;
label,
span {
color: @color-clear-blue;
}
&.danger label,
&.danger span {
color: @color-scarlet !important;
}
&.warning label,
&.warning span {
color: @color-squash !important;
}
}
}
&.selected {
header{
background-image: linear-gradient(to right, @color-clear-blue, #33c4ff);
color:#fff;
border-right: none;
span.process {
border-color: #fff !important;
color: #fff;
}
span.isRunning {
border-color: #fff !important;
color: #fff;
}
}
}
}
.heads-container {
position: absolute;
top: -6px;
right: 4px;
display: flex;
flex-flow: row wrap;
width: 512px;
height: 230px;
overflow-x: hidden;
}
.mini{
width: 262px;
}
.heads-container-lt4 {
right: -12px;
}
.head-production{
max-width: 530px;
width: 530px;
min-height: 96px;
}
.width-small{
width: 512px;
}
.head-production header{
min-height: 96px;
justify-content: start;
.title{
display: flex;
flex-flow: row;
font-size: 18px;
line-height: 20px;
font-weight: 600;
margin: 8px 0;
width:100%;
}
> div {
display: flex;
flex-flow: row;
align-items: center;
justify-content: center;
margin-top: 3px;
span.process{
width: 27px;
font-size: 16px;
height: 27px;
line-height: 27px;
}
}
}
.head-production.selected header{
min-height: 94px;
}