Skip to content

Commit

Permalink
fix: #1060;
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Feb 20, 2023
1 parent 5735b36 commit cae59f6
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 28 deletions.
51 changes: 27 additions & 24 deletions src/lib/components/_main_/header/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2197,9 +2197,33 @@ TODO:FIXME: not generating for each LANG

<!-- ===================
COMPONENT STYLE
[MOBILE FIRST]
=================== -->
<style>
/* #region */
#background-area-close {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 1000;
}
#background-area-close-inner {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 1000;
}
header {
background-color: #292929;
height: 128px;
Expand Down Expand Up @@ -2491,7 +2515,8 @@ COMPONENT STYLE
}
/*
OPT-BOX */
OPT-BOX
*/
.dropdown-opt-box {
border-left: 1px solid #4b4b4b;
height: 44px;
Expand Down Expand Up @@ -2653,27 +2678,5 @@ COMPONENT STYLE
background: #292929;
border-radius: 4px;
}
#background-area-close {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 1000;
}
#background-area-close-inner {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 1000;
}
}
</style>
1 change: 1 addition & 0 deletions src/lib/components/page/profile/Modal-ConnectWallet.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ COMPONENT HTML
class="
s-16
m-b-12
w-500
color-black-2
"
>
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/page/profile/Modal-DeleteAccount.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ COMPONENT HTML
class="
s-16
m-b-12
color-black-2
w-500
color-red-bright
"
>
{RESPONSE_PROFILE_DATA?.delete_account_title} ?
Expand Down
19 changes: 17 additions & 2 deletions src/lib/components/page/profile/Widget-AccountSettings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ COMPONENT HTML
s-16
w-500
color-black-2
m-b-5
"
class:m-b-6={mobileExclusive}
>
Expand Down Expand Up @@ -587,7 +588,11 @@ COMPONENT HTML
[ℹ] name "head" text
[ℹ] name "required" text
-->
<div class="row-space-start">
<div
class="
row-space-start
m-b-5
">
<!--
[ℹ] name "head" text
-->
Expand Down Expand Up @@ -671,6 +676,7 @@ COMPONENT HTML
s-16
w-500
color-black-2
m-b-5
"
class:m-b-6={mobileExclusive}
>
Expand Down Expand Up @@ -706,7 +712,11 @@ COMPONENT HTML
[ℹ] save settings (button)
-->
<button
class="btn-primary-v2"
class="
btn-primary-v2
w-500
s-14
"
on:click={() => save_settings()}
>
{RESPONSE_PROFILE_DATA?.save}
Expand Down Expand Up @@ -825,6 +835,7 @@ COMPONENT STYLE
padding: 3px 8px;
height: 24px;
background-color: var(--oragne-pale-bg);
color: var(--primary-fade);
border-radius: 32px;
}
Expand Down Expand Up @@ -867,5 +878,9 @@ COMPONENT STYLE
div#account-settings-widget-box.dark-background-1 p.required-pill-tag {
color: var(--primary-fade)
}
div#account-settings-widget-box.dark-background-1 button.btn-hollow.danger {
border: 1px solid var(--dark-theme-1-2-shade) !important;
}
</style>
2 changes: 2 additions & 0 deletions src/lib/components/page/profile/Widget-MenuOpt-Row.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ COMPONENT HTML
<p
class="
w-500
s-16
"
class:color-grey={SELECTED_OPT !=
MENU_OPT}
Expand Down Expand Up @@ -280,6 +281,7 @@ COMPONENT HTML
menu-opt-not-available
no-wrap
color-grey
s-12
"
>
{RESPONSE_PROFILE_DATA?.soon}
Expand Down
4 changes: 4 additions & 0 deletions src/lib/components/page/profile/Widget-MenuOpt.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,8 @@ COMPONENT STYLE
background-color: var(--dark-theme-1) !important;
}
div#profile-menu-widget-container.dark-background-1 div#dropdown-menu-opt-mobile {
background-color: var(--dark-theme-1);
}
</style>
16 changes: 15 additions & 1 deletion src/routes/u/[view]/[lang=lang]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,14 @@ COMPONENT STYLE
display: grid;
max-width: 1430px;
grid-template-columns: 1fr;
padding-top: 0 !important;
padding-bottom: 72px !important;
align-items: start;
}
/* page widget layout */
div#widget-grid-display {
display: grid;
margin-top: 24px;
gap: 20px;
align-items: start;
}
Expand All @@ -108,6 +109,19 @@ COMPONENT STYLE
RESPONSIVNESS
==================== */
/*
RESPONSIVE FOR TABLET ONLY (&+) [768px]
*/
@media only screen and (min-width: 768px) {
section#profile-page {
padding-top: unset !important;
}
/* page widget layout */
div#widget-grid-display {
margin-top: 24px;
}
}
/*
RESPONSIVE FOR DESKTOP ONLY (&+) [1440px]
*/
Expand Down

0 comments on commit cae59f6

Please sign in to comment.