Skip to content

Commit

Permalink
chore: attempt to fix static file issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Jul 20, 2023
1 parent 3e594df commit b5abd60
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 124 deletions.
136 changes: 17 additions & 119 deletions app/domain/web/resources/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -785,14 +785,6 @@ select {
pointer-events: none;
}

.visible {
visibility: visible;
}

.collapse {
visibility: collapse;
}

.fixed {
position: fixed;
}
Expand Down Expand Up @@ -893,14 +885,6 @@ select {
margin-top: 2rem;
}

.mr-3 {
margin-right: 0.75rem;
}

.mr-1 {
margin-right: 0.25rem;
}

.block {
display: block;
}
Expand Down Expand Up @@ -941,6 +925,10 @@ select {
height: 1rem;
}

.h-5 {
height: 1.25rem;
}

.h-6 {
height: 1.5rem;
}
Expand All @@ -957,14 +945,6 @@ select {
height: 100%;
}

.h-2 {
height: 0.5rem;
}

.h-5 {
height: 1.25rem;
}

.min-h-full {
min-height: 100%;
}
Expand All @@ -973,6 +953,10 @@ select {
width: 1rem;
}

.w-5 {
width: 1.25rem;
}

.w-56 {
width: 14rem;
}
Expand All @@ -989,22 +973,6 @@ select {
width: 100%;
}

.w-8 {
width: 2rem;
}

.w-2 {
width: 0.5rem;
}

.w-7 {
width: 1.75rem;
}

.w-5 {
width: 1.25rem;
}

.min-w-full {
min-width: 100%;
}
Expand Down Expand Up @@ -1219,23 +1187,6 @@ select {
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-blue-700 {
--tw-bg-opacity: 1;
background-color: rgb(29 78 216 / var(--tw-bg-opacity));
}

.fill-blue-600 {
fill: #2563eb;
}

.fill-gray-600 {
fill: #4b5563;
}

.fill-neutral-600 {
fill: #525252;
}

.fill-neutral-900 {
fill: #171717;
}
Expand Down Expand Up @@ -1310,16 +1261,6 @@ select {
padding-bottom: 1.5rem;
}

.px-5 {
padding-left: 1.25rem;
padding-right: 1.25rem;
}

.py-2\.5 {
padding-top: 0.625rem;
padding-bottom: 0.625rem;
}

.pb-12 {
padding-bottom: 3rem;
}
Expand Down Expand Up @@ -1352,10 +1293,6 @@ select {
text-align: left;
}

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

.font-mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
Expand Down Expand Up @@ -1415,6 +1352,11 @@ select {
color: rgb(29 78 216 / var(--tw-text-opacity));
}

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

.text-gray-400 {
--tw-text-opacity: 1;
color: rgb(156 163 175 / var(--tw-text-opacity));
Expand Down Expand Up @@ -1454,11 +1396,6 @@ select {
color: rgb(255 255 255 / var(--tw-text-opacity));
}

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

.antialiased {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand Down Expand Up @@ -1574,11 +1511,6 @@ select {
background-color: rgb(239 68 68 / var(--tw-bg-opacity));
}

.hover\:bg-blue-800:hover {
--tw-bg-opacity: 1;
background-color: rgb(30 64 175 / var(--tw-bg-opacity));
}

.hover\:text-blue-900:hover {
--tw-text-opacity: 1;
color: rgb(30 58 138 / var(--tw-text-opacity));
Expand Down Expand Up @@ -1617,15 +1549,6 @@ select {
var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-4: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(4px + 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-inset:focus {
--tw-ring-inset: inset;
}
Expand All @@ -1635,11 +1558,6 @@ select {
--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
}

.focus\:ring-blue-300:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity));
}

.focus\:ring-offset-2:focus {
--tw-ring-offset-width: 2px;
}
Expand Down Expand Up @@ -1697,11 +1615,6 @@ select {
background-color: rgb(10 10 10 / var(--tw-bg-opacity));
}

:is(.dark .dark\:bg-blue-600) {
--tw-bg-opacity: 1;
background-color: rgb(37 99 235 / var(--tw-bg-opacity));
}

:is(.dark .dark\:fill-gray-300) {
fill: #d1d5db;
}
Expand Down Expand Up @@ -1730,24 +1643,14 @@ select {
color: rgb(212 212 212 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-white) {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-gray-600) {
--tw-text-opacity: 1;
color: rgb(75 85 99 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-neutral-600) {
:is(.dark .dark\:text-neutral-900) {
--tw-text-opacity: 1;
color: rgb(82 82 82 / var(--tw-text-opacity));
color: rgb(23 23 23 / var(--tw-text-opacity));
}

:is(.dark .dark\:text-neutral-900) {
:is(.dark .dark\:text-white) {
--tw-text-opacity: 1;
color: rgb(23 23 23 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity));
}

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

:is(.dark .dark\:hover\:bg-blue-700:hover) {
--tw-bg-opacity: 1;
background-color: rgb(29 78 216 / 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
4 changes: 2 additions & 2 deletions app/domain/web/templates/base/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
/>
<link rel="stylesheet" href="/static/style.css" />
<link rel="stylesheet" href="static/style.css" />
<title>{% block title %}{% endblock %} {{ title }}</title>

<link rel="icon" href="/static/badge.png" type="image/x-icon" />
<link rel="icon" href="static/badge.png" type="image/x-icon" />

{% block extrahead %}{% endblock %} {% block extrastyle %}{% endblock %}
</head>
Expand Down
2 changes: 1 addition & 1 deletion app/domain/web/templates/base/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<h2 id="footer-heading" class="sr-only">Footer</h2>
<div class="mx-auto max-w-7xl px-6 pb-8 pt-8 sm:pt-12 lg:px-8 lg:pt-16">
<div class="xl:grid xl:grid-cols-3 xl:gap-8">
<img class="h-7" src="/static/badge.png" alt="NIAPI" />
<img class="h-7" src="static/badge.png" alt="NIAPI" />
<div class="mt-16 grid grid-cols-2 gap-8 xl:col-span-2 xl:mt-0">
<div class="md:grid md:grid-cols-2 md:gap-8">
<div>
Expand Down
4 changes: 2 additions & 2 deletions app/domain/web/templates/base/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</div>
<a href="#" class="-m-1.5 p-1.5">
<span class="sr-only">NIAPI</span>
<img class="h-8 w-auto" src="/static/badge.png" alt="" />
<img class="h-8 w-auto" src="static/badge.png" alt="" />
</a>

<div class="flex flex-1 justify-end">
Expand Down Expand Up @@ -234,7 +234,7 @@
</div>
<a href="#" class="-m-1.5 p-1.5">
<span class="sr-only">NIAPI Company</span>
<img class="h-8 w-auto" src="/static/badge.png" alt="" />
<img class="h-8 w-auto" src="static/badge.png" alt="" />
</a>
<div class="flex flex-1 justify-end">
<a
Expand Down

0 comments on commit b5abd60

Please sign in to comment.