快乐的昕的电脑
2025-11-22 294259266db78b367eb349537e28303b60925e00
调试兼容性
已修改2个文件
83 ■■■■ 文件已修改
.vs/前端2/v17/.wsuo 补丁 | 查看 | 原始文档 | blame | 历史
common/styles/layout.scss 83 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.vs/前端2/v17/.wsuo
Binary files differ
common/styles/layout.scss
@@ -1,52 +1,53 @@
@use "sass:math";
@import './design-tokens.scss';
@import './mixins.scss';
:root {
  font-size: 14px;
    font-size: 14px;
}
page {
  background-color: $color-bg-base;
  color: $color-text-primary;
  font-family: $font-family-base;
    background-color: $color-bg-base;
    color: $color-text-primary;
    font-family: $font-family-base;
}
.page-container {
  width: 100%;
  min-height: 100vh;
  padding: $spacing-lg $spacing-xl;
  background: linear-gradient(180deg, #f8fafc 0%, #edf1f7 100%);
  @include smooth-font;
    width: 100%;
    min-height: 100vh;
    padding: $spacing-lg $spacing-xl;
    background: linear-gradient(180deg, #f8fafc 0%, #edf1f7 100%);
    @include smooth-font;
  @include respond(compact) {
    padding: $spacing-md;
  }
    @include respond(compact) {
        padding: $spacing-md;
    }
}
.page-scroll {
  @include scroll-y;
  padding-bottom: $spacing-xl;
    @include scroll-y;
    padding-bottom: $spacing-xl;
}
.content-panel {
  background-color: $color-bg-panel;
  border-radius: $radius-lg;
  border: $border-base;
  box-shadow: $shadow-card;
  padding: $spacing-lg;
    background-color: $color-bg-panel;
    border-radius: $radius-lg;
    border: $border-base;
    box-shadow: $shadow-card;
    padding: $spacing-lg;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: $spacing-lg;
    display: flex;
    flex-wrap: wrap;
    gap: $spacing-lg;
}
$grid-columns: 12;
@for $i from 1 through $grid-columns {
    .col-#{$i} {
        flex: 0 0 percentage($i / $grid-columns);
        max-width: percentage($i / $grid-columns);
        flex: 0 0 percentage(math.div($i, $grid-columns));
        max-width: percentage(math.div($i, $grid-columns));
        @include respond(compact) {
            flex: 0 0 100%;
@@ -56,31 +57,31 @@
}
.section-title {
  font-size: $font-size-lg;
  font-weight: 600;
  letter-spacing: $letter-spacing-wide;
  color: $color-text-primary;
  margin-bottom: $spacing-sm;
    font-size: $font-size-lg;
    font-weight: 600;
    letter-spacing: $letter-spacing-wide;
    color: $color-text-primary;
    margin-bottom: $spacing-sm;
}
.section-subtitle {
  font-size: $font-size-sm;
  color: $color-text-muted;
  margin-bottom: $spacing-md;
    font-size: $font-size-sm;
    color: $color-text-muted;
    margin-bottom: $spacing-md;
}
.inline-gap {
  display: inline-flex;
  gap: $spacing-sm;
  align-items: center;
    display: inline-flex;
    gap: $spacing-sm;
    align-items: center;
}
.tablet-only {
  @include respond(wide) {
    display: block;
  }
    @include respond(wide) {
        display: block;
    }
  @include respond(compact) {
    display: none;
  }
    @include respond(compact) {
        display: none;
    }
}