Skip to content

Commit

Permalink
🌈 Design: μ£Ό λͺ¨λ‹¬ λ§ˆν¬μ—… 진행, λ“œλ‘­λ‹€μš΄ μ»΄ν¬λ„ŒνŠΈ λ§ˆν¬μ—… & μŠ€νƒ€μΌ 및 λ™μž‘ κ°œμ„  (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoRaang committed Nov 28, 2024
1 parent e0e9346 commit a22bbf2
Show file tree
Hide file tree
Showing 24 changed files with 983 additions and 498 deletions.
9 changes: 9 additions & 0 deletions src/assets/images/empty-list.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/assets/stylesheets/components/_areaInfoPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,9 @@
flex: 1;
display: flex;
flex-flow: column nowrap;
gap: 0.4rem;
padding-inline: 0.4rem;
justify-content: space-between;
padding: 0.4rem;
height: 2.4rem;
border-radius: var(--rad-sm);
}

Expand Down
8 changes: 5 additions & 3 deletions src/assets/stylesheets/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ button {

.buttons {
// μ•„μ΄μ½˜μ΄ ν¬ν•¨λœ λ²„νŠΌ - ButtonsWithIcon μ»΄ν¬λ„ŒνŠΈ
--button-surface-color: var(--clr-theme); // λ²„νŠΌ λ°°κ²½ 컬러
--button-surface-color: var(--clr-black); // λ²„νŠΌ λ°°κ²½ 컬러
--button-outline-color: 0 0 0 / 0; // λ²„νŠΌ ν…Œλ‘λ¦¬ 컬러
--button-text-color: var(--clr-text-on-tint); // λ²„νŠΌ ν…μŠ€νŠΈ 컬러
--button-hover-color: var(--clr-tint-20);
--button-hover-color: var(--clr-theme);
--button-hover-text-color: var(--clr-text);

display: flex;
align-items: center;
gap: 0.4rem;
height: 1.6rem;
padding-inline: 0.8rem;
padding-inline: 0.6rem;
border: 1px solid rgb(var(--button-outline-color));
border-radius: 0.2rem;
background-color: rgb(var(--button-surface-color));
Expand All @@ -33,6 +34,7 @@ button {

&:hover {
background-color: rgb(var(--button-hover-color));
color: rgb(var(--button-hover-text-color));
}

&:active {
Expand Down
198 changes: 88 additions & 110 deletions src/assets/stylesheets/components/_dropdown.scss
Original file line number Diff line number Diff line change
@@ -1,123 +1,101 @@
/* _dropDownSelector.scss */

.dropdown-container {
box-sizing: border-box;
display: inline-flex;
flex-direction: row;
justify-content: center;
position: relative;
width: fit-content;
font-size: var(--fnt-sm);
}

.dropdown-selected-label {
display: flex;
align-items: center;
height: 1.6rem;
border: 1px solid rgb(var(--clr-white));
border-radius: var(--rad-sm);
background-color: rgb(var(--clr-white) / 0.75);
backdrop-filter: blur(1.8rem);
box-shadow: var(--shd-100);
font-weight: 700;
cursor: pointer;

> span {
width: 1px;
height: 100%;
background-color: rgb(var(--clr-text) / 0.15);
}

position: relative;
width: 100px;
height: 2rem;
left: 343px;
top: 237px;

background: rgba(255, 255, 255, 0.75);
border: 1px solid #ffffff;
box-shadow: 0px 16px 24px -12px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(18px);
border-radius: 4px;

.option-item {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 8px 16px;

height: 32px;
align-self: stretch;

font-family: "SUIT Variable";
font-style: normal;
color: #302825;
font-weight: 700;
font-size: 12px;
line-height: 15px;

.separator-line {
width: 1px;
height: 32px;
background: #302825;
opacity: 0.15;
order: 1;
z-index: 1;
}
&:hover {
outline: 0.2rem solid rgb(var(--clr-info) / 0.5);
}

&.on {
outline: 0.2rem solid rgb(var(--clr-info));

> .dropdown-arrow-button {
background-color: rgb(var(--clr-black) / 0.1);

.arrow-button {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

width: 0.75rem;
height: 0.75rem;
flex-shrink: 0;
order: 2;
z-index: 2;
> .remix {
color: rgb(var(--clr-white));
rotate: -180deg;
}
}
}
}

.dropdown-menu {
display: flex;
flex-direction: column;
align-items: flex-start;

position: absolute;
height: 96px;
top: 45px;

background: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.15);
box-shadow: 0px 16px 24px -12px rgba(0, 0, 0, 0.25);
border-radius: 4px;

order: 3;
z-index: 3;

.dropdown-menu-item {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0px 8px;
gap: 10px;

width: 100px;
height: 32px;
align-self: stretch;

&.active {
background: #5960e8;

.menu-item-label {
color: #ffffff;
}

.icon-checked {
opacity: 1;
}
}
.selected-label-text {
display: flex;
padding-inline: 0.4rem;
min-width: 3.2rem;
}

.menu-item-label {
margin: 0 auto;
width: 35px;
height: 15px;
.dropdown-arrow-button {
flex-shrink: 0;
display: grid;
place-items: center;
height: 100%;
aspect-ratio: 1 / 1;

font-family: "SUIT Variable";
font-style: normal;
font-weight: 200;
font-size: 12px;
line-height: 15px;
> .remix {
transition: rotate 0.15s;
}
}

color: #000000;
}
.dropdown-menu {
position: absolute;
inset-block-start: calc(100% + 0.4rem);
inset-inline: 0;
max-height: 6rem;
border-radius: var(--rad-sm);
background-color: rgb(var(--clr-white));
box-shadow: var(--shd-100);
opacity: 1;
overflow: clip;
overflow-y: auto;

@starting-style {
opacity: 0;
transition: opacity 0.15s;
}
}

.icon-checked {
margin: 0 auto;
width: 16px;
height: 16px;
order: 1;
}
}
.dropdown-menu-item {
display: flex;
align-items: center;
justify-content: space-between;
padding-inline: 0.4rem;
height: 1.6rem;
font-weight: 200;
user-select: none;

&:hover {
background-color: rgb(var(--clr-info) / 0.15);
}

&.selected {
background-color: rgb(var(--clr-info));
color: rgb(var(--clr-text-on-tint));
font-weight: 700;
}
}

/* _dropDownSelector.scss */
25 changes: 25 additions & 0 deletions src/assets/stylesheets/components/_emptyList.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* _emptyList.scss */

.empty-list-placeholder {
display: grid;
place-items: center;
gap: 1.2rem;
padding-block: 1.2rem;
width: 100%;
height: 100%;
}

.empty-list-illust {
width: 8rem;
height: 3rem;
}

.empty-list-text {
font-size: var(--fnt-md);
font-weight: 200;
text-align: center;
line-height: 1.4;
text-wrap: balance;
}

/* _emptyList.scss */
Loading

0 comments on commit a22bbf2

Please sign in to comment.