Fixed word-wrap in codemirror's line numbers
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / ui / userProfile.scss
CommitLineData
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
42 .contentDescription {
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 }
91918c8f
MW
81 }
82 }
83 }
84 }
85
86 @include screen-md-up {
87 .contentHeaderIcon {
88 flex: 0 0 128px;
89 margin-right: 20px;
90 }
91 }
27db335a
AE
92}
93
cd358fd9 94.userAvatarImage {
1f633a6b 95 background-color: #fff;
cd358fd9
AE
96 border-radius: 50%;
97}
98
929f7e47
MW
99.userAvatarList {
100 display: flex;
101 flex-wrap: wrap;
cd358fd9 102 margin-bottom: -10px;
929f7e47
MW
103
104 > li {
cd358fd9
AE
105 flex: 0 0 48px;
106 margin-bottom: 10px;
929f7e47
MW
107 text-align: center;
108
cd358fd9
AE
109 &:not(:last-child) {
110 margin-right: -12px;
111 }
112
929f7e47
MW
113 > a {
114 display: block;
cd358fd9
AE
115
116 > img {
117 padding: 2px;
118 }
929f7e47
MW
119 }
120 }
98618a3e
MW
121
122 &.small {
123 > li {
124 flex: 0 0 24px;
125
126 &:not(:last-child) {
127 margin-right: -6px;
128 }
129
130 > a {
131 > img {
132 padding: 1px;
133 }
134 }
c5dd767e 135 }
98618a3e 136 }
929f7e47
MW
137}
138
139.userList {
140 .box48 {
141 align-items: center;
142 }
b8eab696 143}
06a511ea 144
e41f8bc3
MW
145.userProfilePreview {
146 position: relative;
147
148 .userInformation {
149 padding-bottom: 16px;
150 }
151
152 .buttonGroupNavigation {
153 position: absolute;
154 bottom: 0;
155 right: 0;
156 }
157}
158
b3df3a4d
AE
159/* using `dl` + `.inlineDataList` to prevent styles applied to the
160 data list provided by the `userInformation` template */
161.userProfilePreview dl.inlineDataList {
162 margin-top: 10px;
163
164 @include wcfFontSmall;
165}
98618a3e
MW
166
167/* user notifications */
168.userNotificationItemList > .notificationItem {
169 &.notificationUnconfirmed {
170 align-items: center;
171 display: flex;
172
173 > .box32 {
174 flex: 1 1 auto;
175 }
176
177 > .notificationItemMarkAsConfirmed {
178 flex: 0 0 auto;
179 }
180 }
181}