# Conflicts: # README.md # src/app.config.ts # src/pages/index/index.scss # src/pages/index/index.tsx
224 lines
4.8 KiB
SCSS
224 lines
4.8 KiB
SCSS
.device-page {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
padding: calc(var(--top-safe-height, 0px) + 24rpx) 24rpx 156rpx;
|
|
box-sizing: border-box;
|
|
background: linear-gradient(180deg, var(--color-bg-page-gradient-start) 0%, var(--color-bg-page-gradient-end) 100%);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.device-page__halo {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.device-page__halo--large {
|
|
top: -72rpx;
|
|
right: -42rpx;
|
|
width: 360rpx;
|
|
height: 360rpx;
|
|
background:
|
|
radial-gradient(circle, rgba(86, 212, 185, 0.06) 0 24%, transparent 25% 42%, rgba(103, 117, 155, 0.12) 43% 62%, transparent 63%),
|
|
radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 72%);
|
|
}
|
|
|
|
.device-page__halo--small {
|
|
top: 44rpx;
|
|
right: 92rpx;
|
|
width: 160rpx;
|
|
height: 120rpx;
|
|
background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
|
|
}
|
|
|
|
.device-header {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
padding-right: calc(var(--menu-safe-width, 0px) + 12rpx);
|
|
margin-bottom: 8rpx;
|
|
min-height: calc((var(--menu-top, 0px) - var(--top-safe-height, 0px) - 24rpx) + var(--menu-height, 32px) + 36rpx + 6rpx);
|
|
}
|
|
|
|
.device-header__login {
|
|
position: absolute;
|
|
left: 0;
|
|
top: calc(var(--menu-top, 0px) - var(--top-safe-height, 0px) - 24rpx);
|
|
min-width: 92rpx;
|
|
height: var(--menu-height, 32px);
|
|
padding: 0 24rpx;
|
|
border-radius: 999rpx;
|
|
background: linear-gradient(90deg, var(--color-brand-start) 0%, var(--color-brand-end) 100%);
|
|
color: var(--color-text-white);
|
|
font-size: 22rpx;
|
|
line-height: var(--menu-height, 32px);
|
|
text-align: center;
|
|
box-shadow: 0 12rpx 24rpx var(--color-brand-shadow);
|
|
}
|
|
|
|
.device-header__add {
|
|
position: absolute;
|
|
right: calc(var(--menu-safe-width, 0px) + 2rpx);
|
|
top: calc((var(--menu-top, 0px) - var(--top-safe-height, 0px) - 24rpx) + var(--menu-height, 32px) + 6rpx);
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
border: 2rpx solid var(--color-border-strong);
|
|
border-radius: 50%;
|
|
color: var(--color-text-white);
|
|
font-size: 30rpx;
|
|
line-height: 30rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.device-summary {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
height: 90rpx;
|
|
margin-bottom: 18rpx;
|
|
}
|
|
|
|
.device-summary__title-wrap {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10rpx;
|
|
}
|
|
|
|
.device-summary__title {
|
|
color: var(--color-text-title);
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.device-summary__count {
|
|
color: var(--color-text-highlight);
|
|
font-size: 26rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.device-summary__arrow {
|
|
color: var(--color-text-muted);
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.device-actions-card {
|
|
padding: 34rpx 30rpx;
|
|
}
|
|
|
|
.device-notice-card {
|
|
margin-top: 22rpx;
|
|
padding: 22rpx 24rpx 24rpx;
|
|
}
|
|
|
|
.device-notice-card__title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.device-notice-card__horn {
|
|
position: relative;
|
|
width: 20rpx;
|
|
height: 16rpx;
|
|
margin-right: 12rpx;
|
|
border-radius: 4rpx;
|
|
background: var(--color-warning-main);
|
|
}
|
|
|
|
.device-notice-card__horn::before,
|
|
.device-notice-card__horn::after {
|
|
position: absolute;
|
|
content: "";
|
|
}
|
|
|
|
.device-notice-card__horn::before {
|
|
right: -8rpx;
|
|
top: 2rpx;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 6rpx solid transparent;
|
|
border-bottom: 6rpx solid transparent;
|
|
border-left: 8rpx solid var(--color-warning-main);
|
|
}
|
|
|
|
.device-notice-card__horn::after {
|
|
right: -16rpx;
|
|
top: 2rpx;
|
|
width: 8rpx;
|
|
height: 8rpx;
|
|
border-top: 2rpx solid var(--color-warning-main);
|
|
border-right: 2rpx solid var(--color-warning-main);
|
|
border-radius: 0 8rpx 0 0;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.device-notice-card__title {
|
|
color: var(--color-text-warning);
|
|
font-size: 22rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.device-notice-card__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
}
|
|
|
|
.device-notice-card__item {
|
|
color: var(--color-text-warning-secondary);
|
|
font-size: 22rpx;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.device-report-entry {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 22rpx;
|
|
padding: 24rpx;
|
|
border-radius: 22rpx;
|
|
background:
|
|
radial-gradient(circle at top right, rgba(54, 228, 170, 0.18), transparent 42%),
|
|
rgba(42, 48, 66, 0.96);
|
|
box-shadow:
|
|
inset 0 0 0 2rpx rgba(255, 255, 255, 0.03),
|
|
0 14rpx 28rpx rgba(6, 10, 22, 0.18);
|
|
}
|
|
|
|
.device-report-entry__content {
|
|
flex: 1;
|
|
padding-right: 20rpx;
|
|
}
|
|
|
|
.device-report-entry__eyebrow {
|
|
display: block;
|
|
color: #39e6ad;
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
.device-report-entry__title {
|
|
display: block;
|
|
margin-top: 8rpx;
|
|
color: #f3f7ff;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.device-report-entry__desc {
|
|
display: block;
|
|
margin-top: 10rpx;
|
|
color: #96a1b5;
|
|
font-size: 22rpx;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.device-report-entry__arrow {
|
|
color: #d8e1ed;
|
|
font-size: 28rpx;
|
|
}
|