upload project
This commit is contained in:
commit
06961cae04
422 changed files with 110626 additions and 0 deletions
321
subpackages/settings/font-size/font-size.wxss
Normal file
321
subpackages/settings/font-size/font-size.wxss
Normal file
|
|
@ -0,0 +1,321 @@
|
|||
/* 页面样式 */
|
||||
.font-size-container {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
background-color: #202529;
|
||||
}
|
||||
|
||||
/* 顶部导航栏样式 */
|
||||
.navbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: #cc0000;
|
||||
z-index: 1000;
|
||||
border-bottom: 1px solid #a00000;
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
width: 44px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.back-btn .icon {
|
||||
font-size: 18px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.title {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* 内容样式 */
|
||||
.content {
|
||||
padding-bottom: 40rpx;
|
||||
padding-top: 50rpx !important;
|
||||
}
|
||||
|
||||
/* 预览区域样式 */
|
||||
.preview-section {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
background-color: #202529;
|
||||
}
|
||||
|
||||
.chat-preview {
|
||||
padding: 0rpx 0rpx 20rpx 0rpx;
|
||||
background-color: #202529;
|
||||
}
|
||||
|
||||
.message-bubble {
|
||||
display: flex;
|
||||
margin-bottom: 20rpx;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.message-bubble:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.message-bubble.left {
|
||||
flex-direction: row;
|
||||
margin-left: 15rpx;
|
||||
}
|
||||
|
||||
.message-bubble.right {
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.avatar.left {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 50rpx 15rpx;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.avatar.right {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 45rpx 30rpx;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.bubble-content {
|
||||
max-width: 600rpx;
|
||||
padding: 15rpx 15rpx;
|
||||
border-radius: 15rpx;
|
||||
position: relative;
|
||||
word-break: break-word;
|
||||
margin-bottom: 45rpx;
|
||||
}
|
||||
|
||||
.message-bubble.left .bubble-content {
|
||||
background-color: #f0f0f0;
|
||||
color: #333333;
|
||||
border: none;
|
||||
border-bottom-left-radius: 5rpx;
|
||||
}
|
||||
|
||||
.message-bubble.left .bubble-content::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 100%;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
border-style: solid;
|
||||
border-width: 8rpx 12rpx 8rpx 0;
|
||||
border-color: transparent #f0f0f0 transparent transparent;
|
||||
}
|
||||
|
||||
.message-bubble.right .bubble-content {
|
||||
background-color: #4DD1A1;
|
||||
color: black;
|
||||
border: none;
|
||||
border-bottom-right-radius: 5rpx;
|
||||
width: 350rpx;
|
||||
}
|
||||
|
||||
.message-bubble.right .bubble-content::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
border-style: solid;
|
||||
border-width: 8rpx 0 8rpx 12rpx;
|
||||
border-color: transparent transparent transparent #4DD1A1;
|
||||
}
|
||||
|
||||
.message-text {
|
||||
line-height: 1.4;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.no-wrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 滑块样式 */
|
||||
.slider-section {
|
||||
padding: 0 40rpx;
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
|
||||
.text-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: #ffffff;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.custom-track {
|
||||
position: absolute;
|
||||
width: 90%;
|
||||
height: 4rpx;
|
||||
background-color: #E5E5E5;
|
||||
top: 50%;
|
||||
left: 5%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
/* 指示器样式 */
|
||||
.dots-container-overlay {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
padding: 0 5%;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
transform: translateY(-50%);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #E5E5E5;
|
||||
border: 2rpx solid #333333;
|
||||
transition: all 0.2s ease;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.dot.active {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
background-color: #ffffff;
|
||||
border: 2rpx solid #E5E5E5;
|
||||
transform: scale(1);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.size-label {
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
||||
.size-label.large {
|
||||
font-size: 60rpx;
|
||||
color: #ffffff;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.default-text {
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
font-weight: normal;
|
||||
margin: 0 10rpx;
|
||||
}
|
||||
|
||||
/* 标签样式 */
|
||||
.dot-container {
|
||||
width: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dot-label {
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
font-weight: normal;
|
||||
margin-bottom: 10rpx;
|
||||
position: absolute;
|
||||
top: -70rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.slider-wrapper {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.slider-wrapper slider {
|
||||
width: 100%;
|
||||
height: 40rpx;
|
||||
margin: 0;
|
||||
clip-path: inset(0 5% 0 5%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
.slider-wrapper slider text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 适配深色模式 */
|
||||
.theme-dark .font-size-container {
|
||||
background-color: #1a1a1a;
|
||||
}
|
||||
|
||||
.theme-dark .navbar {
|
||||
background-color: #2c2c2c;
|
||||
border-bottom-color: #3a3a3a;
|
||||
}
|
||||
|
||||
.theme-dark .back-btn .icon,
|
||||
.theme-dark .title {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.theme-dark .preview-section {
|
||||
background-color: #2c2c2c;
|
||||
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.theme-dark .message-bubble.left .bubble-content {
|
||||
background-color: #3a3a3a;
|
||||
border-color: #4a4a4a;
|
||||
}
|
||||
|
||||
.theme-dark .message-bubble.left .message-text {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.theme-dark .hint,
|
||||
.theme-dark .size-label,
|
||||
.theme-dark .size-label.large,
|
||||
.theme-dark .default-hint {
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.theme-dark .reset-button {
|
||||
color: #1aad19;
|
||||
border-color: #1aad19;
|
||||
background-color: #2c2c2c;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue