visbug-lib
Version:
<p align="center"> <img src="./assets/visbug.png" width="300" height="300" alt="visbug"> <br> <a href="https://www.npmjs.org/package/visbug"><img src="https://img.shields.io/npm/v/visbug.svg?style=flat" alt="npm latest version number"></a> <a href
61 lines (52 loc) • 1.28 kB
CSS
.outlined-square {
border: 1px solid var(--light-grey);
width: 10rem;
height: 10rem;
}
.filled-square {
background: var(--light-grey);
width: 4rem;
height: 4rem;
}
.filled-circle {
background: var(--grey);
border-radius: 50%;
width: 5rem;
height: 5rem;
display: inline-flex;
align-items: center;
justify-content: center;
color: white;
&.small { width: 2.5rem; height: 2.5rem; }
}
.red { background-color: red; }
.green { background-color: green; }
.yellow { background-color: yellow; }
.google-blue { background-color: #4285F4; }
.google-yellow { background-color: #F4B400; }
.google-red { background-color: #DB4437; }
.google-green { background-color: #0F9D58; }
.shadow-circle { background-color: white; box-shadow: 0 10px 30px 2px hsla(0,0%,0%,20%); }
[round-icon] {
box-sizing: border-box;
padding: 1rem;
width: var(--card-size);
height: var(--card-size);
border: 5px solid var(--light-grey);
border-radius: 50%;
fill: var(--grey);
}
[bgfg] {
width: 100%;
display: grid;
grid-gap: 0.5rem;
grid-template-columns: 15vw 15vw;
grid-template-rows: 15vw 15vw;
justify-content: space-around;
margin-top: 0.5rem;
& > .filled-circle {
font-size: 5vw;
width: 100%;
height: 100%;
}
}