@import "../../assets/scss/variables"; .component-admin { .login-form-container { text-align: center; padding: 30px 40px; color: $white; .login-label { font-size: $font-14; color: $black; padding: 8px; } .button { width: 300px; } } .edit-container { .title { display: block; font-size: $font-30; font-weight: bolder; text-transform: uppercase; padding: 20px 0; } .form { .label { display: block; font-size: $font-20; text-transform: uppercase; padding: 20px 0 5px 0; } .gallery-container { display: flex; background: $white; border-radius: 4px; width: 100%; padding: 5px; min-height: 100px; .image-add { appearance: none; display: inline-block; position: relative; border: 2px solid $light-gray; border-radius: 4px; height: 100px; width: 100px; margin: 5px; cursor: pointer; &:before { content: '\e90a'; font-family: $font-icon; font-size: $font-30; color: $light-gray; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } input { visibility: hidden; } } .image-box { display: inline-block; position: relative; border: 2px solid $light-gray; height: 100px; width: 120px; margin: 5px; border-radius: 4px; overflow: hidden; .image { position: absolute; height: 100%; width: 100%; object-fit: cover; z-index: 0; } .remove, .set-main { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 2px; color: $black; height: 20px; width: 20px; background: $white-alpha; padding: 0; margin: 0; cursor: pointer; font-size: $font-12; z-index: 10; } .remove { color: $red; } .set-main { color: $green; right: 30px; } &.main { border: 2px solid $yellow; } } } .selected-exhibition, .selected-work, .selected-video { display: block; position: relative; font-size: $font-16; font-weight: bolder; border-radius: 4px; border: 2px solid $white; background: $white-alpha; cursor: pointer; padding: 8px 50px 8px 15px; margin-bottom: 5px; &:before { content: '\e903'; position: absolute; top: 8px; right: 10px; font-family: $font-icon; font-size: $font-20; color: $gray; } } .preview-box { border-radius: 4px; background: $white-alpha2; padding: 10px; width: 100%; } } } .menu { background: $dark-gray; .section-title { display: block; width: 100%; padding: 50px 10px 10px; font-size: $font-22; font-weight: bolder; text-transform: uppercase; color: $white; text-align: center; border-bottom: 1px solid $black-alpha; } .action { display: block; appearance: none; border: none; border-radius: 0px; width: 100%; padding: 10px; font-size: $font-14; text-transform: uppercase; color: $white; background: $dark-gray; cursor: pointer; border-bottom: 1px solid $black-alpha; &.active { background: $yellow; color: $black; border: none; } } } } @media (min-width: map-get($grid-breakpoints, 'md')) { .component-admin { .menu { position: fixed; height: 100vh; width: 25%; } } } @media (min-width: map-get($grid-breakpoints, 'lg')) { .component-admin { .menu { width: 16.66%; } } }