322 lines
6.3 KiB
SCSS
322 lines
6.3 KiB
SCSS
@import "../ui/css/functions/func.scss";
|
|
|
|
.schedule-item-container {
|
|
|
|
fieldset {
|
|
margin-top: 10px;
|
|
border-width: 1px;
|
|
border-radius: 4px;
|
|
border-color: var(--border-color);
|
|
|
|
legend,
|
|
span {
|
|
font-weight: 400;
|
|
font-size: var(--font-size);
|
|
padding-left: 8px;
|
|
padding-right: 6px;
|
|
color: var(--color);
|
|
}
|
|
|
|
.ui-input {
|
|
line-height: 20px;
|
|
height: 20px;
|
|
text-indent: 0;
|
|
|
|
&.validation-error,
|
|
&:invalid {
|
|
color: #0000004d;
|
|
}
|
|
}
|
|
|
|
.schedule-item-monthly {
|
|
margin-top: 5px;
|
|
|
|
.ui-input {
|
|
width: 40px;
|
|
}
|
|
}
|
|
|
|
&.schedule-item-daily-frequency .ui-input {
|
|
vertical-align: top;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.schedule-item-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.schedule-item-line-occur-every {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
|
|
>.schedule-item-block>.scheldule-item-line {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 5px;
|
|
|
|
>span {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
>.ui-input {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
>span {
|
|
line-height: 36px;
|
|
}
|
|
|
|
.ui-input {
|
|
width: 70px;
|
|
}
|
|
}
|
|
|
|
.schedule-item-line-duration {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 36px;
|
|
}
|
|
|
|
.schedule-item-line {
|
|
>.schedule-item-placeholder {
|
|
flex: 1 1 auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.schedule-item-frequency {
|
|
margin-top: 0;
|
|
|
|
>.schedule-item-line {
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
.ui-drop-wrapper>.ui-drop-header {
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
.open-wo-container,
|
|
.popup-selector {
|
|
|
|
.ui-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
fill: rgb(123, 28, 33);
|
|
cursor: pointer;
|
|
transition: opacity .12s ease;
|
|
|
|
&:focus,
|
|
&:active,
|
|
&:hover {
|
|
outline: none;
|
|
opacity: .4;
|
|
}
|
|
}
|
|
|
|
.col-icon.disabled>.ui-icon {
|
|
cursor: inherit;
|
|
}
|
|
}
|
|
|
|
.open-wo-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
>.open-wo-header {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
|
|
>h3 {
|
|
font-size: var(--font-header-size);
|
|
font-family: var(--header-font-family);
|
|
margin: 10px;
|
|
}
|
|
}
|
|
|
|
>.open-wo-content {
|
|
flex: 1 1 auto;
|
|
margin: 10px;
|
|
display: grid;
|
|
grid-template-columns: minmax(130px, auto) 1fr;
|
|
grid-auto-rows: minmax(32px, auto);
|
|
align-items: center;
|
|
justify-items: start;
|
|
|
|
>.wo-line {
|
|
grid-column: 1 / 3;
|
|
}
|
|
|
|
.wo-combined {
|
|
line-height: var(--settings-line-height);
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
>.ui-icon {
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
|
|
.wo-title {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
&.wo-title-required {
|
|
&::after {
|
|
content: '*';
|
|
color: var(--red-color);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.wo-sub-line {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.wo-asset-name,
|
|
.wo-company-name {
|
|
margin-left: 6px;
|
|
max-width: 400px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ui-input,
|
|
.ui-date-cell,
|
|
.ui-drop-wrapper {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.ui-input {
|
|
height: 28px;
|
|
line-height: 28px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ui-input,
|
|
.ui-drop-wrapper {
|
|
min-width: 180px;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.input-odometer+.ui-drop-wrapper {
|
|
min-width: 50px;
|
|
}
|
|
|
|
.ui-date-cell {
|
|
height: 26px;
|
|
padding: 0 4px;
|
|
|
|
@include outborder();
|
|
|
|
&:invalid {
|
|
color: rgba(0, 0, 0, .3);
|
|
}
|
|
}
|
|
|
|
.ui-text {
|
|
width: 100%;
|
|
height: 80px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.wo-color-line {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
>em {
|
|
flex: 0 0 auto;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
>label {
|
|
flex: 1 1 auto;
|
|
padding-left: 8px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.popup-selector {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
>.popup-selector-header {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
|
|
>img {
|
|
width: 100px;
|
|
}
|
|
|
|
>h3 {
|
|
font-size: var(--font-header-size);
|
|
font-family: var(--header-font-family);
|
|
margin: 10px;
|
|
flex: 1 1 auto;
|
|
}
|
|
}
|
|
|
|
>.popup-selector-function {
|
|
flex: 0 0 auto;
|
|
margin: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
>.search-box {
|
|
position: relative;
|
|
margin-right: 8px;
|
|
|
|
>span {
|
|
position: absolute;
|
|
display: flex;
|
|
right: 4px;
|
|
top: calc(50% - 7px);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.ui-input {
|
|
width: 200px;
|
|
box-sizing: border-box;
|
|
height: 28px;
|
|
}
|
|
|
|
.ui-drop-wrapper {
|
|
margin: 0 8px 0 4px;
|
|
width: 180px;
|
|
}
|
|
}
|
|
|
|
>.popup-selector-content {
|
|
flex: 1 1 auto;
|
|
margin: 10px;
|
|
}
|
|
}
|
|
|
|
.wo-opened-workorder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 650px;
|
|
|
|
>header {
|
|
flex: 0 0 auto;
|
|
margin: 10px;
|
|
}
|
|
|
|
>.wo-grid-opened {
|
|
flex: 1 1 auto;
|
|
margin: 0 10px;
|
|
height: 400px;
|
|
}
|
|
} |