mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,3 +1,51 @@
|
||||
.joe_dropdown {
|
||||
position: relative;
|
||||
&__link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
&-icon {
|
||||
transition: transform 0.35s;
|
||||
}
|
||||
}
|
||||
&__menu {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
visibility: hidden;
|
||||
z-index: 999;
|
||||
border-top: 3px solid var(--theme);
|
||||
transform-origin: top;
|
||||
background: var(--background);
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
||||
border-radius: 0 0 4px 4px;
|
||||
padding: 10px 0;
|
||||
opacity: 0;
|
||||
transform: translateX(-50%) perspective(600px) rotateX(-45deg);
|
||||
transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-bottom: 7px solid var(--theme);
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
.joe_dropdown__link-icon {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
.joe_dropdown__menu {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) perspective(600px) rotateX(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.joe_header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
@@ -40,7 +88,6 @@
|
||||
margin-right: 15px;
|
||||
transition: color 0.35s;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
color: var(--main);
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
@@ -67,6 +114,40 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.joe_dropdown {
|
||||
&__link {
|
||||
a {
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
font-size: 15px;
|
||||
padding-left: 8px;
|
||||
padding-right: 3px;
|
||||
transition: color 0.35s;
|
||||
white-space: nowrap;
|
||||
color: var(--main);
|
||||
}
|
||||
}
|
||||
&__menu {
|
||||
width: 110px;
|
||||
text-align: center;
|
||||
a {
|
||||
display: block;
|
||||
line-height: 34px;
|
||||
height: 34px;
|
||||
transition: color 0.35s, background 0.35s;
|
||||
color: var(--minor);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: 0 15px;
|
||||
&:hover,
|
||||
&.active {
|
||||
color: var(--theme);
|
||||
background: var(--classD);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&-search {
|
||||
position: relative;
|
||||
@@ -114,4 +195,94 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&__below {
|
||||
border-top: 1px solid var(--classC);
|
||||
height: 45px;
|
||||
&-class {
|
||||
display: flex;
|
||||
.item {
|
||||
margin-right: 15px;
|
||||
color: var(--minor);
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
transition: color 0.35s;
|
||||
white-space: nowrap;
|
||||
&:hover,
|
||||
&.active {
|
||||
color: var(--theme);
|
||||
}
|
||||
}
|
||||
.joe_dropdown {
|
||||
margin-right: 15px;
|
||||
&__link {
|
||||
.item {
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
&__menu {
|
||||
width: 110px;
|
||||
text-align: center;
|
||||
a {
|
||||
display: block;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--minor);
|
||||
transition: color 0.35s, background 0.35s;
|
||||
&:hover,
|
||||
&.active {
|
||||
color: var(--theme);
|
||||
background: var(--classD);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.joe_aside {
|
||||
padding: 15px 0;
|
||||
margin-left: 15px;
|
||||
&__item {
|
||||
position: relative;
|
||||
width: 250px;
|
||||
margin-bottom: 15px;
|
||||
border-radius: 8px;
|
||||
box-shadow: var(--box-shadow);
|
||||
overflow: hidden;
|
||||
&:last-child {
|
||||
position: sticky;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
&.author {
|
||||
background: var(--background);
|
||||
padding: 45px 15px 15px;
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
z-index: 2;
|
||||
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--background));
|
||||
}
|
||||
&::after {
|
||||
display: none;
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 273px;
|
||||
background: url('https://cdn.jsdelivr.net/npm/typecho_joe_theme@4.3.5/assets/img/snow.gif') no-repeat;
|
||||
background-size: cover;
|
||||
z-index: 3;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user