/* prevent the drop down icon going onto a new line for the top bar language link */ .top-bar-language-nav-link { min-width: 65px; } /* bootstrap model showing two scroll bars */ html { overflow: visible; } body { --mc: $iwb-color; } /* main sidebar not under model */ .modal { z-index: 1110; } .iwb-info-box { .box-header { text-indent: 2em; color: $iwb-color; margin-top: 15px; font-size: 1.5rem; font-weight: 600; border-bottom: 2px solid; letter-spacing: 2px; margin-bottom: 15px; padding-bottom: 10px; } .box-footer { color: $iwb-color; text-align: center; background: transparent; margin-top: 15px; padding-top: 10px; border-top: 2px solid; } } .form-group.required .col-form-label:after { color: #d00; content: "*"; position: absolute; margin-left: 3px; } .text-iwb{ color:$iwb-color; } a{ color:$iwb-color; } .dropdown-item { &:focus, &:hover { color: #eee; text-decoration: none; background-color: #007bff; } } .notification-item { display: flex; flex-direction: row; padding: .25rem 1rem; cursor: pointer; min-width: 400px; .item-icon { display: flex; justify-content: center; align-items: center; margin-right: 5px; i { display: flex; justify-content: center; align-items: center; border-radius: 50%; width: 22px; height: 22px; font-size: 12px; } } .item-text { display: flex; flex-wrap: wrap; color: #333; align-items: center; width: 100% } &.read { .item-text { color: #999; } } .item-time { display: flex; white-space:nowrap; justify-content: flex-end; font-size: 0.5rem; margin-left: 5px; align-items: center; } &:focus, &:hover { color: inherit; background-image: linear-gradient(rbga(0,0,0,.7),rbga(0,0,0,.7)); } } .nav-user-menu .user-image { width: 20px; margin-right: 4px; margin-top: -4px; } button:focus, button:active { outline: none; } .input-group-text { background: $iwb-color; color: $white; border: 1px solid $iwb-color; } .search-input { > .form-control { &:not(:last-child) { border-radius: .2rem; } } } .search-icon-box { position: absolute; right: 0px; display: flex; z-index: 3; &.select-icon-box { right: 20px; } > .input-group-text { height: 31px; border-radius: .2rem; min-width: 35px!important; width: 35px!important; cursor: pointer; display: flex; justify-content: center!important; align-items: center; padding: 0; &:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; } &:not(:last-child) { border-right: 2px solid #eee; border-top-right-radius: 0; border-bottom-right-radius: 0; } } } .system-name { font-size: 1.5rem; height: auto; padding-top: 0; padding-bottom: 0; line-height: 40px; a { padding: 0 10px; } } #auth-tree { width: 80%; margin: 0 auto; } .card-footer{ button{ min-width:100px; } } .select2 { .selection { .select2-selection { padding: 0; line-height: 31px; height: 31px; .select2-selection__rendered { margin-top: 0; line-height: 30px; margin-top: 0; } &.select2-selection--multiple { .select2-selection__choice { background: var(--mc); border-color: var(--mc); height: 24px; line-height: 24px; margin-top: 4px; .select2-selection__choice__remove { color: #ddd; } } .select2-search.select2-search--inline { .select2-search__field{ margin-top:0; } } } } } } .search-box { width: 100%; position: absolute; z-index: 2; .search-card { margin-bottom: 0; .card-header { padding: 0; button { width: 50px; &.btn-search { width: 45px; } } } &:not(.collapsed-card) { .card-header { border-radius: .25rem .25rem 0 0; .input-group-prepend > button { border-radius: .25rem 0 0 0; } .input-group-append > button { border-radius: 0 .25rem 0 0; } } } .card-body { border-color: $iwb-color; padding: .6rem .8rem; .search-unit:not(:last-child) { margin-bottom: .5rem; } .input-group-text { min-width: 80px; background: $iwb-color; color: $white; justify-content: flex-end; } .search-icon, .select-search-icon { .input-group-text { min-width: 30px; justify-content: center; } } .dataRange { font-size: 100%; } } .card-footer { padding: .6rem .5rem; border-color: $iwb-color; } } } .swal-modal { width: 350px; text-align: left; padding: 10px 10px 15px; .swal-icon { display: none; } .swal-title, .swal-text { font-size: 14px; text-align: left; margin: 0; padding: 10px 0 0; text-indent: 1em; } .swal-title { font-size: 16px; font-weight: 600; color: #333; line-height: 35px; &:before { font-family: 'iconfont'; margin-right: 10px; font-size: 30px; position: relative; top: 4px; } } .swal-icon--success + .swal-title { &:before { content: '\e7e2'; color: #a5dc86; } } .swal-icon--error + .swal-title { &:before { content: '\e7e1'; color: #f27474; } } .swal-icon--warning + .swal-title { &:before { content: '\e7de'; color: #f8bb86; } } .swal-icon--info + .swal-title { &:before { content: '\e7dc'; color: #c9dae1; } } .swal-footer { text-align: right; margin-top: 0px; padding: 5px 10px; .swal-button-container { margin: 0; .swal-button { background-color: #0074f0; border: 1px solid #0074f0; color: #fff; border-radius: 3px; box-shadow: none; font-weight: 600; font-size: 14px; padding: 4px 20px; margin-left: 15px; cursor: pointer; &.swal-button--cancel { color: #0074f0; background-color: #fff; border: 1px solid #0074f0; } } } } } .iwb-wang-editor{ width:100%; } .iwb-dynamic-box { .box-label { label { padding-left: .5rem; padding-bottom: 2px; border-bottom: 2px solid #666; width: 100%; } } .box-body { .empty { text-align: center; font-size: 1.5rem; width: 100%; } > div { margin-bottom: .5rem; } } .form-control:disabled, .form-control[readonly] { background-color: #F9F9F9; opacity: 1; } } .jstree { > .jstree-container-ul { .jstree-wholerow-hovered { background: scale-color($iwb-color,-40%); } .jstree-wholerow-clicked { background: scale-color($iwb-color,-20%); } .jstree-anchor { &.jstree-hovered { color: $white; } &.jstree-clicked { color: $white; } } } }