From d732f672bfbfa565c6ec4fc037381554de251ad3 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 1 Oct 2017 03:12:58 +0200 Subject: GridPanel, HPanel and VPanel --- src/main/assets/css/style.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'src/main/assets') diff --git a/src/main/assets/css/style.css b/src/main/assets/css/style.css index 61696cb2..568f0edd 100644 --- a/src/main/assets/css/style.css +++ b/src/main/assets/css/style.css @@ -52,3 +52,36 @@ background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAICAQAAADdTl4aAAAAIElEQVQoz2MwrTD9TxFsZ7jPcV+IIsjFQAUw6hFqegQA+xzRHT2p7pEAAAAASUVORK5CYII=') center center no-repeat #cecece; cursor: row-resize; } + +/* Dead Simple Grid (c) 2015 Vladimir Agafonkin */ + +.dsgrow .dsgrow { margin: 0 -1.5em; } +.dsgcol { padding: 0 1.5em; } +.dsgcolf { padding: 0 1.5em; } + +.dsgrow:after { + content: ""; + clear: both; + display: table; +} + +@media only screen { + +.dsgcol { + float: left; + width: 100%; + box-sizing: border-box; +} +.dsgcol::before { + content: "\200B"; +} + +.dsgcolf { + float: left; + box-sizing: border-box; +} +.dsgcolf::before { + content: "\200B"; +} + +} -- cgit