summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/profile.scss
blob: de4d9fd80fa25c7c8f1cdc3af1b0fc30e48f7542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.account-page {
  fieldset {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

.profile-avatar-form-option {
  hr {
    margin: 10px 0;
  }
}

.oauth-buttons {
  .btn-group {
    margin-right: 10px;
  }

  .btn {
    line-height: 40px;
    height: 42px;
    padding: 0px 12px;

    img {
      width: 32px;
      height: 32px;
    }
  }
}

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

.calendar-hint {
  margin-top: -12px;
  float: right;
  font-size: 12px;
}

.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.
  max-width: 750px;
  margin: auto;
}

.modal-profile-crop {
  .modal-dialog {
    width: 500px;
  }

  .modal-body {
    p {
      display: table;
      margin: auto;
      overflow: hidden;
    }

    img {
      display: block;
      max-width: 400px;
      max-height: 400px;
    }

    .cropper-bg {
      background: none;
    }

    .cropper-crop-box {
      box-sizing: content-box;
      border: 999px solid transparentize(#ccc, 0.5);
      @include transform(translate(-999px, -999px));
    }
  }
}

@media (max-width: 520px) {
  .modal-profile-crop .modal-dialog {
    width: auto;
  }
}