From 363f36dfae7cd29bd35dfe760fc6014d0b1463c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 21 Feb 2016 15:21:01 +0100 Subject: [PATCH] ux(): tweaks --- package.json | 2 + .../cloudwatch/partials/config.html | 58 ++++++------------- public/sass/_variables.light.scss | 8 +-- public/sass/base/_reboot.scss | 2 - public/sass/components/_timepicker.scss | 2 +- 5 files changed, 25 insertions(+), 47 deletions(-) diff --git a/package.json b/package.json index 530a3ea95f2..0df426954d3 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,8 @@ "lodash": "^2.4.1", "sinon": "1.16.1", "systemjs-builder": "^0.15.7", + "tether": "^1.2.0", + "tether-drop": "^1.4.2", "tslint": "^3.4.0", "typescript": "^1.7.5" } diff --git a/public/app/plugins/datasource/cloudwatch/partials/config.html b/public/app/plugins/datasource/cloudwatch/partials/config.html index 69ec729a160..5f999c58a42 100644 --- a/public/app/plugins/datasource/cloudwatch/partials/config.html +++ b/public/app/plugins/datasource/cloudwatch/partials/config.html @@ -1,44 +1,22 @@ -
-
CloudWatch details
+

CloudWatch details

-
-
-
-
    -
  • - Credentials profile nameCredentials profile name, as specified in ~/.aws/credentials, leave blank for default -
  • -
  • - -
  • -
-
-
-
-
    -
  • - Default RegionSpecify the region, such as for US West (Oregon) use ` us-west-2 ` as the region. -
  • - -
  • - -
  • -
-
-
-
-
    -
  • - Custom Metrics namespaceNamespaces of Custom Metrics -
  • -
  • - -
  • -
-
+
+
+ + +
+
+ +
+
+
+ + +
diff --git a/public/sass/_variables.light.scss b/public/sass/_variables.light.scss index e1dda86d4f9..0b753411b32 100644 --- a/public/sass/_variables.light.scss +++ b/public/sass/_variables.light.scss @@ -177,11 +177,11 @@ $dropdownDivider: $dropdownDividerTop; $dropdownTitle: $dark-5; $dropdownLinkColor: $dark-3; -$dropdownLinkColorHover: $white; -$dropdownLinkColorActive: $white; +$dropdownLinkColorHover: $link-color; +$dropdownLinkColorActive: $link-color; -$dropdownLinkBackgroundActive: $blue; -$dropdownLinkBackgroundHover: $blue; +$dropdownLinkBackgroundActive: $gray-6; +$dropdownLinkBackgroundHover: $gray-6; // COMPONENT VARIABLES diff --git a/public/sass/base/_reboot.scss b/public/sass/base/_reboot.scss index 646a92d549e..e1590769636 100644 --- a/public/sass/base/_reboot.scss +++ b/public/sass/base/_reboot.scss @@ -270,11 +270,9 @@ th { // // Forms // - label { // Allow labels to use `margin` for spacing. display: inline-block; - margin-bottom: .5rem; } // Work around a Firefox/IE bug where the transparent `button` background diff --git a/public/sass/components/_timepicker.scss b/public/sass/components/_timepicker.scss index 0a055bb35f2..776c69a6fac 100644 --- a/public/sass/components/_timepicker.scss +++ b/public/sass/components/_timepicker.scss @@ -13,7 +13,7 @@ } .gf-timepicker-dropdown { - margin: -5px -10px 10px 5px; + margin: -8px -10px 10px 5px; padding: 10px 20px; float: right; background-color: $panel-bg;