Merge pull request #22 from zerooo-vpn/flexboxInSafari

Add Flexbox support for Safari.
master
Corné Oppelaar 9 years ago committed by GitHub
commit dd8a59d343

@ -56,21 +56,25 @@ body {
font-size: 100%; }
.flexcontainer {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column; }
.flexpage, .intro-page, .info-page, .footer-page, .login-page, .panel-page {
display: flex;
display: -webkit-flex;
justify-content: center;
align-items: center; }
.intro-page {
background: linear-gradient(#070a15, #252b46);
height: 100vh;
flex-direction: column; }
flex-direction: column;
-webkit-flex-direction: column; }
@media (max-width: 1200px) {
.intro-page {
height: 100%; } }
min-height: 80vh; } }
.intro-page-logo {
font-family: 'Montserrat', serif;
@ -100,11 +104,13 @@ body {
.info-page {
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: row;
-webkit-flex-direction: row;
min-height: 80vh; }
@media (max-width: 1200px) {
.info-page {
flex-direction: column;
height: 100%; } }
-webkit-flex-direction: column;
min-height: 80vh; } }
.info-page h1 {
font-family: 'Rubik';
@ -136,6 +142,7 @@ body {
flex: 1;
background-color: #e2f2f0;
flex-direction: column;
-webkit-flex-direction: column;
min-height: 20vh; }
@media (max-width: 1200px) {
.footer-page {
@ -163,6 +170,7 @@ body {
.login-page {
background: linear-gradient(#070a15, #252b46);
flex-direction: column;
-webkit-flex-direction: column;
padding: 40px; }
.login-page-logo {
@ -184,6 +192,7 @@ body {
.panel-page {
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: column; }
flex-direction: column;
-webkit-flex-direction: column; }
/*# sourceMappingURL=main.css.map */

@ -1,6 +1,6 @@
{
"version": 3,
"mappings": "AACQ,0BAAe;AACf,yBAAc;AAGd,uBAAY;AACZ,uFAA+E;ACNvF,SAAS;EACP,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,MAAM;;AAElB,YAAY;EACV,KAAK,EAAE,IAAI;;AAEb,cAAc;EACZ,OAAO,E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AAE,KAAK;EAtHhB,0BAAoC;IAoHtC,eAAgB;MAIZ,SAAS,EAAE,GAAG;MACd,MAAM,EAAE,IAAI;;AAKhB,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,MAAM;EACtB,sBAAsB,EAAE,MAAM;EAC9B,OAAO,EAAE,IAAI;;AAGf,gBAAiB;EACf,WAAW,EAAE,mBAAmB;EAChC,SAAS,EAAE,GAAG;EACd,cAAc,EAAE,SAAS;EACzB,KAAK,EAAE,OAAO;EAhJd,WAAW,EAFC,uOAAmD;;AAqJjE,gBAAiB;EACf,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,UAAU;EACtB,aAAa,EAAE,GAAG;EAClB,UAAU,EAAE,CAAC;EACb,aAAa,EAAE,iBAAiB;EAChC,YAAY,EAAE,iBAAiB;EAC/B,WAAW,EAAE,CAAC;;AAIhB,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,MAAM;EACtB,sBAAsB,EAAE,MAAM",
"sources": ["main.scss","navigation.sass","forms.sass"],
"names": [],
"file": "main.css"

@ -14,12 +14,17 @@ body {
}
.flexcontainer {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
}
.flexpage {
display: flex;
display: -webkit-flex;
justify-content: center;
align-items: center;
}
@ -49,8 +54,9 @@ $break-small: 1200px;
background: linear-gradient(#070a15, #252b46);
height: 100vh;
flex-direction: column;
-webkit-flex-direction: column;
@include break-small {
height: 100%; // remove the 100 VH on mobile devices to prevent unneccessary scrolling
min-height: 80vh;
}
}
@ -87,10 +93,12 @@ $break-small: 1200px;
@extend .flexpage;
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: row;
-webkit-flex-direction: row;
min-height: 80vh;
@include break-small {
flex-direction: column;
height: 100%;
-webkit-flex-direction: column;
min-height: 80vh;
}
}
@ -128,6 +136,7 @@ $break-small: 1200px;
flex: 1;
background-color: #e2f2f0;
flex-direction: column;
-webkit-flex-direction: column;
min-height: 20vh;
@include break-small {
height: 100%;
@ -164,6 +173,7 @@ $break-small: 1200px;
@extend .flexpage;
background: linear-gradient(#070a15, #252b46);
flex-direction: column;
-webkit-flex-direction: column;
padding: 40px;
}
@ -190,4 +200,5 @@ $break-small: 1200px;
@extend .flexpage;
background: linear-gradient(#F1D4AF, #eee9d9);
flex-direction: column;
-webkit-flex-direction: column;
}

Loading…
Cancel
Save