-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
120 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,4 +54,4 @@ | |
color: var(--paragraph-color); | ||
margin-top: 8px; | ||
} | ||
} | ||
} |
115 changes: 57 additions & 58 deletions
115
apps/frontend/src/components/CarouselClass/CarouselClass.module.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 |
---|---|---|
@@ -1,65 +1,64 @@ | ||
.root { | ||
border: 1px solid var(--border-color); | ||
border-radius: 8px; | ||
flex-shrink: 0; | ||
background-color: var(--foreground-color); | ||
position: relative; | ||
padding: 16px; | ||
border: 1px solid var(--border-color); | ||
border-radius: 8px; | ||
flex-shrink: 0; | ||
background-color: var(--foreground-color); | ||
position: relative; | ||
padding: 16px; | ||
display: flex; | ||
gap: 16px; | ||
align-items: flex-start; | ||
cursor: pointer; | ||
|
||
&:hover .column .icon { | ||
color: var(--heading-color); | ||
} | ||
|
||
.column { | ||
display: flex; | ||
gap: 16px; | ||
align-items: flex-start; | ||
cursor: pointer; | ||
|
||
&:hover .column .icon { | ||
flex-direction: column; | ||
gap: 8px; | ||
flex-shrink: 0; | ||
|
||
.icon { | ||
color: var(--paragraph-color); | ||
transition: all 100ms ease-in-out; | ||
} | ||
} | ||
|
||
.text { | ||
flex-grow: 1; | ||
font-size: 14px; | ||
width: 80%; | ||
|
||
.heading { | ||
color: var(--heading-color); | ||
margin-bottom: 8px; | ||
line-height: 1; | ||
font-weight: 660; | ||
font-feature-settings: | ||
"cv05" on, | ||
"cv13" on, | ||
"ss07" on, | ||
"cv12" on, | ||
"cv06" on; | ||
} | ||
|
||
.column { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 8px; | ||
flex-shrink: 0; | ||
|
||
.icon { | ||
color: var(--paragraph-color); | ||
transition: all 100ms ease-in-out; | ||
} | ||
|
||
.description { | ||
color: var(--paragraph-color); | ||
line-height: 1.5; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
width: 100%; | ||
} | ||
|
||
.text { | ||
flex-grow: 1; | ||
font-size: 14px; | ||
width: 80%; | ||
|
||
.heading { | ||
color: var(--heading-color); | ||
margin-bottom: 8px; | ||
line-height: 1; | ||
font-weight: 660; | ||
font-feature-settings: | ||
"cv05" on, | ||
"cv13" on, | ||
"ss07" on, | ||
"cv12" on, | ||
"cv06" on; | ||
} | ||
|
||
.description { | ||
color: var(--paragraph-color); | ||
line-height: 1.5; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
width: 100%; | ||
} | ||
|
||
.row { | ||
display: flex; | ||
gap: 12px; | ||
margin-top: 12px; | ||
align-items: center; | ||
float: bottom; | ||
} | ||
|
||
.row { | ||
display: flex; | ||
gap: 12px; | ||
margin-top: 12px; | ||
align-items: center; | ||
float: bottom; | ||
} | ||
} | ||
} |
125 changes: 62 additions & 63 deletions
125
packages/theme/src/components/DropdownMenu/DropdownMenu.module.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 |
---|---|---|
@@ -1,91 +1,90 @@ | ||
|
||
.content { | ||
position: fixed; | ||
left: -75px; | ||
z-index: 989; | ||
min-width: 150px; | ||
background-color: var(--foreground-color); | ||
padding: 5px 0; | ||
box-shadow: | ||
0px 10px 38px -10px rgba(22, 23, 24, 0.35), | ||
0px 10px 20px -15px rgba(22, 23, 24, 0.2); | ||
animation-duration: 400ms; | ||
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); | ||
will-change: transform, opacity; | ||
position: fixed; | ||
left: -75px; | ||
z-index: 989; | ||
min-width: 150px; | ||
background-color: var(--foreground-color); | ||
padding: 5px 0; | ||
box-shadow: | ||
0px 10px 38px -10px rgba(22, 23, 24, 0.35), | ||
0px 10px 20px -15px rgba(22, 23, 24, 0.2); | ||
animation-duration: 400ms; | ||
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); | ||
will-change: transform, opacity; | ||
} | ||
.content[data-side="top"] { | ||
animation-name: slideDownAndFade; | ||
animation-name: slideDownAndFade; | ||
} | ||
.content[data-side="right"] { | ||
animation-name: slideLeftAndFade; | ||
animation-name: slideLeftAndFade; | ||
} | ||
.content[data-side="bottom"] { | ||
animation-name: slideUpAndFade; | ||
animation-name: slideUpAndFade; | ||
} | ||
.content[data-side="left"]{ | ||
animation-name: slideRightAndFade; | ||
.content[data-side="left"] { | ||
animation-name: slideRightAndFade; | ||
} | ||
|
||
.item { | ||
font-size: 14px; | ||
line-height: 1; | ||
color: var(--paragraph-color); | ||
border-radius: 3px; | ||
display: flex; | ||
align-items: center; | ||
height: 30px; | ||
padding: 0 20px; | ||
position: relative; | ||
user-select: none; | ||
outline: none; | ||
font-size: 14px; | ||
line-height: 1; | ||
color: var(--paragraph-color); | ||
border-radius: 3px; | ||
display: flex; | ||
align-items: center; | ||
height: 30px; | ||
padding: 0 20px; | ||
position: relative; | ||
user-select: none; | ||
outline: none; | ||
} | ||
.item:hover { | ||
background-color: var(--button-active-color); | ||
background-color: var(--button-active-color); | ||
} | ||
.item[data-highlighted] { | ||
color: var(--heading-color); | ||
color: var(--heading-color); | ||
} | ||
|
||
@keyframes slideUpAndFade { | ||
from { | ||
opacity: 0; | ||
transform: translateY(2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
from { | ||
opacity: 0; | ||
transform: translateY(2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
@keyframes slideRightAndFade { | ||
from { | ||
opacity: 0; | ||
transform: translateX(-2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
from { | ||
opacity: 0; | ||
transform: translateX(-2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
} | ||
|
||
@keyframes slideDownAndFade { | ||
from { | ||
opacity: 0; | ||
transform: translateY(-2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
from { | ||
opacity: 0; | ||
transform: translateY(-2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
@keyframes slideLeftAndFade { | ||
from { | ||
opacity: 0; | ||
transform: translateX(2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
from { | ||
opacity: 0; | ||
transform: translateX(2px); | ||
} | ||
to { | ||
opacity: 1; | ||
transform: translateX(0); | ||
} | ||
} |