findme-miniprogram-frontend/subpackages/settings/chat-settings/chat-settings.wxss

127 lines
2 KiB
Text
Raw Normal View History

2025-12-27 17:16:03 +08:00
/* 基础样式 */
page {
background-color: #000000;
color: #FFFFFF;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
padding: 0;
margin: 0;
}
.page-container {
min-height: 100vh;
background-color: #000000;
}
/* 顶部导航栏 */
.navbar {
background-color: #000000;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
height: 68rpx;
box-sizing: border-box;
}
/* 顶部导航栏内容 */
.navbar-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24rpx;
width: 100%;
box-sizing: border-box;
height: 48rpx;
margin-top: 0;
}
.nav-back {
width: 48rpx;
height: 48rpx;
display: flex;
align-items: center;
justify-content: center;
}
.back-icon {
width: 32rpx;
height: 32rpx;
}
.nav-placeholder {
width: 48rpx;
}
.content-scroll {
box-sizing: border-box;
margin: 0;
}
/* 设置列表 */
.settings-list {
padding: 0;
margin-top: 0;
}
/* 设置项 */
.setting-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx 0;
border-bottom: 1rpx solid rgba(255, 255, 255, 0.1);
background-color: #1E1E1E;
}
.setting-item:first-child {
padding-top: 30rpx;
margin-top: 0;
margin-bottom: 20rpx;
}
.setting-item:last-child {
border-bottom: none;
}
.setting-label {
font-size: 28rpx;
color: #FFFFFF;
opacity: 0.9;
margin-left: 25rpx;
}
/* 设置箭头 */
.setting-arrow {
width: 24rpx;
height: 24rpx;
opacity: 0.5;
margin-right: 25rpx;
}
/* 应用于全部聊天 */
.setting-item.apply-all {
justify-content: center;
border-bottom: none;
background-color: #1E1E1E;
width: 100%;
padding: 30rpx 0;
margin-top: 20rpx;
transition: all 0.3s ease;
}
.all {
font-size: 28rpx;
color: #FFFFFF;
opacity: 0.9;
}
.setting-item.apply-all:active {
background-color: #121212;
transform: scale(0.98);
}
.setting-item.apply-all .setting-label {
color: #FFFFFF;
font-weight: 600;
}