mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-05-11 08:35:31 +00:00
Compare commits
1 Commits
master
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e762e8938e |
@@ -50,12 +50,11 @@
|
|||||||
|
|
||||||
.navigation-icons-gutter {
|
.navigation-icons-gutter {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
height: calc(100vh - var(--header-size));
|
height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
top: var(--header-size);
|
top: var(--header-size);
|
||||||
width: var(--header-size);
|
width: var(--header-size);
|
||||||
background-color: var(--background-color-secondary);
|
background-color: var(--background-color-secondary);
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
@@ -63,6 +62,7 @@
|
|||||||
grid-column: 2 / 3;
|
grid-column: 2 / 3;
|
||||||
width: calc(100% - var(--header-size));
|
width: calc(100% - var(--header-size));
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
|
z-index: 5;
|
||||||
|
|
||||||
@include mobile {
|
@include mobile {
|
||||||
grid-column: 1 / 3;
|
grid-column: 1 / 3;
|
||||||
|
|||||||
@@ -29,20 +29,19 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
<span class="storage-section__size">{{ section.totalSize }}</span>
|
<span class="storage-section__size">{{ section.totalSize }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="chevron-container">
|
<svg
|
||||||
<transition name="fade">
|
class="storage-section__chevron"
|
||||||
<IconExpandVertical
|
:class="{
|
||||||
v-if="!expandedSections[section.type]"
|
'storage-section__chevron--expanded':
|
||||||
key="expand"
|
expandedSections[section.type]
|
||||||
class="storage-section__chevron"
|
}"
|
||||||
/>
|
viewBox="0 0 24 24"
|
||||||
<IconShrinkVertical
|
fill="none"
|
||||||
v-else
|
stroke="currentColor"
|
||||||
key="shrink"
|
stroke-width="2"
|
||||||
class="storage-section__chevron"
|
>
|
||||||
/>
|
<polyline points="6 9 12 15 18 9" />
|
||||||
</transition>
|
</svg>
|
||||||
</div>
|
|
||||||
</button>
|
</button>
|
||||||
<div
|
<div
|
||||||
v-if="expandedSections[section.type]"
|
v-if="expandedSections[section.type]"
|
||||||
@@ -81,8 +80,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import IconClose from "@/icons/IconClose.vue";
|
import IconClose from "@/icons/IconClose.vue";
|
||||||
import IconExpandVertical from "@/icons/IconExpandVertical.vue";
|
|
||||||
import IconShrinkVertical from "@/icons/IconShrinkVertical.vue";
|
|
||||||
|
|
||||||
interface StorageItem {
|
interface StorageItem {
|
||||||
key: string;
|
key: string;
|
||||||
@@ -213,14 +210,15 @@
|
|||||||
color: var(--text-color-50);
|
color: var(--text-color-50);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__chevron {
|
&__chevron {
|
||||||
position: absolute;
|
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
fill: var(--text-color-70);
|
stroke: var(--text-color-70);
|
||||||
|
transition: transform 0.2s ease;
|
||||||
|
&--expanded {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
border-top: 1px solid var(--background-40);
|
border-top: 1px solid var(--background-40);
|
||||||
}
|
}
|
||||||
@@ -364,22 +362,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.chevron-container {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Simple crossfade transition
|
|
||||||
.fade-enter-active,
|
|
||||||
.fade-leave-active {
|
|
||||||
transition: opacity 0.3s;
|
|
||||||
}
|
|
||||||
.fade-enter, .fade-leave-to {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -129,7 +129,6 @@
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-bottom: 1rem;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
.query {
|
.query {
|
||||||
|
|||||||
@@ -259,7 +259,7 @@
|
|||||||
padding: 0.5rem 0.6rem;
|
padding: 0.5rem 0.6rem;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
border-left: 1px solid var(--highlight-color);
|
border-left: 1px solid var(--highlight-secondary, var(--highlight-color));
|
||||||
|
|
||||||
@include mobile {
|
@include mobile {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -301,7 +301,7 @@
|
|||||||
tr td:last-of-type {
|
tr td:last-of-type {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-right: 1px solid var(--highlight-color);
|
border-right: 1px solid var(--highlight-secondary, var(--highlight-color));
|
||||||
max-width: 60px;
|
max-width: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@@ -328,19 +328,26 @@
|
|||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
||||||
td {
|
td {
|
||||||
border-left: 1px solid var(--highlight-color);
|
border-left: 1px solid
|
||||||
|
var(--highlight-secondary, var(--highlight-color));
|
||||||
fill: var(--text-color);
|
fill: var(--text-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tr:nth-child(odd) {
|
tr:nth-child(odd) {
|
||||||
background: rgba(0, 0, 0, 0.15);
|
background-color: var(--highlight-secondary, var(--background-color));
|
||||||
|
color: var(--highlight-bg, var(--text-color));
|
||||||
|
|
||||||
|
td {
|
||||||
|
fill: var(--highlight-bg, var(--text-color)) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// last element rounded corner border
|
// last element rounded corner border
|
||||||
tr:last-of-type {
|
tr:last-of-type {
|
||||||
td {
|
td {
|
||||||
border-bottom: 1px solid var(--highlight-color);
|
border-bottom: 1px solid
|
||||||
border-left: 1px solid var(--highlight-color);
|
var(--highlight-secondary, var(--highlight-color));
|
||||||
|
border-left: 1px solid var(--highlight-bg, var(--text-color));
|
||||||
}
|
}
|
||||||
|
|
||||||
td:first-of-type {
|
td:first-of-type {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
to top,
|
to top,
|
||||||
var(--highlight-bg, var(--background-color)) 20%,
|
var(--background-color) 20%,
|
||||||
var(--background-0) 100%
|
var(--background-0) 100%
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
@keydown.enter.prevent="navigateToSelected"
|
@keydown.enter.prevent="navigateToSelected"
|
||||||
@keydown.esc.prevent="close"
|
@keydown.esc.prevent="close"
|
||||||
@keydown="handleInputKeydown"
|
@keydown="handleInputKeydown"
|
||||||
@keydown.ctrl.j.prevent="selectNext"
|
|
||||||
@keydown.ctrl.k.prevent="selectPrevious"
|
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
v-else
|
v-else
|
||||||
|
|||||||
@@ -1,18 +1,12 @@
|
|||||||
@import "scss/variables";
|
@import "scss/variables";
|
||||||
|
|
||||||
.noselect {
|
.noselect {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none; /* iOS Safari */
|
||||||
/* iOS Safari */
|
-webkit-user-select: none; /* Safari */
|
||||||
-webkit-user-select: none;
|
-khtml-user-select: none; /* Konqueror HTML */
|
||||||
/* Safari */
|
-moz-user-select: none; /* Firefox */
|
||||||
-khtml-user-select: none;
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||||
/* Konqueror HTML */
|
user-select: none; /* Non-prefixed version, currently */
|
||||||
-moz-user-select: none;
|
|
||||||
/* Firefox */
|
|
||||||
-ms-user-select: none;
|
|
||||||
/* Internet Explorer/Edge */
|
|
||||||
user-select: none;
|
|
||||||
/* Non-prefixed version, currently */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@@ -22,7 +16,6 @@
|
|||||||
html {
|
html {
|
||||||
height: unset;
|
height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -31,61 +24,27 @@ body {
|
|||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
||||||
|
// TODO probably explicitly define
|
||||||
* {
|
* {
|
||||||
transition:
|
transition: 0.5s ease;
|
||||||
transform 500ms ease,
|
|
||||||
background-color 500ms ease,
|
|
||||||
background-image 500ms ease,
|
|
||||||
opacity 500ms ease,
|
|
||||||
box-shadow 500ms ease,
|
|
||||||
border-color 500ms ease,
|
|
||||||
filter 500ms ease,
|
|
||||||
clip-path 500ms ease,
|
|
||||||
outline-color 500ms ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
button,
|
|
||||||
label,
|
|
||||||
span,
|
|
||||||
p,
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
transition-property: color;
|
|
||||||
transition-duration: 500ms;
|
|
||||||
transition-timing-function: ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-reduced-motion: reduce) {
|
|
||||||
* {
|
|
||||||
transition-duration: 1ms !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.hidden {
|
&.hidden {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a:any-link {
|
a:any-link {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
textarea,
|
textarea,
|
||||||
button {
|
button {
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
@@ -96,10 +55,8 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin noscrollbar {
|
@mixin noscrollbar {
|
||||||
scrollbar-width: none;
|
scrollbar-width: none; /* Firefox */
|
||||||
/* Firefox */
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
||||||
-ms-overflow-style: none;
|
|
||||||
/* Internet Explorer 10+ */
|
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
/* WebKit */
|
/* WebKit */
|
||||||
@@ -111,16 +68,15 @@ img {
|
|||||||
.button--group {
|
.button--group {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
>div:not(:first-child) {
|
> div:not(:first-child) {
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form {
|
.form {
|
||||||
|
> div,
|
||||||
>div,
|
> input,
|
||||||
>input,
|
> button {
|
||||||
>button {
|
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
|
|||||||
@@ -1940,9 +1940,9 @@ flat-cache@^4.0.0:
|
|||||||
keyv "^4.5.4"
|
keyv "^4.5.4"
|
||||||
|
|
||||||
flatted@^3.2.9:
|
flatted@^3.2.9:
|
||||||
version "3.3.3"
|
version "3.4.2"
|
||||||
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.3.tgz#67c8fad95454a7c7abebf74bb78ee74a44023358"
|
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.4.2.tgz#f5c23c107f0f37de8dbdf24f13722b3b98d52726"
|
||||||
integrity sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==
|
integrity sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==
|
||||||
|
|
||||||
for-each@^0.3.3, for-each@^0.3.5:
|
for-each@^0.3.3, for-each@^0.3.5:
|
||||||
version "0.3.5"
|
version "0.3.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user