@import "~cosmoUiVariables";
@import "~cosmoui/src/components/styles/mixins/paddings";

// table values
$list-table-height: calc(100% - 66px);
$list-table-padding-x: 10px;
$list-table-color: $text-global;
$list-header-height: 36px;
$list-header-font-size: 10px;
$list-header-color: $brand-primary;
$card-border: $border-mid;
$table-min-width: 820px;

// scroll button
$scroll-button-padding: 15px;
$scroll-button-color: $brand-primary;
$scroll-button-bg-hover-color: $brand-primary-dark;
$scroll-button-font-weight: bold;

.container {
    height: calc(100% - 34px); // hack;
}

.content {
    position: relative;
    height: 100%;
}

.scrollList {
    &:focus {
        outline: none;
    }
}

.scrollContent {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.header {
    font-weight: bold;
    font-size: $list-header-font-size;
    min-height: $list-header-height;
    color: $list-header-color;
    // border-bottom: $card-border;
    box-sizing: border-box;
}

.listContainer {
    height: 100%;
    overflow-y: scroll;
    width: 100%
}

.scrollButton {
    @include padding-y($scroll-button-padding);
    margin-bottom: 0px !important;
    color: $scroll-button-color;
    font-weight: $scroll-button-font-weight;
    cursor: pointer;
    &:hover {
        background-color: $scroll-button-bg-hover-color;
        color: white;
     }
}

.noJobMessage {
    text-align: center
}