From 36b9a168810bc4b5997a653b3e91fa2c717b5063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Thu, 16 Aug 2018 08:23:58 +0200 Subject: Grid fixes and title update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- css/contacts.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'css/contacts.scss') diff --git a/css/contacts.scss b/css/contacts.scss index d1b2da3e..0d8ed0e6 100644 --- a/css/contacts.scss +++ b/css/contacts.scss @@ -1,2 +1,21 @@ +$grid-height-unit: 40px; +$grid-input-padding: 7px; +$grid-input-margin: 3px; +$grid-column-width: 380px; +$grid-input-height-with-margin: #{$grid-height-unit - $grid-input-margin * 2}; + +@mixin generate-grid-span($default-unit) { + // we only supports 10 props of the same type + @for $i from 1 through 10 { + &.grid-span-#{$i} { + // default unit + title + bottom padding + grid-row-start: span #{$i * $default-unit}; + } + } +} + + @import 'settings'; @import 'details'; +@import './Properties/Properties'; +@import './Properties/PropertyTitle'; \ No newline at end of file -- cgit v1.2.3