168 lines
3.1 KiB
Plaintext
168 lines
3.1 KiB
Plaintext
@import '../../style/theme.less';
|
|
|
|
page {
|
|
min-height: 100%;
|
|
background: @bg-header;
|
|
}
|
|
|
|
.debug-page {
|
|
min-height: 100vh;
|
|
padding: 24rpx;
|
|
background: @bg-header;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.debug-page__section {
|
|
margin-top: 32rpx;
|
|
}
|
|
|
|
.debug-page__section-title {
|
|
display: block;
|
|
margin: 0 8rpx 20rpx;
|
|
font-size: 26rpx;
|
|
font-weight: 700;
|
|
color: @text-secondary;
|
|
}
|
|
|
|
.debug-page__rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.debug-row + .debug-row {
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
.debug-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 34rpx 36rpx;
|
|
background: @bg-white;
|
|
border-radius: 999rpx;
|
|
border: 1rpx solid rgba(124, 118, 106, 0.12);
|
|
box-shadow: @shadow;
|
|
}
|
|
|
|
.debug-row__left {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.debug-row__icon-bg {
|
|
width: 84rpx;
|
|
height: 84rpx;
|
|
border-radius: 50%;
|
|
background: fade(@brand, 18%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.debug-row__icon {
|
|
font-size: 36rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.debug-row__content {
|
|
min-width: 0;
|
|
margin-left: 24rpx;
|
|
}
|
|
|
|
.debug-row__label {
|
|
display: block;
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: @text-title;
|
|
}
|
|
|
|
.debug-row__desc {
|
|
display: block;
|
|
margin-top: 8rpx;
|
|
font-size: 22rpx;
|
|
line-height: 1.5;
|
|
color: @text-secondary;
|
|
}
|
|
|
|
.debug-row__chevron {
|
|
margin-left: 16rpx;
|
|
font-size: 40rpx;
|
|
font-weight: 300;
|
|
color: @text-gray;
|
|
}
|
|
|
|
.debug-page__notice {
|
|
margin-top: 32rpx;
|
|
padding: 24rpx 28rpx;
|
|
border-radius: @radius;
|
|
background: fade(#ff8f1f, 12%);
|
|
color: #b06b1a;
|
|
font-size: 24rpx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.debug-page__environment {
|
|
padding: 32rpx;
|
|
background: @bg-white;
|
|
border-radius: @radius-xl;
|
|
box-shadow: @shadow;
|
|
}
|
|
|
|
.debug-page__environment-url {
|
|
display: block;
|
|
word-break: break-all;
|
|
color: @text-secondary;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.debug-page__environment-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
/* 明确按钮高度及整行点击区域,避免原生 button 被全局样式压缩。 */
|
|
.debug-page__environment-options .debug-environment-option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 96rpx;
|
|
flex-shrink: 0;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0 24rpx;
|
|
border: 0;
|
|
font-size: 28rpx;
|
|
line-height: 1.4;
|
|
color: @text-title;
|
|
background: @bg-header;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.debug-page__environment-options .debug-environment-option::after {
|
|
border: 0;
|
|
}
|
|
|
|
.debug-page__environment-options
|
|
.debug-environment-option
|
|
+ .debug-environment-option {
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
.debug-page__environment-options .debug-environment-option--selected {
|
|
background: @brand;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.debug-page__environment-note {
|
|
display: block;
|
|
margin-top: 20rpx;
|
|
color: @text-secondary;
|
|
font-size: 22rpx;
|
|
line-height: 1.6;
|
|
}
|