Optimize UI interface zyronon Today 11:24

This commit is contained in:
zyronon
2023-10-31 18:56:20 +08:00
parent 0d7999ccf1
commit bf80cf55c9
24 changed files with 350 additions and 404 deletions

View File

@@ -161,11 +161,11 @@ footer {
gap: 10rem;
}
.title{
.title {
max-width: 70%;
}
.right{
.right {
word-break: keep-all;
}
}
@@ -175,4 +175,46 @@ footer {
flex: 1;
overflow: auto;
}
}
.word-item {
.volume {
opacity: 0;
}
&:hover {
.volume {
opacity: 1;
}
}
&.active {
.phonetic {
color: white !important;
}
.volume {
color: #E6A23C;
}
}
.word-wrapper {
display: flex;
align-items: center;
gap: 8rem;
.word {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
display: flex;
}
.phonetic {
font-size: 14rem;
color: gray;
}
}
}
.item-translate {
font-size: 16rem;
}

View File

@@ -4,7 +4,8 @@ $dark-second-bg: rgb(60, 63, 65);
$font-color: rgb(187, 187, 187);
$main: rgb(12, 140, 233);
$main: rgb(64,158,255);
//$main: rgb(121,187,255);
$second: rgb(75, 110, 175);
$item-hover: rgb(75, 75, 75);
$space: 24rem;