mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
add crtl/cmd instructions to skip modal
This commit is contained in:
@@ -33,6 +33,11 @@
|
|||||||
v-html="$t('leaveHabiticaText')"
|
v-html="$t('leaveHabiticaText')"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
class="skip-modal"
|
||||||
|
>
|
||||||
|
{{ $t('skipExternalLinkModal') }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- FOOTER -->
|
<!-- FOOTER -->
|
||||||
<div slot="modal-footer">
|
<div slot="modal-footer">
|
||||||
@@ -64,13 +69,13 @@
|
|||||||
|
|
||||||
.modal-close {
|
.modal-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 16px;
|
right: 12px;
|
||||||
top: 16px;
|
top: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
.icon-close {
|
.icon-close {
|
||||||
width: 18px;
|
width: 16px;
|
||||||
height: 18px;
|
height: 16px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
& svg {
|
& svg {
|
||||||
@@ -90,7 +95,7 @@
|
|||||||
|
|
||||||
.modal-header {
|
.modal-header {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding-top: 24px;
|
padding-top: 32px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
background: $yellow-100;
|
background: $yellow-100;
|
||||||
border-top-right-radius: 8px;
|
border-top-right-radius: 8px;
|
||||||
@@ -113,7 +118,7 @@
|
|||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
color: $yellow-1;
|
color: $yellow-1;
|
||||||
// font-size: 1.25rem;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,6 +130,16 @@
|
|||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.71;
|
line-height: 1.71;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin-top:24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skip-modal {
|
||||||
|
color: $gray-100;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 1.33;
|
||||||
|
margin-top: 16px;
|
||||||
|
// padding-bottom: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -141,8 +156,8 @@
|
|||||||
line-height: 1.71;
|
line-height: 1.71;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding-top:16px;
|
margin-top:16px;
|
||||||
padding-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -214,5 +214,6 @@
|
|||||||
"askQuestion": "Ask a Question",
|
"askQuestion": "Ask a Question",
|
||||||
"emptyReportBugMessage": "Report Bug Message missing",
|
"emptyReportBugMessage": "Report Bug Message missing",
|
||||||
"leaveHabitica": "You are about to leave Habitica.com",
|
"leaveHabitica": "You are about to leave Habitica.com",
|
||||||
"leaveHabiticaText": "Habitica is not responsible for the content of any linked website that is not owned or operated by HabitRPG.<br>Please note that these websites' practices may differ from Habitica’s community guidelines."
|
"leaveHabiticaText": "Habitica is not responsible for the content of any linked website that is not owned or operated by HabitRPG.<br>Please note that these websites' practices may differ from Habitica’s community guidelines.",
|
||||||
|
"skipExternalLinkModal": "Hold CTRL (Windows) or Command (Mac) when clicking a link to skip this modal."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user