Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SER-740] [guides] UI improvements #4667

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions frontend/express/public/images/icons/arrow_drop_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ guides.search.start-description= Type something and press enter to see the resul
guides.search.no-result = ...hmm, there are no results
guides.search.no-result-description = Try adjusting your search to find what you’re looking for

guides.view = View Guide
guides.view = View Guide
guides.take-the-tour = Take the tour
35 changes: 17 additions & 18 deletions plugins/guides/frontend/public/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@
.walkthrough {
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
justify-content: space-between;
border-radius: 10px;
width: 100%;
height: 250px;
height: 200px;
box-sizing: border-box;
padding: 1rem;
cursor: pointer;
&--blue {
background: linear-gradient(139.69deg, #017AFF 22.95%, rgba(1, 122, 255, 0.5) 96.04%);
Expand All @@ -75,30 +76,28 @@
}

&__title {
position: absolute;
font-size: 23px;
font-weight: 500;
line-height: 30px;
letter-spacing: .003em;
text-align: left;
color: #fff;
z-index: 9;
width: 80%;
word-break: break-word;
overflow-wrap: break-word;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}

&__icon {
position: absolute;
width: 50px;
opacity: 0.8;
z-index: 10;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);

&__button {
display: flex;
flex-direction: row;
&__icon {
width: 16px;
margin-right: 5px;
}
&__text {
opacity: 0.8px;
color: #fff;
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<div class="walkthrough-wrapper bu-column">
<div :class="['walkthrough', gradientClass]" :id="'walkthrough__'+value.id" @click="openDialog()">
<img src="images/icons/play-circle-filled.svg" alt="Icon" class="walkthrough__icon"/>
<div class="walkthrough__title">
{{ value.title }}
</div>
<div class="walkthrough__button">
<img src="images/icons/arrow_drop_right.svg" alt="Icon" class="walkthrough__button__icon"/>
<div class="walkthrough__button__text">{{ i18n('guides.take-the-tour') }}</div>
</div>
</div>
<el-dialog
:visible.sync="isDialogIframeVisible"
Expand Down