From 2fdbd430a4f062ac11e306ca697533f7f6833b40 Mon Sep 17 00:00:00 2001
From: lalka2018 <99399973+lalka2016@users.noreply.github.com>
Date: Sun, 23 Apr 2023 21:07:50 +0300
Subject: [PATCH 1/5] hover from attributes to css
---
Web/static/css/avataredit.css | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/Web/static/css/avataredit.css b/Web/static/css/avataredit.css
index 9f9c6a52..8e64a3ab 100644
--- a/Web/static/css/avataredit.css
+++ b/Web/static/css/avataredit.css
@@ -1,4 +1,4 @@
-/*avatar controls idk*/
+/*avatar controls*/
#avatarEdit
{
position: relative;
@@ -38,11 +38,20 @@
{
color:#B2B2B2;
}
+#_newPicture:hover
+{
+ color: #D9D9D9;
+}
.newpict
{
position:absolute;
- margin-left:0;
- margin-right:0;
+ text-align:center;
+ left:20%;
+ top:75%;
+}
+.newpict:hover
+{
+ color:#5680a0;
}
#groupAvatarChange
{
@@ -60,4 +69,8 @@
position:absolute;
left:0;
margin-left:20px;
-}
\ No newline at end of file
+}
+#_newAvatarPicture:hover
+{
+ color:#D9D9D9;
+}
From a55a7bc3e2f5e4f51fb83b1eaf15db44a493394f Mon Sep 17 00:00:00 2001
From: lalka2018 <99399973+lalka2016@users.noreply.github.com>
Date: Sun, 23 Apr 2023 21:09:23 +0300
Subject: [PATCH 2/5] hover to css
---
Web/Presenters/templates/Group/View.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Web/Presenters/templates/Group/View.xml b/Web/Presenters/templates/Group/View.xml
index bc10caba..0543dc2d 100644
--- a/Web/Presenters/templates/Group/View.xml
+++ b/Web/Presenters/templates/Group/View.xml
@@ -119,7 +119,7 @@
From f5e5db0abddc8a091c8f191b966ec3db10081e32 Mon Sep 17 00:00:00 2001
From: lalka2018 <99399973+lalka2016@users.noreply.github.com>
Date: Sun, 23 Apr 2023 21:10:14 +0300
Subject: [PATCH 3/5] hover to css
---
Web/Presenters/templates/User/View.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml
index 711c8d2b..6f74d402 100644
--- a/Web/Presenters/templates/User/View.xml
+++ b/Web/Presenters/templates/User/View.xml
@@ -70,7 +70,7 @@
-
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)';
@@ -97,7 +97,7 @@
- {tr("new_photo")}
+ {tr("new_photo")}
From a0bef11949f244c4b1c1f633e1acf542ec428112 Mon Sep 17 00:00:00 2001
From: lalka2018 <99399973+lalka2016@users.noreply.github.com>
Date: Sun, 23 Apr 2023 21:43:27 +0300
Subject: [PATCH 4/5] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20id=20?=
=?UTF-8?q?=D1=83=20li?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Web/Presenters/templates/Group/View.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Web/Presenters/templates/Group/View.xml b/Web/Presenters/templates/Group/View.xml
index 0543dc2d..06c20768 100644
--- a/Web/Presenters/templates/Group/View.xml
+++ b/Web/Presenters/templates/Group/View.xml
@@ -118,7 +118,7 @@
- -
+
-
{tr("new_photo")}
From 23c6e121c384ff35c82f393c77fde61e0946cee8 Mon Sep 17 00:00:00 2001
From: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com>
Date: Tue, 25 Apr 2023 13:12:31 +0700
Subject: [PATCH 5/5] Update openvk.cls.js
---
Web/static/js/openvk.cls.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Web/static/js/openvk.cls.js b/Web/static/js/openvk.cls.js
index 571223a0..ea3e797f 100644
--- a/Web/static/js/openvk.cls.js
+++ b/Web/static/js/openvk.cls.js
@@ -108,9 +108,13 @@ document.addEventListener("DOMContentLoaded", function() { //BEGIN
return e.preventDefault();
});
u("#_newPicture").on("click", function(e) {
- MessageBox(tr('new_photo'),
+ MessageBox(tr('new_photo'),
"
", [