diff --git a/public/app/features/datasources/partials/edit.html b/public/app/features/datasources/partials/edit.html index 7a13ce2df1d..22aee1047e8 100644 --- a/public/app/features/datasources/partials/edit.html +++ b/public/app/features/datasources/partials/edit.html @@ -5,64 +5,48 @@
-
-

Add data source

-

Edit data source

-

This text will only appear on Add Data Source

+

Add data source

+

Edit data source

-
-
-
    -
  • - Name -
  • -
  • -
  • - -
  • - -
  • - - -
  • -
-
+ +
+
+ Name +
-
-
    -
  • - Type -
  • -
  • - -
  • -
-
-
- - - - - - -
-
Testing....
-
Test results
-
-
{{testing.title}}
-
-
-
- -
- - - - Cancel +
+

- -
+ +
+ Type + +
+
+ + + + + + +
+
Testing....
+
Test results
+
+
{{testing.title}}
+
+
+
+ +
+ + + + Cancel +
+
+
diff --git a/public/app/features/datasources/partials/http_settings.html b/public/app/features/datasources/partials/http_settings.html index 24c4ceb51f5..91d4b46a363 100644 --- a/public/app/features/datasources/partials/http_settings.html +++ b/public/app/features/datasources/partials/http_settings.html @@ -1,64 +1,47 @@ -
+

Http settings

-
-
-
    -
  • - Url -
  • -
  • - -
  • -
-
+ +
+
+ Url +
-
-
    -
  • - Access Direct = url is used directly from browser, Proxy = Grafana backend will proxy the request -
  • -
  • - -
  • -
-
+
+ +
+ + Access Direct = url is used directly from browser, Proxy = Grafana backend will proxy the request + +
-
-
    -
  • - Http Auth -
  • -
  • - -
  • -
  • - Tip for with credentials -
  • -
-
+
+ +
+ + Http Auth +
-
-
    -
  • - User -
  • -
  • - -
  • -
-
+ + + + + Tip for with credentials + +
+ +
+ + User + +
-
-
    -
  • - Password -
  • -
  • - -
  • -
-
+
+ +
+ + Passord + +
-
diff --git a/public/app/features/org/partials/orgDetails.html b/public/app/features/org/partials/orgDetails.html index f3b37923442..2fa16fa62b3 100644 --- a/public/app/features/org/partials/orgDetails.html +++ b/public/app/features/org/partials/orgDetails.html @@ -6,91 +6,58 @@

Preferences

-
-
-
    -
  • - Name -
  • -
  • - -
  • -
-
+ +
+ Name +
-
- -
+
+ +
-
-

Address

-
+

Address

-
-
-
    -
  • - Address 1 -
  • -
  • - -
  • -
  • - Address 2 -
  • -
  • - -
  • -
-
+ +
+ Address1 +
-
-
    -
  • - City -
  • -
  • - -
  • -
  • - Postal code -
  • -
  • - -
  • -
-
+
+ Address2 +
-
-
    -
  • - State -
  • -
  • - -
  • -
  • - Country -
  • -
  • - -
  • -
-
+
+ +
+ City + +
+
+ Postal code + +
+
+ +
+ State + +
+
+ Country +
-
- -
+
+ +

Org. Users

Manage -
diff --git a/public/less/bootswatch.dark.less b/public/less/bootswatch.dark.less index f2cbc607c2a..cef058fa2f5 100644 --- a/public/less/bootswatch.dark.less +++ b/public/less/bootswatch.dark.less @@ -103,64 +103,6 @@ hr { } } -@media (max-width: @navbarCollapseWidth) { - - .navbar .nav-collapse { - - .nav li > a { - border: none; - color: @grayLighter; - font-weight: normal; - text-shadow: none; - - &:hover { - border: none; - background-color: @blue; - } - } - - .nav .active > a { - border: none; - background-color: @blue; - } - - .dropdown-menu a:hover { - background-color: @blue; - } - - .navbar-form, - .navbar-search { - border-top: none; - border-bottom: none; - } - - .nav-header { - color: rgba(128, 128, 128, 0.6); - } - } - - .navbar-inverse .nav-collapse { - - .nav li > a:hover { - background-color: #111; - } - - .nav .active > a { - background-color: #111; - } - - .nav li.dropdown.open > .dropdown-toggle, - .nav li.dropdown.active > .dropdown-toggle, - .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #111; - } - } -} - -.dropdown-menu { - .border-radius(0); -} - div.subnav { diff --git a/public/less/forms.less b/public/less/forms.less index 61693f63ece..5d2e00279d8 100644 --- a/public/less/forms.less +++ b/public/less/forms.less @@ -33,14 +33,6 @@ input[type="checkbox"]:checked+label { background: url(@checkboxImageUrl) 0px -21px no-repeat; } -.gf-form { - padding-bottom: 10px; - .checkbox-label { - padding-left: 7px; - display: inline; - } -} - .gf-fluid-input { border: none; display: block; diff --git a/public/less/normform.less b/public/less/normform.less index 2aba22c9e7f..0269449501a 100644 --- a/public/less/normform.less +++ b/public/less/normform.less @@ -1,214 +1,68 @@ -.norm-form { - border-top: 3px solid @pageBackground; - // border-left: 3px solid @pageBackground; - // border-right: 3px solid @pageBackground; - background: transparent; - - &.last { - border-bottom: 1px solid @pageBackground; - } - - &.borderless { - background: transparent; - border: none; - } +.gf-form { + margin-top: 3px; + margin-right: 3px; + display: inline-block; .checkbox-label { display: inline; - padding-right: 4px; - margin-bottom: 0; - margin-left: 5px; + padding: 8px 7px 8px 4px; + } + .cr1 { + margin-left: 8px; } } -.norm-form-container-no-item-borders { - border: 1px solid @pageBackground; - border-bottom: none; - - .norm-form, .norm-form-item, [type=text].norm-form-input, [type=text].norm-form-clear-input { - border: none; - } +.gf-form-group { + margin-bottom: 20px; } - -.spaced-form { - .norm-form { - margin: 7px 0; - } +.gf-form-button-row { + margin-top: 15px; + margin-bottom: 10px; } -.borderless { - .norm-form-item, - .norm-form-input { - border: none; - } -} - -.norm-form-container { - border-bottom: 1px solid @pageBackground; -} - -.norm-form-btn { - padding: 7px 12px; -} - -.norm-form-list { - list-style: none; - margin: 0; - >li { - float: left; - background: @labelBackground; - } - & .trans { - background: transparent; - } -} - -.norm-form-flex-wrapper { - display: flex; - flex-direction: row; - float: none !important; -} - -.grafana-metric-options { - margin-top: 25px; -} - -.norm-form-item { +.gf-form-label { + background-color: @labelBackground; + display: inline-block; padding: 8px 7px; - display: inline-block; - font-weight: normal; - border-right: 3px solid @pageBackground; - color: @grayLighter; - display: inline-block; .small; - - .has-open-function & { - padding-top: 25px; - } - - .norm-form-disabled & { - color: @grafanaTargetColorHide; - } - - &:hover, &:focus { - text-decoration: none; - } - - &a:hover { - background: @grafanaTargetFuncBackground; - } - - &.last { - border-right: none; - } -} - - -.norm-form-item-icon { - i { - width: 15px; - text-align: center; - display: inline-block; - } -} - -.norm-form-func { - background: @grafanaTargetFuncBackground; - > a { - color: @grafanaTargetColor; - } - > a:hover { - color: @linkColor; - } - - &.show-function-controls { - padding-top: 5px; - min-width: 100px; - text-align: center; - } -} - -input[type=text].norm-form-func-param { - background: transparent; - border: none; - margin: 0; - padding: 0; -} - -input[type=text].norm-form-clear-input { - padding: 8px 7px; - border: none; - margin: 0px; - background: transparent; - color: @grafanaTargetColor; - border-radius: 0; - border-right: 2px solid @pageBackground; } [type=text], [type=email], [type=number], [type=password], { - &.norm-form-input { + &.gf-form-input { border: none; - border-right: 3px solid @pageBackground; margin: 0px; border-radius: 0; padding: 8px 6px; height: 100%; box-sizing: border-box; font-size: 15px; - &.last { - border-right: none; - } } } -input[type=checkbox].norm-form-checkbox { +input[type=checkbox].gf-form-checkbox { margin: 0; } -.norm-form-textarea { - height: 200px; - margin: 0; - box-sizing: border-box; -} - -select.norm-form-input { +select.gf-form-input { border: none; - border-right: 3px solid @pageBackground; margin: 0px; border-radius: 0; height: 36px; - padding: 9px 3px; + padding: 9px 3px; font-size: 15px; - &.last { - border-right: none; - } } -.norm-form-radio { - input[type=radio] { - margin: 0; - } - label { - display: inline; - } -} -.norm-form-item-large { width: 115px; } -.norm-form-item-xlarge { width: 150px; } -.norm-form-item-xxlarge { width: 200px; } +.gf-size-xs { width: 60px;} +.gf-size-s { width: 80px;} +.gf-size-ms { width: 100px;} +.gf-size-m { width: 120px; } +.gf-size-l { width: 150px; } +.gf-size-xl { width: 200px; } +.gf-size-xxl { width: 300px; } +.gf-size-xxxl { width: 400px; } -.norm-form-input.norm-form-item-xxlarge { - width: 215px; -} - -.norm-form-auto { - width: auto; -} - -.norm-form-inner-box { - margin: 20px 0 20px 148px; - display: inline-block; -} +.gf-size-auto { width: auto; } diff --git a/public/less/overrides.less b/public/less/overrides.less index d33707bcf50..99abdee22f5 100644 --- a/public/less/overrides.less +++ b/public/less/overrides.less @@ -1,12 +1,3 @@ -// Media queries -// --------------------- -@media (max-width: 767px) { - div.panel { - width: 100% !important; - padding: 0px !important; - } -} - // Containers // --------------------- .container-fluid { diff --git a/public/less/page.less b/public/less/page.less index feefec98f44..e9a025f423f 100644 --- a/public/less/page.less +++ b/public/less/page.less @@ -25,8 +25,7 @@ .page-container { background-color: @pageBackground; position: relative; - padding: 25px 56px; - padding: 25px 56px; + padding: 25px 56px 10px 56px; max-width: 1060px; margin-left: 0; height: 100%; diff --git a/public/less/variables.light.less b/public/less/variables.light.less index 5fee9b35aed..30b470a197c 100644 --- a/public/less/variables.light.less +++ b/public/less/variables.light.less @@ -91,7 +91,7 @@ @headingsFontFamily: inherit; // inherit. empty to use BS default, @baseFontFamily @headingsFontWeight: normal; // instead of browser default, bold -@headingsFontStyle: italic; +@headingsFontStyle: normal; @headingsColor: @textColor; // empty to use BS default, @textColor diff --git a/public/vendor/bootstrap/less/responsive-767px-max.less b/public/vendor/bootstrap/less/responsive-767px-max.less index 128f4ce30da..a074bc9d69d 100644 --- a/public/vendor/bootstrap/less/responsive-767px-max.less +++ b/public/vendor/bootstrap/less/responsive-767px-max.less @@ -5,23 +5,6 @@ @media (max-width: 767px) { - // Padding to set content in a bit - body { - padding-left: 20px; - padding-right: 20px; - } - // Negative indent the now static "fixed" navbar - .navbar-fixed-top, - .navbar-fixed-bottom, - .navbar-static-top { - margin-left: -20px; - margin-right: -20px; - } - // Remove padding on container given explicit padding set on body - .container-fluid { - padding: 0; - } - // TYPOGRAPHY // ---------- // Reset horizontal dl