-
Notifications
You must be signed in to change notification settings - Fork 0
/
discordWidget.css
194 lines (194 loc) · 4.83 KB
/
discordWidget.css
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
discord-widget {
--color: #000;
--bgColor: #000;
--textColor: #000;
--buttonColor: #000;
--statusColor: #000;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
border-radius: 6px;
overflow: hidden;
font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #fff;
}
discord-widget ::-webkit-scrollbar {
width: 20px;
}
discord-widget ::-webkit-scrollbar-track {
background: var(--bgColor);
}
discord-widget ::-webkit-scrollbar-thumb {
background: #222222;
border: 8px solid var(--bgColor);
border-radius: 10px;
-webkit-transition: ease-in-out 0.5s;
transition: ease-in-out 0.5s;
}
discord-widget ::-webkit-scrollbar-thumb:hover {
background: var(--color);
-webkit-transition: ease-in-out 0.5s;
transition: ease-in-out 0.5s;
}
discord-widget widget-header {
background-color: var(--color);
padding: 10px; //este local muda oo tamanho onde fica escrito os jogadores online
display: -webkit-box;
display: -ms-flexbox;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-negative: 0;
flex-shrink: 0;
}
discord-widget widget-header widget-header-count {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
text-align: left;
}
discord-widget widget-body {
background-color: var(--bgColor);
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-webkit-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
padding: 20px;
overflow-x: hidden;
overflow-y: scroll;
}
discord-widget widget-body widget-member {
position: relative;
width: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
margin: 6px 0;
}
discord-widget widget-body widget-member widget-member-avatar {
margin-right: 4px;
position: relative;
contain: content;
}
discord-widget widget-body widget-member widget-member-avatar img {
border-radius: 50%;
height: 32px;
width: 32px;
border: 2px solid var(--color);
background-color: var(--color);
}
discord-widget widget-body widget-member .widget-member-status {
color: var(--statusColor);
border-radius: 50%;
bottom: 5px;
height: 10px;
position: absolute;
right: 0px;
width: 10px;
border: 2px solid var(--color);
}
discord-widget widget-body widget-member widget-member-status-online {
background-color: #57f287;
}
discord-widget widget-body widget-member widget-member-status-idle {
background-color: #fee75c;
}
discord-widget widget-body widget-member widget-member-status-dnd {
background-color: #ed4245;
}
discord-widget widget-body widget-member widget-member-status-text {
height: 32px;
max-width: 80px;
overflow: hidden;
line-height: 32px;
padding: 0 8px 0 37px;
pointer-events: none;
position: absolute;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
top: 0;
left: 172px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
color: var(--statusColor);
}
discord-widget widget-body widget-member widget-member-name {
font-weight: bold;
height: 32px;
max-width: 160px;
overflow: hidden;
line-height: 32px;
padding: 0 8px 0 37px;
pointer-events: none;
position: absolute;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
top: 0;
left: 12px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
}
discord-widget widget-footer {
background-color: var(--bgColor);
-webkit-box-shadow: 0 -1px 30px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 -1px 18px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.2);
-ms-flex-negative: 0;
flex-shrink: 0;
padding: 6px 6px 6px 20px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: right;
-ms-flex-align: right;
align-items: right;
min-height: 30px;
}
discord-widget widget-footer widget-button-join {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-negative: 0;
flex-shrink: 0;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 120px;
height: 30px;
border-radius: 4px;
background-clip: padding-box;
background-color: var(--color);
color: var(--textColor) !important;
text-decoration: none;
font-weight: 700;
-webkit-transition: opacity 0.25s ease-out;
-o-transition: opacity 0.25s ease-out;
transition: opacity 0.25s ease-out;
margin: 0 auto;
}
discord-widget widget-footer widget-button-join:hover {
background-color: var(--buttonColor);
}