Skip to content

Commit

Permalink
Added more styling and spacing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioCasCeb committed Dec 11, 2023
1 parent 0b2449c commit 1b023b0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions packages/web-new/src/styles/_examples-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
background-color: var(--clr-neutral-50);
border-radius: 5px;
width: fit-content;
padding: .75rem 1rem;
padding: .75rem;
box-shadow: 0px 0px 5px 0px var(--clr-shadow);
transition: box-shadow 250ms ease-in-out;
position: relative;
Expand Down Expand Up @@ -358,7 +358,7 @@
font-weight: var(--fw-bold);
}

.toggle-arrow{
.toggle-arrow {
font-size: var(--fs-footer);
transform: rotate(0);
transition: transform 250ms ease-in-out 250ms;
Expand All @@ -378,7 +378,7 @@
cursor: pointer;
transition: background-color 250ms ease-in-out, opacity 250ms ease-in-out;

i{
i {
font-size: var(--fs-i);
color: var(--clr-neutral-50);
transition: color 250ms ease-in-out;
Expand All @@ -394,6 +394,7 @@
&--quick {

opacity: 1;

i {
color: var(--clr-neutral-300);
}
Expand Down Expand Up @@ -428,16 +429,15 @@
overflow-x: hidden;
padding-right: 1rem;
transition: height 250ms ease-in-out 250ms, margin 250ms ease-in-out 250ms, opacity 250ms ease-in-out 0ms;

}

&__btn {
display: flex;
width: 100%;
gap: 2rem;
gap: .5rem;
height: 0;
opacity: 0;
transition: opacity 250ms ease-in-out 0ms, height 250ms ease-in-out 250ms, ;
transition: opacity 250ms ease-in-out 0ms, height 250ms ease-in-out 250ms;

button {
width: 100%;
Expand Down Expand Up @@ -490,12 +490,12 @@
.example.open {

.example__header {
&--name{
.toggle-arrow{
&--name {
.toggle-arrow {
transform: rotate(-90deg);
transition: transform 250ms ease-in-out 0s;
}
}
}
}

.example__content {
Expand Down
4 changes: 2 additions & 2 deletions packages/web-new/src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ main .console {
border-radius: 5px;
width: -moz-fit-content;
width: fit-content;
padding: 0.75rem 1rem;
padding: 0.75rem;
box-shadow: 0px 0px 5px 0px var(--clr-shadow);
transition: box-shadow 250ms ease-in-out;
position: relative;
Expand Down Expand Up @@ -2058,7 +2058,7 @@ main .console {
.examples-menu .examples-menu-container .examples-container__td .examples-category__container .example__btn, .examples-menu .examples-menu-container .examples-container__tm .examples-category__container .example__btn {
display: flex;
width: 100%;
gap: 2rem;
gap: 0.5rem;
height: 0;
opacity: 0;
transition: opacity 250ms ease-in-out 0ms, height 250ms ease-in-out 250ms;
Expand Down
Loading

0 comments on commit 1b023b0

Please sign in to comment.