Commit 50a043f5 by kay delaney Committed by GitHub

Frontend: Fixes hard-coded font-weight properties to use variables (#18350)

parent f68b8b73
...@@ -180,7 +180,7 @@ $select-input-bg-disabled: $input-bg-disabled; ...@@ -180,7 +180,7 @@ $select-input-bg-disabled: $input-bg-disabled;
flex-direction: column; flex-direction: column;
flex-grow: 1; flex-grow: 1;
padding-right: 10px; padding-right: 10px;
font-weight: 500; font-weight: $font-weight-semi-bold;
} }
.gf-form-select-box__desc-option__desc { .gf-form-select-box__desc-option__desc {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
color: $orange; color: $orange;
font-size: 75%; font-size: 75%;
padding: 3px; padding: 3px;
font-weight: 500; font-weight: $font-weight-semi-bold;
margin-left: 4px; margin-left: 4px;
position: relative; position: relative;
} }
......
...@@ -28,7 +28,7 @@ $popper-margin-from-ref: 5px; ...@@ -28,7 +28,7 @@ $popper-margin-from-ref: 5px;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
padding: 6px 10px; padding: 6px 10px;
color: $tooltipColor; color: $tooltipColor;
font-weight: 500; font-weight: $font-weight-semi-bold;
.popper__arrow { .popper__arrow {
border-color: $tooltipBackground; border-color: $tooltipBackground;
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
margin-top: 5px; margin-top: 5px;
strong { strong {
color: $text-color-emphasis; color: $text-color-emphasis;
font-weight: 500; font-weight: $font-weight-semi-bold;
} }
} }
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
flex-direction: column; flex-direction: column;
align-self: center; align-self: center;
height: 23px; height: 23px;
font-weight: 500; font-weight: $font-weight-semi-bold;
} }
.viz-picker__item-img { .viz-picker__item-img {
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
} }
.pluginlist-emphasis { .pluginlist-emphasis {
font-weight: 600; font-weight: $font-weight-semi-bold;
} }
.pluginlist-none-installed { .pluginlist-none-installed {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
display: block; display: block;
visibility: visible; visibility: visible;
line-height: 1.4; line-height: 1.4;
font-weight: 500; font-weight: $font-weight-semi-bold;
@include opacity(0); @include opacity(0);
&.in { &.in {
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
} }
.explore-panel__header-label { .explore-panel__header-label {
font-weight: 500; font-weight: $font-weight-semi-bold;
margin-right: $space-sm; margin-right: $space-sm;
font-size: $font-size-h6; font-size: $font-size-h6;
box-shadow: $text-shadow-faint; box-shadow: $text-shadow-faint;
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
.ReactTable .rt-thead.-header .rt-th { .ReactTable .rt-thead.-header .rt-th {
text-align: left; text-align: left;
color: $blue; color: $blue;
font-weight: 500; font-weight: $font-weight-semi-bold;
} }
.ReactTable .rt-thead .rt-td, .ReactTable .rt-thead .rt-td,
.ReactTable .rt-thead .rt-th { .ReactTable .rt-thead .rt-th {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.emphasis-word { .emphasis-word {
font-weight: 500; font-weight: $font-weight-semi-bold;
color: $text-color-emphasis; color: $text-color-emphasis;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment