|
7 | 7 | } |
8 | 8 |
|
9 | 9 | .pageWithSave { |
10 | | - padding-bottom: 106px; |
| 10 | + padding-bottom: calc( |
| 11 | + var(--oauth-model-policy-action-bar-height, 46px) + 38px |
| 12 | + ); |
11 | 13 | } |
12 | 14 |
|
13 | 15 | .header, |
|
20 | 22 | .patternInputRow, |
21 | 23 | .inheritedRule, |
22 | 24 | .behaviorNote, |
23 | | -.saveBar, |
24 | | -.saveActions, |
25 | 25 | .noticeCard { |
26 | 26 | display: flex; |
27 | 27 | align-items: center; |
|
248 | 248 | margin: 0; |
249 | 249 | } |
250 | 250 |
|
| 251 | +.durationControl { |
| 252 | + display: grid; |
| 253 | + grid-template-columns: minmax(0, 1fr) auto; |
| 254 | +} |
| 255 | + |
| 256 | +.durationControl input { |
| 257 | + min-width: 0; |
| 258 | + border-top-right-radius: 0; |
| 259 | + border-bottom-right-radius: 0; |
| 260 | +} |
| 261 | + |
| 262 | +.durationControl > span { |
| 263 | + display: inline-flex; |
| 264 | + min-width: 64px; |
| 265 | + align-items: center; |
| 266 | + justify-content: center; |
| 267 | + box-sizing: border-box; |
| 268 | + padding: 0 11px; |
| 269 | + border: 1px solid var(--border-color); |
| 270 | + border-left: 0; |
| 271 | + border-radius: 0 8px 8px 0; |
| 272 | + color: var(--text-secondary); |
| 273 | + background: var(--muted-bg, rgba(148, 163, 184, 0.1)); |
| 274 | + font-size: 11px; |
| 275 | + font-weight: 600; |
| 276 | + white-space: nowrap; |
| 277 | +} |
| 278 | + |
251 | 279 | .policyPanel { |
252 | 280 | padding: 16px; |
253 | 281 | } |
|
557 | 585 | color-mix(in srgb, var(--primary-color) 14%, transparent); |
558 | 586 | } |
559 | 587 |
|
| 588 | +.header > button > span, |
| 589 | +.customPlanRow button > span, |
560 | 590 | .patternInputRow button > span { |
561 | 591 | display: inline-flex; |
562 | 592 | align-items: center; |
|
596 | 626 | color: var(--primary-color); |
597 | 627 | } |
598 | 628 |
|
599 | | -.saveBar { |
600 | | - position: fixed; |
601 | | - z-index: 50; |
602 | | - right: max(22px, env(safe-area-inset-right)); |
603 | | - bottom: max(18px, env(safe-area-inset-bottom)); |
604 | | - left: max(calc(var(--sidebar-width, 260px) + 22px), 22px); |
605 | | - justify-content: space-between; |
606 | | - gap: 18px; |
607 | | - padding: 11px 14px; |
608 | | - border: 1px solid |
609 | | - color-mix(in srgb, var(--primary-color) 32%, var(--border-color)); |
610 | | - border-radius: 13px; |
611 | | - background: color-mix(in srgb, var(--bg-secondary) 94%, transparent); |
612 | | - box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18); |
613 | | - backdrop-filter: blur(18px); |
614 | | -} |
615 | | - |
616 | | -.saveBar > div:first-child { |
617 | | - min-width: 0; |
618 | | -} |
619 | | - |
620 | | -.saveBar strong, |
621 | | -.saveBar span { |
622 | | - display: block; |
623 | | -} |
624 | | - |
625 | | -.saveBar strong { |
626 | | - font-size: 12px; |
627 | | -} |
628 | | - |
629 | | -.saveBar span { |
630 | | - margin-top: 2px; |
631 | | - color: var(--text-secondary); |
632 | | - font-size: 10px; |
633 | | -} |
634 | | - |
635 | | -.saveActions { |
636 | | - flex: 0 0 auto; |
637 | | - gap: 7px; |
638 | | -} |
639 | | - |
640 | 629 | @media (max-width: 980px) { |
641 | 630 | .statusGrid, |
642 | 631 | .settingsGrid { |
|
651 | 640 | border-bottom: 1px solid var(--border-color); |
652 | 641 | } |
653 | 642 |
|
654 | | - .saveBar { |
655 | | - left: 22px; |
656 | | - } |
657 | | - |
658 | 643 | .providerTabs { |
659 | 644 | grid-template-columns: repeat(3, minmax(0, 1fr)); |
660 | 645 | } |
|
666 | 651 | padding: 0 0 20px; |
667 | 652 | } |
668 | 653 |
|
| 654 | + .pageWithSave { |
| 655 | + padding-bottom: calc( |
| 656 | + var(--oauth-model-policy-action-bar-height, 46px) + 28px |
| 657 | + ); |
| 658 | + } |
| 659 | + |
669 | 660 | .header { |
670 | 661 | align-items: flex-start; |
671 | 662 | padding: 13px; |
|
737 | 728 | width: 100%; |
738 | 729 | } |
739 | 730 |
|
740 | | - .saveBar { |
741 | | - right: 10px; |
742 | | - bottom: max(10px, env(safe-area-inset-bottom)); |
743 | | - left: 10px; |
744 | | - align-items: stretch; |
745 | | - flex-direction: column; |
746 | | - gap: 9px; |
747 | | - } |
748 | | - |
749 | | - .saveActions { |
750 | | - width: 100%; |
751 | | - } |
752 | | - |
753 | | - .saveActions button { |
754 | | - flex: 1 1 0; |
755 | | - } |
756 | 731 | } |
0 commit comments