diff options
author | Mario <mario@mariovavti.com> | 2018-11-26 11:44:10 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-12-02 10:16:24 +0100 |
commit | 58c0b81908a2d6ec1b60cf3762a920b652649cf9 (patch) | |
tree | b078ad9bae99244998d6ba7da4dc08f7c094119b /view/css | |
parent | 3b42bd43abcf70c97c070328e07aad45f85a8945 (diff) | |
download | volse-hubzilla-58c0b81908a2d6ec1b60cf3762a920b652649cf9.tar.gz volse-hubzilla-58c0b81908a2d6ec1b60cf3762a920b652649cf9.tar.bz2 volse-hubzilla-58c0b81908a2d6ec1b60cf3762a920b652649cf9.zip |
use flex for the default template
(cherry picked from commit 3775be4ce9c56639146efa877eefabb9e9f23b3c)
Diffstat (limited to 'view/css')
-rw-r--r-- | view/css/default.css | 37 | ||||
-rw-r--r-- | view/css/mod_connedit.css | 1 |
2 files changed, 26 insertions, 12 deletions
diff --git a/view/css/default.css b/view/css/default.css index 765a197d9..bd0f14ba2 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -1,22 +1,37 @@ main { - display: table; - table-layout: fixed; position: relative; - width: 100%; - height: 100vh; + min-height: 100vh; + display: flex; + flex-direction: column; } -aside { +.content { + display: flex; + flex: 1; +} + +.columns { + display: flex; + flex:1; + min-width: 0; +} + +#region_1 { position: relative; - display: table-cell; - vertical-align: top; + order: 1; padding: 4.5rem 7px 0px 7px; } -section { +#region_2 { position: relative; - width: 100%; - display: table-cell; - vertical-align: top; + flex: 1; + order: 2; padding: 4.5rem 7px 200px 7px; + min-width: 0; +} + +#region_3 { + position: relative; + order: 3; + padding: 4.5rem 7px 0px 7px; } diff --git a/view/css/mod_connedit.css b/view/css/mod_connedit.css index 67a182c5c..b02f928f0 100644 --- a/view/css/mod_connedit.css +++ b/view/css/mod_connedit.css @@ -71,7 +71,6 @@ width: 32px; height: 32px; border-radius: 4px; - border: 1px solid #ccc; text-align: center; } |