diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-01-28 14:01:06 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-01-28 14:01:06 +0000 |
| commit | 447f821d3ca49cc96da59858dbf8d73d895e7060 (patch) | |
| tree | 7649085f6232462f9622e1cb0fddb9935c63bf61 /style.css | |
| parent | 8e831bf7f734b47fe084ee9851ab4772cbb20d2d (diff) | |
| download | sql-plus-plus-447f821d3ca49cc96da59858dbf8d73d895e7060.tar.xz sql-plus-plus-447f821d3ca49cc96da59858dbf8d73d895e7060.zip | |
Add flexbox layout with draggable resizing
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 55 |
1 files changed, 53 insertions, 2 deletions
@@ -1,3 +1,54 @@ -.results { - overflow: scroll +html, +body { + height: 100%; + margin: 0 +} + +.flex-wrapper { + display: flex; + flex-flow: column; + height: 100%; +} + +.flex-wrapper .row.header { + flex: 0 1 auto; + background-color: #505050; + color: white; +} + +.flex-wrapper .row.content { + flex: 1 1 auto; + display: flex; + flex-direction: column; + height: 100%; +} + +.flex-wrapper .row.footer { + flex: 0 1 20px; + background-color: #505050; + color: white; +} + +.flex-wrapper .row .split-row { + overflow: auto; +} + +.gutter { + background-color: #505050; + background-repeat: no-repeat; + background-position: 50%; +} + +.gutter.gutter-vertical { + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII='); + cursor: ns-resize; +} + +.gutter.gutter-horizontal { + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg=='); + cursor: ew-resize; +} + +.CodeMirror { + height: 100%; }
\ No newline at end of file |