Brandon more styles (#118)

This commit is contained in:
Brandon Thomas
2024-03-31 15:52:09 -04:00
committed by GitHub
parent 5412db3b8a
commit 46351e53d3
4 changed files with 196 additions and 7 deletions
@@ -0,0 +1,53 @@
@use "sass:math";
:host {
// background: red;
display: flex;
gap: 0.6rem;
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: border-box;
}
.bubble {
position: relative;
flex: 0 0 auto;
display: flex;
align-items: flex-end;
width: 80px;
height: 80px;
padding: 0.5rem;
border-radius: 0.5rem;
background: {
size: cover;
position: center center;
}
outline: #FFF2 solid 2px;
color: rgba(#fff, 0.75);
transition: {
property: background-color, outline-color;
duration: 200ms;
timing-function: ease;
}
white-space: nowrap;
cursor: pointer;
.gradient {
position: absolute;
inset: 0;
background: linear-gradient(to top, #000B, #0000);
border-radius: 0.5rem;
}
.label {
position: relative;
font: {
size: math.div(12, 16) * 1rem;
weight: 500;
}
}
}