mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 06:28:42 +01:00
Cleans up icons
This commit is contained in:
23
assets/components.d.ts
vendored
23
assets/components.d.ts
vendored
@@ -9,12 +9,10 @@ export {}
|
|||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
CarbonCaretDown: typeof import('~icons/carbon/caret-down')['default']
|
'Carbon:caretDown': typeof import('~icons/carbon/caret-down')['default']
|
||||||
'Cil:checkAlt': typeof import('~icons/cil/check-alt')['default']
|
|
||||||
'Cil:checkCircle': typeof import('~icons/cil/check-circle')['default']
|
'Cil:checkCircle': typeof import('~icons/cil/check-circle')['default']
|
||||||
'Cil:columns': typeof import('~icons/cil/columns')['default']
|
'Cil:columns': typeof import('~icons/cil/columns')['default']
|
||||||
CilCheckAlt: typeof import('~icons/cil/check-alt')['default']
|
'Cil:findInPage': typeof import('~icons/cil/find-in-page')['default']
|
||||||
CilColumns: typeof import('~icons/cil/columns')['default']
|
|
||||||
CilFindInPage: typeof import('~icons/cil/find-in-page')['default']
|
CilFindInPage: typeof import('~icons/cil/find-in-page')['default']
|
||||||
ComplexLogItem: typeof import('./components/LogViewer/ComplexLogItem.vue')['default']
|
ComplexLogItem: typeof import('./components/LogViewer/ComplexLogItem.vue')['default']
|
||||||
ContainerStat: typeof import('./components/LogViewer/ContainerStat.vue')['default']
|
ContainerStat: typeof import('./components/LogViewer/ContainerStat.vue')['default']
|
||||||
@@ -31,14 +29,19 @@ declare module '@vue/runtime-core' {
|
|||||||
LogLevel: typeof import('./components/LogViewer/LogLevel.vue')['default']
|
LogLevel: typeof import('./components/LogViewer/LogLevel.vue')['default']
|
||||||
LogViewer: typeof import('./components/LogViewer/LogViewer.vue')['default']
|
LogViewer: typeof import('./components/LogViewer/LogViewer.vue')['default']
|
||||||
LogViewerWithSource: typeof import('./components/LogViewer/LogViewerWithSource.vue')['default']
|
LogViewerWithSource: typeof import('./components/LogViewer/LogViewerWithSource.vue')['default']
|
||||||
MdiDotsVertical: typeof import('~icons/mdi/dots-vertical')['default']
|
'Mdi:dotsVertical': typeof import('~icons/mdi/dots-vertical')['default']
|
||||||
MdiLightChevronDoubleDown: typeof import('~icons/mdi-light/chevron-double-down')['default']
|
'Mdi:lightChevronDoubleDown': typeof import('~icons/mdi-light/chevron-double-down')['default']
|
||||||
MdiLightChevronLeft: typeof import('~icons/mdi-light/chevron-left')['default']
|
'Mdi:lightChevronLeft': typeof import('~icons/mdi-light/chevron-left')['default']
|
||||||
MdiLightChevronRight: typeof import('~icons/mdi-light/chevron-right')['default']
|
'Mdi:lightChevronRight': typeof import('~icons/mdi-light/chevron-right')['default']
|
||||||
MdiLightCog: typeof import('~icons/mdi-light/cog')['default']
|
'Mdi:lightCog': typeof import('~icons/mdi-light/cog')['default']
|
||||||
MdiLightLogout: typeof import('~icons/mdi-light/logout')['default']
|
'Mdi:lightLogout': typeof import('~icons/mdi-light/logout')['default']
|
||||||
|
'Mdi:lightMagndify': typeof import('~icons/mdi-light/magndify')['default']
|
||||||
|
'Mdi:lightMagnify': typeof import('~icons/mdi-light/magnify')['default']
|
||||||
MdiLightMagnify: typeof import('~icons/mdi-light/magnify')['default']
|
MdiLightMagnify: typeof import('~icons/mdi-light/magnify')['default']
|
||||||
MobileMenu: typeof import('./components/MobileMenu.vue')['default']
|
MobileMenu: typeof import('./components/MobileMenu.vue')['default']
|
||||||
|
'Octicon:container24': typeof import('~icons/octicon/container24')['default']
|
||||||
|
'Octicon:download24': typeof import('~icons/octicon/download24')['default']
|
||||||
|
'Octicon:trash24': typeof import('~icons/octicon/trash24')['default']
|
||||||
OcticonContainer24: typeof import('~icons/octicon/container24')['default']
|
OcticonContainer24: typeof import('~icons/octicon/container24')['default']
|
||||||
OcticonDownload24: typeof import('~icons/octicon/download24')['default']
|
OcticonDownload24: typeof import('~icons/octicon/download24')['default']
|
||||||
OcticonTrash24: typeof import('~icons/octicon/trash24')['default']
|
OcticonTrash24: typeof import('~icons/octicon/trash24')['default']
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="dropdown-trigger">
|
<div class="dropdown-trigger">
|
||||||
<button class="button" aria-haspopup="true" aria-controls="dropdown-menu">
|
<button class="button" aria-haspopup="true" aria-controls="dropdown-menu">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-dots-vertical />
|
<mdi:dots-vertical />
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -26,12 +26,14 @@
|
|||||||
|
|
||||||
& > .icon {
|
& > .icon {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
& > svg {
|
& > svg {
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
height: 0.85em;
|
height: 0.85em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.is-top {
|
.is-top {
|
||||||
& .dropdown-menu {
|
& .dropdown-menu {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<div class="media">
|
<div class="media">
|
||||||
<div class="media-left">
|
<div class="media-left">
|
||||||
<span class="icon is-small" :class="item.state">
|
<span class="icon is-small" :class="item.state">
|
||||||
<octicon-container-24 />
|
<octicon:container-24 />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
@click.stop.prevent="addColumn(item)"
|
@click.stop.prevent="addColumn(item)"
|
||||||
:title="$t('tooltip.pin-column')"
|
:title="$t('tooltip.pin-column')"
|
||||||
>
|
>
|
||||||
<cil-columns />
|
<cil:columns />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -130,9 +130,11 @@ function addColumn(container: Container) {
|
|||||||
|
|
||||||
:deep(a.dropdown-item) {
|
:deep(a.dropdown-item) {
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
|
|
||||||
.media-right {
|
.media-right {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .media-right {
|
&:hover .media-right {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="level is-justify-content-start">
|
<div class="level is-justify-content-start">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<octicon-trash-24 class="mr-4" />
|
<octicon:trash-24 class="mr-4" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<div class="level is-justify-content-start">
|
<div class="level is-justify-content-start">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<octicon-download-24 class="mr-4" />
|
<octicon:download-24 class="mr-4" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<div class="level is-justify-content-start">
|
<div class="level is-justify-content-start">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<mdi-light-magnify class="mr-4" />
|
<mdi:light-magnify class="mr-4" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<div class="level is-justify-content-start">
|
<div class="level is-justify-content-start">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<cil-find-in-page class="mr-4" />
|
<cil:find-in-page class="mr-4" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
@@ -72,10 +72,12 @@ watch(
|
|||||||
display: flex;
|
display: flex;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
padding: 0.2em 1em;
|
padding: 0.2em 1em;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
scroll-snap-align: end;
|
scroll-snap-align: end;
|
||||||
scroll-margin-block-end: 5rem;
|
scroll-margin-block-end: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
background-color: rgba(125, 125, 125, 0.08);
|
background-color: rgba(125, 125, 125, 0.08);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<button class="button is-small is-rounded" @click="$emit('search')" :title="$t('tooltip.search')">
|
<button class="button is-small is-rounded" @click="$emit('search')" :title="$t('tooltip.search')">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-light-magnify />
|
<mdi:light-magnify />
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<router-link :to="{ name: 'settings' }" active-class="is-active" class="button is-small is-rounded">
|
<router-link :to="{ name: 'settings' }" active-class="is-active" class="button is-small is-rounded">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-light-cog />
|
<mdi:light-cog />
|
||||||
</span>
|
</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<a class="button is-small is-rounded" :href="`${base}/logout`" :title="$t('button.logout')">
|
<a class="button is-small is-rounded" :href="`${base}/logout`" :title="$t('button.logout')">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-light-logout />
|
<mdi:light-logout />
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
@click="scrollToBottom()"
|
@click="scrollToBottom()"
|
||||||
v-show="paused"
|
v-show="paused"
|
||||||
>
|
>
|
||||||
<mdi-light-chevron-double-down />
|
<mdi:light-chevron-double-down />
|
||||||
</button>
|
</button>
|
||||||
</transition>
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
@@ -97,6 +97,7 @@ section {
|
|||||||
.is-scrollbar-progress {
|
.is-scrollbar-progress {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-right: 110px;
|
margin-right: 110px;
|
||||||
|
|
||||||
.scroll-progress {
|
.scroll-progress {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 60px;
|
top: 60px;
|
||||||
@@ -111,6 +112,7 @@ section {
|
|||||||
.is-scrollbar-notification {
|
.is-scrollbar-notification {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-right: 65px;
|
margin-right: 65px;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 30px;
|
bottom: 30px;
|
||||||
@@ -138,9 +140,11 @@ section {
|
|||||||
100% {
|
100% {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
40% {
|
40% {
|
||||||
transform: translateY(-30px);
|
transform: translateY(-30px);
|
||||||
}
|
}
|
||||||
|
|
||||||
60% {
|
60% {
|
||||||
transform: translateY(-15px);
|
transform: translateY(-15px);
|
||||||
}
|
}
|
||||||
@@ -150,6 +154,7 @@ section {
|
|||||||
.fade-leave-active {
|
.fade-leave-active {
|
||||||
transition: opacity 0.15s ease-in;
|
transition: opacity 0.15s ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fade-enter,
|
.fade-enter,
|
||||||
.fade-leave-to {
|
.fade-leave-to {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
@keyup.esc="resetSearch()"
|
@keyup.esc="resetSearch()"
|
||||||
/>
|
/>
|
||||||
<span class="icon is-left">
|
<span class="icon is-left">
|
||||||
<mdi-light-magnify />
|
<mdi:light-magnify />
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -52,6 +52,7 @@ onUnmounted(() => resetSearch());
|
|||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
background-color: var(--scheme-main-ter);
|
background-color: var(--scheme-main-ter);
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
|
|
||||||
&:after,
|
&:after,
|
||||||
&:before {
|
&:before {
|
||||||
background-color: var(--text-color);
|
background-color: var(--text-color);
|
||||||
@@ -68,6 +69,7 @@ onUnmounted(() => resetSearch());
|
|||||||
|
|
||||||
.input {
|
.input {
|
||||||
color: var(--body-color);
|
color: var(--body-color);
|
||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: var(--border-color);
|
color: var(--border-color);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<o-button variant="primary" type="button" size="small">
|
<o-button variant="primary" type="button" size="small">
|
||||||
<span>{{ sessionHost }}</span>
|
<span>{{ sessionHost }}</span>
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<carbon-caret-down />
|
<carbon:caret-down />
|
||||||
</span>
|
</span>
|
||||||
</o-button>
|
</o-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -35,21 +35,21 @@
|
|||||||
<div class="column is-narrow py-0 pl-0 pr-1">
|
<div class="column is-narrow py-0 pl-0 pr-1">
|
||||||
<button class="button is-rounded is-small" @click="$emit('search')" :title="$t('tooltip.search')">
|
<button class="button is-rounded is-small" @click="$emit('search')" :title="$t('tooltip.search')">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-light-magnify />
|
<mdi:light-magnify />
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-narrow py-0" :class="secured ? 'pl-0 pr-1' : 'px-0'">
|
<div class="column is-narrow py-0" :class="secured ? 'pl-0 pr-1' : 'px-0'">
|
||||||
<router-link :to="{ name: 'settings' }" active-class="is-active" class="button is-rounded is-small">
|
<router-link :to="{ name: 'settings' }" active-class="is-active" class="button is-rounded is-small">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-light-cog />
|
<mdi:light-cog />
|
||||||
</span>
|
</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-narrow py-0 px-0" v-if="secured">
|
<div class="column is-narrow py-0 px-0" v-if="secured">
|
||||||
<a class="button is-rounded is-small" :href="`${base}/logout`" :title="$t('button.logout')">
|
<a class="button is-rounded is-small" :href="`${base}/logout`" :title="$t('button.logout')">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<mdi-light-logout />
|
<mdi:light-logout />
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
v-if="!isMobile"
|
v-if="!isMobile"
|
||||||
>
|
>
|
||||||
<span class="icon ml-2" v-if="collapseNav">
|
<span class="icon ml-2" v-if="collapseNav">
|
||||||
<mdi-light-chevron-right />
|
<mdi:light-chevron-right />
|
||||||
</span>
|
</span>
|
||||||
<span class="icon" v-else>
|
<span class="icon" v-else>
|
||||||
<mdi-light-chevron-left />
|
<mdi:light-chevron-left />
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</main>
|
</main>
|
||||||
@@ -87,6 +87,7 @@ function onResized(e: any) {
|
|||||||
:deep(.splitpanes--vertical > .splitpanes__splitter) {
|
:deep(.splitpanes--vertical > .splitpanes__splitter) {
|
||||||
min-width: 3px;
|
min-width: 3px;
|
||||||
background: var(--border-color);
|
background: var(--border-color);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--border-hover-color);
|
background: var(--border-hover-color);
|
||||||
}
|
}
|
||||||
@@ -110,6 +111,7 @@ function onResized(e: any) {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
|
|
||||||
&.collapsed {
|
&.collapsed {
|
||||||
left: -40px;
|
left: -40px;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
@keyup.enter="onEnter()"
|
@keyup.enter="onEnter()"
|
||||||
/>
|
/>
|
||||||
<span class="icon is-left">
|
<span class="icon is-left">
|
||||||
<search-icon />
|
<mdi:light-magnify />
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -75,7 +75,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import SearchIcon from "~icons/mdi-light/magnify";
|
|
||||||
import { useFuse } from "@vueuse/integrations/useFuse";
|
import { useFuse } from "@vueuse/integrations/useFuse";
|
||||||
|
|
||||||
const { version } = config;
|
const { version } = config;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<o-button variant="primary" type="button">
|
<o-button variant="primary" type="button">
|
||||||
<span class="is-capitalized">{{ hourStyle }}</span>
|
<span class="is-capitalized">{{ hourStyle }}</span>
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<carbon-caret-down />
|
<carbon:caret-down />
|
||||||
</span>
|
</span>
|
||||||
</o-button>
|
</o-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
<o-button variant="primary" type="button">
|
<o-button variant="primary" type="button">
|
||||||
<span class="is-capitalized">{{ size }}</span>
|
<span class="is-capitalized">{{ size }}</span>
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<carbon-caret-down />
|
<carbon:caret-down />
|
||||||
</span>
|
</span>
|
||||||
</o-button>
|
</o-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
<o-button variant="primary" type="button">
|
<o-button variant="primary" type="button">
|
||||||
<span class="is-capitalized">{{ lightTheme }}</span>
|
<span class="is-capitalized">{{ lightTheme }}</span>
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<carbon-caret-down />
|
<carbon:caret-down />
|
||||||
</span>
|
</span>
|
||||||
</o-button>
|
</o-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -177,6 +177,7 @@ fetchNextRelease();
|
|||||||
|
|
||||||
a.next-release {
|
a.next-release {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user