From 64f81bc31699ed239e4becec1cfa7ebc0bef2b5a Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 31 Mar 2017 20:21:41 +0200 Subject: Adds Webpack support and removes the use for Grunt Signed-off-by: Thomas Citharel use scss Signed-off-by: Thomas Citharel fix build, add babel, fix annotations fixes (and improvements !) for baggy add live reload & environments & eslint & theme fixes --- .../static/themes/material/css/layout.scss | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 app/Resources/static/themes/material/css/layout.scss (limited to 'app/Resources/static/themes/material/css/layout.scss') diff --git a/app/Resources/static/themes/material/css/layout.scss b/app/Resources/static/themes/material/css/layout.scss new file mode 100755 index 00000000..8b8b06e6 --- /dev/null +++ b/app/Resources/static/themes/material/css/layout.scss @@ -0,0 +1,50 @@ +/* ========================================================================== + Layout + ========================================================================== */ + +body { + display: flex; + min-height: 100vh; + flex-direction: column; + background: #fafafa; + + &.login main { + padding: 0; + min-height: 100vh; + } +} + +.border-bottom { + border-bottom: 1px solid #ddd; +} + +nav, +main, +footer { + padding-left: 240px; +} + +main, +#content, +.valign-wrapper { + height: 100%; +} + +#main { + flex: 1 0 auto; + + .logo { + a { + height: 100pt; + } + + img { + height: 100pt; + width: 100pt; + } + + &:hover { + background: transparent; + } + } +} -- cgit v1.2.3 From dfd821dcfb2ad0eb59dcddbd5130e09fd26bc781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 13 Jun 2017 16:52:14 +0200 Subject: Removed padding on entry view --- app/Resources/static/themes/material/css/layout.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Resources/static/themes/material/css/layout.scss') diff --git a/app/Resources/static/themes/material/css/layout.scss b/app/Resources/static/themes/material/css/layout.scss index 8b8b06e6..ed32f125 100755 --- a/app/Resources/static/themes/material/css/layout.scss +++ b/app/Resources/static/themes/material/css/layout.scss @@ -19,7 +19,7 @@ body { } nav, -main, +body:not(.entry) main, footer { padding-left: 240px; } -- cgit v1.2.3 From f99ebec0f2f39105147e3bdae790311db38c5ef9 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 15 Jun 2017 07:58:12 +0200 Subject: Fix mobile view and update asset deps Signed-off-by: Thomas Citharel --- app/Resources/static/themes/material/css/layout.scss | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/Resources/static/themes/material/css/layout.scss') diff --git a/app/Resources/static/themes/material/css/layout.scss b/app/Resources/static/themes/material/css/layout.scss index ed32f125..cfdbf2b3 100755 --- a/app/Resources/static/themes/material/css/layout.scss +++ b/app/Resources/static/themes/material/css/layout.scss @@ -18,12 +18,6 @@ body { border-bottom: 1px solid #ddd; } -nav, -body:not(.entry) main, -footer { - padding-left: 240px; -} - main, #content, .valign-wrapper { -- cgit v1.2.3