// scss-lint:disable SelectorDepth SelectorFormat QualifyingElement // scss-lint:disable NestingDepth ImportantRule @import "constants"; :root { --repository-sidebar-margin: 363px; } .repository-show { animation-timing-function: $timing-function-sharp; height: calc(100vh - 66px); left: var(--repository-sidebar-margin); margin: 0; padding: 0 32px; position: absolute; top: 51px; transition: .4s; width: calc(100vw - var(--repository-sidebar-margin)); #repository-toolbar { align-items: center; animation-timing-function: $timing-function-sharp; background-color: $color-white; display: flex; height: 75px; left: var(--repository-sidebar-margin); padding: 35px 32px 20px; position: fixed; transition: .4s; width: calc(100% - var(--repository-sidebar-margin)); z-index: 100; .toolbar-delimiter { border-bottom: $border-tertiary; bottom: 0; position: absolute; width: calc(100% - 64px); } .repository-share-icon { flex-shrink: 0; margin-top: -2px; .fas-custom { margin-left: 5px; } } .repository-title-name { display: flex; flex-direction: column; flex-grow: 1; font-size: 18px; line-height: 32px; margin-right: 20px; overflow: hidden; padding-left: 5px; text-overflow: ellipsis; white-space: nowrap; .name-container { align-items: center; display: inline-flex; height: 32px; .read-only-name { display: inline-block; line-height: 32px; max-width: calc(100% - 30px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .inline-editing-container { width: 100%; } } } .repository-subtitle { color: $color-silver-chalice; font-size: 12px; line-height: 12px; } .datatables-buttons { flex-shrink: 0; } } .main-actions { align-items: center; animation-timing-function: $timing-function-sharp; background-color: $color-white; display: flex; flex-grow: 1; height: 68px; left: var(--repository-sidebar-margin); padding: 0 32px; position: fixed; top: 126px; transition: .4s; width: calc(100% - var(--repository-sidebar-margin)); z-index: 90; .filter-container { flex-grow: 1; } } .dataTables_scroll { padding-bottom: 68px; padding-top: 123px; .dataTables_scrollHead { position: sticky !important; top: 194px; z-index: 90; .table.dataTable { animation-timing-function: $timing-function-sharp; margin-top: 0 !important; transition: .4s; th { transition: width .2s; } } } .dataTables_scrollBody { thead th#checkbox { opacity: 0; } } } .pagination-row { align-items: center; animation-timing-function: $timing-function-sharp; background-color: $color-white; bottom: 0; display: flex; height: 68px; left: var(--repository-sidebar-margin); padding: 0 142px 0 32px; position: fixed; transition: .4s; width: calc(100% - var(--repository-sidebar-margin)); z-index: 90; .pagination-info, .pagination-actions { flex-grow: 1; } .pagination-info { align-items: center; display: flex; .dataTables_info { padding-top: 0; } .dataTables_length { margin-right: 24px; width: 170px; .dropdown-selector-container { width: inherit; } label { margin-bottom: 0; } } } } } .repositories-dropdown-menu { border: 1px solid $color-gainsboro; border-top: 0; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05); height: auto; max-height: 400px; overflow-x: hidden; text-transform: initial; width: 300px; li:not(:first-child) { border-top: 1px solid $color-gainsboro; } .fas-custom { float: right; } a.muted { opacity: .7; } } .repository-share-status { display: contents !important; &.hidden { display: none !important; } } .repository-cog { display: inline-block; float: right; padding-left: 4px; } #repository-table_paginate { float: right; text-align: inherit; } .breadcrumb.breadcrumb-repository { background-color: $color-concrete; margin-bottom: 15px; } .asset-value-cell { align-items: center; display: flex; .fas { font-size: 18px; min-width: 18px; } .image-icon { width: 18px; } .file-preview-link { min-width: 140px; padding-left: 5px; } } .file-editing { width: 200px; .file-upload-button { background-color: $color-white; border: solid 1px; border-radius: 3px; height: 34px; line-height: 32px; position: relative; &.new-file { .icon { display: none; } label { display: inline-block; } &:hover { .fa-trash { display: none; } } } .icon { display: inline-block; text-align: center; width: 34px; } .label-asset { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: calc(100% - 44px); } .fa-trash { background-color: $color-white; cursor: pointer; display: none; line-height: 32px; position: absolute; right: 0; text-align: center; top: 0; width: 34px; z-index: 3; } &:hover { .fa-trash { display: inline-block; } } &.error { border-color: $brand-danger; margin-bottom: 10px; &::after { background-color: $color-white; bottom: 0; color: $brand-danger; content: "\f071"; font-family: "Font Awesome 5 Free"; font-weight: 501; line-height: 32px; position: absolute; right: 0; text-align: center; width: 34px; } &::before { @include font-small; bottom: -15px; color: $brand-danger; content: attr(data-error-text); left: 0; line-height: 15px; position: absolute; width: 100%; } } } input[type=file] { display: none; } label { display: none; font-weight: normal; margin-left: 10px; } } .toolbarButtonsDatatable { .view-only-label { opacity: .6; } } .sidebar-button { color: $brand-primary !important; span { display: inline-block !important; padding: 0 !important; } .fas { margin-right: 5px; } } .share-repo-modal { .modal-dialog { width: 350px; } .modal-footer { text-align: center; } .share-repo-container { padding: 15px 30px; // Main structure css .header, .data-list { display: flex; width: 100%; } .data-list { flex-direction: column; } .all-teams, .teams-list { display: flex; width: 100%; } .teams-list { flex-direction: column; max-height: 400px; position: relative; .team-container { align-items: center; display: flex; padding: 5px 0; .simple-checkbox.hidden { display: inline-block !important; + .checkbox-label { display: inline-block; opacity: 0; } } } } .permission-selector { display: flex; flex-basis: 55px; flex-shrink: 0; justify-content: center; } .team-selector { align-items: center; display: flex; flex-grow: 1; .checkbox-label { margin-right: 5px; } } // header .header { align-items: center; font-size: 14px; font-weight: bold; padding: 5px 0 0; } .all-teams { align-items: center; border-bottom: 1px solid $color-gainsboro; margin-left: -10px; padding: 5px 10px; user-select: none; width: calc(100% + 20px); } } } #repository_row-info-table { .fas { color: $color-silver-chalice; } }