cloneProject(template.id)} leftIcon={}>
+ cloneProject(template.id)}>
Create project from template
Edit
diff --git a/src/components/projects/templates/List.jsx b/src/components/projects/templates/List.jsx
index 1612da0c..f87b9a99 100644
--- a/src/components/projects/templates/List.jsx
+++ b/src/components/projects/templates/List.jsx
@@ -6,7 +6,7 @@ import CreateButton from "components/ui/buttons/Create";
import DeleteIconButton from "components/ui/buttons/DeleteIconButton";
import LinkButton from "components/ui/buttons/Link";
import PrimaryButton from "components/ui/buttons/Primary";
-import { IconDocumentDuplicate, IconPlus } from "components/ui/Icons";
+import { IconDocumentDuplicate } from "components/ui/Icons";
import Loading from "components/ui/Loading";
import NoResults from "components/ui/NoResults";
import useDelete from "hooks/useDelete";
@@ -84,12 +84,11 @@ const TemplatesList = () => {
{template.num_tasks}
|
-
+ |
cloneProject(ev, template.id)}
key={template.id}
title="Clone"
- leftIcon={}
>
Clone and edit
diff --git a/src/components/projects/vault/VaultTab.jsx b/src/components/projects/vault/VaultTab.jsx
index 68bbf4a6..1ecdaba9 100644
--- a/src/components/projects/vault/VaultTab.jsx
+++ b/src/components/projects/vault/VaultTab.jsx
@@ -73,7 +73,7 @@ const ProjectVaultTab = ({ project }) => {
| {item.note} |
{item.type} |
{item.reportable} |
-
+ |
Edit
diff --git a/src/components/reports/ModalDialog.jsx b/src/components/reports/ModalDialog.jsx
index 1b23fcbb..1f6a9175 100644
--- a/src/components/reports/ModalDialog.jsx
+++ b/src/components/reports/ModalDialog.jsx
@@ -1,10 +1,12 @@
+import HorizontalLabelledField from "components/form/HorizontalLabelledField";
import NativeButton from "components/form/NativeButton";
import NativeInput from "components/form/NativeInput";
import NativeSelect from "components/form/NativeSelect";
+import PrimaryButton from "components/ui/buttons/Primary.jsx";
+import ModalDialog from "components/ui/ModalDIalog";
import { actionCompletedToast, errorToast } from "components/ui/toast";
import useFetch from "hooks/useFetch";
import TargetIcon from "images/icons/target.svg?react";
-import { useEffect, useState } from "react";
import secureApiFetch from "services/api";
const ReportVersionModalDialog = ({ projectId, isOpen, onSubmit, onCancel }) => {
@@ -13,38 +15,27 @@ const ReportVersionModalDialog = ({ projectId, isOpen, onSubmit, onCancel }) =>
name: "",
description: "",
};
- const [formValues, setFormValues] = useState(defaultFormValues);
const [templates] = useFetch("/reports/templates");
- const onFormValueChange = (ev) => {
- ev.preventDefault();
-
- setFormValues({ ...formValues, [ev.target.name]: ev.target.value });
- };
-
const beforeCancelCallback = (ev) => {
- setFormValues(defaultFormValues);
+ ev.target.closest("form").reset();
onCancel(ev);
};
const onFormSubmit = (ev) => {
ev.preventDefault();
- const params = {
- projectId: projectId,
- reportTemplateId: formValues.reportTemplateId,
- name: formValues.name,
- description: formValues.description,
- };
+ const formData = new FormData(ev.target);
+ const data = Object.fromEntries(formData.entries());
secureApiFetch(`/reports`, {
method: "POST",
- body: JSON.stringify(params),
+ body: JSON.stringify(data),
})
.then((resp) => {
if (resp.ok) {
onSubmit();
- actionCompletedToast(`The report version "${formValues.name}" has been added.`);
+ actionCompletedToast(`The report version "${data.name}" has been added.`);
} else {
throw new Error(resp.statusText);
}
@@ -58,79 +49,78 @@ const ReportVersionModalDialog = ({ projectId, isOpen, onSubmit, onCancel }) =>
});
};
- useEffect(() => {
- if (templates !== null && templates.length > 0) {
- setFormValues((prev) => ({
- ...prev,
- reportTemplateId: templates[0].id,
- }));
- }
- }, [templates]);
-
return (
-
-
-
-
+
+ New report version details
+ >
+ }
+ visible={isOpen}
+ onClose={beforeCancelCallback}
+ >
+
-
-
- Cancel
-
-
- Save
-
-
-
-
+
+
+
+
);
};
diff --git a/src/components/reports/Table.jsx b/src/components/reports/Table.jsx
index bc4bb824..50d142b2 100644
--- a/src/components/reports/Table.jsx
+++ b/src/components/reports/Table.jsx
@@ -68,7 +68,7 @@ const ReportsTable = ({ reports, updateReports, includeProjectColumn = false })
DOCX
|
-
+ |
handleSendByEmail(report.project_id)}>
Send by email
diff --git a/src/components/reports/templates/Details.jsx b/src/components/reports/templates/Details.jsx
index 606f89ea..cc395ed7 100644
--- a/src/components/reports/templates/Details.jsx
+++ b/src/components/reports/templates/Details.jsx
@@ -5,7 +5,7 @@ import Breadcrumb from "components/ui/Breadcrumb";
import DeleteButton from "components/ui/buttons/Delete";
import LinkButton from "components/ui/buttons/Link";
import PrimaryButton from "components/ui/buttons/Primary";
-import { IconFlag, IconPlusCircle } from "components/ui/Icons";
+import { IconFlag } from "components/ui/Icons";
import Loading from "components/ui/Loading";
import Title from "components/ui/Title";
import useDelete from "hooks/useDelete";
@@ -45,9 +45,7 @@ const ReportTemplateDetails = () => {
Templates
- cloneProject(vulnerability.id)} leftIcon={}>
- Clone and edit
-
+ cloneProject(vulnerability.id)}>Clone and edit
Edit
diff --git a/src/components/reports/templates/List.jsx b/src/components/reports/templates/List.jsx
index f7233fa4..c7712023 100644
--- a/src/components/reports/templates/List.jsx
+++ b/src/components/reports/templates/List.jsx
@@ -135,7 +135,7 @@ const ReportTemplatesList = () => {
DOCX
|
-
+ |
{
};
return (
-
+
@@ -64,15 +66,13 @@ const ReportModalDialog = ({ isOpen, onSubmit, onCancel }) => {
-
- Cancel
-
-
+ Cancel
+
Save
-
+
-
+
);
};
diff --git a/src/components/search/AdvancedSearch.jsx b/src/components/search/AdvancedSearch.jsx
index 391a7b80..776d7c0b 100644
--- a/src/components/search/AdvancedSearch.jsx
+++ b/src/components/search/AdvancedSearch.jsx
@@ -75,7 +75,7 @@ const AdvancedSearch = () => {
))}
-
+
Search
diff --git a/src/components/settings/CustomFields/Form.jsx b/src/components/settings/CustomFields/Form.jsx
index 9bcd7a6e..f5e3d88a 100644
--- a/src/components/settings/CustomFields/Form.jsx
+++ b/src/components/settings/CustomFields/Form.jsx
@@ -1,5 +1,5 @@
import HorizontalLabelledField from "components/form/HorizontalLabelledField";
-import NativeButton from "components/form/NativeButton.js";
+import NativeButton from "components/form/NativeButton";
import NativeInput from "components/form/NativeInput";
import NativeSelect from "components/form/NativeSelect";
import DeleteIconButton from "components/ui/buttons/DeleteIconButton";
diff --git a/src/components/system/ExportForm.jsx b/src/components/system/ExportForm.jsx
index 78cea8d1..b1e8cf1b 100644
--- a/src/components/system/ExportForm.jsx
+++ b/src/components/system/ExportForm.jsx
@@ -2,7 +2,6 @@ import NativeSelect from "components/form/NativeSelect";
import useFetch from "hooks/useFetch";
import { useState } from "react";
import secureApiFetch from "../../services/api";
-import { IconDownload } from "../ui/Icons";
import PrimaryButton from "../ui/buttons/Primary";
const ExportForm = () => {
@@ -64,7 +63,7 @@ const ExportForm = () => {
))}
- }>
+
Export
diff --git a/src/components/system/ImportForm.jsx b/src/components/system/ImportForm.jsx
index 8ea7de50..7b3888b7 100644
--- a/src/components/system/ImportForm.jsx
+++ b/src/components/system/ImportForm.jsx
@@ -3,7 +3,6 @@ import ExternalLink from "components/ui/ExternalLink";
import { useState } from "react";
import secureApiFetch from "../../services/api";
import PrimaryButton from "../ui/buttons/Primary";
-import { IconUpload } from "../ui/Icons";
const ImportForm = () => {
const [importResponse, setImportResponse] = useState(null);
@@ -61,7 +60,7 @@ const ImportForm = () => {
/>
- }>
+
Import
diff --git a/src/components/target/Form.jsx b/src/components/target/Form.jsx
index f63eeff7..e93f0c6e 100644
--- a/src/components/target/Form.jsx
+++ b/src/components/target/Form.jsx
@@ -1,3 +1,4 @@
+import HorizontalLabelledField from "components/form/HorizontalLabelledField";
import NativeInput from "components/form/NativeInput";
import NativeSelect from "components/form/NativeSelect";
import TargetKinds from "../../models/TargetKinds";
@@ -18,30 +19,35 @@ const TargetForm = ({ newTarget, onFormSubmit, targetSetter: setTarget }) => {
return (
);
diff --git a/src/components/target/ModalDialog.jsx b/src/components/target/ModalDialog.jsx
index 6e62aa2e..03061bad 100644
--- a/src/components/target/ModalDialog.jsx
+++ b/src/components/target/ModalDialog.jsx
@@ -1,4 +1,6 @@
import NativeButton from "components/form/NativeButton";
+import PrimaryButton from "components/ui/buttons/Primary.jsx";
+import ModalDialog from "components/ui/ModalDIalog.jsx";
import { actionCompletedToast, errorToast } from "components/ui/toast";
import TargetIcon from "images/icons/target.svg?react";
import TargetKinds from "models/TargetKinds";
@@ -34,27 +36,26 @@ const TargetModalDialog = ({ project, isOpen, onSubmit, onCancel }) => {
};
return (
-
+
+ New target details
+ >
+ }
+ >
-
-
- New target details
-
-
-
- Cancel
-
-
- Save
-
+ Cancel
+ Save
-
+
);
};
diff --git a/src/components/target/TargetBadge.css b/src/components/target/TargetBadge.css
index 98d88eda..b4d5eb29 100644
--- a/src/components/target/TargetBadge.css
+++ b/src/components/target/TargetBadge.css
@@ -1,10 +1,8 @@
div.target-badge {
- color: #ff6961;
display: inline-flex;
background-repeat: no-repeat;
background-image: url("/images/icons/target.svg");
- background-color: var(--black);
background-size: 24px 24px;
background-position: 4px 4px;
border-radius: var(--borderRadius, 3px);
diff --git a/src/components/tasks/Details.jsx b/src/components/tasks/Details.jsx
index a5c363ee..ceafdcf4 100644
--- a/src/components/tasks/Details.jsx
+++ b/src/components/tasks/Details.jsx
@@ -4,6 +4,7 @@ import CommandBadge from "components/commands/Badge";
import CommandInstructions from "components/commands/Instructions";
import NativeButton from "components/form/NativeButton";
import NativeSelect from "components/form/NativeSelect";
+import NativeTabs from "components/form/NativeTabs";
import PageTitle from "components/logic/PageTitle";
import RestrictedComponent from "components/logic/RestrictedComponent";
import EmptyField from "components/ui/EmptyField";
@@ -36,6 +37,8 @@ const TaskDetails = () => {
const [project, setProject] = useState(null);
const [command, setCommand] = useState(null);
+ const [tabIndex, tabIndexSetter] = useState(0);
+
const parentType = "task";
const parentId = taskId;
const [attachments, reloadAttachments] = useFetch(`/attachments?parentType=${parentType}&parentId=${parentId}`);
@@ -139,107 +142,115 @@ const TaskDetails = () => {
} />
+
- Details
- {null !== command && Command instructions }
- Attachments
-
-
-
-
-
- Description
- {task.description ? (
- {task.description}
- ) : (
-
- )}
- Priority
- {task.priority}
- Status
-
-
-
- {task.command_id && (
- <>
- Command
-
- >
- )}
-
-
-
- People
-
- - Created by
- -
- {task.creator_full_name}
-
-
- {1 !== task.project_is_template && (
+ {0 === tabIndex && (
+
+
+
+ Description
+ {task.description ? (
+ {task.description}
+ ) : (
+
+ )}
+ Priority
+ {task.priority}
+ Status
+
+
+
+ {task.command_id && (
<>
- - Assigned to
- -
- {users && (
-
-
- {users.map((user, index) => (
-
- ))}
-
- )}
-
+ Command
+
>
)}
-
+
-
- {task.due_date && (
+
+ People
- - Due date
+ - Created by
-
-
+
+ {task.creator_full_name}
+
+
+ {1 !== task.project_is_template && (
+ <>
+ - Assigned to
+ -
+ {users && (
+
+
+ {users.map((user, index) => (
+
+ ))}
+
+ )}
+
+ >
+ )}
- )}
+
+
+ {task.due_date && (
+
+ - Due date
+ -
+
+
+
+ )}
+
-
+ )}
{null !== command && (
)}
-
-
-
-
-
- Attachment list
-
-
-
+ {1 === tabIndex && (
+
+
+
+
+
+ Attachment list
+
+
+
+ )}
diff --git a/src/components/tasks/TaskBadge.css b/src/components/tasks/TaskBadge.css
index 277fac95..006e8311 100644
--- a/src/components/tasks/TaskBadge.css
+++ b/src/components/tasks/TaskBadge.css
@@ -1,7 +1,5 @@
.task-badge {
- color: var(--yellow);
align-items: center;
display: inline-flex;
border-radius: var(--borderRadius, 3px);
- font-weight: var(--fontBold);
}
diff --git a/src/components/ui/Breadcrumb.jsx b/src/components/ui/Breadcrumb.jsx
index b5e8fdb0..e6b0e1e4 100644
--- a/src/components/ui/Breadcrumb.jsx
+++ b/src/components/ui/Breadcrumb.jsx
@@ -15,7 +15,7 @@ const Breadcrumb = (props) => {
};
return (
-
);
diff --git a/src/components/vulnerabilities/NotesTab.jsx b/src/components/vulnerabilities/NotesTab.jsx
index 93298969..8d3b438e 100644
--- a/src/components/vulnerabilities/NotesTab.jsx
+++ b/src/components/vulnerabilities/NotesTab.jsx
@@ -56,9 +56,7 @@ const VulnerabilitiesNotesTab = ({ vulnerability }) => {
-
- Save
-
+ Save
diff --git a/src/components/vulnerabilities/StatusBadge.jsx b/src/components/vulnerabilities/StatusBadge.jsx
index a359498c..e205c4d1 100644
--- a/src/components/vulnerabilities/StatusBadge.jsx
+++ b/src/components/vulnerabilities/StatusBadge.jsx
@@ -1,46 +1,44 @@
-import PropTypes from 'prop-types';
+import PropTypes from "prop-types";
const VulnerabilityStatusBadge = ({ vulnerability }) => {
const STATUSES = {
- 'open': {
- label: 'Open',
- color: 'yellow',
+ open: {
+ label: "Open",
+ color: "yellow",
},
- 'confirmed': {
- label: 'Confirmed',
- color: 'orange',
+ confirmed: {
+ label: "Confirmed",
+ color: "orange",
},
- 'resolved': {
- label: 'Resolved',
- color: 'blue',
+ resolved: {
+ label: "Resolved",
+ color: "blue",
},
- 'closed': {
- label: 'Closed',
- color: 'green',
+ closed: {
+ label: "Closed",
+ color: "green",
},
- }
+ };
const styles = {
badge: {
color: `var(--${STATUSES[vulnerability.status].color})`,
backgroundColor: `var(--${STATUSES[vulnerability.status].color}Dark)`,
padding: `var(--paddingBadge)`,
- alignItems: 'center',
+ alignItems: "center",
display: `inline-flex`,
- borderRadius: 'var(--borderRadius, 3px)',
+ borderRadius: "var(--borderRadius, 3px)",
border: `var(--borderWidth,2px) solid transparent`,
- fontSize: `var(--fontSizeXsmall)`,
- fontWeight: 'var(--fontBold)'
- }
- }
+ },
+ };
return (
{STATUSES[vulnerability.status].label} ({vulnerability.substatus})
- )
-}
+ );
+};
VulnerabilityStatusBadge.propTypes = {
- vulnerability: PropTypes.object.isRequired
+ vulnerability: PropTypes.object.isRequired,
};
export default VulnerabilityStatusBadge;
diff --git a/src/components/vulnerabilities/VulnerabilitiesTable.jsx b/src/components/vulnerabilities/VulnerabilitiesTable.jsx
index f14c1bda..9de98484 100644
--- a/src/components/vulnerabilities/VulnerabilitiesTable.jsx
+++ b/src/components/vulnerabilities/VulnerabilitiesTable.jsx
@@ -162,7 +162,7 @@ const VulnerabilitiesTable = ({
parentName={vulnerability.parent_category_name}
/>
|
-
+ |
Edit
{reloadCallback && (
diff --git a/src/components/vulnerabilities/categories/AddModalDialog.jsx b/src/components/vulnerabilities/categories/AddModalDialog.jsx
index 75cfde3a..48ff989e 100644
--- a/src/components/vulnerabilities/categories/AddModalDialog.jsx
+++ b/src/components/vulnerabilities/categories/AddModalDialog.jsx
@@ -29,7 +29,7 @@ const VulnerabilityCategoryAddModalDialog = ({ isOpen, onClose, onCancel }) => {
};
return (
-
+
New vulnerability category details
@@ -41,15 +41,8 @@ const VulnerabilityCategoryAddModalDialog = ({ isOpen, onClose, onCancel }) => {
-
- Cancel
-
-
+ Cancel
+
Save
diff --git a/src/components/vulnerabilities/categories/Details.jsx b/src/components/vulnerabilities/categories/Details.jsx
index ae540b46..2be43306 100644
--- a/src/components/vulnerabilities/categories/Details.jsx
+++ b/src/components/vulnerabilities/categories/Details.jsx
@@ -9,7 +9,7 @@ import LinkButton from "components/ui/buttons/Link";
import PrimaryButton from "components/ui/buttons/Primary";
import EmptyField from "components/ui/EmptyField";
import ExternalLink from "components/ui/ExternalLink";
-import { IconFlag, IconPlusCircle } from "components/ui/Icons";
+import { IconFlag } from "components/ui/Icons";
import Loading from "components/ui/Loading";
import TimestampsSection from "components/ui/TimestampsSection";
import Title from "components/ui/Title";
@@ -54,10 +54,7 @@ const TemplateDetails = () => {
Templates
- cloneProject(vulnerability.id)} leftIcon={}>
- {" "}
- Clone and edit
-
+ cloneProject(vulnerability.id)}>Clone and edit
Edit
diff --git a/src/components/vulnerabilities/categories/EditModalDialog.jsx b/src/components/vulnerabilities/categories/EditModalDialog.jsx
index a5ffbfc1..199a84ba 100644
--- a/src/components/vulnerabilities/categories/EditModalDialog.jsx
+++ b/src/components/vulnerabilities/categories/EditModalDialog.jsx
@@ -26,7 +26,7 @@ const VulnerabilityCategoryEditModalDialog = ({ category, isOpen, onClose, onCan
};
return (
-
+
Vulnerability category details
@@ -38,15 +38,8 @@ const VulnerabilityCategoryEditModalDialog = ({ category, isOpen, onClose, onCan
-
- Cancel
-
-
+ Cancel
+
Save
diff --git a/src/components/vulnerabilities/categories/List.jsx b/src/components/vulnerabilities/categories/List.jsx
index 58bd9e4d..2dcdeb3e 100644
--- a/src/components/vulnerabilities/categories/List.jsx
+++ b/src/components/vulnerabilities/categories/List.jsx
@@ -105,7 +105,7 @@ const VulnerabilityCategoriesPage = () => {
|
{category.parent_name ?? "-"} |
{category.description} |
-
+ |
onEditClick(ev, category)}>
Edit
diff --git a/src/components/vulnerabilities/templates/Details.jsx b/src/components/vulnerabilities/templates/Details.jsx
index 2db86d34..c58a797d 100644
--- a/src/components/vulnerabilities/templates/Details.jsx
+++ b/src/components/vulnerabilities/templates/Details.jsx
@@ -5,7 +5,7 @@ import Breadcrumb from "components/ui/Breadcrumb";
import DeleteButton from "components/ui/buttons/Delete";
import LinkButton from "components/ui/buttons/Link";
import PrimaryButton from "components/ui/buttons/Primary";
-import { IconFlag, IconPlusCircle } from "components/ui/Icons";
+import { IconFlag } from "components/ui/Icons";
import Loading from "components/ui/Loading";
import Title from "components/ui/Title";
import useDelete from "hooks/useDelete";
@@ -47,9 +47,7 @@ const VulnerabilityTemplateDetails = () => {
Templates
- cloneProject(vulnerability.id)} leftIcon={}>
- Clone and edit
-
+ cloneProject(vulnerability.id)}>Clone and edit
Edit
diff --git a/src/components/vulnerabilities/templates/List.jsx b/src/components/vulnerabilities/templates/List.jsx
index 78217ba1..0bfb5d17 100644
--- a/src/components/vulnerabilities/templates/List.jsx
+++ b/src/components/vulnerabilities/templates/List.jsx
@@ -3,7 +3,7 @@ import PageTitle from "components/logic/PageTitle";
import AscendingSortLink from "components/ui/AscendingSortLink";
import Breadcrumb from "components/ui/Breadcrumb";
import DescendingSortLink from "components/ui/DescendingSortLink";
-import { IconDocumentDuplicate, IconPlus } from "components/ui/Icons";
+import { IconDocumentDuplicate } from "components/ui/Icons";
import Loading from "components/ui/Loading";
import NoResults from "components/ui/NoResults";
import CreateButton from "components/ui/buttons/Create";
@@ -104,12 +104,11 @@ const VulnerabilityTemplatesList = () => {
parentName={template.parent_category_name}
/>
|
-
+ |
cloneVulnerability(ev, template.id)}
key={template.id}
title="Clone"
- leftIcon={}
>
Clone and edit
diff --git a/src/styles/_utilities.css b/src/styles/_utilities.css
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/styles/forms.css b/src/styles/forms.css
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/styles/main.css b/src/styles/main.css
index e0dcbcfc..b2ed5038 100644
--- a/src/styles/main.css
+++ b/src/styles/main.css
@@ -1,53 +1,6 @@
@import "bulma/css/bulma.css";
-@import "_utilities";
-@import "forms";
:root {
- --base-hue: 336;
- --saturation: 50%;
- --value: 55%;
- --distance: 60;
- --distance-analog: calc(var(--distance) / 2);
- --distance-secondary: calc(var(--distance) * -2);
- --distance-complementary: calc(var(--distance) * 3);
- --distance-third: calc(var(--distance) * -5);
- --distance-fourth: calc(var(--distance) * 5);
-
- --complementary-color: hsl(calc(var(--base-hue) + var(--distance-complementary)),
- var(--saturation),
- var(--value));
- --secondary-color: hsl(calc(var(--base-hue) + var(--distance-secondary)),
- var(--saturation),
- var(--value));
- --analog-color: hsl(calc(var(--base-hue) + var(--distance-analog)),
- var(--saturation),
- var(--value));
- --third-color: hsl(calc(var(--base-hue) + var(--distance-third)),
- var(--saturation),
- var(--value));
- --fourth-color: hsl(calc(var(--base-hue) + var(--distance-fourth)),
- var(--saturation),
- var(--value));
-
- --color-black: #141820;
- --color-gray-dark: #1b202b;
- --color-gray: #2f3747;
- --color-gray-light: #748094;
- --color-gray-lightest: hsl(240, 1%, 94%);
-
- --primary-color: #e56e6a;
-
- --black: var(--color-black);
- --bg-color: var(--color-gray-dark);
- --text-color: var(--color-gray-light);
-
- --red: var(--analog-color);
- --green: var(--complementary-color);
- --blue: var(--secondary-color);
- --yellow: var(--third-color);
- --purple: var(--fourth-color);
- --gray: var(--text-color);
-
/*spacing*/
--space: 0.9rem;
--space-xs: 0.1rem;
@@ -69,15 +22,6 @@
/*icons*/
--iconSize: 32px;
--iconSizeLarge: 48px;
-
- --fontSizeTitle: 2.1rem;
- --fontSizeSubtitle: 1.75rem;
- --fontSizeHeader: 1.5rem;
- --fontSizeBody: 1rem;
- --fontSizeSmall: 0.85rem;
- --fontSizeXsmall: 0.75rem;
- --fontBold: 700;
- --transitionTime: 0.2s ease-out;
}
body {
@@ -95,25 +39,6 @@ main {
}
}
-#content {
- padding: var(--padding);
-}
-
-div form+aside {
- border-radius: var(--borderRadius);
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- div {
- margin-left: auto;
- }
-}
-
.heading {
display: flex;
justify-content: space-between;
@@ -121,15 +46,6 @@ h6 {
margin-bottom: calc(var(--padding) / 2);
}
-section {
- padding-bottom: var(--padding);
- margin: var(--padding) 0;
-
- h2 {
- margin-right: auto;
- }
-}
-
a,
span,
input,
@@ -145,20 +61,6 @@ h4 {
}
}
-figure svg {
- margin: 0;
-}
-
-dl {
- dt {
- margin-bottom: var(--space-sm);
- margin-top: 10px;
- padding-bottom: var(--space-sm);
- border-bottom: var(--borderWidth) solid var(--black);
- }
-
-}
-
.message__container {
display: flex;
flex-direction: row;
@@ -168,9 +70,4 @@ dl {
height: 100%;
opacity: .4;
gap: var(--padding);
- color: var(--text-color);
-}
-
-svg {
- max-width: 32px;
}
|