277 lines
5.2 KiB
SCSS
277 lines
5.2 KiB
SCSS
$spacer: 1rem;
|
|
$blue: #007db8;
|
|
$white: #fff;
|
|
|
|
@import './Menu/menu.scss';
|
|
|
|
.dropdown-item a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.icon-button {
|
|
display: inline-flex;
|
|
line-height: 3rem;
|
|
background: transparent;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
border: none;
|
|
height: 3rem;
|
|
width: 3rem;
|
|
padding: .75rem;
|
|
justify-content: center;
|
|
align-items:center;
|
|
&:hover, &:focus {
|
|
background: rgba(0,0,0,.1);
|
|
}
|
|
}
|
|
|
|
.learning-header {
|
|
min-width: 0;
|
|
|
|
.course-title-lockup {
|
|
min-width: 0;
|
|
|
|
span {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding-bottom: 0.1rem;
|
|
}
|
|
}
|
|
|
|
.user-dropdown {
|
|
.btn {
|
|
height: 3rem;
|
|
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
|
|
padding: 0 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.site-header-mobile,
|
|
.site-header-desktop {
|
|
position: relative;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.site-header-mobile {
|
|
height: 3rem;
|
|
|
|
.nav-link {
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
img {
|
|
height: 1.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
.site-header-desktop {
|
|
box-shadow: 0 1px 0 0 rgba(0,0,0,.1);
|
|
background: $white;
|
|
.nav-link {
|
|
text-decoration: none;
|
|
}
|
|
.logo {
|
|
display: block;
|
|
box-sizing: content-box;
|
|
position: relative;
|
|
top: -.05em;
|
|
height: 1.75rem;
|
|
padding: 1rem 0;
|
|
margin-right: 1rem;
|
|
img {
|
|
display: block;
|
|
height: 100%;
|
|
}
|
|
}
|
|
.main-nav {
|
|
.nav-link {
|
|
padding: 1.125rem 1rem;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
letter-spacing: .01em;
|
|
}
|
|
.nav-link:hover,
|
|
.nav-link:focus,
|
|
.nav-link.active,
|
|
.expanded .nav-link {
|
|
background: $component-active-bg;
|
|
color: $component-active-color;
|
|
}
|
|
.menu {
|
|
position: static;
|
|
.menu-content {
|
|
border-top: solid 2px $component-active-bg;
|
|
left: 0;
|
|
right: 0;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,.25);
|
|
border-bottom-left-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
}
|
|
.search-input {
|
|
border-radius: $rounded-pill;
|
|
}
|
|
}
|
|
.bell-container{
|
|
button{
|
|
position: relative;
|
|
background: transparent;
|
|
color: black;
|
|
border: none;
|
|
&:hover, &:active, &:focus{
|
|
background: transparent !important;
|
|
color: black !important;
|
|
border: none;
|
|
}
|
|
&::before{
|
|
border: none !important
|
|
}
|
|
}
|
|
.bell-icon-container{
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 1e+16px;
|
|
&:hover{
|
|
background: #EAE6E5;
|
|
}
|
|
.bell-icon{
|
|
margin-left: -4px !important;
|
|
margin-top: -1px;
|
|
&:focus{
|
|
box-shadow: none !important
|
|
}
|
|
}
|
|
}
|
|
.badge{
|
|
z-index: 1;
|
|
border-radius: 54px;
|
|
border: 2px solid #FFFFFF;
|
|
padding: 4px 5px;
|
|
width: 23px;
|
|
height: 16px;
|
|
margin-top: 3px;
|
|
margin-left: 18px;
|
|
.count{
|
|
font-size: 9px;
|
|
line-height: 20px;
|
|
width: 13px;
|
|
height: 8px;
|
|
font-weight: 600;
|
|
margin-top: -3px;
|
|
}
|
|
}
|
|
}
|
|
.notification-tray-container{
|
|
width: 549px;
|
|
height: 100vh;
|
|
margin-top: 9px !important;
|
|
padding: 32px 0px 24px;
|
|
max-width: 549px;
|
|
overflow: scroll;
|
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15), 0px 2px 8px rgba(0, 0, 0, 0.15);
|
|
border-radius: 0px 0px 4px 4px;
|
|
.notification-title{
|
|
line-height: 24px;
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
}
|
|
.setting-icon-container{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
align-items: flex-end;
|
|
width: 100%;
|
|
position: absolute;
|
|
margin-left: -40px;
|
|
margin-top: -7px;
|
|
span{
|
|
height:20px;
|
|
width: 20px;
|
|
}
|
|
}
|
|
.notification-section{
|
|
padding: 10px 24px 10px 24px;
|
|
}
|
|
.notification-item{
|
|
padding: 10px 24px 10px 24px
|
|
}
|
|
.icon-container{
|
|
padding: 12px 12px 12px 0px
|
|
}
|
|
.notification-content{
|
|
padding: 0px;
|
|
.notification-tabs{
|
|
height: 38px;
|
|
width:501px;
|
|
margin-left: 12px;
|
|
button{
|
|
font-size: 14px;
|
|
}
|
|
.dropdown-toggle::after{
|
|
display: none;
|
|
}
|
|
.dropdown-toggle{
|
|
height: 36px;
|
|
padding-top: 0px !important;
|
|
padding-left: 12px !important;
|
|
div{
|
|
min-height: 6px;
|
|
min-width: 6px;
|
|
}
|
|
}
|
|
.notification-tab, .dropdown-item{
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
padding: 0px 12px 12px !important;
|
|
height: 36px;
|
|
font-size:14px;
|
|
font-weight: 500;
|
|
line-height: 24px;
|
|
padding-bottom: 18px;
|
|
}
|
|
.expandable{
|
|
height: 20px;
|
|
width: 20px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 6px 7px;
|
|
gap: 8px;
|
|
position: relative;
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
.notification-item-content{
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
line-height: 24px;
|
|
width: 417px;
|
|
}
|
|
.unread{
|
|
max-height: 48px;
|
|
width: 24px;
|
|
div{
|
|
background: #D23228;
|
|
border-radius: 100px;
|
|
height: 10px;
|
|
width: 10px;
|
|
}
|
|
}
|
|
.course-container{
|
|
line-height: 20px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|