From 1e5da52de83ab3636be0cba6f44a610d8b3d590b Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 21 Oct 2016 11:08:56 +0800 Subject: [PATCH] MDL-56530 tool_usertours: Correct arrow location --- theme/bootstrapbase/less/moodle/tool_usertours.less | 8 ++++---- theme/bootstrapbase/style/moodle.css | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/theme/bootstrapbase/less/moodle/tool_usertours.less b/theme/bootstrapbase/less/moodle/tool_usertours.less index debfde9886f..3ea1e6f4f95 100644 --- a/theme/bootstrapbase/less/moodle/tool_usertours.less +++ b/theme/bootstrapbase/less/moodle/tool_usertours.less @@ -76,7 +76,7 @@ span[data-flexitour="container"] { &[x-placement="top-start"] { margin-bottom: @popoverArrowWidth; div[data-role="arrow"] { - bottom: -@popoverArrowOuterWidth; + bottom: -@popoverArrowWidth; left: 50%; margin-left: -@popoverArrowOuterWidth; border-bottom-width: 0; @@ -94,7 +94,7 @@ span[data-flexitour="container"] { &[x-placement="bottom-start"] { margin-top: @popoverArrowWidth; div[data-role="arrow"] { - top: -@popoverArrowOuterWidth; + top: -@popoverArrowWidth; left: 50%; margin-left: -@popoverArrowOuterWidth; border-top-width: 0; @@ -112,7 +112,7 @@ span[data-flexitour="container"] { &[x-placement="left-start"] { margin-right: @popoverArrowWidth; div[data-role="arrow"] { - right: -@popoverArrowOuterWidth; + right: -@popoverArrowWidth; top: 50%; margin-top: -@popoverArrowOuterWidth; border-right-width: 0; @@ -130,7 +130,7 @@ span[data-flexitour="container"] { &[x-placement="right-start"] { margin-left: @popoverArrowWidth; div[data-role="arrow"] { - left: -@popoverArrowOuterWidth; + left: -@popoverArrowWidth; top: 50%; margin-top: -@popoverArrowOuterWidth; border-left-width: 0; diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 2747ac00fbf..86fcf7d72e2 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -16741,7 +16741,7 @@ span[data-flexitour="container"][x-placement="top-start"] { } span[data-flexitour="container"][x-placement="top"] div[data-role="arrow"], span[data-flexitour="container"][x-placement="top-start"] div[data-role="arrow"] { - bottom: -11px; + bottom: -10px; left: 50%; margin-left: -11px; border-bottom-width: 0; @@ -16760,7 +16760,7 @@ span[data-flexitour="container"][x-placement="bottom-start"] { } span[data-flexitour="container"][x-placement="bottom"] div[data-role="arrow"], span[data-flexitour="container"][x-placement="bottom-start"] div[data-role="arrow"] { - top: -11px; + top: -10px; left: 50%; margin-left: -11px; border-top-width: 0; @@ -16779,7 +16779,7 @@ span[data-flexitour="container"][x-placement="left-start"] { } span[data-flexitour="container"][x-placement="left"] div[data-role="arrow"], span[data-flexitour="container"][x-placement="left-start"] div[data-role="arrow"] { - right: -11px; + right: -10px; top: 50%; margin-top: -11px; border-right-width: 0; @@ -16798,7 +16798,7 @@ span[data-flexitour="container"][x-placement="right-start"] { } span[data-flexitour="container"][x-placement="right"] div[data-role="arrow"], span[data-flexitour="container"][x-placement="right-start"] div[data-role="arrow"] { - left: -11px; + left: -10px; top: 50%; margin-top: -11px; border-left-width: 0;