mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +08:00
41 lines
681 B
Plaintext
41 lines
681 B
Plaintext
.AvatarEditor {
|
|
position: relative;
|
|
|
|
.Dropdown-toggle {
|
|
opacity: 0;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 100%;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
text-align: center;
|
|
text-decoration: none;
|
|
border: 0;
|
|
}
|
|
.AvatarEditor--noAvatar {
|
|
opacity: 0.7;
|
|
}
|
|
&:hover .Dropdown-toggle,
|
|
&.open .Dropdown-toggle,
|
|
&.loading .Dropdown-toggle,
|
|
&.dragover .Dropdown-toggle {
|
|
opacity: 1;
|
|
}
|
|
.LoadingIndicator {
|
|
color: #fff;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
@media @tablet-up {
|
|
.Dropdown-menu {
|
|
left: 35%;
|
|
top: 65%;
|
|
}
|
|
}
|
|
}
|