CSS lint and style fix

This commit is contained in:
2025-02-12 10:24:08 -06:00
parent bfd958d78f
commit c2158b177e
15 changed files with 431 additions and 432 deletions

View File

@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,400;1,100;1,200&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,400;1,100;1,200&display=swap");
.Toastify__toast-theme--light {
backdrop-filter: blur(10px) !important;

View File

@@ -47,7 +47,7 @@ export function Settings() {
className={tabClasses.settingsTabs}
classNames={tabClasses}
>
<Tabs.List style={{ justifyContent: 'space-between' }}>
<Tabs.List style={{ justifyContent: isMobile ? 'space-between' : undefined }}>
<Tabs.Tab px={isMobile ? '.9rem' : undefined} value='personalization'>
{isMobile ? <FiUser /> : 'Personal Info'}
</Tabs.Tab>

View File

@@ -12,7 +12,6 @@
border-radius: 100%;
border: solid 2px var(--color-text-pri);
cursor: pointer;
}
&:hover {
background-color: var(--color-background) !important;
@@ -20,12 +19,12 @@
}
}
.themeButton{
.themeButton {
&.root {
font-size: 1em;
font-weight:500;
font-weight: 500;
margin: 10px;
width:128px;
width: 128px;
line-height: 3rem;
text-align: center;
text-transform: uppercase;
@@ -34,13 +33,13 @@
}
}
.wakeButton{
.wakeButton {
&.root {
font-size: 1em;
font-weight:500;
font-weight: 500;
margin-bottom: 10px;
width:72px;
height:72px;
width: 72px;
height: 72px;
line-height: 3rem;
text-align: center;
text-transform: uppercase;
@@ -59,7 +58,7 @@
.tableButton {
&.root {
&.loader{
&.loader {
display: none;
}
width: 2rem;

View File

@@ -5,7 +5,7 @@
.item {
&:hover {
background-color: var(--color-text-pri);
color: var(--color-background)
color: var(--color-background);
}
}
.label {

View File

@@ -12,8 +12,8 @@
.close {
color: white;
background-color: var(--mantine-color-red-6);
max-width: 20px!important;
max-height: 20px!important;
max-width: 20px !important;
max-height: 20px !important;
&:hover {
color: var(--mantine-color-red-1);
background-color: var(--mantine-color-red-4);
@@ -25,7 +25,6 @@
}
}
}
}
.editThemeModal {
&.root {
@@ -40,8 +39,8 @@
.close {
color: white;
background-color: var(--mantine-color-red-6);
max-width: 20px!important;
max-height: 20px!important;
max-width: 20px !important;
max-height: 20px !important;
&:hover {
color: var(--mantine-color-red-1);
background-color: var(--mantine-color-red-4);

View File

@@ -47,7 +47,6 @@
}
}
.inputField {
color: var(--color-text-acc) !important;
&::placeholder {
@@ -56,6 +55,5 @@
}
.root {
width: 45% !important;
}

View File

@@ -16,7 +16,6 @@
&::placeholder {
color: var(--color-text-acc) !important;
}
}
.options {

View File

@@ -56,7 +56,7 @@
border-radius: 1em;
}
.navItem{
.navItem {
gap: 0;
line-height: 1.5rem;
margin: 0;

View File

@@ -14,7 +14,7 @@
color: var(--color-background);
background-color: var(--color-text-acc);
}
&[data-active=true]{
&[data-active="true"] {
border-color: var(--color-text-pri);
}
}
@@ -22,4 +22,3 @@
border-color: var(--color-text-acc);
}
}

View File

@@ -15,7 +15,8 @@
.dateTime {
&.root {
display: flex;
font-family: -apple-system, Jost, BlinkMacSystemFont, Helvetica Neue, Roboto, sans-serif !important;
font-family: -apple-system, Jost, BlinkMacSystemFont, Helvetica Neue, Roboto,
sans-serif !important;
font-size: 28px;
margin: 0;
padding: 0;
@@ -52,7 +53,7 @@
font-size: 11px;
font-style: normal;
color: var(--color-text-pri);
font-family: 'Jost', sans-serif;
font-family: "Jost", sans-serif;
margin: 0;
}
}
@@ -126,12 +127,12 @@
}
}
a{
a {
color: var(--color-text-pri);
text-decoration: none;
}
a:hover #app-address{
a:hover #app-address {
text-decoration: underline;
text-decoration-color: var(--color-border);
}

View File

@@ -1,4 +1,4 @@
.default{
.default {
&.root {
.wrapper {
display: flex;
@@ -10,7 +10,7 @@
color: var(--color-text-pri);
font-size: 18px;
}
.section{
.section {
color: var(--color-border);
width: auto;
padding-left: .5rem;
@@ -20,7 +20,7 @@
}
}
.search{
.search {
&.root {
.wrapper {
display: flex;
@@ -38,8 +38,12 @@
padding-left: 1em;
padding-right: 1em;
text-align: center;
&[data-active="true"]{
background-color: color-mix(in srgb,var(--color-search-background), transparent 50%);
&[data-active="true"] {
background-color: color-mix(
in srgb,
var(--color-search-background),
transparent 50%
);
border-color: var(--color-border);
outline: none;
color: var(--color-text-pri);
@@ -47,14 +51,14 @@
font-weight: 500;
font-size: 1.2em;
letter-spacing: .2em;
width:100%;
width: 100%;
border-top-left-radius: .25em;
border-top-right-radius: .25em;
border-bottom-left-radius: .25em;
border-bottom-right-radius: .25em;
}
}
.section{
.section {
transition: opacity 0.1s 0s ease;
color: var(--color-border);
width: auto;
@@ -72,12 +76,12 @@
font-weight: 500;
font-size: 1.2em;
letter-spacing: .2em;
width:100%;
width: 100%;
border-top-left-radius: .25em;
border-top-right-radius: .25em;
border-bottom-left-radius: .25em;
border-bottom-right-radius: .25em;
&[data-active="true"]{
&[data-active="true"] {
background-color: var(--color-search-background);
border-color: var(--color-border);
outline: none;
@@ -86,14 +90,14 @@
font-weight: 500;
font-size: 1.2em;
letter-spacing: .2em;
width:100%;
width: 100%;
border-top-left-radius: .25em;
border-top-right-radius: .25em;
border-bottom-left-radius: .25em;
border-bottom-right-radius: .25em;
}
}
.section{
.section {
transition: opacity 0.4s 0.4s ease;
color: var(--color-border);
width: auto;

View File

@@ -1 +1 @@
export { type CurrentWeather, type OutlookWeather } from './weather';
export type { CurrentWeather, OutlookWeather } from './weather';