-
Antoine Dupré authoredAntoine Dupré authored
custom-grid.scss 3.02 KiB
.hook-dashboard .flex-row {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: flex-start;
}
.fixWrap {
font-size: 0;
}
/*
auto width for to colums
*/
.flex {
display: flex;
}
.inside-right {
flex: 1;
}
.segment {
.width-10 {
width: 10%;
}
.width-20 {
width: 20%;
}
.width-25 {
width: 25%;
}
.width-30 {
width: 30%;
}
.width-40 {
width: 40%;
}
.width-45 {
width: 45%;
}
.width-50 {
width: 50%;
}
.width-60 {
width: 60%;
}
.width-70 {
width: 70%;
}
.width-75 {
width: 75%;
}
.width-80 {
width: 80%;
}
.width-90 {
width: 90%;
}
.width-100 {
width: 100%;
}
}
@media(max-width: 768px) {
.segment.sm-whitespace-normal {
.width-10 {
width: 100%;
}
.width-20 {
width: 100%;
}
.width-25 {
width: 100%;
}
.width-30 {
width: 100%;
}
.width-40 {
width: 100%;
}
.width-45 {
width: 100%;
}
.width-50 {
width: 100%;
}
.width-60 {
width: 100%;
}
.width-70 {
width: 100%;
}
.width-75 {
width: 100%;
}
.width-80 {
width: 100%;
}
.width-90 {
width: 100%;
}
.width-100 {
width: 100%;
}
}
}
.rowClear {
white-space: normal;
}
.d-block {
display: block;
}
/* custom paddings */
.padding-right-60 {
padding-right: 60px;
}
$medium: "(max-width: 1200px) and (min-width: 769px)";
.segment {
@media($medium) {
&.md {
&-hidden {
display: none;
}
&-quarter {
width: 25%;
}
&-third {
width: 33.333%;
}
&-half {
width: 50%;
}
&-two-third {
width: 66.666%;
}
&-three-quarter {
width: 75%;
}
&-full {
width: 100%;
}
&-auto {
width: auto;
}
&-whitespace-normal {
white-space: normal;
}
}
&.md-children {
&-hidden>div>solid-display {
display: none;
}
&-quarter>div>solid-display {
width: 25%;
}
&-third>div>solid-display {
width: 33.333%;
}
&-half>div>solid-display {
width: 50%;
}
&-two-third>div>solid-display {
width: 66.666%;
}
&-three-quarter>div>solid-display {
width: 75%;
}
&-full>div>solid-display {
width: 100%;
}
&-auto>div>solid-display {
width: auto;
}
}
}
}