@import "_variable.scss"; .main-body { margin-top: 60px; .top-bar { position: fixed; top: 60px; left: 250px; width: calc(100% - 250px); height: 60px; padding: 10px 20px; background-color: $white; box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.06); z-index: 9; @media screen and (max-width: 1280px) { min-height: 60px; } } .table-container { margin-top: 120px; padding: 20px; } //filter-styles-starts-here .filter-section { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; @media screen and (max-width: 1280px) { flex-wrap: wrap; } &__lhs { display: flex; align-items: center; width: 75%; .filter-field { position: relative; width: 250px; margin-right: 10px; @media screen and (max-width: 1280px) { margin-bottom: 10px; } //input-styles input { width: 100%; height: 39px; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); &:focus { border-color: #66afe9 !important; outline: 0 !important; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6) !important; } } //select2 styles .select2 { width: 100% !important; .selection { //single-select-styles .select2-selection--single { height: 39px; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); &:focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); } .select2-selection__rendered { color: #555555; line-height: 36px; .select2-search--inline { .select2-search__field { height: 26px !important; } } } .select2-selection__arrow { top: 7px; b { border-color: #0099ff transparent transparent transparent; } } } //multi-select-styles .select2-selection--multiple { max-height: 39px; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); overflow-y: auto; .select2-selection__rendered { .select2-search--inline { .select2-search__field { height: 26px !important; border: none; } } } } } } //single-select-arrow-styles .select2-container--open { .selection { .select2-selection--single { .select2-selection__arrow { top: 7px; b { border-color: transparent transparent #0099ff transparent; } } } } } .filter-rangepicker { padding: 6px 12px; color: #172b4d; font-size: 16px; } .field-area { display: block; padding: 6px 12px; font-size: 16px; color: #555555; } .search-icon { position: absolute; top: 10px; right: 15px; color: #0099ff; } .down-arrow-icon { position: absolute; top: 10px; right: 15px; font-size: 20px; color: #0099ff; } } } &__rhs { width: 25%; text-align: right; .filter-btn { padding: 5px 10px; color: $white; font-size: 16px; background-color: #0099ff; border: none; border-radius: 4px; transition: all .2s linear; &:hover { box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2); transform: scale(1.2); } span { margin-right: 5px; } } } } .admin-table { background-color: $white; border-radius: 5px; .record-found { padding: 10px; color: #31383d; font-size: 14px; opacity: 0.5; } .cm-table { width: 100%; &__header { tr > th { width: 20%; color: #172b4d; background-color: #fafbfc; box-shadow: inset 0 1px 0 0 #ebecf0; font-weight: 600; font-size: 14px; border-bottom: none; height: 40px; padding: 0 10px; } } &__body { tr { transition: all 0.2s linear; &:hover { background-color: #dfe4e7; } } tr > td { color: #172b4d; font-size: 14px; padding: 8px 10px; } .edit-icon { font-size: 20px; cursor: pointer; transition: all .2s linear; &:hover { box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2); transform: scale(1.2); } } } } } .cm-pagination { display: flex; justify-content: center; margin: 30px 0; &__item { padding: 5px 10px; font-size: 16px; background-color: $white; border: 1px solid #cbdcde; border-radius: 4px; &:nth-child(2) { margin-left: 16px; transition: all 0.2s linear; cursor: pointer; &:hover { box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); } } } } }