Fixed broken height by masters blame

stable
Xavier Julián 2014-06-23 15:51:11 +02:00
parent 5aa80d79c1
commit 66363bfe2c
2 changed files with 13 additions and 17 deletions

View File

@ -1,5 +1,5 @@
//-extends layout extends dummy-layout
extends login-layout //extends login-layout
block head block head
title Taiga Project management web application with scrum in mind! title Taiga Project management web application with scrum in mind!

View File

@ -1,6 +1,7 @@
// Basic layout styles // Basic layout styles
html { html {
height: 100%; height: 100%;
min-height: 100%;
width: 100%; width: 100%;
} }
body { body {
@ -9,35 +10,32 @@ body {
font: 16px/21px 'DroidSans', Arial, sans-serif; font: 16px/21px 'DroidSans', Arial, sans-serif;
-webkit-font-smoothing: antialiased; // Fix for webkit renderin -webkit-font-smoothing: antialiased; // Fix for webkit renderin
height: 100%; height: 100%;
min-height: 100%;
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
width: 100%; width: 100%;
} }
.master {
height: 100%;
min-height: 100%;
}
.wrapper { .wrapper {
align-content: stretch; @include table-flex();
align-items: stretch;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
min-height: 100%; min-height: 100%;
padding-left: 90px; padding-left: 90px;
} }
.menu-secondary { .menu-secondary {
@include table-flex-child(1, 260px, 0, 260px);
background: $whitish; background: $whitish;
flex-basis: 260px;
flex-grow: 1;
flex-shrink: 0;
padding: 2em 1em; padding: 2em 1em;
} }
.menu-tertiary { .menu-tertiary {
@include table-flex-child(1, 190px, 0, 190px);
background-color: $dark-grayish-lime-green; background-color: $dark-grayish-lime-green;
flex-basis: 190px;
flex-grow: 1;
flex-shrink: 0;
padding: 2em 1em; padding: 2em 1em;
} }
@ -47,9 +45,7 @@ body {
} }
.main { .main {
flex-basis: 600px; @include table-flex-child(8, 600px, 0, 600px);
flex-grow: 8;
flex-shrink: 0;
padding: 2em; padding: 2em;
} }