This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
SXS20240115/SRC/iMES_PAD/module/moduleEPM/program/mrs-epm/epm01/epm01.css
2024-01-24 16:47:50 +08:00

255 lines
4.0 KiB
CSS

.epm01 .kmi-layout-main-content {
height: 100%;
}
.epm01 .kmi-layout-main-content .epm-container {
border-radius: 16px;
background-color: rgb(255, 255, 255);
height: 100%;
}
.epm01 .kmi-layout-main-content .epm-container .area{
width: 100%;
height: 100%;
display: inline-flex;
}
.epm01 .kmi-layout-main-content .epm-container .area .area-left{
width: 40%;
padding: 16px;
}
.epm01 .kmi-layout-main-content .epm-container .area .area-right{
width: 60%;
padding: 16px;
}
.epm01 .kmi-layout-main-content .epm-container .area .area-right .area-info{
height: 50%;
display:inline-flex;
}
.epm01 .kmi-layout-main-content .epm-container .area .area-right .area-info .col{
text-align: right;
}
.epm01 .kmi-layout-main-content .epm-container .area .area-right .data{
height: 40%;
}
.epm01 .kmi-layout-main-content .epm-container .area .area-right .description {
font-family: 'NotoSansTC-Light';
font-weight: 300;
width: 378px;
font-size: 14px;
border-radius: 4px;
height: 80px;
font-size: 14px;
border: 1px solid rgb(220, 220, 220);
outline-color: rgb(120, 155, 209);
}
/* all */
.header>.title {
font-weight: 700;
}
/* text */
.muted {
color: gray;
}
.kmi-text-fields {
display: grid;
grid-template-columns: 20% calc(80% - 32px);
gap: 32px;
line-height: 42px;
}
/* input */
.kmi-input-fields {
display: grid;
grid-template-rows: 42px auto;
line-height: 42px;
padding-top: 16px;
width: 100%;
}
.kmi-input-fields>.body input {
padding-left: 16px;
border: 1px solid rgb(220, 220, 220);
width: 100%;
}
.kmi-input-fields>.body>input {
height: 42px;
}
/* sw */
.switch {
position: relative;
display: inline-block;
width: 72px;
height: 34px;
margin-top: 4px;
margin-bottom: 4px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.switch>.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgb(96, 96, 96);
-webkit-transition: .4s;
transition: .4s;
}
.switch>.slider>.on {
display: none;
line-height: 34px;
font-size: 14px;
padding-left: 8px;
vertical-align: top;
color: white;
}
.switch>input:checked+.slider>.on {
display: initial;
}
.switch>.slider>.off {
display: initial;
line-height: 34px;
font-size: 14px;
padding-left: 34px;
vertical-align: top;
color: white;
}
.switch>input:checked+.slider>.off {
display: none;
}
.switch>.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
.switch>input {
padding-left: initial;
}
.switch>input:checked+.slider {
background-color: rgb(255, 174, 201);
}
.switch>input:focus+.slider {
box-shadow: 0 0 1px rgb(255, 174, 201);
}
.switch>input:checked+.slider:before {
-webkit-transform: translateX(38px);
-ms-transform: translateX(38px);
transform: translateX(38px);
}
/* Rounded sliders */
.switch>.slider.round {
border-radius: 26px;
}
.switch>.slider.round:before {
border-radius: 50%;
}
/* check box */
/* The chkbox */
.chkbox {
display: grid;
grid-template-columns: 42px 1fr 1fr;
gap: 16px;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the browser's default checkbox */
.chkbox input {
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Create a custom checkbox */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 42px;
width: 42px;
background-image: url(../../../../../image/icons/check0.png);
background-size: 24px 24px;
background-repeat: no-repeat;
background-position: center center;
}
/* When the checkbox is checked, add a blue background */
.checkmark.checked {
background-image: url(../../../../../image/icons/check1.png);
}
/* bug fix */
.dialog-container .kmi-header-row .kmi-text-title .title {
font-family: 'Noto Sans TC', sans-serif, 'Noto Sans SC', sans-serif;
}
/***********/