Files
yeuchaybo/assets/scss/structure-and-layout/_site-container.scss
T
2018-07-04 10:00:50 +07:00

79 lines
1.2 KiB
SCSS

/* ## Site Container
--------------------------------------------- */
.site-container {
background-color: $site-container--background-color;
word-wrap: break-word;
-webkit-animation: fadein 1s;
animation: fadein 1s;
button:disabled,
button:disabled:hover,
input:disabled,
input:disabled:hover,
input[type="button"]:disabled,
input[type="button"]:disabled:hover,
input[type="reset"]:disabled,
input[type="reset"]:disabled:hover,
input[type="submit"]:disabled,
input[type="submit"]:disabled:hover {
border-width: 0;
color: $disabled--font-color;
background-color: $disabled--background-color;
cursor: not-allowed;
}
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.wrap,
.content-sidebar-wrap {
//width: 90%;
max-width: map_get($breakpoints, lg);
margin: 0 auto;
.wrap {
width: 100%;
min-width: 100%;
}
}
.content-sidebar-wrap {
margin: 6rem auto;
@include breakpoint(sm) {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.sidebar-content & {
flex-direction: row-reverse;
}
.center-content &,
.full-width-content & {
justify-content: center;
}
}
}