1
0
forked from noxious/client

Removed unused classnames

This commit is contained in:
2024-07-06 23:11:24 +02:00
parent 27641f2df8
commit 5fad4583ad
14 changed files with 75 additions and 147 deletions

View File

@ -1,22 +0,0 @@
// Colors
$white: #fff;
$black: #000;
$light-blue: #00c2ff;
$red: #d50000;
$dark-red: #b30000;
$gray: #7f7f7f;
$gray-2: #696969;
$dark-gray: #313638;
$light-gray: #d3d3d3;
$blue-gray: #778899;
$cyan: #368f8b;
$dark-cyan: #376362;
$light-cyan: #00b3b3;
$bordeaux: #800020;
$dark-bordeaux: #4c0000;
$light-bordeaux: #cc0033;
$green: #09ad19;
// Fonts
$titles: 'Poppins', serif;
$default: 'Inter', serif;

View File

@ -2,34 +2,15 @@
@tailwind components;
@tailwind utilities;
@import '@/assets/scss/_variables';
// Fonts
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
//Globals
// Column base styles
[class^="col-"] {
position: relative;
width: 100%;
padding: 0 15px;
}
// Generate column classes
@for $i from 1 through 12 {
.col-#{$i} {
$width: percentage(calc($i / 12));
flex: 0 0 calc($width - var(--gap));
max-width: calc($width - var(--gap));
}
}
body {
@apply bg-black m-0 select-none;
-ms-overflow-style: none;
scrollbar-width: none;
background: $black;
margin: 0;
// Disable selection, might wanna comment when debugging
-webkit-user-select: none; /* Safari */
@ -45,30 +26,24 @@ h5,
h6,
button,
a {
font-family: $titles;
color: $white;
font-weight: 500;
margin: 0;
@apply font-titles text-white font-medium m-0;
}
p,
span,
li,
label {
font-family: $default;
color: $white;
@apply font-default text-white;
}
button,
a {
font-weight: 500;
text-shadow: 0 4px 6px rgba($black, 0.25);
@apply font-medium drop-shadow-20;
}
button,
input {
border: none;
background-color: transparent;
@apply border-none bg-transparent;
&[type='number'] {
-webkit-appearance: textfield;
@ -82,53 +57,39 @@ input {
}
.input-cyan {
padding: 8px 10px;
font-family: $titles;
border: 1px solid $cyan;
background-color: rgba($white, 0.8);
border-radius: 5px;
@apply py-2 px-2.5 font-titles border border-solid border-cyan bg-white bg-opacity-80 rounded;
&:focus,
&:focus-visible {
outline: $cyan auto 2px;
@apply outline-2 outline-cyan;
}
}
button {
text-align: center;
&.w-full {
width: 100%;
}
@apply text-center;
&.btn-cyan {
background-color: rgba($cyan, 0.5);
border: 1px solid $white;
border-radius: 5px;
text-shadow: 0 3px 6px rgba($black, 0.2);
@apply bg-cyan bg-opacity-50 border border-solid border-white rounded drop-shadow-20;
&.active,
&:hover {
background-color: $cyan;
@apply bg-cyan;
}
}
&.btn-bordeaux {
background-color: rgba($bordeaux, 0.5);
border: 1px solid $white;
border-radius: 5px;
text-shadow: 0 3px 6px rgba($black, 0.2);
@apply bg-bordeaux bg-opacity-50 border border-solid border-white rounded drop-shadow-20;
&.active,
&:hover {
background-color: $bordeaux;
@apply bg-bordeaux;
}
}
&:hover {
cursor: pointer;
@apply cursor-pointer;
}
}
::-webkit-scrollbar {
display: none;
@apply hidden;
}