2018-08-15 17:20:41 +00:00
|
|
|
.usercard {
|
|
|
|
width: 300px;
|
|
|
|
transition: box-shadow .5s;
|
|
|
|
z-index: 1;
|
|
|
|
color: #fff;
|
2018-09-19 08:18:20 +00:00
|
|
|
text-shadow: 0 1px 4px #111;
|
2018-10-22 21:05:22 +00:00
|
|
|
box-shadow: 0 1px 2px #000;
|
2019-01-03 18:02:38 +00:00
|
|
|
background-color: var(--accent-colour);
|
2019-01-18 20:10:09 +00:00
|
|
|
overflow: hidden;
|
2018-08-15 17:20:41 +00:00
|
|
|
|
|
|
|
&:hover {
|
2018-10-22 21:05:22 +00:00
|
|
|
box-shadow: 0 1px 4px #000;
|
2018-08-15 17:20:41 +00:00
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2019-01-03 18:02:38 +00:00
|
|
|
left: 0;
|
2018-08-15 17:20:41 +00:00
|
|
|
width: 100%;
|
2019-01-03 18:02:38 +00:00
|
|
|
height: 100%;
|
2019-01-18 20:10:09 +00:00
|
|
|
background: var(--accent-colour);
|
2018-08-15 17:20:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
display: flex;
|
2018-09-19 08:18:20 +00:00
|
|
|
flex-direction: column;
|
2019-01-18 20:10:09 +00:00
|
|
|
background-color: var(--background-colour-translucent-8);
|
2018-09-19 08:18:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__details {
|
|
|
|
margin: 5px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
2018-08-15 17:20:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar {
|
2018-09-19 08:18:20 +00:00
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
2018-08-15 17:20:41 +00:00
|
|
|
flex: 0 0 auto;
|
2019-01-18 20:10:09 +00:00
|
|
|
margin: 5px;
|
2018-08-15 17:20:41 +00:00
|
|
|
}
|
|
|
|
|
2018-09-19 08:18:20 +00:00
|
|
|
&__main {
|
2018-08-15 17:20:41 +00:00
|
|
|
display: flex;
|
2019-01-18 20:10:09 +00:00
|
|
|
height: 60px;
|
2018-09-19 08:18:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
display: flex;
|
2019-01-18 20:10:09 +00:00
|
|
|
|
|
|
|
&__background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
mask-image: linear-gradient(0deg, var(--background-colour) 0, transparent 100%);
|
|
|
|
-webkit-mask-image: linear-gradient(0deg, var(--background-colour) 0, transparent 100%);
|
|
|
|
background: var(--accent-colour) var(--background-pattern);
|
|
|
|
background-blend-mode: multiply;
|
|
|
|
}
|
2018-09-19 08:18:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__action {
|
2019-01-18 20:10:09 +00:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
font-size: 1.5em;
|
2018-09-19 08:18:20 +00:00
|
|
|
border-radius: 2px;
|
2019-01-18 20:10:09 +00:00
|
|
|
margin: 5px;
|
|
|
|
margin-right: 0;
|
|
|
|
color: #fff;
|
2018-09-19 08:18:20 +00:00
|
|
|
cursor: pointer;
|
|
|
|
pointer-events: initial;
|
2019-01-18 20:10:09 +00:00
|
|
|
transition: background-color .2s;
|
|
|
|
text-align: center;
|
2018-09-19 08:18:20 +00:00
|
|
|
|
2019-01-18 20:10:09 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: fade(#fff, 20%);
|
2018-09-19 08:18:20 +00:00
|
|
|
}
|
|
|
|
|
2019-01-18 20:10:09 +00:00
|
|
|
&:active {
|
|
|
|
background-color: fade(#fff, 10%);
|
2018-09-19 08:18:20 +00:00
|
|
|
}
|
2018-08-15 17:20:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
2018-09-23 14:42:15 +00:00
|
|
|
color: var(--user-colour);
|
|
|
|
text-shadow: 0 0 5px var(--user-colour);
|
2018-08-15 17:20:41 +00:00
|
|
|
font-size: 1.4em;
|
|
|
|
line-height: 1.4em;
|
2018-08-16 02:02:27 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 220px;
|
|
|
|
overflow: hidden;
|
2018-08-15 17:20:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__info {
|
|
|
|
font-size: .9em;
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__item {
|
|
|
|
margin-left: 2px;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2018-08-15 20:29:18 +00:00
|
|
|
flex: 0 0 auto;
|
2018-08-16 02:02:27 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 150px;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2018-08-15 17:20:41 +00:00
|
|
|
|
|
|
|
&--active {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--country {
|
|
|
|
align-items: baseline;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--donator {
|
2018-10-02 17:31:33 +00:00
|
|
|
//background-image: url('/images/tenshi.png');
|
2018-08-15 17:20:41 +00:00
|
|
|
width: 37px;
|
|
|
|
height: 11px;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|