206 lines
3.8 KiB
Plaintext
206 lines
3.8 KiB
Plaintext
/**pages/profile/profile.wxss**/
|
|
page {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #EBF4F8; /* Color 03 (Background) */
|
|
}
|
|
.scrollarea {
|
|
flex: 1;
|
|
}
|
|
|
|
.container {
|
|
padding: 30rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
/* User Card Wrapper */
|
|
.user-card {
|
|
width: 100%;
|
|
background-color: #ffffff;
|
|
border-radius: 24rpx;
|
|
padding: 40rpx;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-shadow: 0 8rpx 24rpx rgba(17, 97, 107, 0.08); /* Teal shadow */
|
|
margin-bottom: 30rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.settings-btn {
|
|
position: absolute;
|
|
top: 20rpx;
|
|
right: 20rpx; /* Move to right */
|
|
left: auto;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.settings-icon {
|
|
font-size: 40rpx;
|
|
color: #11616B; /* Color 01 */
|
|
}
|
|
|
|
/* Avatar */
|
|
.avatar-wrapper {
|
|
margin-bottom: 30rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.avatar-btn {
|
|
padding: 0;
|
|
width: 160rpx !important;
|
|
height: 160rpx !important;
|
|
border-radius: 50%;
|
|
background: none;
|
|
border: none;
|
|
box-shadow: 0 6rpx 16rpx rgba(17, 97, 107, 0.15); /* Teal shadow */
|
|
}
|
|
|
|
.avatar {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 50%;
|
|
border: 4rpx solid #ffffff;
|
|
}
|
|
|
|
/* Nickname */
|
|
.nickname-wrapper {
|
|
margin-bottom: 20rpx;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nickname-input, .nickname-text {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #11616B; /* Color 01 */
|
|
text-align: center;
|
|
}
|
|
|
|
.nickname-input {
|
|
border-bottom: 2rpx solid #7BBDB6; /* Color 02 */
|
|
padding: 10rpx;
|
|
width: 60%;
|
|
}
|
|
|
|
/* Info Grid / Cell List */
|
|
.info-grid {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 24rpx 0;
|
|
border-bottom: 1rpx solid #EBF4F8; /* Color 03 instead of gray */
|
|
}
|
|
|
|
.info-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.label {
|
|
color: #11616B; /* Color 01 - Darkened from #7BBDB6 */
|
|
font-size: 28rpx;
|
|
font-weight: 600; /* Added weight for better visibility */
|
|
}
|
|
|
|
.value {
|
|
color: #11616B; /* Color 01 - Consistent dark teal */
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Gender Tags */
|
|
.gender-box {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 8rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
.gender-box.male { color: #11616B; background: #EBF4F8; } /* Color 01 on Color 03 */
|
|
.gender-box.female { color: #DC8B70; background: #FED9CD; } /* Color 05 on Color 04 */
|
|
|
|
/* Action Buttons */
|
|
.action-area {
|
|
width: 100%;
|
|
}
|
|
|
|
.login-hint {
|
|
color: #7BBDB6; /* Color 02 */
|
|
font-size: 26rpx;
|
|
text-align: center;
|
|
margin-bottom: 30rpx;
|
|
display: block;
|
|
}
|
|
|
|
.login-btn, .secondary-btn {
|
|
width: 100% !important;
|
|
border-radius: 50rpx !important;
|
|
font-weight: bold;
|
|
padding: 24rpx 0;
|
|
font-size: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.login-btn {
|
|
background: #11616B; /* Color 01 */
|
|
color: white;
|
|
box-shadow: 0 6rpx 16rpx rgba(17, 97, 107, 0.3);
|
|
}
|
|
|
|
.login-btn[disabled] {
|
|
background: #7BBDB6 !important; /* Color 02 */
|
|
color: #fff !important;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.secondary-btn {
|
|
background-color: #ffffff;
|
|
color: #11616B; /* Color 01 text */
|
|
border: 1rpx solid #7BBDB6; /* Color 02 border */
|
|
}
|
|
|
|
/* Styles for verification area centered */
|
|
.verification-area {
|
|
width: 100%;
|
|
}
|
|
|
|
.code-display {
|
|
background: #EBF4F8; /* Color 03 */
|
|
padding: 20rpx;
|
|
border-radius: 12rpx;
|
|
margin-top: 20rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 1rpx solid #dbecef;
|
|
}
|
|
|
|
.code-text {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #11616B; /* Color 01 */
|
|
margin-right: 20rpx;
|
|
letter-spacing: 4rpx;
|
|
}
|
|
|
|
.copy-btn {
|
|
font-size: 24rpx;
|
|
background: #ffffff;
|
|
padding: 6rpx 16rpx;
|
|
border-radius: 20rpx;
|
|
color: #11616B; /* Color 01 */
|
|
border: 1rpx solid #11616B; /* Color 01 */
|
|
}
|