Skip to content

Commit 6ad0492

Browse files
author
Kristan Kenney
committed
Replace missing icon in notification panel
1 parent d35dfc7 commit 6ad0492

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

web/css/styles.min.css

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -997,54 +997,57 @@ a {
997997
}
998998

999999
.l-profile__notifications {
1000-
border-radius: 30px;
10011000
color: #fff;
10021001
cursor: pointer;
1003-
float: left;
10041002
font-weight: 600;
1005-
height: 15px;
1006-
margin-right: 4px;
1007-
margin-top: 5px;
10081003
padding: 10px 5px 0;
1009-
width: 15px;
1004+
font-size: 0.95rem;
1005+
line-height: 0.95rem;
10101006
}
1007+
10111008
.l-profile__notifications.active {
1012-
background-color: #454545;
1013-
}
1014-
.l-profile__notifications:hover {
1015-
background-color: #333;
1016-
}
1017-
.l-profile__notifications:active {
1018-
background-color: #c4da5e;
1009+
border: 1px solid #378ccd !important;
1010+
background: linear-gradient(to bottom, rgba(210,232,250,1) 0%,rgba(187,220,247,1) 50%,rgba(162,207,244,1) 51%,rgba(194,224,248,1) 100%) !important;
1011+
color: #046c98 !important;
1012+
text-shadow: 0px -1px 1px rgba(255,255,255,0.5) !important;
1013+
box-shadow: 0px 1px 3px rgba(0,0,0,0.15),
1014+
inset 0px 0px 1px #fff,
1015+
inset -1px -1px 4px rgba(220,220,220,0.4) !important;
10191016
}
1017+
10201018
.l-profile__notifications.updates {
10211019
background-position: -202px -135px;
10221020
}
10231021

10241022
.notification-container {
1025-
background-color: #454545;
1026-
box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.3);
1023+
background-color: rgba(0,0,0,0.90);
1024+
box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.5);
10271025
list-style-type: none;
1028-
margin: 0;
1026+
margin: 0 21px;
10291027
overflow: hidden;
10301028
padding-left: 0;
10311029
position: fixed;
10321030
top: 34px;
1033-
width: 351px;
1034-
z-index: 200;
1031+
width: 393px;
1032+
z-index: 300;
10351033
font-size: 0.8rem;
10361034
padding: 0;
1037-
color: #7f7f7f;
1035+
color: #e9e9e9;
1036+
border-bottom-left-radius: 6px;
1037+
border-bottom-right-radius: 6px;
1038+
border: 1px solid #fff;
1039+
border-top: none;
10381040
}
1041+
10391042
.notification-container .unseen {
1040-
color: #ABABAB;
1043+
color: #f6a800;;
10411044
}
10421045

1043-
10441046
.notification-container li {
10451047
border-bottom: 1px solid #4b4b4b;
1046-
padding: 10px 15px 24px;
1048+
padding: 20px;
10471049
}
1050+
10481051
.notification-container .mark-seen {
10491052
background-color: #abc04b;
10501053
border: 2px solid #454545;

web/templates/admin/panel.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
</div>
2020
<!-- /.l-menu -->
2121
<div class="l-profile noselect">
22-
<a class="l-profile__notifications <? if($panel[$user]['NOTIFICATIONS'] == 'yes') echo " updates"; ?>">&nbsp;</a>
23-
<a class="l-profile__server" href="/edit/server/"><? echo gethostname(); ?></a>
24-
<a class="l-profile__username" href="/edit/user/?user=<?php echo $user; ?>"><i class="fas fa-user-circle"></i> <?=$user?></a>
25-
<a class="l-profile__logout" href="/logout/"> <?=__('Log out')?> <i class="fas fa-sign-out-alt"></i></a>
22+
<div class="l-menu__item"><a href="/edit/server/"><? echo gethostname(); ?></a></div>
23+
<div class="l-menu__item"><a class="l-profile__notifications <? if($panel[$user]['NOTIFICATIONS'] == 'yes') echo " updates"; ?>"><i class="fas fa-bell"></i></a></div>
24+
<div class="l-menu__item"><a href="/edit/user/?user=<?php echo $user; ?>"><i class="fas fa-user-circle"></i> <?=$user?></a></div>
25+
<div class="l-menu__item"><a href="/logout/"> <?=__('Log out')?> <i class="fas fa-sign-out-alt"></i></a></div>
2626
</div>
2727
<!-- /.l-profile -->
2828
</div>
2929
</div>
30-
<ul class="notification-container hidden"></ul>
30+
<ul class="notification-container hidden animated slideInDown"></ul>
3131

3232
<!-- /.l-header -->
3333

0 commit comments

Comments
 (0)