X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/564f4f7c74dacf70d4c3ccb21a89cc9f0360af73..refs/pull/3177/head:/resources/sass/_layout.scss diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index e163f06d8..783ccc8f9 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -95,6 +95,10 @@ } } +#content { + flex: 1 0 auto; +} + /** * Flexbox layout system */ @@ -141,6 +145,7 @@ body.flexbox { .flex { min-height: 0; flex: 1; + max-width: 100%; &.fit-content { flex-basis: auto; flex-grow: 0; @@ -153,6 +158,12 @@ body.flexbox { .justify-center { justify-content: center; } +.justify-space-between { + justify-content: space-between; +} +.items-center { + align-items: center; +} /** @@ -171,10 +182,18 @@ body.flexbox { display: inline-block !important; } +.relative { + position: relative; +} + .hidden { display: none !important; } +.fill-height { + height: 100%; +} + .float { float: left; &.right { @@ -198,6 +217,13 @@ body.flexbox { } } +/** + * Border radiuses + */ +.rounded { + border-radius: 4px; +} + /** * Inline content columns */ @@ -245,6 +271,7 @@ body.flexbox { .tri-layout-middle { grid-area: b; padding-top: $-m; + min-width: 0; } } @include smaller-than($xxl) { @@ -342,6 +369,9 @@ body.flexbox { &:focus-within { opacity: 1; } + @media (prefers-contrast: more) { + opacity: 1; + } } } @@ -351,4 +381,4 @@ body.flexbox { margin-inline-start: 0; margin-inline-end: 0; } -} +} \ No newline at end of file