Skip to content

Commit 45ea98b

Browse files
authored
[5.2] [Guided tours] Increase the width and adjust the height of the popup (#43810)
* Add sizes to the shepherd element * Changed the order of the properties. * Update guidedtours.scss * Added fix for the popup height in case the content gets taller than the viewport * Changed property order * Correct padding for text * Corrections padding footer * Use shorthand * Added footer padding again to accommodate this PR, although added to PR #43809 * Improve the layout of the intro. * Update guidedtours.joomla_welcome_steps.ini * Improve the layout of the dashboard panel step * use <br> rather than <br />
1 parent ea9eedf commit 45ea98b

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

administrator/language/en-GB/guidedtours.joomla_welcome.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
; Note : All ini files need to be saved as UTF-8
55

66
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_TITLE="Welcome to Joomla!"
7-
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_DESCRIPTION="<p>This tour will give you a quick overview of how to get started with Joomla!</p><p>You are in the Joomla Administrator area, also known as the "<strong>Backend</strong>". This is where you set up and manage your entire Joomla Site.</p><p><strong>Want to learn more?</strong></p><p>Let's start the tour and build your site with the power of Joomla!</p>"
7+
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_DESCRIPTION="<p>This tour will give you a quick overview of how to get started with Joomla!</p><p>You are in the Joomla Administrator area, also known as the "<strong>Backend</strong>".<br>This is where you set up and manage your entire Joomla Site.</p><p><strong>Want to learn more?</strong></p><p>Let's start the tour and build your site with the power of Joomla!</p>"

administrator/language/en-GB/guidedtours.joomla_welcome_steps.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_TITLE="The Menu"
77
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_MENUS_DESCRIPTION="<p>The menu provides access to the Administrator management pages. Each section has a collection of pages for managing that particular aspect of Joomla, such as Content, Menus and Users.</p><p>The window pane icons link to individual dashboards for those sections. The System menu itself leads to a dashboard.</p>"
88

99
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_TITLE="The Dashboard Panels"
10-
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_DESCRIPTION="<p>Dashboards provide quick access to frequently used pages via their icons.</p><p>Each dashboard panel is an Administrator module that can be customised via its Settings icon <span class=\"icon-cogs\" aria-hidden=\"true\"></span>. This allows you to configure your site dashboards to suit your own purposes.</p>"
10+
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_QUICKACCESS_DESCRIPTION="<p>Dashboards provide quick access to frequently used pages via their icons.</p><p>Each dashboard panel is an Administrator module that can be customised via its Settings icon <span class=\"icon-cogs\" aria-hidden=\"true\"></span>.<br>This allows you to configure your site dashboards to suit your own purposes.</p>"
1111

1212
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_TITLE="The Notifications Panel"
1313
COM_GUIDEDTOURS_TOUR_WELCOMETOJOOMLA_STEP_NOTIFICATIONS_DESCRIPTION="<p>The Notifications panel shows when updates are available for Joomla and other extensions. Outstanding Privacy Requests are also shown here.</p>"

build/media_source/plg_system_guidedtours/scss/guidedtours.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55

66
@import "../../../../node_modules/shepherd.js/dist/css/shepherd";
77

8+
.shepherd-element {
9+
width: max-content;
10+
max-width: min(600px, 90%);
11+
}
12+
13+
.shepherd-element.shepherd-centered {
14+
max-width: min(1200px, 90%);
15+
}
16+
817
.shepherd-modal-overlay-container.shepherd-modal-is-visible {
918
opacity: .7;
1019
}
@@ -30,13 +39,16 @@
3039
}
3140

3241
.shepherd-text {
33-
padding: 1em;
42+
max-height: calc(100vh - 240px);
43+
padding: 1rem 1rem 0;
44+
overflow-y: auto;
3445
line-height: 1.5em;
3546
}
3647

3748
.shepherd-footer {
3849
display: grid;
3950
grid-template-columns: repeat(3, 1fr);
51+
padding: 1rem;
4052
}
4153

4254
.shepherd-button-primary {

0 commit comments

Comments
 (0)