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

This commit is contained in:
kay delaney
2019-08-02 11:11:08 +01:00
committed by GitHub
parent f68b8b73f0
commit 50a043f583
9 changed files with 10 additions and 10 deletions

View File

@@ -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 {

View File

@@ -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;
} }

View File

@@ -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;

View File

@@ -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;
} }
} }

View File

@@ -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 {

View File

@@ -53,7 +53,7 @@
} }
.pluginlist-emphasis { .pluginlist-emphasis {
font-weight: 600; font-weight: $font-weight-semi-bold;
} }
.pluginlist-none-installed { .pluginlist-none-installed {

View File

@@ -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 {

View File

@@ -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 @@
.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 {

View File

@@ -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;
} }