diff --git a/sigiStatic/css/base_site.css b/sigiStatic/css/base_site.css index fca9867..5a3dd78 100644 --- a/sigiStatic/css/base_site.css +++ b/sigiStatic/css/base_site.css @@ -253,3 +253,44 @@ div#footer a { .actions { padding: 0 0 10px 16px; } + + +/* ROW FLEX (baseado em http://www.bootply.com/126437) + Para fazer celulas com a mesma altura em uma linha da grid */ + +.row-flex, .row-flex > div[class*='col-'] { + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + flex:1 1 auto; +} + +.row-flex-wrap { + -webkit-flex-flow: row wrap; + align-content: flex-start; + flex:0; +} + +.row-flex > div[class*='col-'], .container-flex > div[class*='col-'] { + margin:-.2px; /* hack adjust for wrapping */ +} + +.container-flex > div[class*='col-'] div,.row-flex > div[class*='col-'] div { + width:100%; +} + +.flex-col { + display: flex; + display: -webkit-flex; + flex: 1 100%; + flex-flow: column nowrap; +} + +.flex-grow { + display: flex; + -webkit-flex: 2; + flex: 2; +} + diff --git a/templates/snippets/modules/charts-convenios.html b/templates/snippets/modules/charts-convenios.html index f7cd95a..bc4e9d8 100644 --- a/templates/snippets/modules/charts-convenios.html +++ b/templates/snippets/modules/charts-convenios.html @@ -1,9 +1,9 @@ {% load static from staticfiles %} -