aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/less
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2017-11-04 14:25:28 +1100
committerSam Potts <me@sampotts.me>2017-11-04 14:25:28 +1100
commit1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f (patch)
tree349313769a5e3d786a51b45b0a5c849dc7e3211d /demo/src/less
parent3d50936b47fdd691816843de962d5699c3c8f596 (diff)
downloadplyr-1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f.tar.lz
plyr-1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f.tar.xz
plyr-1cc2930dc0b81183bc47442f5ad9b5d8df94cc5f.zip
ES6-ified
Diffstat (limited to 'demo/src/less')
-rw-r--r--demo/src/less/components/icons.less3
-rw-r--r--demo/src/less/layout/core.less15
2 files changed, 14 insertions, 4 deletions
diff --git a/demo/src/less/components/icons.less b/demo/src/less/components/icons.less
index 29f185bd..9180e4b3 100644
--- a/demo/src/less/components/icons.less
+++ b/demo/src/less/components/icons.less
@@ -7,6 +7,7 @@
fill: currentColor;
width: @icon-size;
height: @icon-size;
+ vertical-align: -0.15em;
}
// Within elements
@@ -18,5 +19,5 @@ label svg {
a .icon,
.btn .icon {
- margin-right: (@spacing-base / 2);
+ margin-right: (@spacing-base / 4);
}
diff --git a/demo/src/less/layout/core.less b/demo/src/less/layout/core.less
index dc177088..7f1a93e4 100644
--- a/demo/src/less/layout/core.less
+++ b/demo/src/less/layout/core.less
@@ -2,12 +2,21 @@
// Core
// ==========================================================================
-html {
- background: @page-background;
- background-attachment: fixed;
+*,
+*::after,
+*::before {
+ box-sizing: border-box;
+}
+
+html,
+body {
+ display: flex;
+ width: 100%;
}
html {
+ background: @page-background;
+ background-attachment: fixed;
height: 100%;
}