From a7fa9bc248bda1044113e33f9ff0eca8938af0b2 Mon Sep 17 00:00:00 2001 From: Rayana Verissimo Date: Sat, 20 Jul 2019 17:50:35 +0000 Subject: Update tooltip values to meet design specs --- app/assets/stylesheets/framework/tooltips.scss | 5 ++--- app/assets/stylesheets/framework/variables_overrides.scss | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'app/assets') 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; -- cgit v1.2.1