IMPR: Minor updates

This commit is contained in:
Tony Air 2020-08-14 05:32:02 +07:00
parent ab9ae473b0
commit 3e0ffff73e
4 changed files with 25 additions and 14 deletions

2
dist/css/app.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -178,15 +178,25 @@ textarea,
.container { .container {
position: relative; position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@media (min-width: map-get($grid-breakpoints, 'sm')) {
flex-direction: row;
}
} }
.typography { .typography {
flex: 1 1; flex: 1 1;
} }
.btn-close { .btn-close {
margin-left: 1rem; position: absolute;
top: 0;
right: 0;
@media (min-width: map-get($grid-breakpoints, 'sm')) {
position: static;
margin-left: 1rem;
}
} }
} }

View File

@ -10,8 +10,8 @@
.bootstrap-select .dropdown-toggle .filter-option .option { .bootstrap-select .dropdown-toggle .filter-option .option {
background: #dedede; background: #dedede;
padding: .2rem .5rem; padding: 0.2rem 0.5rem;
margin: .2rem; margin: 0.2rem;
color: #212529; color: #212529;
} }
@ -21,21 +21,22 @@ body {
} }
// shrink elements on scroll // shrink elements on scroll
body.shrink {} body.shrink {
}
// sticky footer // sticky footer
@media (min-width: map-get($grid-breakpoints, "sm")) { @media (min-width: map-get($grid-breakpoints, 'sm')) {
html, body { body {
height: 100%; height: 100%;
min-height: 100%; min-height: 100%;
} }
.wrapper { .wrapper {
min-height: 100%; min-height: 100%;
padding-bottom: $footer-size + $footer-bar-size + $grid-gutter-height / 2; padding-bottom: $footer-size + $footer-bar-size + $grid-gutter-height /
2;
//padding-top: $grid-gutter-height; //padding-top: $grid-gutter-height;
} }
.footer { .footer {
@ -126,15 +127,15 @@ body.shrink {}
} }
.copyright { .copyright {
padding-right: .5rem; padding-right: 0.5rem;
} }
li { li {
padding: 0 .5rem; padding: 0 0.5rem;
} }
} }
@media (min-width: map-get($grid-breakpoints, "sm")) { @media (min-width: map-get($grid-breakpoints, 'sm')) {
.wrapper { .wrapper {
padding-bottom: $footer-bar-size; padding-bottom: $footer-bar-size;
} }