Skip to content

Commit 1e7c4c4

Browse files
authored
Merge pull request #243 from vdvibhu20/scale-down
Scale down
2 parents 62eb90a + 587d9af commit 1e7c4c4

File tree

6 files changed

+30
-24
lines changed

6 files changed

+30
-24
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: 2 additions & 1 deletion
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

@@ -17,7 +18,7 @@
1718
display: none;
1819
position: absolute;
1920
left: 100%;
20-
top: -7px;
21+
top: -5px;
2122
}
2223

2324
.new{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.container-courses {
2-
padding: 5%;
2+
padding: 2% 5%;
33

44
.status-circle {
55
transform: none;

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

Lines changed: 6 additions & 5 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{
@@ -30,10 +26,15 @@
3026
.nav-list {
3127
margin-top: 0;
3228
}
33-
29+
30+
.nav-items>.notify-icon{
31+
width: 10px;
32+
}
33+
3434
.round-img{
3535
@include dimensions(40px, 40px);
3636
cursor: pointer;
37+
margin-left: 40px;
3738
}
3839

3940
.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;

sass/styles/objects/o-overview-container/o-overview-container.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.overview-container {
2-
padding:5%;
2+
padding: 2% 5%;
33
}
44

55
.o-overview-recent {

0 commit comments

Comments
 (0)