Skip to content
Snippets Groups Projects
profile.scss 1.90 KiB
@import 'shared';

:local(.profile-entry) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  pointer-events: auto;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);

  :local(.logo) {
    width: 150px;
    position: absolute;
    right: 32px;
    bottom: 32px;
    display: none;

    @media (min-width: 500px) {
      display: block;
    }
  }

  :local(.avatar-selector-container) {
    flex: 1;
    position: relative;
    width: 95%;
    text-align: center;
    margin: 16px;

    .loading-panel {
      background: transparent;
    }
  }

  :local(.avatar-selector) {
    border: none;
    width: 95%;
    height: 100%;
    z-index: 1;
    position: relative;
  }

  :local(.form) {
    height: 100%;
  }

  :local(.box) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    flex: 1 1 100%;
    width: 60vw;
    min-width: 300px;
    max-width: 700px;
    min-height: 200px;
    max-height: 1000px;
    height: 90%;

    :local(.links) {
      display: flex;
      justify-content: center;
      width: 100%;
      margin: 16px;

      a {
        margin: 0px 12px;
        color: $dark-grey-text;
      }
    }

    :local(.darkened) {
      background-color: $darkest-transparent;
    }
  }

  :local(.title) {
    @extend %top-title;
    width: 100%;
    color: black;
    text-align: center;
  }

  :local(.display-name) {
    font-size: 1.2em;
    margin-right: 0.5em;
  }
  :local(.form-field-text) {
    @extend %form-field-on-white;
    @extend %default-font;

    font-size: 1.1em;
    color: black;
    outline: none;
    line-height: 2.0em;
    padding-left: 1.25em;
    padding-right: 1.25em;
    margin: 0.5em 0;
  }

  :local(.form-submit) {
    @extend %bottom-action-button;
    margin: 0;
    min-height: max-content;
    margin-top: 16px;
  }
}