Skip to content

Commit

Permalink
added modal for forget password and confirmation, and change redirect…
Browse files Browse the repository at this point in the history
… devise behaviour
  • Loading branch information
OlegPhenomenon committed Oct 2, 2023
1 parent 9eb59e9 commit fb2b399
Show file tree
Hide file tree
Showing 37 changed files with 501 additions and 140 deletions.
100 changes: 86 additions & 14 deletions app/assets/builds/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
.o-arrow {
width: 1.2rem;
height: 1.2rem;
background: url("../assets/arrow-dwn.svg") center center/11px 7px no-repeat;
background: url("../img/arrow-dwn.svg") center center/16px 16px no-repeat;
cursor: pointer;
display: inline-block;
transition: 0.25s;
Expand Down Expand Up @@ -2033,6 +2033,17 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.9335 2.89333L9.10686 1.06666C8.86846 0.842727 8.55606 0.714236 8.22908 0.705632C7.90211 0.697027 7.58338 0.80891 7.33353 1.02L1.33353 7.02C1.11804 7.23731 0.983867 7.52213 0.953531 7.82666L0.666864 10.6067C0.657884 10.7043 0.670554 10.8027 0.703972 10.8949C0.73739 10.9871 0.790733 11.0708 0.860198 11.14C0.922491 11.2018 0.996369 11.2507 1.07759 11.2838C1.15882 11.317 1.24579 11.3338 1.33353 11.3333H1.39353L4.17353 11.08C4.47806 11.0497 4.76289 10.9155 4.9802 10.7L10.9802 4.7C11.2131 4.45397 11.3389 4.12567 11.3302 3.78702C11.3214 3.44837 11.1788 3.127 10.9335 2.89333ZM4.05353 9.74666L2.05353 9.93333L2.23353 7.93333L6.0002 4.21333L7.8002 6.01333L4.05353 9.74666ZM8.66686 5.12L6.8802 3.33333L8.1802 2L10.0002 3.82L8.66686 5.12Z' fill='%2348A23F'/%3E%3C/svg%3E%0A");
}

.o-fp-icon {
display: inline-block;
vertical-align: middle;
width: 1.5625rem;
height: 1.5625rem;
min-width: 1.5625rem;
min-height: 1.5625rem;
background: center center/85% no-repeat;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="%230085CA" d="M15.709 12.71a6 6 0 1 0-7.42 0 10 10 0 0 0-6.22 8.18 1.006 1.006 0 0 0 2 .22 8 8 0 0 1 15.9 0 1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1 10 10 0 0 0-6.25-8.19Zm-3.71-.71a4 4 0 1 1 0-8 4 4 0 0 1 0 8Z"/></svg>');
}

.o-bill-icon {
display: inline-block;
vertical-align: middle;
Expand Down Expand Up @@ -2618,9 +2629,13 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
color: #FFFFFF;
}
.s-toolbar-nav li:nth-child(n+5) a:hover {
background-color: #000000;
color: #FFFFFF;
}
@media all and (min-width: 1120px) {
.s-toolbar-nav li:nth-child(n+5) a:hover {
background-color: #000000;
}
}
@media all and (min-width: 1120px) {
.s-toolbar-nav li {
flex-wrap: nowrap;
Expand Down Expand Up @@ -2649,8 +2664,10 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
text-transform: initial;
}
}
.s-toolbar-nav li.is-active > a {
box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
@media all and (min-width: 1120px) {
.s-toolbar-nav li.is-active > a {
box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
}
}
.s-toolbar-nav li.is-active a {
font-weight: 800;
Expand All @@ -2663,8 +2680,10 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
.s-toolbar-nav li.is-active a:hover {
color: #FFFFFF;
}
.s-toolbar-nav li.is-active:nth-child(2) a {
background: linear-gradient(90deg, #48A23F 1.35%, #3EB54C 98.65%);
@media all and (min-width: 1120px) {
.s-toolbar-nav li.is-active:nth-child(2) a {
background: linear-gradient(90deg, #48A23F 1.35%, #3EB54C 98.65%);
}
}
.s-toolbar-nav li.is-active:nth-child(2) .submenu {
background: #48A23F;
Expand Down Expand Up @@ -2925,20 +2944,44 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
.c-header__user {
display: flex;
gap: 0.5625rem;
color: #FFFFFF;
color: #212224;
align-items: center;
white-space: nowrap;
text-decoration: none;
font-weight: 500;
font-weight: 800;
font-size: 0.875rem;
line-height: 1.25rem;
}
@media all and (min-width: 1120px) {
.c-header__user {
color: #FFFFFF;
font-weight: 500;
}
}
.c-header__user svg {
fill: #212224;
}
@media all and (min-width: 1120px) {
.c-header__user svg {
fill: #FFFFFF;
}
}
.c-header__user:hover {
color: #E2E2E2;
color: #212224;
text-decoration: underline;
}
@media all and (min-width: 1120px) {
.c-header__user:hover {
color: #E2E2E2;
}
}
.c-header__user:hover svg {
fill: #E2E2E2;
fill: #212224;
}
@media all and (min-width: 1120px) {
.c-header__user:hover svg {
fill: #E2E2E2;
}
}

.c-socials {
Expand Down Expand Up @@ -3467,6 +3510,7 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
color: #FFFFFF;
border: none;
background: #0085ca;
border: 1px solid #FFFFFF;
}
.c-cta--horizontal .c-cta__btn a:disabled {
pointer-events: none;
Expand All @@ -3475,6 +3519,7 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
.c-cta--horizontal .c-cta__btn a:hover {
background: #FFFFFF;
color: #0085ca;
border: 1px solid #0085ca;
}

.c-cta--three-col {
Expand Down Expand Up @@ -3708,6 +3753,7 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
color: #FFFFFF;
border: none;
background: #0085ca;
border: 1px solid #FFFFFF;
}
.c-btn--blue:disabled {
pointer-events: none;
Expand All @@ -3716,6 +3762,7 @@ input:not([type=checkbox]):not([type=radio]).is-invalid + span, select.is-invali
.c-btn--blue:hover {
background: #FFFFFF;
color: #0085ca;
border: 1px solid #0085ca;
}

.c-btn--black {
Expand Down Expand Up @@ -5361,9 +5408,6 @@ table .c-btn--icon {
.c-modal.c-modal--bill tbody tr:hover {
background-color: #EFEFF1;
}
.c-modal.c-modal--bill tbody tr:hover td {
font-weight: 800;
}
.c-modal.c-modal--bill tfoot td {
background-color: #212224;
color: #FFFFFF;
Expand Down Expand Up @@ -5395,6 +5439,14 @@ table .c-btn--icon {
}
}

.c-modal--fp .c-modal__header__title span:last-child {
color: #0085ca;
}

.c-modal--vi .c-modal__header {
padding-bottom: 0.625rem;
}

.c-notices {
background-color: #FFFFFF;
background-color: #FFFFFF;
Expand Down Expand Up @@ -5514,7 +5566,7 @@ table .c-btn--icon {
font-weight: 500;
line-height: 1.5rem;
text-decoration-line: underline;
flex-shrink: 0;
cursor: pointer;
}

.c-account__title {
Expand Down Expand Up @@ -5850,6 +5902,18 @@ table .c-btn--icon {
}
}

.c-fp__btns-wrapper {
gap: 1rem;
}

.c-fp__input {
margin-bottom: 40px;
}

.c-fp__btn {
font-size: 0.875rem;
}

.pagy-nav .page.prev,
.pagy-nav .page.prev a,
.pagy-nav .page.next,
Expand Down Expand Up @@ -6223,6 +6287,10 @@ table .c-btn--icon {
display: flex;
}

.u-flex-col {
flex-direction: column;
}

.u-flex-wrap {
flex-wrap: wrap;
}
Expand All @@ -6237,6 +6305,10 @@ table .c-btn--icon {
align-items: center;
}

.u-align-end {
align-items: flex-end;
}

.u-content-center {
justify-content: center;
}
Expand Down
12 changes: 12 additions & 0 deletions app/assets/builds/application.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/assets/builds/application.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/assets/stylesheets/components/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
@import "table-whishlist";
@import "wishlist";
@import "address";
@import "fp";
@import "pagy";
9 changes: 9 additions & 0 deletions app/assets/stylesheets/components/_fp.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.c-fp__btns-wrapper{
gap: 1rem;
}
.c-fp__input {
margin-bottom: 40px;
}
.c-fp__btn{
font-size: rem(14px);
}
26 changes: 20 additions & 6 deletions app/assets/stylesheets/components/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,34 @@
.c-header__user {
display: flex;
gap: rem(9px);
color: $white-color;
color: $black-color;
align-items: center;
white-space: nowrap;
text-decoration: none;
font-weight: 500;
font-weight: 800;
font-size: rem(14px);
line-height: rem(20px);

@include mq(desktop){
color: $white-color;
font-weight: 500;
}
svg {
fill: $black-color;
@include mq(desktop){
fill: $white-color;
}
}
&:hover {
color: $grey-200-color;
color: $black-color;
text-decoration: underline;

@include mq(desktop){
color: $grey-200-color;
}
svg {
fill: $grey-200-color;
fill: $black-color;
@include mq(desktop){
fill: $grey-200-color;
}
}
}
}
3 changes: 2 additions & 1 deletion app/assets/stylesheets/components/_login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@
font-weight: 500;
line-height: rem(24px);
text-decoration-line: underline;
flex-shrink: 0
cursor: pointer;
}

Loading

0 comments on commit fb2b399

Please sign in to comment.