mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-27 22:49:39 +08:00
🎨 代码格式化
This commit is contained in:
@@ -345,16 +345,16 @@ async function exportJson() {
|
||||
.left-wrap {
|
||||
width: 400px;
|
||||
height: calc(100vh - 100px);
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
/* 右侧成就 */
|
||||
.right-wrap {
|
||||
width: calc(100% - 410px);
|
||||
height: calc(100vh - 100px);
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.list-empty {
|
||||
@@ -364,26 +364,26 @@ async function exportJson() {
|
||||
|
||||
/* 版本信息 */
|
||||
.version-icon-series {
|
||||
font-family: Genshin, serif;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
text-align: center;
|
||||
width: 80px;
|
||||
background: #546d8b;
|
||||
border-radius: 10px 0 0;
|
||||
border-top: #fff 2px solid;
|
||||
border-left: #fff 2px solid;
|
||||
background: #546d8b;
|
||||
color: #fec90b;
|
||||
font-family: Genshin, serif;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.version-icon-single {
|
||||
font-family: Genshin, serif;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
color: #ff6d6d;
|
||||
font-family: Genshin, serif;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card-left {
|
||||
@@ -404,25 +404,25 @@ async function exportJson() {
|
||||
|
||||
/* 成就进度 */
|
||||
.achievement-progress {
|
||||
font-family: Genshin, serif;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
left: 0;
|
||||
width: 65px;
|
||||
border-right: #fff 2px solid;
|
||||
border-bottom: #fff 2px solid;
|
||||
background: #8ba5c5;
|
||||
border-bottom-right-radius: 20px;
|
||||
border-bottom: #fff 2px solid;
|
||||
border-right: #fff 2px solid;
|
||||
color: #485466;
|
||||
font-family: Genshin, serif;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 成就完成时间 */
|
||||
.right-time {
|
||||
margin-right: 10px;
|
||||
font-size: small;
|
||||
color: #faf7e8;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
/* 成就奖励 */
|
||||
@@ -439,13 +439,13 @@ async function exportJson() {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgb(0 0 0 / 50%);
|
||||
color: #faf7e8;
|
||||
display: flex;
|
||||
font-size: 8px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -666,27 +666,27 @@ async function updateDB() {
|
||||
|
||||
<style lang="css" scoped>
|
||||
.config-list {
|
||||
border-radius: 10px;
|
||||
margin: 10px;
|
||||
font-family: Genshin-Light, serif;
|
||||
background: var(--content-bg-2);
|
||||
color: var(--content-text-3);
|
||||
border-radius: 10px;
|
||||
font-family: Genshin-Light, serif;
|
||||
}
|
||||
|
||||
.config-header {
|
||||
margin-top: 10px;
|
||||
font-family: Genshin, serif;
|
||||
background: var(--content-bg-2);
|
||||
color: #fec90b;
|
||||
font-family: Genshin, serif;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.config-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-right: 15px;
|
||||
padding: 5px;
|
||||
background: var(--content-bg-3);
|
||||
border-radius: 10px;
|
||||
margin-right: 15px;
|
||||
background: var(--content-bg-3);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -142,19 +142,19 @@ async function shareAbyss(): Promise<void> {
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
.ua-box {
|
||||
box-shadow: 0 0 10px 0 var(--common-shadow-4);
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
height: calc(100vh - 35px);
|
||||
align-items: center;
|
||||
justify-content: left;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 10px 0 var(--common-shadow-4);
|
||||
}
|
||||
|
||||
.ua-tab {
|
||||
font-family: var(--font-text);
|
||||
color: var(--common-text-title);
|
||||
width: 100px;
|
||||
height: 100%;
|
||||
color: var(--common-text-title);
|
||||
font-family: var(--font-text);
|
||||
}
|
||||
|
||||
.ua-tab-bottom {
|
||||
@@ -171,32 +171,32 @@ async function shareAbyss(): Promise<void> {
|
||||
}
|
||||
|
||||
.ua-window {
|
||||
padding: 10px;
|
||||
width: calc(100% - 100px);
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.ua-window-item {
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
overflow-y: auto;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 10px var(--common-shadow-2);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.uaw-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--common-text-title);
|
||||
font-size: 20px;
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.uaw-title :nth-child(2n) {
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
color: var(--common-color-white);
|
||||
text-shadow: 0 0 10px var(--common-color-yellow);
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.dark .uaw-title :nth-child(2n) {
|
||||
@@ -205,32 +205,32 @@ async function shareAbyss(): Promise<void> {
|
||||
}
|
||||
|
||||
.uaw-o-box {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
width: 100%;
|
||||
grid-gap: 10px;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.uaw-d-box {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
width: 100%;
|
||||
grid-gap: 10px;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
|
||||
.user-empty {
|
||||
position: absolute;
|
||||
top: calc(50vh - 200px);
|
||||
left: calc(50vw - 400px);
|
||||
background: var(--common-shadow-2);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
width: 800px;
|
||||
height: 400px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 5px;
|
||||
background: var(--common-shadow-2);
|
||||
color: var(--common-text-title);
|
||||
font-family: var(--font-title);
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -122,39 +122,39 @@ function selectRole(role: TGApp.Sqlite.Character.UserRole) {
|
||||
<style lang="css" scoped>
|
||||
.uc-box {
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 10px var(--common-shadow-4);
|
||||
}
|
||||
|
||||
.uc-top {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.uc-top-title {
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
margin-right: 10px;
|
||||
color: var(--common-text-title);
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.uc-top-btn {
|
||||
font-family: var(--font-text);
|
||||
border-radius: 5px;
|
||||
margin-left: 15px;
|
||||
background: var(--common-shadow-2);
|
||||
color: var(--common-color-white);
|
||||
margin-left: 15px;
|
||||
font-family: var(--font-text);
|
||||
}
|
||||
|
||||
.uc-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, 180px);
|
||||
grid-gap: 10px v-bind(gridGap);
|
||||
padding: 10px;
|
||||
grid-gap: 10px v-bind(gridGap);
|
||||
grid-template-columns: repeat(auto-fill, 180px);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -115,32 +115,32 @@ function getTheme() {
|
||||
<style lang="css" scoped>
|
||||
.ur-box {
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 10px var(--common-shadow-4);
|
||||
}
|
||||
|
||||
.ur-top {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.ur-top-title {
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
margin-right: 10px;
|
||||
color: var(--common-text-title);
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.ur-top-btn {
|
||||
font-family: var(--font-text);
|
||||
border-radius: 5px;
|
||||
margin-left: 15px;
|
||||
background: var(--common-shadow-2);
|
||||
color: var(--common-color-white);
|
||||
margin-left: 15px;
|
||||
font-family: var(--font-text);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -29,17 +29,17 @@ function getUpdated() {
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
.hta-title {
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: start;
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.hta-title :nth-child(2) {
|
||||
margin-left: 10px;
|
||||
font-size: 12px;
|
||||
color: #5e7987; /* 淡蓝灰 */
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.hta-title :nth-child(2):hover {
|
||||
|
||||
@@ -33,8 +33,8 @@ function toOuter(item: TGApp.App.Character.WikiBriefInfo) {
|
||||
<style scoped>
|
||||
.cards-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
|
||||
grid-gap: 20px;
|
||||
padding: 20px;
|
||||
grid-gap: 20px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -175,18 +175,18 @@ async function searchCard() {
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
.cards-tab {
|
||||
font-family: Genshin, serif;
|
||||
margin-bottom: 20px;
|
||||
color: var(--content-text-3);
|
||||
font-family: Genshin, serif;
|
||||
}
|
||||
|
||||
.cards-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
grid-gap: 10px;
|
||||
overflow: hidden;
|
||||
padding: 10px;
|
||||
border-radius: 0 0 10px 10px;
|
||||
overflow: hidden;
|
||||
grid-gap: 10px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
}
|
||||
|
||||
.cards-grid :hover {
|
||||
@@ -195,21 +195,21 @@ async function searchCard() {
|
||||
|
||||
.card-cls {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 140px;
|
||||
height: 240px;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s;
|
||||
border-radius: 10px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.card-cover {
|
||||
position: absolute;
|
||||
transition: all 0.3s;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.card-cls:hover .card-cover {
|
||||
@@ -219,10 +219,10 @@ async function searchCard() {
|
||||
|
||||
.card-border {
|
||||
position: absolute;
|
||||
border-radius: 10px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.card-border img {
|
||||
@@ -242,16 +242,16 @@ async function searchCard() {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0 0 10px 10px;
|
||||
background: rgb(0 0 0 / 50%);
|
||||
color: white;
|
||||
display: flex;
|
||||
font-size: small;
|
||||
overflow: hidden;
|
||||
font-family: Genshin, serif;
|
||||
border-radius: 0 0 10px 10px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: small;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -33,8 +33,8 @@ function toOuter(item: TGApp.App.Weapon.WikiBriefInfo) {
|
||||
<style scoped>
|
||||
.cards-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
|
||||
grid-gap: 15px;
|
||||
padding: 15px;
|
||||
grid-gap: 15px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user