Commit | Line | Data |
---|---|---|
2901b096 | 1 | .userProfileUser { |
07c80400 MW |
2 | .contentHeaderIcon { |
3 | position: relative; | |
4 | ||
5 | a { | |
6 | display: block; | |
7 | } | |
8 | ||
9 | .badgeOnline { | |
10 | left: 0; | |
11 | pointer-events: none; | |
12 | position: absolute; | |
13 | ||
14 | @include screen-md-up { | |
15 | bottom: 0; | |
16 | } | |
17 | ||
18 | @include screen-sm-down { | |
19 | color: transparent; | |
20 | padding: 0; | |
21 | top: 0; | |
22 | width: 0; | |
23 | ||
24 | &::before { | |
25 | background-color: inherit; | |
26 | border: 1px solid rgba(255, 255, 255, 1); | |
27 | border-radius: 50%; | |
28 | content: ""; | |
29 | height: 16px; | |
30 | left: 34px; /* 48px (avatar) - 16px (width) - 2px (border-left + border-right) */ | |
31 | position: absolute; | |
32 | width: 16px; | |
33 | } | |
34 | } | |
35 | } | |
36 | } | |
37 | ||
2772d4eb MW |
38 | .contentHeaderIcon a { |
39 | display: block; | |
2901b096 MW |
40 | } |
41 | ||
46770eba | 42 | .contentHeaderDescription { |
34208c98 AE |
43 | margin-top: 20px; |
44 | } | |
91918c8f | 45 | |
07c80400 | 46 | @include screen-sm-down { |
91918c8f MW |
47 | display: flex; |
48 | flex-wrap: wrap; | |
49 | ||
50 | .contentHeaderIcon { | |
51 | display: block; | |
52 | flex: 0 0 48px; | |
53 | margin-right: 10px; | |
54 | ||
55 | img { | |
56 | width: 48px !important; | |
57 | height: 48px !important; | |
58 | } | |
59 | } | |
60 | ||
61 | .contentHeaderTitle { | |
62 | flex: 0 0 calc(100% - 58px); | |
63 | max-width: calc(100% - 58px); | |
64 | } | |
07c80400 MW |
65 | } |
66 | ||
67 | @include screen-xs { | |
91918c8f MW |
68 | .contentHeaderNavigation { |
69 | flex: 0 0 100%; | |
70 | ||
71 | .userProfileButtonContainer { | |
72 | display: flex; | |
73 | ||
74 | > li { | |
75 | flex: 1 1 auto; | |
76 | margin-top: 0 !important; | |
5d9e3dd0 MW |
77 | |
78 | &:not(:last-child) { | |
79 | margin-right: 1px; | |
80 | } | |
89f914f1 MW |
81 | |
82 | .invisible { | |
83 | display: none !important; | |
84 | } | |
91918c8f MW |
85 | } |
86 | } | |
87 | } | |
88 | } | |
89 | ||
90 | @include screen-md-up { | |
91 | .contentHeaderIcon { | |
92 | flex: 0 0 128px; | |
93 | margin-right: 20px; | |
94 | } | |
95 | } | |
27db335a AE |
96 | } |
97 | ||
1bcbab84 MW |
98 | .userTitleBadge { |
99 | max-width: 154px; | |
100 | overflow: hidden; | |
101 | text-overflow: ellipsis; | |
102 | } | |
103 | ||
cd358fd9 | 104 | .userAvatarImage { |
1f633a6b | 105 | background-color: #fff; |
cd358fd9 AE |
106 | border-radius: 50%; |
107 | } | |
108 | ||
929f7e47 MW |
109 | .userAvatarList { |
110 | display: flex; | |
111 | flex-wrap: wrap; | |
cd358fd9 | 112 | margin-bottom: -10px; |
929f7e47 MW |
113 | |
114 | > li { | |
cd358fd9 AE |
115 | flex: 0 0 48px; |
116 | margin-bottom: 10px; | |
929f7e47 MW |
117 | text-align: center; |
118 | ||
cd358fd9 AE |
119 | &:not(:last-child) { |
120 | margin-right: -12px; | |
121 | } | |
122 | ||
929f7e47 MW |
123 | > a { |
124 | display: block; | |
cd358fd9 AE |
125 | |
126 | > img { | |
7b27189d | 127 | border: 2px solid #fff; |
cd358fd9 | 128 | } |
929f7e47 MW |
129 | } |
130 | } | |
98618a3e MW |
131 | |
132 | &.small { | |
133 | > li { | |
134 | flex: 0 0 24px; | |
135 | ||
136 | &:not(:last-child) { | |
137 | margin-right: -6px; | |
138 | } | |
139 | ||
140 | > a { | |
141 | > img { | |
7b27189d | 142 | border: 1px solid #fff; |
98618a3e MW |
143 | } |
144 | } | |
c5dd767e | 145 | } |
98618a3e | 146 | } |
929f7e47 MW |
147 | } |
148 | ||
149 | .userList { | |
150 | .box48 { | |
151 | align-items: center; | |
152 | } | |
b8eab696 | 153 | } |
06a511ea | 154 | |
e41f8bc3 MW |
155 | .userProfilePreview { |
156 | position: relative; | |
157 | ||
158 | .userInformation { | |
159 | padding-bottom: 16px; | |
160 | } | |
161 | ||
162 | .buttonGroupNavigation { | |
163 | position: absolute; | |
164 | bottom: 0; | |
165 | right: 0; | |
166 | } | |
167 | } | |
168 | ||
b3df3a4d AE |
169 | /* using `dl` + `.inlineDataList` to prevent styles applied to the |
170 | data list provided by the `userInformation` template */ | |
171 | .userProfilePreview dl.inlineDataList { | |
172 | margin-top: 10px; | |
173 | ||
174 | @include wcfFontSmall; | |
175 | } | |
98618a3e MW |
176 | |
177 | /* user notifications */ | |
178 | .userNotificationItemList > .notificationItem { | |
179 | &.notificationUnconfirmed { | |
180 | align-items: center; | |
181 | display: flex; | |
182 | ||
183 | > .box32 { | |
184 | flex: 1 1 auto; | |
185 | } | |
186 | ||
187 | > .notificationItemMarkAsConfirmed { | |
188 | flex: 0 0 auto; | |
189 | } | |
190 | } | |
191 | } |