Skip to content

Commit 468f134

Browse files
committed
notification fixes:
- fixed notification bell icon - notification dropdown improved
1 parent 3fc638f commit 468f134

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

examples/components/nav-bar.hbs

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,45 +64,49 @@
6464
<span class="notify-dot new"></span>
6565
<i class="fas fa-bell"></i>
6666
</div>
67-
<div class="dropdown-ul o-notification display-none">
68-
<div class="dropdown-li row no-gutters">
69-
<div class="notify-type col-2 ">
67+
<div class="dropdown-ul o-notification">
68+
<div class="dropdown-li row">
69+
<div class="notify-type col-2 justify-content-center align-items-center">
7070
<div class="notify-icon">
7171
<span class="notify-dot new"></span>
72-
<img src="images/announcement.png" alt="">
72+
<img src="images/announcement.svg" alt="">
7373
</div>
7474
</div>
75+
7576
<div class="notify-text col-10">Please hard refresh (Ctrl Shift R) your web app to make sure that you are on latest version of the app. We just deployed some major changes so that might be causing
7677
issues for you.</div>
7778
</div>
7879

79-
<div class="dropdown-li row no-gutters">
80-
<div class="notify-type col-2 ">
80+
<div class="dropdown-li row">
81+
82+
<div class="notify-type col-2 justify-content-center align-items-center">
8183
<div class="notify-icon">
8284
<span class="notify-dot new"></span>
83-
<img src="images/announcement.png" alt="">
85+
<img src="images/announcement.svg" alt="">
8486
</div>
8587
</div>
8688
<div class="notify-text col-10">Please hard refresh (Ctrl Shift R) your web app to make sure that you are on latest version of the app. We just deployed some major changes so that might be causing
8789
issues for you.</div>
8890
</div>
8991

90-
<div class="dropdown-li row no-gutters">
91-
<div class="notify-type col-2 ">
92+
<div class="dropdown-li row">
93+
94+
<div class="notify-type col-2 justify-content-center align-items-center">
9295
<div class="notify-icon">
9396
<span class="notify-dot new"></span>
94-
<img src="images/announcement.png" alt="">
97+
<img src="images/announcement.svg" alt="">
9598
</div>
9699
</div>
97100
<div class="notify-text col-10">Please hard refresh (Ctrl Shift R) your web app to make sure that you are on latest version of the app. We just deployed some major changes so that might be causing
98101
issues for you.</div>
99102
</div>
100103

101-
<div class="dropdown-li row no-gutters">
102-
<div class="notify-type col-2 ">
104+
<div class="dropdown-li row">
105+
106+
<div class="notify-type col-2 justify-content-center align-items-center">
103107
<div class="notify-icon">
104108
<span class="notify-dot new"></span>
105-
<img src="images/announcement.png" alt="">
109+
<img src="images/announcement.svg" alt="">
106110
</div>
107111
</div>
108112
<div class="notify-text col-10">Please hard refresh (Ctrl Shift R) your web app to make sure that you are on latest version of the app. We just deployed some major changes so that might be causing
@@ -115,10 +119,12 @@
115119
{{>button type='solid' text='Login'}}
116120
</li> --}}
117121
</ul>
118-
122+
119123
<div class="round-img">
120124
<img src="/images/c++ode-red.svg" alt="">
121125
</div>
126+
127+
122128

123129
<div class="card">
124130
<div class="top-offset"></div>

sass/styles/elements/elements.notify-type.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
.notify-icon{
99
width: 20px;
10+
position: relative;
1011
}
1112

1213

sass/styles/objects/o-nav-layout/o-nav-layout.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
.notify-dot{
1313
@include dimensions(8px, 8px);
1414
}
15-
16-
.notify-icon{
17-
width: unset;
18-
}
1915
}
2016

2117
.main-nav{
@@ -34,6 +30,7 @@
3430
.round-img{
3531
@include dimensions(40px, 40px);
3632
cursor: pointer;
33+
margin-left: 40px;
3734
}
3835

3936
.round-img:hover{

sass/styles/objects/o-notification/o-notification.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.o-notification{
2-
padding-right: 10%;
3-
padding-left: 40%;
42
text-transform: none;
53
right: 0;
64
left: unset;

0 commit comments

Comments
 (0)