Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
d-koppenhagen committed Dec 20, 2024
1 parent 49b4420 commit 8d4f7e5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/DataInput.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-toolbar class="mt-3">
<v-toolbar class="mt-3" color="white" elevation="1">
<v-btn-toggle
v-model="reportSource"
mandatory
Expand All @@ -16,10 +16,10 @@
density="compact"
browse-text="Local Filesystem"
divider-text="or choose locally"
icon="mdi-upload"
title="Drag and Drop Here"
title="Choose file"
file-type="application/json"
:multiple="false"
color="##f2f2f2"
@update:model-value="handleFileUpload($event)"
/>

Expand Down
7 changes: 5 additions & 2 deletions src/components/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
<span>
<v-text-field
v-model="search"
append-icon="mdi-magnify"
center-affix
append-inner-icon="mdi-magnify"
label="Search"
single-line
outlined
hide-details
class="my-5"
type="search"
variant="outlined"
></v-text-field>

<v-tabs dark background-color="primary" grow hide-slider show-arrows>
<v-tabs dark bg-color="primary" grow hide-slider show-arrows>
<v-tab v-on:click="search = ''"
>Total: {{ vulnerabilityStats.total }}
</v-tab>
Expand Down
23 changes: 23 additions & 0 deletions src/styles/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,26 @@
// @use 'vuetify/settings' with (
// $color-pack: false
// );

.v-file-upload.v-file-upload--density-compact {
padding: 0.5rem;
border: 2px dashed #aaa;
margin: 0 0.5rem;
}

.v-file-upload--density-compact .v-file-upload-icon {
font-size: 1rem;
}

.v-file-upload-title {
font-size: 1rem;
font-weight: normal;
}

.v-file-upload-items .v-list-item--rounded {
border: none;
}

.v-file-upload-items > .v-list-item--density-default.v-list-item--two-line {
padding: 1rem 1rem 1rem 0;
}

0 comments on commit 8d4f7e5

Please sign in to comment.