Skip to content

Commit

Permalink
fix timer and data
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroslav0102030405 committed Feb 12, 2024
1 parent 7aab158 commit b93bdd7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion care/src/js/timer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let date = new Date("February 15 2024 00:00:00");
let date = new Date("February 28 2024 00:00:00");
// let date = Date.now("February 8 2024 00:00:00");

function pad(value) {
Expand Down
27 changes: 16 additions & 11 deletions care/src/sass/components/accordion/accordion.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.accordion__title-1 {
margin-bottom: 0;
color: $white-color;
}

.accordion__wapper {
Expand Down Expand Up @@ -30,21 +31,23 @@
// cursor: pointer;
cursor: url("../image/cursor-hand.png"), auto;

border: 1px solid $border-grey-color;
// border: 1px solid $border-grey-color;
border-top: 0;
// color: $text-color;
background-color: $white-color;
// background-color: $white-color;
background-color: $accent-color;
}

.accordion:first-child {
border-top: 1px solid $border-grey-color;
// border-top: 1px solid $border-grey-color;
border-top: 1px solid $accent-color;
}

.accordion__title.active {
box-shadow: 0 0 12px 1px $accent-color;
// color: $white-color;
// background-color: $accent-color;
}
// .accordion__title.active {
// box-shadow: 0 0 12px 1px $accent-color;
// // color: $white-color;
// // background-color: $accent-color;
// }

.accordion__title span {
display: inline-flex;
Expand All @@ -64,11 +67,12 @@
content: "";
position: absolute;
width: 50%;
height: 2%;
height: 3%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: $plus-grey-color;
// background-color: $plus-grey-color;
background-color: $white-color;
}

.accordion__title span::after {
Expand All @@ -79,7 +83,8 @@
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: $plus-grey-color;
// background-color: $plus-grey-color;
background-color: $white-color;
}

.accordion__content {
Expand Down

0 comments on commit b93bdd7

Please sign in to comment.