Skip to content

Commit

Permalink
fix: fix ci linting breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Jul 20, 2023
1 parent 5c2dbea commit caca27e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 72 deletions.
5 changes: 2 additions & 3 deletions app/domain/calculator/controllers/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import annotations

import ipaddress
from typing import TYPE_CHECKING, Annotated
from typing import Annotated

from litestar import Controller, get

Expand All @@ -15,8 +15,7 @@
from app.domain import urls
from app.domain.calculator.schema import NetworkInfo

if TYPE_CHECKING:
from litestar.contrib.htmx.request import HTMXRequest
from litestar.contrib.htmx.request import HTMXRequest # noqa


class CalculatorController(Controller):
Expand Down
104 changes: 35 additions & 69 deletions app/domain/web/resources/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -839,16 +839,16 @@ select {
margin-right: -0.75rem;
}

.mx-auto {
margin-left: auto;
margin-right: auto;
}

.-mx-4 {
margin-left: -1rem;
margin-right: -1rem;
}

.mx-auto {
margin-left: auto;
margin-right: auto;
}

.mr-2 {
margin-right: 0.5rem;
}
Expand Down Expand Up @@ -1165,11 +1165,6 @@ select {
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-indigo-600 {
--tw-bg-opacity: 1;
background-color: rgb(79 70 229 / var(--tw-bg-opacity));
}

.p-1 {
padding: 0.25rem;
}
Expand Down Expand Up @@ -1220,11 +1215,6 @@ select {
padding-bottom: 0.5rem;
}

.py-6 {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}

.py-3 {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
Expand All @@ -1240,6 +1230,11 @@ select {
padding-bottom: 1rem;
}

.py-6 {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}

.pb-12 {
padding-bottom: 3rem;
}
Expand All @@ -1248,18 +1243,14 @@ select {
padding-bottom: 2rem;
}

.pl-3 {
padding-left: 0.75rem;
}

.pt-8 {
padding-top: 2rem;
}

.pl-1 {
padding-left: 0.25rem;
}

.pl-3 {
padding-left: 0.75rem;
}

.pl-4 {
padding-left: 1rem;
}
Expand All @@ -1268,12 +1259,12 @@ select {
padding-right: 0.75rem;
}

.text-left {
text-align: left;
.pt-8 {
padding-top: 2rem;
}

.text-center {
text-align: center;
.text-left {
text-align: left;
}

.font-mono {
Expand Down Expand Up @@ -1426,11 +1417,6 @@ select {
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
}

.ring-red-500 {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity));
}

.ring-opacity-5 {
--tw-ring-opacity: 0.05;
}
Expand Down Expand Up @@ -1480,6 +1466,10 @@ select {
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.hover\:bg-neutral-900\/40:hover {
background-color: rgb(23 23 23 / 0.4);
}

.hover\:bg-red-400:hover {
--tw-bg-opacity: 1;
background-color: rgb(248 113 113 / var(--tw-bg-opacity));
Expand All @@ -1490,25 +1480,6 @@ select {
background-color: rgb(239 68 68 / var(--tw-bg-opacity));
}

.hover\:bg-gray-200:hover {
--tw-bg-opacity: 1;
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}

.hover\:bg-indigo-500:hover {
--tw-bg-opacity: 1;
background-color: rgb(99 102 241 / var(--tw-bg-opacity));
}

.hover\:bg-blue-400:hover {
--tw-bg-opacity: 1;
background-color: rgb(96 165 250 / var(--tw-bg-opacity));
}

.hover\:bg-neutral-900\/40:hover {
background-color: rgb(23 23 23 / 0.4);
}

.hover\:text-blue-900:hover {
--tw-text-opacity: 1;
color: rgb(30 58 138 / var(--tw-text-opacity));
Expand All @@ -1529,20 +1500,20 @@ select {
outline-offset: 2px;
}

.focus\:ring-2:focus {
.focus\:ring-0:focus {
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0
calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-0:focus {
.focus\:ring-2:focus {
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0
calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
var(--tw-shadow, 0 0 #0000);
}
Expand Down Expand Up @@ -1618,6 +1589,11 @@ select {
color: rgb(191 219 254 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-gray-400) {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-neutral-200) {
--tw-text-opacity: 1;
color: rgb(229 229 229 / var(--tw-text-opacity));
Expand All @@ -1637,11 +1613,6 @@ select {
color: rgb(255 255 255 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-gray-400) {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
}

:is(.dark .dark\:placeholder-neutral-500)::-moz-placeholder {
--tw-placeholder-opacity: 1;
color: rgb(115 115 115 / var(--tw-placeholder-opacity));
Expand All @@ -1662,11 +1633,6 @@ select {
--tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity));
}

:is(.dark .dark\:hover\:bg-gray-700:hover) {
--tw-bg-opacity: 1;
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}

:is(.dark .dark\:hover\:text-blue-500:hover) {
--tw-text-opacity: 1;
color: rgb(59 130 246 / var(--tw-text-opacity));
Expand Down Expand Up @@ -1720,14 +1686,14 @@ select {
padding-right: 1.5rem;
}

.sm\:pt-12 {
padding-top: 3rem;
}

.sm\:pl-6 {
padding-left: 1.5rem;
}

.sm\:pt-12 {
padding-top: 3rem;
}

.sm\:text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
Expand Down

0 comments on commit caca27e

Please sign in to comment.