aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-10-01 03:12:58 +0200
committerRobert Jaros <rjaros@finn.pl>2017-10-01 03:12:58 +0200
commitd732f672bfbfa565c6ec4fc037381554de251ad3 (patch)
treeb0a8388de30e568d2ca5b6d33c330ccdedfebe09 /src/main/assets
parent69826202db3424beb47923f80d86bf1412053941 (diff)
downloadkvision-d732f672bfbfa565c6ec4fc037381554de251ad3.tar.gz
kvision-d732f672bfbfa565c6ec4fc037381554de251ad3.tar.bz2
kvision-d732f672bfbfa565c6ec4fc037381554de251ad3.zip
GridPanel, HPanel and VPanel
Diffstat (limited to 'src/main/assets')
-rw-r--r--src/main/assets/css/style.css33
1 files changed, 33 insertions, 0 deletions
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";
+}
+
+}