.data-table-container { position: relative; display: inline-block; width: 100%; .data-table { &__wrapper { position: relative; border: solid 1px $ui-fleet-blue-15; border-radius: 6px; margin-top: $pad-small; box-shadow: inset -8px 0 17px -10px #e8edf4; flex-grow: 1; width: 100%; } &__table { position: relative; width: 100%; border-collapse: collapse; color: $core-fleet-black; font-size: $x-small; } tr { border-bottom: 1px solid $ui-fleet-blue-15; &:last-child { border-bottom: 0; } &.single-row { cursor: pointer; &:hover { background-color: rgba($core-vibrant-blue, 0.1); } } // override styles of checkbox data cells .form-field--checkbox { margin-bottom: 0; .fleet-checkbox__label { padding-left: 0; } } } thead { background-color: $ui-off-white; color: $core-fleet-black; text-align: left; border-bottom: 1px solid $ui-fleet-blue-15; img { width: 16px; height: 16px; vertical-align: sub; } .header-icon-text { margin-left: 10px; } th { padding: $pad-medium 27px; white-space: nowrap; border-right: 1px solid $ui-fleet-blue-15; &:first-child { border-top-left-radius: 6px; padding: $pad-medium 17px; } &.selection__header { width: 1px; } &:last-child { border-right: none; border-top-right-radius: 6px; max-width: 140px; } } &.active-selection th { border: 0; .fleet-checkbox { opacity: 0; } } } .Select.is-focused:not(.is-open) > .Select-control { border: none; box-shadow: none; } .Select.is-open { .Select-arrow { margin-top: 4px; margin-bottom: -2px; } .Select-placeholder { margin-top: 1px; } } .Select-arrow { margin-top: 3px; } .Select-control:hover { box-shadow: none; } .Select-placeholder { font-size: 14px; margin-top: 2px; padding-left: 0; } .active-selection { position: absolute; top: 0px; width: 100%; border: 0; border-radius: 6px; &__container { padding: 0 27px; } &__inner { display: flex; justify-content: space-between; align-items: center; p { margin: 0 $pad-medium 0 0; font-weight: $regular; span { font-weight: $bold; } } button { margin-right: $pad-medium; } } &__inner-left, &__inner-right { display: flex; align-items: center; } } tbody { td { padding: 0 27px; white-space: nowrap; height: 40px; &:first-child { padding: 0 17px; width: 1px; } // form-field wraps the dropdown menu .form-field { margin: 0; } .Select-control { background-color: $core-white; border: none; } } } &__hostname { color: $core-fleet-black; } &__pill { color: $core-fleet-black; font-weight: $bold; padding: 4px 12px; border-radius: 29px; span { border-radius: 29px; background-color: $core-fleet-purple; } &--undetermined { color: $ui-fleet-black-50; font-style: italic; font-weight: 400; padding: 0; border-radius: 0; } &--minimal { background-color: $ui-vibrant-blue-10; } &--considerable { background-color: $ui-vibrant-blue-25; } &--excessive { background-color: $ui-vibrant-blue-50; } } .tooltip { display: flex; justify-content: center; } &__status { color: $core-fleet-blue; text-transform: capitalize; &:before { border-radius: 100%; content: " "; display: inline-block; margin-right: $pad-small; height: 8px; width: 8px; margin-bottom: 1px; } &--online:before, &--enabled:before { background-color: $ui-success; } &--offline:before, &--disabled:before, &--mia:before { background-color: $ui-offline; } &--yes:before { padding-right: 10px; content: url(../assets/images/icon-check-circle-green-16x16@2x.png); transform: scale(0.5); vertical-align: text-top; } &--no:before { padding-right: 10px; content: url(../assets/images/icon-exclamation-circle-red-16x16@2x.png); transform: scale(0.5); vertical-align: text-top; } &--mia { text-transform: uppercase; } } } .loading-overlay { display: flex; flex-grow: 1; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.8); z-index: 1; } &__pagination { display: flex; justify-content: flex-end; margin-top: $pad-small; margin-bottom: $pad-small; margin-left: auto; text-align: right; button { color: $core-vibrant-blue; padding: 6px; .fleeticon-chevronleft { margin-right: $pad-small; &:before { font-size: 0.6rem; font-weight: $bold; position: relative; top: -2px; } } .fleeticon-chevronright { margin-left: $pad-small; &:before { font-size: 0.6rem; font-weight: $bold; position: relative; top: -2px; } } } button:hover { background-color: $ui-vibrant-blue-10; } .button--disabled:hover { background-color: transparent; } button:last-child { margin-left: $pad-large; } } }