Merge pull request #647 from Safelite/feature/richardson/1201-mobile-address-fix
reformat of common styles
This commit is contained in:
commit
17e40d818d
1 changed files with 18 additions and 2 deletions
|
|
@ -1,54 +1,69 @@
|
||||||
// Common/Global Styles
|
// Common/Global Styles
|
||||||
// Use this file for global styles that don't or won't have their own stylesheet
|
// Use this file for global styles that don't or won't have their own stylesheet
|
||||||
html, body {
|
html,
|
||||||
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #4d5151;
|
color: #4d5151;
|
||||||
|
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
.prevent-squish {
|
.prevent-squish {
|
||||||
overflow-x: unset;
|
overflow-x: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.page-container-grouped-styles {
|
&.page-container-grouped-styles {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set max-width on columns to prevent overly-wide
|
// Set max-width on columns to prevent overly-wide
|
||||||
// components on extra wide screens.
|
// components on extra wide screens.
|
||||||
.col-md-6 {
|
.col-md-6 {
|
||||||
max-width: 472px;
|
max-width: 472px;
|
||||||
|
|
||||||
@include media-breakpoint-up(xl) {
|
@include media-breakpoint-up(xl) {
|
||||||
max-width: 708px;
|
max-width: 708px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.col {
|
.col {
|
||||||
max-width: 236px;
|
max-width: 236px;
|
||||||
|
|
||||||
&.one-list-card-width {
|
&.one-list-card-width {
|
||||||
max-width: 472px;
|
max-width: 472px;
|
||||||
|
|
||||||
@include media-breakpoint-up(xl) {
|
@include media-breakpoint-up(xl) {
|
||||||
max-width: 66.6666666%;
|
max-width: 66.6666666%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.shop-question {
|
.shop-question {
|
||||||
.col {
|
.col {
|
||||||
max-width: 472px;
|
max-width: 472px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-xl-4 {
|
.col-xl-4 {
|
||||||
max-width: 472px;
|
max-width: 472px;
|
||||||
|
|
||||||
.col {
|
.col {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//END set max-width on columns
|
//END set max-width on columns
|
||||||
}
|
}
|
||||||
|
|
||||||
.pointer {
|
.pointer {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container,
|
.container,
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
@ -72,6 +87,7 @@ body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-open {
|
.modal-open {
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
&.fade-on-route-transition {
|
&.fade-on-route-transition {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue