.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; } .avatar_controls { width:100%; height:100%; overflow:hidden; position:absolute; pointer-events:none; } .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; pointer-events:all; } .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; pointer-events:all; } .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%; }