mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-12-02 23:34:32 +08:00
fix: css & ui
This commit is contained in:
1 parent
828e061fdd
commit
4c4224a38c
10 files changed
+914
-8
No files matched your search
@@ -224,6 +224,10 @@ onUnmounted(() => {
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
#tools {
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
#book {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
<!-- 怪物详细信息 -->
|
||||
<template>
|
||||
<div id="detail">
|
||||
<div id="tools">
|
||||
<span id="back" class="button-text tools" @click="close"
|
||||
><left-outlined />返回</span
|
||||
>
|
||||
</div>
|
||||
<div id="info" :style="{ top: `${top}px` }">
|
||||
<EnemyOne :enemy="enemy!"></EnemyOne>
|
||||
<a-divider
|
||||
@@ -207,6 +212,15 @@ onUnmounted(() => {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#tools {
|
||||
position: fixed;
|
||||
height: 6%;
|
||||
font-size: 3.2vh;
|
||||
width: 100%;
|
||||
left: 5%;
|
||||
top: 5%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
#detail {
|
||||
width: 100%;
|
||||
@@ -221,5 +235,9 @@ onUnmounted(() => {
|
||||
left: 5vw;
|
||||
width: 80vw;
|
||||
}
|
||||
|
||||
#info {
|
||||
transform: translateY(10%);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+5
-1
@@ -717,7 +717,11 @@ onUnmounted(() => {
|
||||
}
|
||||
|
||||
#equip-list {
|
||||
flex-basis: 50%;
|
||||
flex-basis: 30%;
|
||||
|
||||
#filter #sort-type {
|
||||
font-size: 150%;
|
||||
}
|
||||
}
|
||||
|
||||
.divider {
|
||||
|
||||
+1
-1
@@ -242,7 +242,7 @@ onUnmounted(() => {
|
||||
flex-direction: column;
|
||||
width: 50%;
|
||||
text-overflow: clip;
|
||||
align-items: end;
|
||||
align-items: flex-end;
|
||||
text-align: end;
|
||||
|
||||
.hotkey-one-set-item {
|
||||
|
||||
@@ -476,7 +476,7 @@ onUnmounted(() => {
|
||||
height: 40%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: start;
|
||||
align-items: flex-start;
|
||||
|
||||
#tool-preview-container {
|
||||
width: 90%;
|
||||
|
||||
+9
-2
@@ -375,12 +375,13 @@ onUnmounted(() => {
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex-basis: 50%;
|
||||
|
||||
#desc-text {
|
||||
margin-top: 2vh;
|
||||
margin-left: 0.5vw;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -391,6 +392,7 @@ onUnmounted(() => {
|
||||
}
|
||||
|
||||
#tools {
|
||||
transform: translateY(-50%);
|
||||
span {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -398,8 +400,9 @@ onUnmounted(() => {
|
||||
|
||||
#toolbox-main {
|
||||
flex-direction: column-reverse;
|
||||
height: 100%;
|
||||
height: 90%;
|
||||
font-size: 100%;
|
||||
margin-top: 20%;
|
||||
}
|
||||
|
||||
.item-list {
|
||||
@@ -416,5 +419,9 @@ onUnmounted(() => {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
#detail {
|
||||
flex-basis: 30%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user