diff --git a/Web/Presenters/templates/Group/View.xml b/Web/Presenters/templates/Group/View.xml index 219b751e..9189664e 100644 --- a/Web/Presenters/templates/Group/View.xml +++ b/Web/Presenters/templates/Group/View.xml @@ -98,28 +98,28 @@ {var $avatarLink = ((is_null($avatarPhoto) ? FALSE : $avatarPhoto->isAnonymous()) ? "/photo" . ("s/" . base_convert((string) $avatarPhoto->getId(), 10, 32)) : $club->getAvatarLink())}
{if !is_null($thisUser) && $club->canBeModifiedBy($thisUser)} {if is_null($avatarPhoto) == true} - {_add_photo} + {_add_photo} {else} - -
diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index 711c8d2b..7d26d60e 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -74,7 +74,7 @@ {if !is_null($thisUser) && $user->getId() == $thisUser->getId()} onmouseover=" {if is_null($user->getAvatarPhoto()) == false && $user->getAvatarPhoto()->getURL() != "$serverUrl/assets/packages/static/openvk/img/camera_200.png"} _avatarDelete.style.backgroundColor='rgba(0, 0, 0, 0.7)'; - deleteButton.style.opacity='100%'; + deleteButton.style.opacity='0.7'; {/if} avatarChange.style.backgroundColor='rgba(0, 0, 0, 0.7)'; avatarChange.style.opacity='100%'; @@ -82,11 +82,10 @@ onmouseleave=" {if is_null($user->getAvatarPhoto()) == false && $user->getAvatarPhoto()->getURL() != "$serverUrl/assets/packages/static/openvk/img/camera_200.png"} _avatarDelete.style.backgroundColor='rgba(0, 0, 0, 0)'; - deleteButton.style.opacity='0%'; + deleteButton.style.opacity='0'; {/if} avatarChange.style.backgroundColor='rgba(0, 0, 0, 0)'; - avatarChange.style.opacity='0%'; - //pizdec + avatarChange.style.opacity='0'; "{/if}>
diff --git a/Web/static/css/avataredit.css b/Web/static/css/avataredit.css index df10bebc..85a72863 100644 --- a/Web/static/css/avataredit.css +++ b/Web/static/css/avataredit.css @@ -17,7 +17,7 @@ { opacity:0; } -#avatarChange, #_avatarDelete, #groupAvatarChange { +#avatarChange, #_avatarDelete, #_newPicture, #deleteButton, #_avatarDelete { -webkit-transition: all 200ms ease-in-out; -moz-transition: all 200ms ease-in-out; -o-transition: all 200ms ease-in-out; @@ -40,6 +40,7 @@ div#avatarAll:hover #avatarChange { } #uploadIcon { + opacity:75%; position:absolute; left:0; margin-left:20px; @@ -62,25 +63,4 @@ div#avatarAll:hover #avatarChange { .newpict:hover { color:#5680a0; -} -#groupAvatarChange -{ - position:absolute; - width:100px; - background-color:rgba(51, 51, 51, 0); - list-style-type: none; - font-size:11px; - padding-top:10px; - padding-bottom:10px; - opacity:0%; -} -#_newAvatarPicture2 -{ - position:absolute; - left:0; - margin-left:20px; -} -#_newAvatarPicture:hover -{ - color:#D9D9D9; -} +} \ No newline at end of file