212 lines
3.5 KiB
CSS
212 lines
3.5 KiB
CSS
|
|
.emp01-dialog .kmi-layout-main-content{
|
|
height: 100%;
|
|
}
|
|
|
|
.emp01-dialog .kmi-layout-main-content .kmi-layout-page .perfect-scrollbar .info{
|
|
display: inline-flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.emp01-dialog .kmi-layout-main-content .kmi-layout-page .perfect-scrollbar .info .header{
|
|
display: grid;
|
|
width: 40%;
|
|
text-align: right;
|
|
}
|
|
.emp01-dialog .kmi-layout-main-content .kmi-layout-page .perfect-scrollbar .info .body{
|
|
display: grid;
|
|
width: 60%;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/***********/
|
|
|
|
|
|
.emp01-dialog .kmi-layout-main-content .kmi-layout-page .kmi-input-fields .body .description{
|
|
width: calc(100% - 8px);
|
|
height: calc(42px * 2);
|
|
} |