From 8193d50da7253708af913deb0c5d407b7d4db0d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 17 Feb 2016 13:46:18 +0100 Subject: [PATCH] ux(): updated graph form styles --- public/app/partials/panelgeneral.html | 85 +++++++++++---------------- public/sass/_variables.scss | 2 +- public/sass/components/_gf-form.scss | 9 +-- 3 files changed, 39 insertions(+), 57 deletions(-) diff --git a/public/app/partials/panelgeneral.html b/public/app/partials/panelgeneral.html index b8823e5658a..1feef74fbf6 100644 --- a/public/app/partials/panelgeneral.html +++ b/public/app/partials/panelgeneral.html @@ -1,61 +1,42 @@ -
-
-
General options
-
-
    -
  • - Title -
  • -
  • - -
  • -
  • - Span -
  • -
  • - -
  • -
  • - Height -
  • -
  • - -
  • -
  • - - - -
  • -
-
+
+
+
+ Title + +
+
+ Span + +
+
+ Height + +
+
+
-
-
Templating options
-
-
    -
  • - Repeat Panel -
  • -
  • - -
  • -
  • - Min span -
  • -
  • - -
  • -
-
+ +
+
+ Repeat Panel + +
+
+ Min span +
+
+
+
+ diff --git a/public/sass/_variables.scss b/public/sass/_variables.scss index 9a9eb264220..ba12137ec94 100644 --- a/public/sass/_variables.scss +++ b/public/sass/_variables.scss @@ -127,7 +127,7 @@ $lead-font-size: 1.25rem !default; $lead-font-weight: 300 !default; $headings-margin-bottom: ($spacer / 2) !default; -$headings-font-family: "Open Sans" !default; +$headings-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; $headings-font-weight: 400 !default; $headings-line-height: 1.1 !default; diff --git a/public/sass/components/_gf-form.scss b/public/sass/components/_gf-form.scss index 94b89e04336..cbaf5c07f93 100644 --- a/public/sass/components/_gf-form.scss +++ b/public/sass/components/_gf-form.scss @@ -1,4 +1,4 @@ -$gf-form-margin: 4px; +$gf-form-margin: 0.4rem; .gf-form { margin-top: $gf-form-margin; @@ -31,14 +31,14 @@ $gf-form-margin: 4px; flex-wrap: wrap; align-content: flex-start; - .gf-form { + .gf-form-flex { flex-grow: 1; } } .gf-form-button-row { - margin-top: 20px; - margin-bottom: 10px; + margin-top: $spacer * 2; + margin-bottom: $spacer; } .gf-form-label { @@ -61,6 +61,7 @@ $gf-form-margin: 4px; .gf-size-#{$size} { width: $value; } .gf-size-max-#{$size} { + flex-grow: 1; max-width: $value; } }