6e51cb7d16
- Updated comments in various components, schemas, and repositories to remove references to original Dart files. - Ensured consistency in documentation while maintaining the context of the code.
81 lines
1.7 KiB
CSS
81 lines
1.7 KiB
CSS
/* PwaInstallDialog PWA 安装弹窗样式
|
|
*
|
|
* 视觉规格:白底 + 大圆角 + 渐变按钮 + 86×86 图标
|
|
*/
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 60;
|
|
}
|
|
|
|
.dialog {
|
|
width: calc(100% - 40px);
|
|
max-width: var(--pwa-install-dialog-max-width, 360px);
|
|
background: var(--color-page-background, #ffffff);
|
|
border-radius: 40px;
|
|
padding: 20px 16px 16px 16px;
|
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.icon {
|
|
width: var(--icon-size-86, 86px);
|
|
height: var(--icon-size-86, 86px);
|
|
margin-bottom: var(--spacing-lg, 16px);
|
|
object-fit: contain;
|
|
}
|
|
|
|
.title {
|
|
font-size: var(--font-size-22, 22px);
|
|
font-weight: 700;
|
|
margin: 0 0 var(--spacing-sm, 8px);
|
|
color: var(--color-text-foreground, #171717);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.content {
|
|
font-size: var(--font-size-lg, 16px);
|
|
line-height: 1.5;
|
|
color: #393939;
|
|
margin: 0 36px var(--spacing-xxl, 24px);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: var(--spacing-md, 12px);
|
|
width: 100%;
|
|
}
|
|
|
|
.btn {
|
|
flex: 1 1 auto;
|
|
height: var(--pwa-button-height, 44px);
|
|
border: 0;
|
|
border-radius: var(--radius-bottom-sheet, 28px);
|
|
font-size: var(--font-size-lg, 16px);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
color: var(--color-page-background, #ffffff);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btnSecondary {
|
|
background: var(--color-text-secondary, #9e9e9e);
|
|
}
|
|
|
|
.btnPrimary {
|
|
background: linear-gradient(
|
|
var(--color-button-gradient-start, #ff67e0),
|
|
var(--color-button-gradient-end, #ff52a2)
|
|
);
|
|
}
|