refactor font-family styles to avoid unecessary diplicities (#983)

This commit is contained in:
Murilo Brito 2025-08-17 09:37:39 -03:00 committed by GitHub
parent 2820c96259
commit 96d26a1e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 220 additions and 246 deletions

View file

@ -57,8 +57,7 @@
.title {
font-size: 20px;
color: @golden;
font-family: @font-subtitle;
margin: 0;
font-weight: 700;
}
.tags {
@ -73,7 +72,6 @@
align-items: center;
padding: 3px 5px;
font-size: 12px;
font-family: @font-body;
background: light-dark(@dark-15, @beige-15);
border: 1px solid light-dark(@dark, @beige);
@ -86,9 +84,7 @@
}
.description {
color: @beige;
padding: 8px;
font-family: @font-body;
}
.ability-card-footer {
@ -99,8 +95,6 @@
padding: 0 8px;
button {
font-family: @font-body;
font-weight: 600;
height: 40px;
flex: 1 1 calc(50% - 5px);

View file

@ -54,14 +54,12 @@
.title {
font-size: 20px;
color: @golden;
font-family: @font-subtitle;
margin: 0;
font-weight: 700;
}
.label {
font-size: 12px;
color: @beige;
font-family: @font-body;
margin: 0;
}
}
@ -69,9 +67,7 @@
}
.description {
color: @beige;
padding: 8px;
font-family: @font-body;
}
.ability-card-footer {
@ -82,8 +78,6 @@
padding: 0 8px;
button {
font-family: @font-body;
font-weight: 600;
height: 40px;
flex: 1 1 calc(50% - 5px);

View file

@ -55,13 +55,11 @@
.title {
font-size: 16px;
color: @golden;
font-family: @font-subtitle;
margin: 0;
font-weight: 700;
}
.label {
font-size: 12px;
color: @beige;
font-family: @font-body;
margin: 0;
}
}
@ -69,16 +67,12 @@
.description {
padding: 8px;
color: beige;
font-family: @font-body;
font-size: 14px;
}
}
.action-use-button {
width: -webkit-fill-available;
margin: 0 8px;
font-family: @font-body;
font-weight: 600;
height: 40px;
}

View file

@ -9,7 +9,6 @@
border-color: light-dark(@dark-blue, @golden);
legend {
font-family: @font-body;
font-weight: bold;
color: light-dark(@dark-blue, @golden);

View file

@ -90,7 +90,6 @@
gap: 10px;
.item-path {
font-family: @font-body;
color: light-dark(@dark, @beige);
&.path-link {
@ -136,7 +135,6 @@
input {
border-radius: 50px;
font-family: @font-body;
background: light-dark(@dark-blue-10, @golden-10);
border: none;
outline: 2px solid transparent;
@ -179,7 +177,6 @@
justify-content: space-between;
padding: 10px;
border: 1px solid transparent;
font-family: @font-body;
transition: all 0.1s ease;
&.expanded + .subfolder-list {
@ -187,7 +184,7 @@
}
&:has(+ .subfolder-list):after {
content: "+";
content: '+';
}
}
@ -231,7 +228,6 @@
grid-template-columns: 40px 400px repeat(auto-fit, minmax(100px, 1fr));
align-items: center;
text-transform: capitalize;
font-family: @font-body;
}
}
@ -268,7 +264,6 @@
border: 1px solid light-dark(@dark-blue, @golden);
border-radius: 3px;
min-height: 30px;
font-family: @font-body;
font-weight: bold;
> * {
@ -307,7 +302,6 @@
display: flex;
flex-direction: column;
gap: 5px;
font-family: @font-body;
h1 {
font-size: 32px;
@ -332,7 +326,6 @@
padding: 0 0 0 1.25rem;
li {
font-family: @font-body;
margin-bottom: 0.25rem;
}
}
@ -365,7 +358,6 @@
.form-group {
label {
flex: 1;
font-family: @font-body;
}
.form-fields {
width: 100%;
@ -395,13 +387,9 @@
margin: 0;
.title {
font-family: @font-subtitle;
margin: 0;
text-align: center;
}
.hint {
font-family: @font-body;
}
}
[disabled] {

View file

@ -33,7 +33,6 @@
h2 {
display: flex;
align-items: center;
font-family: @font-subtitle;
position: relative;
width: auto;
white-space: nowrap;