From f9fb4d8bd6a725acabec39aabc7f1e29ca08787b Mon Sep 17 00:00:00 2001 From: zmagod Date: Thu, 20 Oct 2016 14:34:45 +0200 Subject: [PATCH 1/2] move tooltip to the right [fixes SCI-591] --- app/assets/stylesheets/themes/scinote.scss | 31 +++++++++++----------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index fd4050810..1e6b87735 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -1368,23 +1368,24 @@ html.turbolinks-progress-bar::before { } .modal-tooltip { - cursor: help; - position: relative; - display: inline-block; border-bottom: 1px dotted $color-alto; -} - -.modal-tooltip .modal-tooltiptext { - visibility: hidden; - display: block; - width: auto; - background-color: $color-alto; - color: $color-mine-shaft; - text-align: center; - padding: 5px; - border-radius: 6px; + cursor: help; + display: inline-block; position: absolute; - z-index: $infinity; + + .modal-tooltiptext { + background-color: $color-alto; + border-radius: 6px; + color: $color-mine-shaft; + display: block; + margin-left: 100px; + padding: 5px; + position: relative; + text-align: center; + visibility: hidden; + width: 200px; + z-index: $infinity; + } } .modal-tooltip:hover .modal-tooltiptext { From 9214adc591e2944bf42d76c5f12a99961cbe6b43 Mon Sep 17 00:00:00 2001 From: zmagod Date: Thu, 20 Oct 2016 15:35:09 +0200 Subject: [PATCH 2/2] fixed team name position --- app/assets/stylesheets/themes/scinote.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 1e6b87735..3d2d1432b 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -1371,7 +1371,6 @@ html.turbolinks-progress-bar::before { border-bottom: 1px dotted $color-alto; cursor: help; display: inline-block; - position: absolute; .modal-tooltiptext { background-color: $color-alto; @@ -1380,7 +1379,7 @@ html.turbolinks-progress-bar::before { display: block; margin-left: 100px; padding: 5px; - position: relative; + position: absolute; text-align: center; visibility: hidden; width: 200px;