Files
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

115 lines
2.8 KiB
CSS

/** Styles for all themes */
/* Style for the main element */
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput {
/* Prevent overflow if the border radius is huge */
overflow: hidden;
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template {
position: relative;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
display: grid;
border-radius: inherit;
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-button {
grid-column: 2;
grid-row: 1;
width: 100%;
height: 100%;
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input {
background: transparent;
grid-column: 1;
grid-row: 1;
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: inherit;
text-align: left;
white-space: pre;
overflow: hidden;
position: relative;
padding: 2px;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
outline: none;
resize: none;
cursor: text;
display: flex;
align-items: flex-start;
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
transition: padding 0.2s ease;
}
.left .TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-button {
grid-column: 1;
grid-row: 1;
}
.left .TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input {
grid-column: 2;
grid-row: 1;
}
/* The main use for this control is interaction. So mark when this is not allowed. */
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput.TcHmi_Controls_System_TcHmiControl-operate-disallowed::after {
content: '';
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.5);
z-index: 100;
cursor: not-allowed;
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input-invalid-notification {
position: absolute;
display: flex;
align-items: center;
height: 100%;
top: 0px;
right: 0px;
pointer-events: none;
padding: 2px;
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input:not(:invalid)
+ .TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input-invalid-notification {
visibility: hidden;
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template:not(.left)
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input-invalid-notification {
right: 26px; /* same size as button (flex-basis: 26px;) */
}
.TcHmi_Controls_Beckhoff_TcHmiTimespanInput-template-input-unit {
position: absolute;
display: flex;
align-items: center;
width: fit-content;
height: 100%;
right: 0;
top: 0;
pointer-events: none;
padding: 0 3px;
font-weight: lighter;
}