diff options
author | Rayana Verissimo <rverissimo@gitlab.com> | 2019-07-19 12:07:38 +0000 |
---|---|---|
committer | Rayana Verissimo <rverissimo@gitlab.com> | 2019-07-19 12:07:38 +0000 |
commit | 7d761a36bff3211bbac3ebf4f3565a50a5a735f2 (patch) | |
tree | 24483c631bde716b989c7194d1cc6a610239ffe6 | |
parent | e7bf1c22d949857e5ebd967fb15b1dbb3bb620d3 (diff) | |
download | gitlab-ce-7d761a36bff3211bbac3ebf4f3565a50a5a735f2.tar.gz |
Use variables directly for tooltip properties.
-rw-r--r-- | app/assets/stylesheets/framework/tooltips.scss | 8 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/variables.scss | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/app/assets/stylesheets/framework/tooltips.scss b/app/assets/stylesheets/framework/tooltips.scss index 10e19861790..edc2fb532c8 100644 --- a/app/assets/stylesheets/framework/tooltips.scss +++ b/app/assets/stylesheets/framework/tooltips.scss @@ -1,6 +1,6 @@ .tooltip-inner { - font-size: $tooltip-font-size; - border-radius: $tooltip-border-radius; - line-height: $tooltip-line-height; - font-weight: $tooltip-font-weight; + font-size: $gl-font-size-small; + border-radius: $border-radius-default; + line-height: $gl-line-height; + font-weight: $gl-font-weight-normal; } diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss index 81de2b70f03..078a67694a9 100644 --- a/app/assets/stylesheets/framework/variables.scss +++ b/app/assets/stylesheets/framework/variables.scss @@ -386,9 +386,6 @@ $pages-group-name-color: #4c4e54; * Tooltips */ $tooltip-font-size: $gl-font-size-small; -$tooltip-line-height: $gl-line-height; -$tooltip-font-weight: $gl-font-weight-normal; -$tooltip-border-radius: $border-radius-default; /* * Common component specific colors |