考试包顺序练习样式优化
考试宝 by algaeReed
Details
AuthoralgaeReed
LicenseNo License
Categorytest
Created
Updated
Code size2.1 kB
Code checksum27730e7e
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name 考试宝
@version 20250411.03.02
@namespace ?
==/UserStyle== */
@-moz-document url-prefix("https://www.kaoshibao.com/online/?paperId=") {
.header .header-main {
display: none;
}
.header {
display: none;
}
.custom-slide {
display: none;
}
.app-main {
padding-top: 0px!important;
}
.prative-page .next-preve .control-right {
float: left
}
.prative-page .next-preve .control-right .collec:nth-child(1) {
/* display: none; */
/* border:1px solid #ebeef5;
padding:3px 10px 3px 10px;
border-radius:4px;
margin-top:-4px;
margin-right:12px */
}
.prative-page .next-preve .control-right .collec:nth-child(1) {
/* 基础样式 */
/* display: inline-block; */
position: relative;
font-weight: 400;
white-space: nowrap;
text-align: center;
background-image: none;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
user-select: none;
touch-action: manipulation;
/* 原有样式调整 */
border: 1px solid #d9d9d9;
/* 改为Ant Design的标准边框色 */
padding: 4px 15px;
/* 使用Ant Design的标准padding */
border-radius: 4px;
/* 保持原有圆角 */
margin-top: -6px;
margin-right: 12px;
/* 添加Ant Design样式 */
height: 30px;
/* 标准高度 */
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
background: #fff;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
/* 鼠标状态 */
&:hover {
color: #40a9ff;
border-color: #40a9ff;
}
&:active {
color: #096dd9;
border-color: #096dd9;
}
/* 聚焦状态 */
&:focus {
outline: 0;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
/* 禁用状态 */
&[disabled] {
color: rgba(0, 0, 0, 0.25);
background: #f5f5f5;
border-color: #d9d9d9;
cursor: not-allowed;
}
}
.prative-page .next-preve .control-right .collec:nth-child(2) {
display: none;
}
.vip-quanyi {
display: none;
}
.new-footer {
display: none;
}
}