diff --git a/epicyon-profile.css b/epicyon-profile.css
index 4c6d636ca..96e3c9890 100644
--- a/epicyon-profile.css
+++ b/epicyon-profile.css
@@ -105,6 +105,22 @@ body, html {
margin: 5px;
}
+.buttonhighlighted {
+ border-radius: 4px;
+ background-color: green;
+ border: none;
+ color: white;
+ text-align: center;
+ font-size: 18px;
+ padding: 10px;
+ width: 20%;
+ max-width: 200px;
+ min-width: 100px;
+ transition: all 0.5s;
+ cursor: pointer;
+ margin: 5px;
+}
+
.timelineIcon {
width: 10%;
}
@@ -186,6 +202,22 @@ body, html {
margin: 5px;
}
+.buttonselectedhighlighted {
+ border-radius: 4px;
+ background-color: darkgreen;
+ border: none;
+ color: white;
+ text-align: center;
+ font-size: 18px;
+ padding: 10px;
+ width: 20%;
+ max-width: 200px;
+ min-width: 140px;
+ transition: all 0.5s;
+ cursor: pointer;
+ margin: 5px;
+}
+
.buttonselected span {
cursor: pointer;
display: inline-block;
diff --git a/img/icons/person.png b/img/icons/person.png
index ee96781d0..782f443a3 100644
Binary files a/img/icons/person.png and b/img/icons/person.png differ
diff --git a/webinterface.py b/webinterface.py
index 272f7578a..62fd43910 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -384,7 +384,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \
loginButton=''
followApprovalsSection=''
- followApprovals=''
+ followApprovals=False
linkToTimelineStart=''
linkToTimelineEnd=''
editProfileStr=''
@@ -402,11 +402,13 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \
with open(followRequestsFilename,'r') as f:
for line in f:
if len(line)>0:
- # show a star on the followers tab
- followApprovals=''
+ followApprovals=True
+ followersButton='buttonhighlighted'
+ if selected=='followers':
+ followersButton='buttonselectedhighlighted'
break
if selected=='followers':
- if len(followApprovals)>0:
+ if followApprovals:
with open(followRequestsFilename,'r') as f:
for followerHandle in f:
if len(line)>0:
@@ -440,7 +442,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool, \
'