mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-10 01:43:37 +01:00
Fixes an issue where content on the bottom of the page would be impossible to click on narrow devices.
190 lines
3.7 KiB
SCSS
190 lines
3.7 KiB
SCSS
.navbar .nav .badge {
|
|
padding: 3px 6px 3px;
|
|
background-color: $navbar-inverse-link-active-bg;
|
|
color: #fff;
|
|
}
|
|
|
|
.navbar .nav .active .badge, li.dropdown.open a.dropdown-toggle span.badge {
|
|
padding: 3px 6px 3px;
|
|
background-color: $navbar-inverse-bg;
|
|
color: #fff;
|
|
}
|
|
|
|
.navbar--inbox-animation {
|
|
animation: animationFrames ease-in-out 1.5s;
|
|
animation-iteration-count: infinite;
|
|
-webkit-animation: animationFrames ease-in-out 1.5s;
|
|
-webkit-animation-iteration-count: infinite;
|
|
-moz-animation: animationFrames ease-in-out 1.5s;
|
|
-moz-animation-iteration-count: infinite;
|
|
-o-animation: animationFrames ease-in-out 1.5s;
|
|
-o-animation-iteration-count: infinite;
|
|
-ms-animation: animationFrames ease-in-out 1.5s;
|
|
-ms-animation-iteration-count: infinite;
|
|
}
|
|
|
|
@keyframes animationFrames{
|
|
0% {
|
|
background-color: #fff;
|
|
}
|
|
100% {
|
|
background-color: $navbar-inverse-toggle-border-color;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes animationFrames{
|
|
0% {
|
|
background-color: #fff;
|
|
}
|
|
100% {
|
|
background-color: $navbar-inverse-toggle-border-color;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes animationFrames {
|
|
0% {
|
|
background-color: #fff;
|
|
}
|
|
100% {
|
|
background-color: $navbar-inverse-toggle-border-color;
|
|
}
|
|
}
|
|
|
|
@-o-keyframes animationFrames {
|
|
0% {
|
|
background-color: #fff;
|
|
}
|
|
100% {
|
|
background-color: $navbar-inverse-toggle-border-color;
|
|
}
|
|
}
|
|
|
|
@-ms-keyframes animationFrames {
|
|
0% {
|
|
background-color: #fff;
|
|
}
|
|
100% {
|
|
background-color: $navbar-inverse-toggle-border-color;
|
|
}
|
|
}
|
|
|
|
.btn-fab {
|
|
border-radius: 100%;
|
|
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.12), 0px 1px 6px rgba(0, 0, 0, 0.12);
|
|
margin: 0px;
|
|
padding: 3px 5px 4px 8px;
|
|
font-size: 26px;
|
|
width: 56px;
|
|
height: 56px;
|
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0s;
|
|
outline: medium none !important;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
position: fixed;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
margin-right: 7px;
|
|
margin-bottom: 7px;
|
|
z-index: 99;
|
|
}
|
|
|
|
.profile--dropdown {
|
|
min-width: 220px;
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.profile--dropdown-media {
|
|
padding: 3px 15px;
|
|
}
|
|
|
|
.profile--dropdown-img {
|
|
min-height: 45px;
|
|
min-width: 45px;
|
|
height: 45px;
|
|
width: 45px;
|
|
}
|
|
|
|
.profile--dropdown-username {
|
|
font-weight: 700;
|
|
font-size: 1.2em;
|
|
line-height: 1.33em;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.profile--dropdown-displayname {
|
|
font-weight: 700;
|
|
font-size: 1.2em;
|
|
line-height: 1.33em;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.profile--image-dropdown > a {
|
|
padding: 0px !important;
|
|
}
|
|
|
|
.profile--image-avatar {
|
|
min-height: 50px;
|
|
min-width: 50px;
|
|
height: 50px;
|
|
width: 50px;
|
|
}
|
|
|
|
.navbar-inverse {
|
|
border: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
nav.navbar .nav > li:not(.profile--image-dropdown) {
|
|
-moz-osx-font-smoothing: grayscale;
|
|
position: relative;
|
|
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: $navbar-inverse-link-color;
|
|
height: 0px;
|
|
-webkit-transition-property: height;
|
|
transition-property: height;
|
|
-webkit-transition-duration: 0.3s;
|
|
transition-duration: 0.3s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
&:hover, &:focus, &:active {
|
|
&:before {
|
|
height: 4px
|
|
}
|
|
}
|
|
|
|
&.active:before {
|
|
height: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
nav.navbar .nav {
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
|
|
& > li {
|
|
&.active a {
|
|
background-color: $navbar-inverse-link-active-bg-mobile !important;
|
|
}
|
|
|
|
&.dropdown.profile--image-dropdown a .visible-xs {
|
|
padding-left: 15px;
|
|
line-height: 40px;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
body {
|
|
padding-bottom: 60px;
|
|
}
|
|
}
|