mirror of
https://github.com/typecho/typecho.git
synced 2025-01-16 20:18:19 +01:00
fix screen
This commit is contained in:
parent
2a4bc21af2
commit
5143c2cda8
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -162,6 +162,15 @@
|
||||
resize: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include screen(phone, max) {
|
||||
flex-flow: column;
|
||||
|
||||
.field-value {
|
||||
margin-left: 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user