diff --git a/Step/wwwroot/assets/styles/base/modals.less b/Step/wwwroot/assets/styles/base/modals.less index 29ecbed3..18dfcd02 100644 --- a/Step/wwwroot/assets/styles/base/modals.less +++ b/Step/wwwroot/assets/styles/base/modals.less @@ -2392,6 +2392,7 @@ display: flex; margin-left: 17px; margin-top: 29px; + height: 29px; font-size: 18px; font-weight: 600; line-height: 1.11; @@ -2399,4 +2400,93 @@ } } } + .modal-report-body-center{ + width: calc(~"100% - 24px"); + height: 452px; + display: flex; + padding-left: 24px; + flex-flow: column; + .modal-report-body-center-row{ + width: 100%; + height: 100%; + display: flex; + flex-flow: row; + margin: 24px 0; + div{ + display: flex; + flex-flow: row; + width: 267px; + height: 24px; + input[type=checkbox] { + visibility: hidden; + } + .modal-report-select-column-checkbox { + width: 24px; + height: 24px; + display: flex; + align-items: center; + position: relative; + // margin-top: 29px; + } + .modal-report-select-column-checkbox label { + cursor: pointer; + position: absolute; + width: 22px; + height: 22px; + top: 0; + left: 0; + background-color: @color-white2; + box-shadow: inset 0 1px 3px @color-black-50; + border-radius: 2px; + } + .modal-report-select-column-checkbox label:after { + opacity: 0; + content: ''; + position: absolute; + width: 16px; + height: 9px; + background: transparent; + top: 3px; + left: 2px; + border: 5px solid #1791ff; + border-top: none; + border-right: none; + transform: rotate(-48deg); + } + .modal-report-select-column-checkbox input[type=checkbox]:checked+label{ + cursor: pointer; + position: absolute; + width: 22px; + height: 22px; + top: 0; + left: 0; + background-color: @color-white2; + border: solid 1px @color-clear-blue; + border-radius: 2px; + } + .modal-report-select-column-checkbox input[type=checkbox]:checked+label:after { + opacity: 1; + } + .modal-report-select-column-checkbox-label { + display: flex; + margin-left: 17px; + // margin-top: 29px; + height: 29px; + font-size: 18px; + font-weight: 600; + line-height: 1.11; + color: @color-darkish-blue; + } + } + } + } + .modal-report-body-footer{ + width: 100%; + height: 62px; + display: flex; + border-top: solid 2px @color-silver; + flex-flow: row; + align-items: center; + justify-content: flex-end; + } } \ No newline at end of file diff --git a/Step/wwwroot/assets/styles/style.css b/Step/wwwroot/assets/styles/style.css index 237ab4cc..52989fbd 100644 --- a/Step/wwwroot/assets/styles/style.css +++ b/Step/wwwroot/assets/styles/style.css @@ -2433,11 +2433,99 @@ display: flex; margin-left: 17px; margin-top: 29px; + height: 29px; font-size: 18px; font-weight: 600; line-height: 1.11; color: #002680; } +.modal.modal-report-select-column .modal-report-body-center { + width: calc(100% - 24px); + height: 452px; + display: flex; + padding-left: 24px; + flex-flow: column; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row { + width: 100%; + height: 100%; + display: flex; + flex-flow: row; + margin: 24px 0; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div { + display: flex; + flex-flow: row; + width: 267px; + height: 24px; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div input[type=checkbox] { + visibility: hidden; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div .modal-report-select-column-checkbox { + width: 24px; + height: 24px; + display: flex; + align-items: center; + position: relative; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div .modal-report-select-column-checkbox label { + cursor: pointer; + position: absolute; + width: 22px; + height: 22px; + top: 0; + left: 0; + background-color: #f1f1f1; + box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); + border-radius: 2px; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div .modal-report-select-column-checkbox label:after { + opacity: 0; + content: ''; + position: absolute; + width: 16px; + height: 9px; + background: transparent; + top: 3px; + left: 2px; + border: 5px solid #1791ff; + border-top: none; + border-right: none; + transform: rotate(-48deg); +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div .modal-report-select-column-checkbox input[type=checkbox]:checked + label { + cursor: pointer; + position: absolute; + width: 22px; + height: 22px; + top: 0; + left: 0; + background-color: #f1f1f1; + border: solid 1px #1791ff; + border-radius: 2px; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div .modal-report-select-column-checkbox input[type=checkbox]:checked + label:after { + opacity: 1; +} +.modal.modal-report-select-column .modal-report-body-center .modal-report-body-center-row div .modal-report-select-column-checkbox-label { + display: flex; + margin-left: 17px; + height: 29px; + font-size: 18px; + font-weight: 600; + line-height: 1.11; + color: #002680; +} +.modal.modal-report-select-column .modal-report-body-footer { + width: 100%; + height: 62px; + display: flex; + border-top: solid 2px #bbbcbc; + flex-flow: row; + align-items: center; + justify-content: flex-end; +} .popup { width: 288px; height: 218px; diff --git a/Step/wwwroot/src/modules/base-components/modal-report-select-column.vue b/Step/wwwroot/src/modules/base-components/modal-report-select-column.vue index 33ee868d..887fc887 100644 --- a/Step/wwwroot/src/modules/base-components/modal-report-select-column.vue +++ b/Step/wwwroot/src/modules/base-components/modal-report-select-column.vue @@ -3,13 +3,120 @@