summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRayana Verissimo <rverissimo@gitlab.com>2019-07-20 17:50:35 +0000
committerRayana Verissimo <rverissimo@gitlab.com>2019-07-20 17:50:35 +0000
commita7fa9bc248bda1044113e33f9ff0eca8938af0b2 (patch)
treeaaeb20bc8908bdf84ec3948f73b0a4e8f144651c
parent66394bd1b7c98d7a6abbeade068b8b9c1b838ddf (diff)
downloadgitlab-ce-a7fa9bc248bda1044113e33f9ff0eca8938af0b2.tar.gz
Update tooltip values to meet design specsrverissimo-master-patch-43755
-rw-r--r--app/assets/stylesheets/framework/tooltips.scss5
-rw-r--r--app/assets/stylesheets/framework/variables_overrides.scss4
2 files changed, 6 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/tooltips.scss b/app/assets/stylesheets/framework/tooltips.scss
index 98f28987a82..edc2fb532c8 100644
--- a/app/assets/stylesheets/framework/tooltips.scss
+++ b/app/assets/stylesheets/framework/tooltips.scss
@@ -1,7 +1,6 @@
.tooltip-inner {
- font-size: $tooltip-font-size;
+ font-size: $gl-font-size-small;
border-radius: $border-radius-default;
- line-height: 16px;
+ line-height: $gl-line-height;
font-weight: $gl-font-weight-normal;
- padding: 8px;
}
diff --git a/app/assets/stylesheets/framework/variables_overrides.scss b/app/assets/stylesheets/framework/variables_overrides.scss
index ea96381a098..604b48e11ab 100644
--- a/app/assets/stylesheets/framework/variables_overrides.scss
+++ b/app/assets/stylesheets/framework/variables_overrides.scss
@@ -48,3 +48,7 @@ $spacers: (
9: ($spacer * 8)
);
$pagination-color: $gl-text-color;
+$tooltip-padding-y: 0.5rem;
+$tooltip-padding-x: 0.75rem;
+$tooltip-arrow-height: 0.5rem;
+$tooltip-arrow-width: 1rem;