mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
cb6578228e
* Fast avatar changing * Fixed changing avatar from settings * fixed otstup
88 lines
1.4 KiB
CSS
88 lines
1.4 KiB
CSS
.text_add_image
|
|
{
|
|
position:absolute;
|
|
font-size:12px;
|
|
color: #2B587A;
|
|
text-align:center;
|
|
width: 100%;
|
|
left: 0px;
|
|
bottom:30px;
|
|
}
|
|
.text_add_image:hover
|
|
{
|
|
color:rgb(48, 41, 141);
|
|
}
|
|
.text_add_image, .avatarDelete img, .avatarDelete, .avatar_variants, .variant {
|
|
-webkit-transition: all 200ms ease-in-out;
|
|
-moz-transition: all 200ms ease-in-out;
|
|
-o-transition: all 200ms ease-in-out;
|
|
transition: all 200ms ease-in-out;
|
|
}
|
|
.avatarDelete
|
|
{
|
|
position:absolute;
|
|
right:0%;
|
|
background-color: rgba(0, 0, 0, 0.75);
|
|
padding: 1px 0px 4px 3px;
|
|
border-radius: 0px 0px 0px 5px;
|
|
opacity:0;
|
|
cursor:pointer;
|
|
}
|
|
.avatarDelete img
|
|
{
|
|
width:77%;
|
|
opacity:60%;
|
|
vertical-align:middle;
|
|
}
|
|
.avatarDelete img:hover
|
|
{
|
|
opacity:100%
|
|
}
|
|
|
|
div.avatar_block:hover .avatarDelete
|
|
{
|
|
opacity:1 !important;
|
|
}
|
|
|
|
div.avatar_block:hover .avatar_variants
|
|
{
|
|
opacity:1 !important;
|
|
margin-bottom:1px;
|
|
}
|
|
|
|
.avatar_variants
|
|
{
|
|
opacity:0;
|
|
position:absolute;
|
|
background-color: rgba(0, 0, 0, 0.75);
|
|
width:100%;
|
|
bottom:0;
|
|
margin-bottom:-8px;
|
|
color:white;
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.variant
|
|
{
|
|
opacity:60%;
|
|
display:flex;
|
|
user-select:none;
|
|
}
|
|
|
|
.variant p
|
|
{
|
|
color:white;
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.variant img
|
|
{
|
|
color:white;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.variant:hover
|
|
{
|
|
opacity:100%;
|
|
}
|