https://sass-lang.com/documentation/breaking-changes/color-functions/#single-channel-adjustment-functions
41 lines
734 B
SCSS
41 lines
734 B
SCSS
@use 'vars' as *;
|
|
@use "sass:color";
|
|
|
|
.footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: $footer-height;
|
|
background: $bg-darker;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 2rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
|
|
.logo {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: $accent-color;
|
|
}
|
|
|
|
.copy-btn {
|
|
background: $accent-color;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1.2rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
background: color.adjust($accent-color, $lightness: 8%);
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.98);
|
|
}
|
|
}
|
|
} |