-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Notification icon is now clickable and refactor some code (#496)
* fix: Notification icon is now clickable and refactor some code * refactor: added missed blank space in index.scss
- Loading branch information
1 parent
5be568b
commit d1ddbd5
Showing
7 changed files
with
289 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,243 @@ | ||
.content { | ||
strong { | ||
color: #00262B !important; | ||
font-weight: 500 !important; | ||
} | ||
} | ||
|
||
.font-size-18 { | ||
font-size: 18px !important; | ||
} | ||
|
||
.font-size-12 { | ||
font-size: 12px !important; | ||
} | ||
|
||
.font-size-14 { | ||
font-size: 14px !important; | ||
} | ||
|
||
.font-size-22 { | ||
font-size: 22px !important; | ||
} | ||
|
||
.py-10px { | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
} | ||
|
||
.pb-10px { | ||
padding-bottom: 10px; | ||
} | ||
|
||
.line-height-24 { | ||
line-height: 24px; | ||
} | ||
|
||
.line-height-20 { | ||
line-height: 20px; | ||
} | ||
|
||
.line-height-10 { | ||
line-height: 10px !important; | ||
} | ||
|
||
.zIndex-2{ | ||
z-index: 2 !important; | ||
} | ||
|
||
#pgn__checkpoint{ | ||
z-index: 1 !important; | ||
} | ||
|
||
.icon-size-20 { | ||
width: 20px !important; | ||
height: 20px !important; | ||
} | ||
|
||
.icon-size-56 { | ||
width: 56px !important; | ||
height: 56px !important; | ||
} | ||
|
||
.plus-icon { | ||
margin-top: -0.5px; | ||
} | ||
|
||
.cursor-pointer { | ||
cursor: pointer; | ||
} | ||
|
||
.notification-button { | ||
width: 36px !important; | ||
height: 36px !important; | ||
|
||
&:focus, &:active { | ||
box-shadow: inset 0 0 0 2px #00262B !important; | ||
} | ||
|
||
&:focus, &:active, &:hover { | ||
background-color: #F2F0EF !important; | ||
} | ||
|
||
span:first-child { | ||
margin: 0px !important; | ||
} | ||
} | ||
|
||
.notification-lg-bell-icon { | ||
width: 56px !important; | ||
height: 56px !important; | ||
|
||
span:first-child { | ||
width: 32px !important; | ||
height: 32px !important; | ||
} | ||
} | ||
|
||
.notification-button.btn-icon-light-active { | ||
background-color: #F2F0EF !important; | ||
} | ||
|
||
.notification-icon { | ||
height: 23.33px !important; | ||
width: 23.33px !important; | ||
z-index: 1; | ||
} | ||
|
||
.notification-badge { | ||
position: absolute; | ||
border: 2px solid #FFFFFF; | ||
font-size: 11px !important; | ||
font-weight: 500 !important; | ||
font-variant-numeric: lining-nums tabular-nums; | ||
background: var(--text-on-light-brand-500, #D23228) !important; | ||
line-height: 20px !important; | ||
padding: 4px !important; | ||
padding-left: 3px !important; | ||
margin-left: -21px; | ||
} | ||
|
||
.notification-end-title { | ||
font-weight: 500 !important; | ||
color: #00262B !important; | ||
margin-top: 20px !important; | ||
} | ||
|
||
.line-height-normal { | ||
line-height: normal; | ||
} | ||
|
||
.notification-badge-unrounded { | ||
margin-top: 4px !important; | ||
min-width: 23px !important; | ||
height: 16px; | ||
min-height: 16px !important; | ||
border-radius: 54px !important; | ||
} | ||
|
||
.notification-badge-rounded { | ||
border-radius: 50%; | ||
margin-top: 1px; | ||
height: 20px; | ||
min-height: 20px !important; | ||
width: 20px !important; | ||
min-width: 20px !important; | ||
} | ||
|
||
.popover { | ||
filter: none; | ||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15), 0px 2px 8px rgba(0, 0, 0, 0.15); | ||
margin-left: 5px !important; | ||
margin-top: 7px !important; | ||
|
||
.popover-header{ | ||
top: 0px; | ||
} | ||
|
||
.tabs{ | ||
top: 72px; | ||
} | ||
|
||
&.medium-screen { | ||
min-width: 34.313rem; | ||
} | ||
|
||
&.large-screen { | ||
min-width: 34.313rem; | ||
} | ||
|
||
.dropdown-toggle::after { | ||
display: none; | ||
} | ||
|
||
.expandable { | ||
position: relative !important; | ||
margin-left: 4px; | ||
padding: 2px 5px; | ||
border-radius: 10rem; | ||
font-size: 9px; | ||
} | ||
|
||
.dropdown-toggle { | ||
font-size: 14px; | ||
padding-top: 0px !important; | ||
padding-bottom: 12px !important; | ||
|
||
div { | ||
min-height: 6px !important; | ||
min-width: 6px !important; | ||
} | ||
} | ||
|
||
.dropdown-item { | ||
font-size: 14px; | ||
font-weight: 500; | ||
} | ||
|
||
.notification-content { | ||
.notification-item-content { | ||
display: -webkit-box; | ||
-webkit-line-clamp: 2; | ||
-webkit-box-orient: vertical; | ||
text-overflow: ellipsis; | ||
|
||
p { | ||
margin-bottom: 0px; | ||
} | ||
|
||
b { | ||
color: #00262B; | ||
} | ||
} | ||
|
||
.unread { | ||
height: 10px; | ||
width: 10px; | ||
} | ||
} | ||
|
||
.notification-feedback-widget { | ||
right: -37px !important; | ||
position: fixed !important; | ||
transform: rotate(270deg) !important; | ||
top: 50% !important; | ||
} | ||
} | ||
|
||
|
||
.popover-margin-top { | ||
margin-top: -68px !important; | ||
} | ||
|
||
.height-inherit { | ||
height: inherit; | ||
} | ||
|
||
.height-100vh { | ||
height: 100vh | ||
} | ||
|
||
.height-91vh { | ||
height: 91vh | ||
} |
Oops, something went wrong.