Files
SEONexus/code/public/template/shikong/css/search.css
2025-04-22 19:52:11 +08:00

226 lines
4.1 KiB
CSS

body {
/* background: #111x */
}
.content-box .novel-list{
padding: 0.1rem;
box-sizing: border-box;
color: #fff;
}
.search-home {
padding: 10px 20px 20px;
color: #fff;
background: #161313;
}
.search-form {
position: relative;
max-width: 584px;
margin: 0 auto;
}
.search-content {
width: 100%;
height: 40px;
display: flex;
background-color: #2e1c56;
border-radius: 24px;
overflow: hidden;
}
.search-content.search-content-history {
border-radius: 24px 24px 0 0;
}
.search-content.search-content-history .input .input-border {
margin-top: -5px;
display: block;
width: 100%;
padding: 0 14px;
}
.search-content .search-content-history .input .input-border .van-divider {
margin: 0;
border-color: #4d6891;
}
.search-content .input {
flex: 1;
}
.search-content .input .input-border {
display: none;
}
.search-content .input input {
position: relative;
display: block;
width: 100%;
/* background-color: transparent; */
border: none;
margin: 0;
padding: 0;
color: #333;
word-wrap: break-word;
outline: none;
-webkit-tap-highlight-color: transparent;
display: flex;
padding: 0 14px;
height: 100%;
font-size: 14px;
}
.search-content .button {
padding: 0 20px;
height: 40px;
line-height: 40px;
background-color: #ff4f6b;
cursor: pointer;
user-select: none;
}
.search-content .button:active {
background-color: #b94155;
}
.search-history-content {
padding: 5px 14px 14px;
position: absolute;
left: 0;
right: 0;
top: 40px;
z-index: 10;
width: 100%;
background-color: #2e1c56;
border-radius: 0 0 24px 24px;
overflow: hidden;
transition: .3s all;
}
.search-history-content .title {
display: flex;
justify-content: space-between;
font-size: 12px;
margin-bottom: 12px;
color: #b3a5a5;
}
.search-history-content .title .delete-all-history {
color: #ff4f6b;
}
.search-history-content .text {
display: flex;
justify-content: space-between;
margin-bottom: 12px;
font-size: 14px;
height: 17px;
overflow: hidden;
}
.search-history-content .text:last-child {
margin-bottom: 0;
}
.search-history-content .text .history-text {
margin-right: 20px;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
}
.search-tag-content {
max-width: 584px;
margin: 42px auto 0;
}
.search-tag-content .search-tags {
margin-top: -14px;
margin-bottom: 25px;
}
.search-tag-content .search-tags:last-child {
margin-bottom: 0;
}
.search-tag-content .search-tags:first-child {
margin-top: 0;
}
.search-tag-content .search-tags .title {
font-size: 16px;
}
.search-tag-content .search-tags .tags {
margin-top: 14px;
}
.search-tag-content .search-tags .tags.tags-rect {
margin-left: 0px;
}
.search-tag-content .search-tags .tags.tags-circle {
margin-left: 0px;
}
.search-tag-content .search-tags .tags .van-tag {
margin-left: 8px;
margin-bottom: 14px;
font-size: 12px;
cursor: pointer;
}
.search-tag-content .search-tags .tags .van-tag:hover {
background: #ff4f6b !important;
transition: .3s all;
}
.search-tag-content .search-tags .tags .tag-circle {
margin-left: 15px;
margin-bottom: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
width: 42px;
height: 42px;
border-radius: 50%;
background-color: #2e1c56;
font-size: 12px;
cursor: pointer;
overflow: hidden;
}
.search-tag-content .search-tags .tags .tag-circle:hover {
background: #ff4f6b !important;
transition: .3s all;
}
.tags-rect .badge-light {
background: rgba(255, 255, 255, 0.2);
color: #fff;
font-size: 13px;
margin-right: 3px;
padding: 5px 10px;
margin-bottom: 10px;
user-select: none;
}
.tags-rect .badge-light:active {
background: rgba(255, 255, 255, 0.7);
color: #111;
}
/* .s-footer-tel , .footer-box{
color:#fff
} */
.novel_search_page .title-h1{
text-align: center;
font-size: 0.2rem;
}