603 lines
15 KiB
Plaintext
603 lines
15 KiB
Plaintext
// out: false, sourceMap: false, main: ../style.less
|
|
@import "colors";
|
|
.keys-area {
|
|
position: absolute;
|
|
height: calc(~"100% - 88px");
|
|
right: 0;
|
|
width: 824px;
|
|
}
|
|
|
|
#plc-softkeys-container {
|
|
position: absolute;
|
|
width: 816px;
|
|
height: 472px;
|
|
right: 8px;
|
|
bottom: 48px;
|
|
background-image: linear-gradient(to bottom, #657178, #657178 65px, #404040);
|
|
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.4);
|
|
border-radius: 2px;
|
|
.softkeys-backdrop,
|
|
.softkeys-backdrop-top,
|
|
.softkeys-backdrop-left,
|
|
.softkeys-backdrop-right,
|
|
.softkeys-backdrop-bottom {
|
|
position: absolute;
|
|
z-index: 1;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
.softkeys-backdrop {
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
// .softkeys-backdrop-top {
|
|
// top: 0;
|
|
// left: 0;
|
|
// width: 100%;
|
|
// height: 108px;
|
|
// }
|
|
// .softkeys-backdrop-left {
|
|
// top: 108px;
|
|
// left: 0;
|
|
// bottom: 16px;
|
|
// width: 4px;
|
|
// }
|
|
// .softkeys-backdrop-right {
|
|
// top: 108px;
|
|
// right: 0;
|
|
// bottom: 16px;
|
|
// width: 24px;
|
|
// }
|
|
// .softkeys-backdrop-bottom {
|
|
// bottom: 0;
|
|
// left: 0;
|
|
// width: 100%;
|
|
// height: 16px;
|
|
// }
|
|
&>div.waiting::after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 72px;
|
|
cursor: wait;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
width: 100%; // height: 100%;
|
|
}
|
|
&>div.waiting-button {
|
|
display: none;
|
|
&.waiting {
|
|
display: flex;
|
|
position: absolute;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
bottom: 0;
|
|
width: calc(~"100% - 60px");
|
|
height: 72px;
|
|
background-color: #002680;
|
|
z-index: 100;
|
|
color: #fff;
|
|
font-size: 24px;
|
|
padding: 0 30px;
|
|
}
|
|
}
|
|
&>div.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-flow: column;
|
|
}
|
|
&>div>header {
|
|
position: relative;
|
|
height: 64px;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
button {
|
|
flex-grow: 1;
|
|
border: none;
|
|
background: @color-gunmetal;
|
|
border: 1px solid @color-slate-gray;
|
|
border-top: none;
|
|
border-bottom: none;
|
|
position: relative;
|
|
padding: 0;
|
|
width: 100%;
|
|
.fa-icons{
|
|
font-size: 32px;
|
|
color: #b2b2b2;
|
|
}
|
|
img {
|
|
filter: brightness(70%);
|
|
}
|
|
&.active {
|
|
background-color: #657178;
|
|
img {
|
|
filter: brightness(100%);
|
|
}
|
|
.fa-icons{
|
|
color: #fff;
|
|
}
|
|
}
|
|
&:first-child {
|
|
border-left: none;
|
|
}
|
|
&:last-child {
|
|
border-right: none;
|
|
}
|
|
.number {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
color: white;
|
|
font-size: 12px;
|
|
}
|
|
&:active:not(.active) {
|
|
background-color: @color-black-50;
|
|
}
|
|
}
|
|
}
|
|
.title {
|
|
height: 40px;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-flow: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
position: relative;
|
|
}
|
|
&>div>section {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
align-content: flex-start;
|
|
margin: 4px;
|
|
margin-bottom: 16px;
|
|
height: calc(~"100% - 184px");
|
|
overflow: hidden;
|
|
overflow-y: scroll;
|
|
margin-right: 8px; // position: relative;
|
|
// transform: translateZ(0);
|
|
}
|
|
.box-select{
|
|
width: 100%;
|
|
height: 60px;
|
|
display: flex;
|
|
flex-flow: row;
|
|
background-color: #404040;
|
|
.count-selected{
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
color: @color-white;
|
|
label{
|
|
margin-left: 48px;
|
|
}
|
|
}
|
|
.group-btn{
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
}
|
|
|
|
.soft-key {
|
|
cursor: pointer;
|
|
// &.menuopened:after{
|
|
// content: "";
|
|
// }
|
|
&.disabled::after,
|
|
&:disabled::after {
|
|
content: " ";
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
cursor: not-allowed;
|
|
}
|
|
&.selected {
|
|
// box-shadow: inset 0px 0px 0px 2px rgba(23, 145, 255, 0.75);
|
|
border: solid 3px @color-clear-blue;
|
|
position: relative;
|
|
.detail section {
|
|
height: 42px;
|
|
}
|
|
}
|
|
&.opened {
|
|
border: 2px solid #4b4b4b; // position: absolute;
|
|
z-index: 4;
|
|
.detail section {
|
|
height: 42px;
|
|
}
|
|
}
|
|
position: relative;
|
|
width: 184px;
|
|
height: 70px;
|
|
margin: 4px;
|
|
box-sizing: border-box;
|
|
background-color: @color-bluish-grey;
|
|
-webkit-tap-highlight-color: transparent;
|
|
&.command {
|
|
}
|
|
.menu-container {
|
|
width: 386px;
|
|
top: 80px;
|
|
position: absolute;
|
|
display: flex;
|
|
left: -90px;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
transform: translateZ(0);
|
|
&.top {
|
|
top: -88px;
|
|
.menu::before {
|
|
content: "\f0d7";
|
|
color: #4b4b4b;
|
|
position: absolute;
|
|
left: calc(~"50% - 11px");
|
|
top: 60px;
|
|
font-family: 'fontawesome';
|
|
font-size: 38px;
|
|
}
|
|
}
|
|
&.left{
|
|
|
|
left: -2px;
|
|
justify-content: flex-start;
|
|
}
|
|
&.right{
|
|
left: -189px;
|
|
justify-content: flex-end;
|
|
}
|
|
&.bottom {
|
|
.menu::before {
|
|
content: "\f0d8";
|
|
color: #4b4b4b;
|
|
position: absolute;
|
|
left: calc(~"50% - 11px");
|
|
top: -26px;
|
|
font-family: 'fontawesome';
|
|
font-size: 38px;
|
|
}
|
|
}
|
|
.menu {
|
|
background-color: #4b4b4b;
|
|
position: relative;
|
|
padding: 7px;
|
|
button {
|
|
background-image: linear-gradient(to bottom, #5f676b, #4e585e);
|
|
width: 60px;
|
|
height: 60px;
|
|
margin: 1px;
|
|
font-size: 20px;
|
|
color: #fff;
|
|
border: none;
|
|
position: relative;
|
|
&.active {
|
|
background-image: none;
|
|
background-color: #1791ff;
|
|
}
|
|
&:active {
|
|
background-image: none;
|
|
background-color: @color-black-50;
|
|
}
|
|
&.active:active {
|
|
background-image: none;
|
|
background-color: @color-black-50;
|
|
}
|
|
&.disabled::after,
|
|
&:disabled::after {
|
|
content: " ";
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
header {
|
|
height: 23px;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
line-height: 21px;
|
|
border-bottom: 1px solid #fff;
|
|
box-sizing: content-box;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
&.active {
|
|
box-shadow: inset 0px 0px 0px 3px rgba(23, 145, 255, 1);
|
|
}
|
|
button.star {
|
|
background: transparent;
|
|
color: #fff;
|
|
border: none;
|
|
flex-grow: 1;
|
|
.fa-star{
|
|
text-shadow: 1px 1px 1px #272634;
|
|
}
|
|
i {
|
|
font-size: 24px;
|
|
}
|
|
&.active {
|
|
color: @color-clear-blue;
|
|
}
|
|
}
|
|
.detail {
|
|
&.no-title {
|
|
height: 100%;
|
|
section {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-left: none;
|
|
height: 100% !important;
|
|
color: #fff;
|
|
}
|
|
}
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
section {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
border-left: 1px solid #fff;
|
|
width: 144px;
|
|
margin-top: -1px;
|
|
height: 46px;
|
|
overflow-x: visible;
|
|
// transform: translateZ(0);
|
|
&.description {
|
|
cursor: pointer;
|
|
margin-top: 0;
|
|
overflow: hidden;
|
|
}
|
|
&.description:active {
|
|
background-color: #4e585e;
|
|
}
|
|
&.toggle {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
&.multiple {
|
|
border: 0.5px solid #fff;
|
|
cursor: pointer;
|
|
&:active {
|
|
background-color: #4e585e;
|
|
}
|
|
&:active span.active {
|
|
background-color: #4e585e;
|
|
}
|
|
span {
|
|
display: flex;
|
|
background: transparent;
|
|
color: #fff;
|
|
flex-grow: 1;
|
|
min-width: 48px;
|
|
min-height: 22px;
|
|
margin-top: -1px;
|
|
margin-left: -1px;
|
|
box-sizing: border-box;
|
|
border: 0.5px solid #fff;
|
|
align-items: center;
|
|
position: relative;
|
|
justify-content: center;
|
|
&.active {
|
|
background-color: #1791ff;
|
|
}
|
|
&.active:active {
|
|
background-color: #4e585e;
|
|
}
|
|
&.disabled::after {
|
|
content: " ";
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#nc-softkeys-container {
|
|
width: 312px;
|
|
height: 216px;
|
|
margin: -4px;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
.empty-space {
|
|
display: block;
|
|
width: 96px;
|
|
height: 48px;
|
|
margin: 4px;
|
|
background-color: #4e585e;
|
|
border-radius: 2px;
|
|
}
|
|
div {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
#axes-softkeys-container {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 322px;
|
|
width: 258px;
|
|
height: 223px;
|
|
margin: -4px;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
overflow: hidden;
|
|
.empty-space {
|
|
display: block;
|
|
width: 54px;
|
|
height: 48px;
|
|
margin: 4px;
|
|
background-color: #4e585e;
|
|
border-radius: 2px;
|
|
}
|
|
div {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
.jog-menu,
|
|
.auto-menu {
|
|
// width: 100%;
|
|
// height: 64px;
|
|
background-color: @color-gunmetal;
|
|
position: absolute;
|
|
top: 230px;
|
|
margin-right: 8px;
|
|
width: calc(~"100% - 16px");
|
|
display: flex;
|
|
padding: 4px;
|
|
&:before {
|
|
content: "\f0d8";
|
|
color: @color-gunmetal;
|
|
position: absolute;
|
|
left: 141px;
|
|
top: -26px;
|
|
font-family: 'fontawesome';
|
|
font-size: 38px;
|
|
}
|
|
.axes-menu-container>.menu>button {
|
|
background-image: linear-gradient(to bottom, #5f676b, #4e585e);
|
|
min-width: 60px;
|
|
height: 60px;
|
|
margin: 1px;
|
|
font-size: 20px;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
&.active,
|
|
&:active {
|
|
background-image: none;
|
|
background-color: #1791ff;
|
|
}
|
|
}
|
|
.incr-menu-container>.menu>button {
|
|
background-image: linear-gradient(to bottom, #5f676b, #4e585e);
|
|
min-width: 60px;
|
|
max-width: 60px;
|
|
height: 60px;
|
|
margin: 1px;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
&.active {
|
|
background-image: none;
|
|
background-color: #1791ff;
|
|
}
|
|
&:active {
|
|
background-image: none;
|
|
background-color: @color-black-50;
|
|
}
|
|
&.active:active {
|
|
background-image: none;
|
|
background-color: @color-black-50;
|
|
}
|
|
}
|
|
.axes-menu-container,
|
|
.incr-menu-container {
|
|
width: 360px;
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
// transform: translateZ(0);
|
|
.menu {
|
|
background-color: #4b4b4b;
|
|
padding: 7px;
|
|
}
|
|
&:before {
|
|
content: "\f0d8";
|
|
color: #4b4b4b;
|
|
position: absolute;
|
|
left: 46px;
|
|
top: -26px;
|
|
font-family: 'fontawesome';
|
|
font-size: 38px;
|
|
}
|
|
}
|
|
.incr-menu-container {
|
|
top: 75px;
|
|
left: 340px;
|
|
&:before {
|
|
left: 164px;
|
|
}
|
|
}
|
|
.axes-menu-container {
|
|
top: 75px;
|
|
left: 0;
|
|
justify-content: left;
|
|
&:before {
|
|
left: 23px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.enable-select{
|
|
content: "";
|
|
background: rgba(255,255,255,0.5);
|
|
}
|
|
|
|
|
|
.cursor-pointer{
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
//box per select soft-keys sotto il cofano
|
|
|
|
.box-check{
|
|
position: absolute;
|
|
width: 33px;
|
|
height: 32px;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: @color-clear-blue;
|
|
.check{
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 9px;
|
|
background: transparent;
|
|
top: 8px;
|
|
left: 7px;
|
|
border: 5px solid @color-white;
|
|
border-top: none;
|
|
border-right: none;
|
|
transform: rotate(-48deg);
|
|
z-index: 100;
|
|
}
|
|
} |