Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions frontend/src/html/popups.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,35 +58,6 @@
</div>
</div>

<dialog id="pbTablesModal" class="modalWrapper hidden">
<div class="modal">
<table>
<thead>
<tr>
<td width="1%">words</td>
<td>
<span class="unit">wpm</span>
<br />
<span class="sub">accuracy</span>
</td>
<td>
raw
<br />
<span class="sub">consistency</span>
</td>
<td>difficulty</td>
<td>language</td>
<td>punctuation</td>
<td>numbers</td>
<td>lazy mode</td>
<td>date</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</dialog>

<dialog id="practiseWordsModal" class="modalWrapper hidden">
<div class="modal" actions="">
<div class="title">Practice words</div>
Expand Down
68 changes: 0 additions & 68 deletions frontend/src/styles/popups.scss
Original file line number Diff line number Diff line change
Expand Up @@ -259,74 +259,6 @@ body.darkMode {
}
}

#pbTablesModal {
.modal {
max-width: 100%;
overflow-y: scroll;
table {
border-spacing: 0;
border-collapse: collapse;
color: var(--text-color);

tbody {
clip-path: inset(0);
}

td {
padding: 0.5rem 0.5rem;
}

.modesticky {
position: sticky;
top: calc(1rem - 2px);
z-index: 2;
}

thead {
color: var(--sub-color);
font-size: 0.75rem;
position: sticky;
top: -2rem;
background-color: var(--bg-color) !important;
z-index: 3;
}

tbody tr.odd {
background: var(--sub-alt-color);
}

tbody tr.even {
background: var(--bg-color);
}

td.infoIcons span {
margin: 0 0.1rem;
}
.miniResultChartButton {
opacity: 0.25;
transition: 0.25s;
cursor: pointer;
&:hover {
opacity: 1;
}
}
.sub {
opacity: 0.5;
}
td {
text-align: right;
}
td:nth-child(6),
td:nth-child(7) {
text-align: center;
}
tbody td:nth-child(1) {
font-size: 1.5rem;
}
}
}
}

#importExportSettingsModal {
.modal {
max-width: 900px;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/ts/components/modals/Modals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { CustomTestDurationModal } from "./CustomTestDurationModal";
import { CustomTextModal } from "./CustomTextModal";
import { CustomWordAmountModal } from "./CustomWordAmountModal";
import { MobileTestConfigModal } from "./MobileTestConfigModal";
import { PbTablesModal } from "./PbTablesModal";
import { AddPresetModal } from "./preset/AddPresetModal";
import { EditPresetModal } from "./preset/EditPresetModal";
import { QuoteRateModal } from "./QuoteRateModal";
Expand All @@ -31,6 +32,7 @@ export function Modals(): JSXElement {
<QuoteSearchModal />
<CustomTestDurationModal />
<CustomWordAmountModal />
<PbTablesModal />
<ShareTestSettings />
<MobileTestConfigModal />
<CookiesModal />
Expand Down
Loading
Loading