diff --git a/resources/assets/sass/_forms.scss b/resources/assets/sass/_forms.scss index 861cfbb9f..c2755efe3 100644 --- a/resources/assets/sass/_forms.scss +++ b/resources/assets/sass/_forms.scss @@ -65,15 +65,13 @@ input[type="text"], input[type="number"], input[type="email"], input[type="searc } .title-input.page-title { - padding: $-s; + font-size: 0.8em; } .title-input.page-title input[type="text"]{ //border: 2px dotted #BBB; margin-bottom: 0; } -.edit-area { - padding: 0 $-s $-s $-s; -} + .description-input textarea { @extend .inline-input-style; diff --git a/resources/assets/sass/_html.scss b/resources/assets/sass/_html.scss index 6b21a48a7..5071b3296 100644 --- a/resources/assets/sass/_html.scss +++ b/resources/assets/sass/_html.scss @@ -2,7 +2,7 @@ box-sizing: border-box; } html { - background-color: #f8f8f8; + background-color: #FFFFFF; } body { font-family: $text; diff --git a/resources/assets/sass/_tinymce.scss b/resources/assets/sass/_tinymce.scss index 9c7c398cf..10a3c0175 100644 --- a/resources/assets/sass/_tinymce.scss +++ b/resources/assets/sass/_tinymce.scss @@ -19,4 +19,12 @@ max-width: 100%; margin-left: -$-s; box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.08); +} + +.edit-area { + height: 100%; +} + +.page-style.editor { + height: 100%; } \ No newline at end of file diff --git a/resources/assets/sass/styles.scss b/resources/assets/sass/styles.scss index 0fd4f638d..421686db0 100644 --- a/resources/assets/sass/styles.scss +++ b/resources/assets/sass/styles.scss @@ -11,21 +11,40 @@ header { background-color: #f8f8f8; - position: fixed; display: block; width: 100%; - z-index: -1; + position: fixed; + z-index: 2; top: 0; + border-bottom: 1px solid #DDD; + .padded { + padding: $-m; + } } + +#sidebar { + position: fixed; + background-color: #FFF; + height: 100%; + top: 0; + z-index: 1; + padding-top: 63px + $-m; + width: 300px; + border-right: 1px solid #DDD; +} + +#content { + margin-top: 63px; + margin-left: 300px; + display: block; + position: relative; +} + .logo { width: 180px; opacity: 0.8; } -body { - margin-top: 64px; -} - header hr { margin-top: 0; } @@ -46,15 +65,8 @@ header .menu { font-size: 1.4em; } -.affix { - position: fixed; -} - .page-style { - background-color: #FFF; padding: $-s $-xxl $-xxl $-xxl; - border-radius: 4px; - box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.15); margin-bottom: $-xxl; max-width: 100%; } @@ -66,6 +78,9 @@ header .menu { .page-content { @extend .page-style; min-height: 70vh; + max-width: 840px; + margin-left: auto; + margin-right: auto; &.right { float: right; } diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index 282b0d35e..bae7a4f2c 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -28,27 +28,29 @@