profile.scss 3.21 KB
Newer Older
Phil Hughes's avatar
Phil Hughes committed
1 2 3
.profile-avatar-form-option {
  hr {
    margin: 10px 0;
4 5 6
  }
}

Phil Hughes's avatar
Phil Hughes committed
7 8 9 10 11 12 13 14 15 16 17 18 19
.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
20 21
.account-btn-link,
.profile-settings-sidebar a {
22
  color: $md-link-color;
Phil Hughes's avatar
Phil Hughes committed
23 24
}

25 26 27 28 29 30
.oauth-buttons {
  .btn-group {
    margin-right: 10px;
  }

  .btn {
31 32
    line-height: 40px;
    height: 42px;
33
    padding: 0 12px;
34 35 36 37 38 39 40

    img {
      width: 32px;
      height: 32px;
    }
  }
}
41 42 43 44 45 46 47 48 49 50 51 52 53 54

// 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;
    }
  }
}
55

Phil Hughes's avatar
Phil Hughes committed
56
.account-well {
57
  padding: 10px;
58 59 60
  background-color: $help-well-bg;
  border: 1px solid $help-well-border;
  border-radius: $border-radius-base;
Phil Hughes's avatar
Phil Hughes committed
61 62 63 64 65 66 67

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

68 69 70 71 72
.calendar-hint {
  margin-top: -12px;
  float: right;
  font-size: 12px;
}
73 74 75 76

.profile-link-holder {
  display: inline;

77 78 79 80 81 82 83 84
  a {
    color: $blue-dark;
    text-decoration: none;
  }
}

// Middle dot divider between each element in a list of items.
.middle-dot-divider {
85
  &:after {
86 87
    content: "\00B7"; // Middle Dot
    padding: 0 6px;
88 89 90 91 92 93 94 95 96
    font-weight: bold;
  }

  &:last-child {
    &:after {
      content: "";
      padding: 0;
    }
  }
97
}
98

99 100 101 102
.profile-user-bio {
  // Limits the width of the user bio for readability.
  max-width: 750px;
  margin: auto;
103
}
104

Phil Hughes's avatar
Phil Hughes committed
105 106 107 108 109 110 111
.user-avatar-button {
  .file-name {
    display: inline-block;
    padding-left: 10px;
  }
}

Phil Hughes's avatar
Phil Hughes committed
112 113 114 115 116 117 118 119 120 121 122 123 124 125
.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
126
.key-icon {
127 128
  color: $ssh-key-icon-color;
  font-size: $ssh-key-icon-size;
Phil Hughes's avatar
Phil Hughes committed
129 130 131 132 133 134
  line-height: 42px;
}

.key-created-at {
  line-height: 42px;
}
135 136 137

.profile-settings-content {
  a {
138
    color: $md-link-color;
139 140
  }
}
Phil Hughes's avatar
Phil Hughes committed
141 142

.change-username-title {
143
  color: $gl-warning;
Phil Hughes's avatar
Phil Hughes committed
144 145 146
}

.remove-account-title {
147
  color: $gl-danger;
Phil Hughes's avatar
Phil Hughes committed
148 149 150 151 152
}

.provider-btn-group {
  display: inline-block;
  margin-right: 10px;
Phil Hughes's avatar
Phil Hughes committed
153
  border: 1px solid $provider-btn-group-border;
Phil Hughes's avatar
Phil Hughes committed
154 155 156 157 158 159 160 161 162 163
  border-radius: 3px;

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

.provider-btn-image {
  display: inline-block;
  padding: 5px 10px;
Phil Hughes's avatar
Phil Hughes committed
164
  border-right: 1px solid $provider-btn-group-border;
Phil Hughes's avatar
Phil Hughes committed
165 166 167 168 169 170 171 172 173 174 175 176 177 178

  > 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
179
    color: $provider-btn-not-active-color;
Phil Hughes's avatar
Phil Hughes committed
180 181
  }
}
182 183 184

.profile-settings-message {
  line-height: 32px;
185 186 187 188
  color: $warning-message-color;
  background-color: $warning-message-bg;
  border: 1px solid $warning-message-border;
  border-radius: $border-radius-base;
189 190 191 192 193 194
}

.oauth-applications {
  form {
    display: inline-block;
  }
195 196 197 198

  .last-heading {
    width: 105px;
  }
199
}
Alfredo Sumaran's avatar
Alfredo Sumaran committed
200 201 202 203

.modal-profile-crop {
  .modal-dialog {
    width: 380px;
Alfredo Sumaran's avatar
Alfredo Sumaran committed
204 205 206 207 208

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

Alfredo Sumaran's avatar
Alfredo Sumaran committed
209 210 211
  }

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

  .crop-controls {
217
    padding: 10px 0 0;
Alfredo Sumaran's avatar
Alfredo Sumaran committed
218 219 220
    text-align: center;
  }
}