Skip to content
profile.scss 3.82 KiB
Newer Older
Phil Hughes's avatar
Phil Hughes committed
.profile-avatar-form-option {
  hr {
    margin: 10px 0;
Phil Hughes's avatar
Phil Hughes committed
.avatar-image {
  @media (min-width: $screen-sm-min) {
    float: left;
    margin-bottom: 0;
  }
}

.avatar-file-name {
  position: relative;
  top: 2px;
  display: inline-block;
}

Phil Hughes's avatar
Phil Hughes committed
.account-btn-link,
.profile-settings-sidebar a,
.settings-sidebar a {
  color: $md-link-color;
.oauth-buttons {
  .btn-group {
    margin-right: 10px;
  }

  .btn {
    line-height: 40px;
    height: 42px;

// Profile > Account > Two Factor Authentication
.two-factor-new {
  .manual-instructions {
    h3 {
      margin-top: 0;
    }

    // Slightly increase the size of the details so they're easier to read
    dl {
      font-size: 1.1em;
    }
  }
}
Phil Hughes's avatar
Phil Hughes committed
.account-well {
  background-color: $help-well-bg;
  border: 1px solid $help-well-border;
  border-radius: $border-radius-base;
Phil Hughes's avatar
Phil Hughes committed

  ul {
    padding-left: 20px;
    margin-bottom: 0;
  }
}

.profile-link-holder {
  display: inline;

  a {
    color: $blue-dark;
    text-decoration: none;
  }
}

// Middle dot divider between each element in a list of items.
.middle-dot-divider {
  &:after {
    content: "\00B7"; // Middle Dot
    padding: 0 6px;
    font-weight: bold;
  }

  &:last-child {
    &:after {
      content: "";
      padding: 0;
    }
  }
.profile-user-bio {
  // Limits the width of the user bio for readability.
tauriedavis's avatar
tauriedavis committed
  max-width: 600px;
tauriedavis's avatar
tauriedavis committed
  margin: 10px auto;
tauriedavis's avatar
tauriedavis committed
  padding: 0 16px;
Phil Hughes's avatar
Phil Hughes committed
.user-avatar-button {
  .file-name {
    display: inline-block;
    padding-left: 10px;
  }
}

Phil Hughes's avatar
Phil Hughes committed
.key-list-item {
  .key-list-item-info {
    @media (min-width: $screen-sm-min) {
      float: left;
    }
  }

  .description {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

Phil Hughes's avatar
Phil Hughes committed
.key-created-at {
  line-height: 42px;
}

.profile-settings-content {
  a {
    color: $md-link-color;
Phil Hughes's avatar
Phil Hughes committed

.provider-btn-group {
  display: inline-block;
  margin-right: 10px;
Phil Hughes's avatar
Phil Hughes committed
  border: 1px solid $provider-btn-group-border;
Phil Hughes's avatar
Phil Hughes committed
  border-radius: 3px;

  &:last-child {
    margin-right: 0;
  }
}

.provider-btn-image {
  display: inline-block;
  padding: 5px 10px;
Phil Hughes's avatar
Phil Hughes committed
  border-right: 1px solid $provider-btn-group-border;
Phil Hughes's avatar
Phil Hughes committed

  > img {
    width: 20px;
  }
}

.provider-btn {
  display: inline-block;
  padding: 5px 10px;
  margin-left: -3px;
  line-height: 22px;
  background-color: $gray-light;

  &.not-active {
Phil Hughes's avatar
Phil Hughes committed
    color: $provider-btn-not-active-color;
Phil Hughes's avatar
Phil Hughes committed
  }
}

.oauth-applications {
  form {
    display: inline-block;
  }

  .last-heading {
    width: 105px;
  }
Alfredo Sumaran's avatar
Alfredo Sumaran committed

.modal-profile-crop {
  .modal-dialog {
    width: 380px;
Alfredo Sumaran's avatar
Alfredo Sumaran committed

    @media (max-width: $screen-sm-min) {
      width: auto;
    }

Alfredo Sumaran's avatar
Alfredo Sumaran committed
  }

  .profile-crop-image-container {
Alfredo Sumaran's avatar
Alfredo Sumaran committed
    height: 300px;
Alfredo Sumaran's avatar
Alfredo Sumaran committed
    margin: 0 auto;
  }

  .crop-controls {
    padding: 10px 0 0;
Alfredo Sumaran's avatar
Alfredo Sumaran committed
    text-align: center;
  }
}
.personal-access-tokens-never-expires-label {
  color: $personal-access-tokens-disabled-label-color;
.datepicker.personal-access-tokens-expires-at .ui-state-disabled span {
  text-align: center;
.created-personal-access-token-container {
  #created-personal-access-token {
    width: 90%;
    display: inline;
  }

  .btn-clipboard {
    margin-left: 5px;
  }
}

tauriedavis's avatar
tauriedavis committed
  .cover-controls a {
    margin-left: 5px;
  }
tauriedavis's avatar
tauriedavis committed
  .profile-header {
    margin: 0 auto;
tauriedavis's avatar
tauriedavis committed
    .avatar-holder {
      width: 90px;
tauriedavis's avatar
tauriedavis committed
      margin: 0 auto 10px;
tauriedavis's avatar
tauriedavis committed
    }
  }
  @media (max-width: $screen-xs-max) {
    .cover-block {
      padding-top: 20px;
    }

    .cover-controls {
      position: static;
tauriedavis's avatar
tauriedavis committed
      padding: 0 16px;
tauriedavis's avatar
tauriedavis committed
      display: -webkit-flex;
      display: flex;
tauriedavis's avatar
tauriedavis committed
        -webkit-flex-grow: 1;
        flex-grow: 1;
tauriedavis's avatar
tauriedavis committed
        &:first-child {
          margin-left: 0;
        }

table.u2f-registrations {
  th:not(:last-child),
  td:not(:last-child) {
    border-right: solid 1px transparent;
  }
}