Skip to content

Commit 1ed9a89

Browse files
authored
Remove unused CSS in app.css (#6150)
1 parent 58c737e commit 1ed9a89

2 files changed

Lines changed: 1 addition & 98 deletions

File tree

assets/css/app.css

Lines changed: 0 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,6 @@
135135
@apply bg-gray-400 dark:bg-gray-600;
136136
}
137137

138-
.button-outline {
139-
@apply text-indigo-600 bg-transparent border border-gray-300 dark:border-gray-600 dark:text-gray-100 hover:bg-transparent hover:text-indigo-700 dark:hover:text-white hover:border-gray-400/70 dark:hover:border-gray-500 transition-all duration-150;
140-
}
141-
142-
.button-sm {
143-
@apply px-4 py-2 text-sm;
144-
}
145-
146-
.button-md {
147-
@apply px-4 py-2;
148-
}
149-
150138
html {
151139
@apply text-gray-800;
152140
}
@@ -158,30 +146,12 @@ body {
158146
overflow-x: hidden;
159147
}
160148

161-
blockquote {
162-
@apply px-4 py-2 my-4 border-l-4 border-gray-500;
163-
}
164-
165149
@media (width >= 1280px) {
166150
.container {
167151
max-width: 70rem;
168152
}
169153
}
170154

171-
.pricing-table {
172-
height: 920px;
173-
}
174-
175-
@media (width >= 768px) {
176-
.pricing-table {
177-
height: auto;
178-
}
179-
}
180-
181-
.light-text {
182-
color: #f0f4f8;
183-
}
184-
185155
.transition {
186156
transition: all 0.1s ease-in;
187157
}
@@ -251,41 +221,6 @@ blockquote {
251221
}
252222
}
253223

254-
.just-text h1,
255-
.just-text h2,
256-
.just-text h3 {
257-
margin-top: 1em;
258-
margin-bottom: 0.5em;
259-
}
260-
261-
.just-text p {
262-
margin-top: 0;
263-
margin-bottom: 1rem;
264-
}
265-
266-
.dropdown-content::before {
267-
top: -16px;
268-
right: 8px;
269-
left: auto;
270-
border: 8px solid transparent;
271-
border-bottom-color: rgb(27 31 35 / 15%);
272-
}
273-
274-
.dropdown-content::before,
275-
.dropdown-content::after {
276-
position: absolute;
277-
display: inline-block;
278-
content: '';
279-
}
280-
281-
.dropdown-content::after {
282-
top: -14px;
283-
right: 9px;
284-
left: auto;
285-
border: 7px solid transparent;
286-
border-bottom-color: #fff;
287-
}
288-
289224
.feather {
290225
height: 1em;
291226
width: 1em;
@@ -317,20 +252,6 @@ blockquote {
317252
transition: opacity 100ms ease-in;
318253
}
319254

320-
.datamaps-subunit {
321-
cursor: pointer;
322-
}
323-
324-
.fullwidth-shadow::before {
325-
@apply absolute top-0 w-screen h-full bg-gray-50 dark:bg-gray-850;
326-
327-
box-shadow: 0 4px 2px -2px rgb(0 0 0 / 6%);
328-
content: '';
329-
z-index: -1;
330-
left: calc(-1 * calc(50vw - 50%));
331-
background-color: inherit;
332-
}
333-
334255
iframe[hidden] {
335256
display: none;
336257
}
@@ -344,21 +265,3 @@ iframe[hidden] {
344265
/* prettier-ignore */
345266
.date-option-group { }
346267
/* stylelint-enable */
347-
348-
.tooltip-arrow,
349-
.tooltip-arrow::before {
350-
position: absolute;
351-
width: 10px;
352-
height: 10px;
353-
background: inherit;
354-
}
355-
356-
.tooltip-arrow {
357-
visibility: hidden;
358-
}
359-
360-
.tooltip-arrow::before {
361-
visibility: visible;
362-
content: '';
363-
transform: rotate(45deg) translateY(1px);
364-
}

assets/js/dashboard/nav-menu/top-bar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function TopBarStickyWrapper({ children }: { children: ReactNode }) {
3333
'col-span-full relative top-0 py-2 sm:py-3 -my-3 sm:-my-4 z-10',
3434
!site.embedded &&
3535
!inView &&
36-
'sticky fullwidth-shadow bg-gray-50 dark:bg-gray-950'
36+
'sticky bg-gray-50 dark:bg-gray-950 before:absolute before:top-0 before:w-screen before:h-full before:bg-inherit before:shadow-[0_4px_2px_-2px_rgb(0_0_0/6%)] before:z-[-1] before:left-[calc(50%-50vw)]'
3737
)}
3838
>
3939
{children}

0 commit comments

Comments
 (0)