-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
M_002 / 말랑맵과 주 모달의 공통 컴포넌트 마크업
- Loading branch information
Showing
58 changed files
with
5,348 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* _articleItem.scss */ | ||
|
||
.article-item { | ||
display: flex; | ||
gap: 0.8rem; | ||
|
||
&:has(input:checked) { | ||
> .article-item-descriptions { | ||
background-color: rgb(var(--clr-tint-20) / 0.05); | ||
outline: 0.2rem solid rgb(var(--clr-info) / 0.25); | ||
} | ||
} | ||
|
||
&:not(:has(input:checked)):hover { | ||
> .article-item-descriptions { | ||
background-color: rgb(var(--clr-tint-20) / 0.05); | ||
} | ||
} | ||
} | ||
|
||
.article-item-checkbox-wrapper { | ||
flex-shrink: 0; | ||
display: flex; | ||
align-items: center; | ||
height: 2.4rem; | ||
} | ||
|
||
.article-item-descriptions { | ||
display: flex; | ||
flex-flow: column nowrap; | ||
gap: 0.4rem; | ||
flex: 1; | ||
padding: 0.8rem; | ||
border-radius: var(--rad-lg); | ||
} | ||
|
||
@mixin sub-descriptions { | ||
display: flex; | ||
align-items: center; | ||
gap: 0.2rem; | ||
font-size: var(--fnt-sm); | ||
font-weight: 200; | ||
} | ||
|
||
.article-item-title { | ||
@include sub-descriptions(); | ||
} | ||
|
||
.article-item-title-text { | ||
font-size: var(--fnt-md); | ||
font-weight: 900; | ||
} | ||
|
||
.article-replies-counter { | ||
font-weight: 400; | ||
opacity: 0.5; | ||
} | ||
|
||
.article-item-category { | ||
@include sub-descriptions(); | ||
} | ||
|
||
.article-item-datetime { | ||
@include sub-descriptions(); | ||
|
||
opacity: 0.5; | ||
} | ||
|
||
/* _articleItem.scss */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* _chatItem.scss */ | ||
|
||
.chat-item { | ||
display: flex; | ||
gap: 0.4rem; | ||
|
||
.chat-content-container { | ||
animation: pop-up-message 0.25s ease-in forwards 1; | ||
} | ||
|
||
&.opposite { | ||
.chat-content-container { | ||
border-top-left-radius: 0; | ||
background-color: rgb(var(--clr-surface-100)); | ||
transform-origin: top left; | ||
} | ||
|
||
.chat-datetime-container { | ||
justify-content: flex-end; | ||
} | ||
} | ||
|
||
&.my { | ||
justify-content: flex-end; | ||
|
||
.chat-content-container { | ||
justify-self: flex-end; | ||
border-bottom-right-radius: 0; | ||
background-color: rgb(var(--clr-info)); | ||
color: rgb(var(--clr-text-on-tint)); | ||
transform-origin: bottom right; | ||
} | ||
} | ||
} | ||
|
||
.chat-user-image-container { | ||
flex-shrink: 0; | ||
position: relative; | ||
width: 1.8rem; | ||
height: 1.8rem; | ||
border: 1px solid rgb(var(--clr-text) / 0.15); | ||
border-radius: var(--rad-full); | ||
background-color: rgb(var(--clr-gray)); | ||
color: rgb(var(--clr-white)); | ||
overflow: clip; | ||
|
||
> .remix { | ||
position: absolute; | ||
inset: 0; | ||
margin-block-start: 0.4rem; | ||
width: 100%; | ||
height: 100%; | ||
opacity: 0.5; | ||
} | ||
} | ||
|
||
.chat-user-image { | ||
position: absolute; | ||
inset: 0; | ||
} | ||
|
||
.chat-body { | ||
display: flex; | ||
flex-flow: column nowrap; | ||
gap: 0.2rem; | ||
} | ||
|
||
.chat-user-name { | ||
font-size: var(--fnt-sm); | ||
font-weight: 700; | ||
opacity: 0.5; | ||
} | ||
|
||
.chat-content-container { | ||
padding: 0.4rem 0.6rem; | ||
max-width: 14rem; | ||
border-radius: var(--rad-lg); | ||
line-height: 1.4; | ||
} | ||
|
||
.chat-datetime-container { | ||
display: flex; | ||
align-items: center; | ||
gap: 0.2rem; | ||
font-size: var(--fnt-sm); | ||
opacity: 0.5; | ||
} | ||
|
||
/* _chatItem.scss */ |
File renamed without changes.
Oops, something went wrong.