diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-16 08:23:58 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-16 08:23:58 +0200 |
commit | 36b9a168810bc4b5997a653b3e91fa2c717b5063 (patch) | |
tree | 29750b3167b5e03f6ef7dd1717c4ab9f977aee5f /css/contacts.scss | |
parent | 82ecf80ffeb3cbe9a59f8df961e4406fa282e71d (diff) |
Grid fixes and title update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'css/contacts.scss')
-rw-r--r-- | css/contacts.scss | 19 |
1 files changed, 19 insertions, 0 deletions
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 |