diff --git a/core/modules/tour/css/tour.module.css b/core/modules/tour/css/tour.module.css index 2d1f4c8..51fc1fb 100644 --- a/core/modules/tour/css/tour.module.css +++ b/core/modules/tour/css/tour.module.css @@ -10,29 +10,10 @@ [dir="rtl"] .toolbar .toolbar-bar .tour-toolbar-tab.toolbar-tab { float: left; } -.toolbar .tour-toolbar-tab button { - padding-bottom: 1em; - padding-top: 1em; - color: #fff; - font-weight: bold; -} -.toolbar .tour-toolbar-tab button.is-active { - background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); - background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); -} -.tour-toolbar-tab button:focus { - outline: thin dotted; -} - -/* @todo Remove once http://drupal.org/node/1916690 is resolved. */ -.toolbar .tour-toolbar-tab.toolbar-tab.hidden { - display: none; -} /* Override placement of the tour progress indicator. */ .tour-progress { position: absolute; - /* Equals paddings from .joyride-content-wrapper */ bottom: 0; right: 0; /* LTR */ } @@ -41,16 +22,6 @@ left: 0; } -/* @todo Remove once http://drupal.org/node/1916690 is resolved. */ -.toolbar .tour-toolbar-tab.toolbar-tab.hidden { - display: none; -} - -/* JoyRide Styles. */ -#joyRideTipContent { - display: none; -} - /* Default styles for the container */ .joyride-tip-guide { position: absolute; @@ -58,16 +29,21 @@ background: #fff; width: 300px; z-index: 101; - top: 0; /* keeps the page from scrolling when calculating position. */ + top: 0; left: 0; padding: 1em 1em 1.5em 1.5em; /* LTR */ } [dir="rtl"] .joyride-tip-guide { padding: 1em 1.5em 1.5em 1em; } +@media only screen and (max-width: 767px) { + .joyride-tip-guide { + width: 85%; + left: 2.5%; + } +} .joyride-content-wrapper { - /* Apply padding from parent .joyride-tip-guide to absolutely positioned children. */ position: relative; padding-right: 1em; /* LTR */ } @@ -76,14 +52,6 @@ padding-left: 1em; } -/* Mobile */ -@media only screen and (max-width: 767px) { - .joyride-tip-guide { - width: 85%; - left: 2.5%; - } -} - /* Add a little css triangle pip, older browser just miss out on the fanciness of it. */ .joyride-tip-guide .joyride-nub { display: block;