fix screen

This commit is contained in:
joyqi 2024-10-24 23:31:34 +08:00
parent 2a4bc21af2
commit 5143c2cda8
3 changed files with 35 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -69,13 +69,15 @@ $color-nav-child-focus: #6DA1BB;
}
}
&.focus > a {
background: $color-nav-btn-hover;
font-weight: bold;
}
&:not(.operate) {
&.focus > a {
background: $color-nav-btn-hover;
font-weight: bold;
}
&:hover > a {
background: $color-nav-btn-hover;
&:hover > a {
background: $color-nav-btn-hover;
}
}
&:hover, &:focus-within, &:focus {
@ -119,10 +121,6 @@ $color-nav-child-focus: #6DA1BB;
display: flex;
justify-content: flex-end;
&:hover > a {
background: inherit;
}
a {
&:hover {
background-color: $color-nav-btn-hover;
@ -185,14 +183,6 @@ $color-nav-child-focus: #6DA1BB;
border: none;
}
&.focus > a {
background: $color-nav-bg;
}
&:hover > a {
background: $color-nav-bg;
}
> a {
border: none !important;
overflow: hidden;
@ -200,9 +190,19 @@ $color-nav-child-focus: #6DA1BB;
white-space: nowrap;
}
&:not(.operate) > a {
pointer-events: auto;
cursor: pointer;
&:not(.operate) {
&.focus > a {
background: $color-nav-bg;
}
&:hover > a {
background: $color-nav-bg;
}
& > a {
pointer-events: auto;
cursor: pointer;
}
}
menu {
@ -220,6 +220,10 @@ $color-nav-child-focus: #6DA1BB;
a {
background: $color-nav-btn-hover;
&:hover {
background: $color-nav-bg;
}
}
}
}

View File

@ -162,6 +162,15 @@
resize: none;
}
}
@include screen(phone, max) {
flex-flow: column;
.field-value {
margin-left: 0;
margin-top: 10px;
}
}
}
}