@import "../../variables";
@import "../../mixins";

$files_count_select_width: $per_page_select_width;
$now_view_select_width: $form_item_now_view_width;

.Tracker-sub-header {
    margin-bottom: $offset_main;
    text-align: left;
}

.Tracker-section {
    @include base-container(main);
}

.Tracker-downloads {
    @include base-container;

    margin-top: $offset_main;
    padding-bottom: $offset_main * 3;
    padding-top: $offset_main * 3;
    width: 100%;
}

.Tracker-downloads-wrapper {
    display: table;
    width: 100%;
}

.Tracker-download-current,
.Tracker-upload,
.Tracker-summary {
    display: table-cell;
    width: 50%;
}

.Tracker-download-reports {
    display: flex;
    justify-content: center;
    margin-top: $offset_main;
    padding-bottom: $offset_main * 3;
    padding-top: $offset_main * 3;
    text-align: center;
}

.Tracker-downloads-content {
    margin-top: $offset_main;
    text-align: left;
}

.Tracker-download-item {
    font-weight: $weight-bold;

    & + & {
        margin-top: $offset_main;
    }
}

.Tracker-upload-button {
    margin-top: $offset_main;
}

.Tracker-license-add-file {
    margin-bottom: $offset_main;
}

.Tracker-from-service-select {
    width: $now_view_select_width;
}

.Tracker-files-count-select {
    width: $files_count_select_width;
}

.Tracker-now-view-select {
    width: $now_view_select_width;
}

.Tracker-table-controls {
    &-top {
        margin-bottom: $offset_main * 2;
    }

    &-bottom {
        margin-top: $offset_main;
    }
}

.Tracker-close-period-wrapper {
    padding: $offset_main 0 $offset_main * 3;
    text-align: right;
}

.Tracker-table-controls-finished {
    text-align: right;
}

.Tracker-table-delete-confirm-file {
    font-weight: $weight_bold;
    white-space: normal;
}

.Tracker-col-file-name {
    width: 300px;
}

.Tracker-col-service {
    width: 160px;
}

.Tracker-close-modal-attention {
    font-weight: $weight_bold;
    margin-top: $offset_main;
}

.Tracker-close-modal-files {
    font-weight: $weight_bold;
}

.Tracker-edit-page-container {
    @include base-container;

    padding-bottom: $offset-main * 3;
    padding-top: $offset-main * 3;
}

.Tracker-edit-common-info {
    margin-bottom: $offset_main * 2;
}

.Tracker-service-filter-select {
    width: 160px;
}

.Tracker-files-new {
    margin-top: -$offset_main;
}
