// NAVBARS .navbar { background:$md-color; .nav{ .nav-item+.nav-item { margin-left: 0.2rem; } li { a{ color:#fff; padding: 0 10px; text-transform: uppercase; font-size: 0.8rem; line-height: 40px; display: inline-block; &.redeem, &.header-user-info{ padding-right: 5px; } &:hover{ background:rgba(lighten($md-color,55%),.1); border-radius: 4px; } @media (max-width:1025px){ padding: 0 8px; width: 100%; margin-top:5px; font-size: 0.7rem; } .material-icons{ vertical-align: middle; } .badge{ font-size: 13px; padding: 2px 6px; border-radius: 50%; left: 21px; top: 2px; position: absolute; line-height: 15px; @media (max-width:768px){ left:17px; } } &.dropdown-item { color:$md-color; padding: 5px 10px; text-transform: uppercase; font-size: 13px; line-height: 20px; &:hover{ background:rgba(lighten($md-color,50%),.3) !important; border-radius: 2px; color:$secondary-color; } } &.header-notification{ padding-left: 5px; padding-right: 12px; &::after{ display: none; } } } &.active a { background:rgba(lighten($md-color,55%),.1); border-radius: 4px; color:$link-hover-color; font-weight: bold; } &.nav-item { position: relative; .dropdown.open a{ background:rgba(lighten($md-color,55%),.1); border-radius: 2px; } .redeem-dropdown{ padding: 0px; margin: 0; min-width:120px; form{ position: relative; } input{ background-color: #eee; padding: 0 25px 0 5px; float: left; width:100px; } button { border: 0; background: none; padding:0 3px 0 0; position: absolute; float: right; margin:0; top: 5px; right: 0; opacity: 0.5; .material-icons{ font-size:16px; } } } } .header-notification-dropdown { width: 220px; max-height: 500px; padding: 0; margin: 0; li { .notification_header { background: #FAFAFA; padding: 10px 15px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); margin-bottom: 2px; h3{ font-size: 13px; margin: 0; } } a{ display: block; padding: 3px 15px; clear: both; font-weight: normal; text-transform: none; line-height: 1.42857143; color: #333; white-space: nowrap; .notification_desc { width: 100%; p{ margin: 0; span{ font-size: 11px; } } } } .notification_bottom { background: lighten($secondary-color,45%); padding: 4px 0; text-align: center; margin-top: 2px; } &:nth-child(odd) { background: lighten($primary-color,72%); } &:hover{ background: lighten($primary-color,70%); } } } } } .navbar-brand { background: url($brand-logo-path)-10px 0px no-repeat; width:285px; height: 42px; background-size:cover; margin-right: 0; padding: 0px; @media (max-width:330px){ width:220px; } } .form-search { margin:0; margin-top: 5px; padding: 0; background: #fff; border-radius: 4px; .search-query { padding-right: 3px; padding-right: 4px \9; padding-left: 5px; padding-left: 4px \9; /* IE7-8 doesn't have border-radius, so don't indent the padding */ margin-bottom: 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-transition: width 0.2s ease-in-out; -moz-transition:width 0.2s ease-in-out; -o-transition: width 0.2s ease-in-out; transition: width 0.2s ease-in-out; vertical-align: top; width: 350px; border-bottom: 0; box-shadow: none; @media(max-width:1024px){ width:250px; } @media(max-width:568px){ width:220px; } @media(max-width:414px){ width:245px; } &:focus { border-bottom: 0; box-shadow: none; } } button { border: 0; background: none; /** belows styles are working good */ padding: 4px 5px 0; position: relative; /* IE7-8 doesn't have border-radius, so don't indent the padding */ margin-bottom: 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .search-query:focus + button { z-index: 3; color: $secondary-color; } } .navbar-toggler { float: right; &:focus { background-color: inherit; } } .breadcrumb { margin: 0; background-color: inherit; } &.navbar-dark { .breadcrumb { a { color: #fff; } .active { color: #90caf9; } } .navbar-toggler { color: #fff; } } &.navbar-light { .breadcrumb { a { color: #000; } .active { color: #757575; } } .navbar-toggler { color: #000; } } @media (max-width: 544px) { .navbar-toggleable-xs { .navbar-brand { float: none; } ul { float: none; clear: both; } ul li { float: none; } form { float: left; } .nav-item { margin-left: 0; } } form { .header-search-wrapper { width: 20rem; .search-input{ width: 16rem; display: inline-block; } } } } @media (max-width: 768px) { .navbar-toggleable-sm { .navbar-brand { float: none; } ul { float: none; clear: both; } ul li { float: none; } form { float: left; padding-left: 4px; } .nav-item { margin-left: 0; } } .navbar-toggler { color:#fff; } } } @media only screen and (max-width: 992px){ .double-nav.navbar-fixed-top { position: relative; } } // Input line color .navbar-dark form { // Style Placeholders ::-webkit-input-placeholder { color: #fff!important; font-weight: 300; } :-moz-placeholder { /* Firefox 18- */ color: #fff!important; font-weight: 300; } ::-moz-placeholder { /* Firefox 19+ */ color: #fff!important; font-weight: 300; } :-ms-input-placeholder { color: #fff!important; font-weight: 300; } input[type=text] { border-bottom: 1px solid #fff; } .form-control { color: #fff; } } .navbar-light form { // Style Placeholders ::-webkit-input-placeholder { color: #1C2331!important; font-weight: 300; } :-moz-placeholder { /* Firefox 18- */ color: #1C2331!important; font-weight: 300; } ::-moz-placeholder { /* Firefox 19+ */ color: #1C2331!important; font-weight: 300; } :-ms-input-placeholder { color: #1C2331!important; font-weight: 300; } input[type=text] { border-bottom: 1px solid #1C2331; } .form-control { color: #1C2331; } }