profile.scss 3.6 KB
Newer Older
1 2
#profile_container {
  .profile_header {
augier's avatar
augier committed
3
    margin-bottom: 15px;
4
    background-color: $framed-background;
5
    padding-left: 10px;
augier's avatar
augier committed
6
    padding-right: 10px;
7 8
    padding-top: 20px;
    margin-top: -20px;
augier's avatar
augier committed
9
    box-shadow: $card-shadow;
10

11
    #edit_profile, #unblock_user_button, .aspect-dropdown {
augier's avatar
augier committed
12
      margin-top: 15px;
13 14
    }

15 16 17 18 19 20 21 22 23 24
    #author_info {
      h2 {
        line-height: 35px;
        margin-top: 10px;
        margin-bottom: 0px;
      }
      #name {
        font-weight: 700;
      }
      #diaspora_handle {
25
        color: $text-color-pale;
26 27 28 29 30 31
        font-size: 20px;
      }
      #sharing_message {
        cursor: default;
        font-size: 20px;
        &.circle {
32
          color: $text-grey;
33 34
          &:before { content: '\26aa'; }
        }
35
        &.entypo-check { color: darken($brand-success,20%); }
36 37 38 39 40
      }
      .description {
        margin-bottom: 20px;
        .tag {
          background-color: transparent;
41
          font-size: $font-size-base;
42
        }
43
        .tag {
44 45
          font-weight: 700;
        }
46
        .entypo-tag {
47 48 49 50 51
          margin: 0 5px;
          font-weight: normal;
          &:hover {text-decoration: none;}
        }
      }
52 53
    }

augier's avatar
augier committed
54
    #profile-horizontal-bar {
55 56 57 58 59 60 61 62 63
      border-top: 1px dashed $border-grey;
      min-height: 50px;
      margin-top: 10px;
      #profile_buttons {
        padding: 10px 0;
        > .profile_button {
          text-decoration: none;
          cursor: pointer;
          margin-right: 25px;
64
          .profile-header-icon {
65 66
            font-size: 24.5px;
            line-height: 30px;
67 68
            color: $text-color-pale;
            &:hover { color: $text-color; }
69 70 71 72
          }
          #mention_button { font-weight: 700; }
        }
      }
73

74 75 76
      ul#profile_nav {
        list-style: none;
        margin: 0;
77
        padding: 0;
78 79 80
        > li {
          display: inline-block;
          &.active {
81
            border-bottom: 3px solid $brand-primary;
82
            a {
83 84 85 86 87 88
              color: $text-color-active;

              [class^="entypo-"],
              [class*="entypo-"] {
                color: $text-color-active;
              }
89 90 91 92 93 94 95
            }
          }
          a {
            padding: 10px 15px;
            font-size: 16px;
            line-height: 46px;
            color: lighten($black,50%);
96
            [class^="entypo-"], [class*="entypo-"] {
97 98 99 100
              color: lighten($black,50%);
              margin-right: 2px;
            }
            &:hover {
101
              color: $text-color-active;
102
              text-decoration: none;
103 104 105 106 107

              [class^="entypo-"],
              [class*="entypo-"] {
                color: $text-color-active;
              }
108 109 110 111
            }
          }
        }
      }
112
    }
113
  }
114

115
  #profile {
augier's avatar
augier committed
116 117 118
    padding: 20px;
    margin-bottom: 35px;

119 120 121
    #profile_photo {
      margin-top: 10px;
      padding-bottom: 10px;
122 123 124
      text-align: center;
    }

125
    ul#profile_information {
augier's avatar
augier committed
126
      border-top: 1px dashed $border-grey;
127
      margin: 0;
128
      padding: 0;
129
      list-style: none;
130 131
      overflow-x: hidden;
      word-wrap: break-word;
132 133 134 135
      > li {
          margin-bottom: 2em;
        h4 { font-weight: bold; }
        }
136
    }
137

138
  }
139

140
  .stream-container > .pagination { text-align: center; }
augier's avatar
augier committed
141

142
  #people-stream {
augier's avatar
augier committed
143 144 145
    background-color: $white;
    box-shadow: $card-shadow;
  }
146
}
Augier's avatar
Augier committed
147 148 149 150 151 152 153 154

#email-form{
  padding: 0;
  .form-group{
    margin-left: 0;
    margin-right: 0;
  }
}
Augier's avatar
Augier committed
155 156 157 158 159 160 161 162 163 164

#birth-date{
  text-align: center;
  select{
    width: 32%;
    display: inline;
    &:first-of-type{ float: left; }
    &:last-of-type{ float: right; }
  }
}
165 166

#update_profile_form {
167 168
  .profile-visibility-hint { margin-left: 10px; }
  .visibility-hint-icon { cursor: default; }
169
}