Skip to content

Commit

Permalink
refactor(styles): 样式调整
Browse files Browse the repository at this point in the history
  • Loading branch information
Soybean committed Nov 29, 2021
1 parent 21c2f5a commit f29106e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,4 @@ import { GlobalHeader, GlobalContent, GlobalFooter, GlobalTab, SpacePlaceholder
const theme = useThemeStore();
const { headerInverted, headerPosition, scrollbarContentStyle, scrollbar } = useLayoutConfig();
</script>
<style scoped>
.global-sider {
box-shadow: var(--global-sider-shadow);
}
</style>
<style scoped></style>
4 changes: 2 additions & 2 deletions src/layouts/common/GlobalHeader/components/FullScreen.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<hover-container class="w-40px h-full" tooltip-content="全屏" @click="toggle">
<icon-gridicons-fullscreen-exit v-if="isFullscreen" class="text-16px" />
<icon-gridicons-fullscreen v-else class="text-16px" />
<icon-gridicons-fullscreen-exit v-if="isFullscreen" class="text-18px" />
<icon-gridicons-fullscreen v-else class="text-18px" />
</hover-container>
</template>

Expand Down
4 changes: 2 additions & 2 deletions src/layouts/common/GlobalHeader/components/ThemeMode.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<hover-container class="w-40px" content-class="hover:text-primary" tooltip-content="主题模式" @click="toggleDarkMode">
<icon-mdi-moon-waning-crescent v-if="theme.darkMode" class="text-14px" />
<icon-mdi-white-balance-sunny v-else class="text-14px" />
<icon-mdi-moon-waning-crescent v-if="theme.darkMode" class="text-18px" />
<icon-mdi-white-balance-sunny v-else class="text-18px" />
</hover-container>
</template>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<hover-container class="w-64px h-full" tooltip-content="重新加载" placement="bottom-end" @click="handleRefresh">
<icon-mdi-refresh class="text-16px" :class="{ 'reload-animation': loading }" />
<icon-mdi-refresh class="text-18px" :class="{ 'reload-animation': loading }" />
</hover-container>
</template>

Expand Down
2 changes: 1 addition & 1 deletion src/layouts/common/GlobalTab/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ init();
</script>
<style scoped>
.multi-tab {
box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
box-shadow: 0 1px 2px rgb(0 21 41 / 8%);
}
</style>
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default defineConfig(({ mode }) => {
},
plugins,
server: {
host: '0.0.0.0'
host: '0.0.0.0',
port: 3100
},
build: {
brotliSize: false,
Expand Down

1 comment on commit f29106e

@vercel
Copy link

@vercel vercel bot commented on f29106e Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.