window.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .window-header {
  2. padding: 14px;
  3. position: relative;
  4. display: flex;
  5. justify-content: space-between;
  6. align-items: center;
  7. // 背景
  8. // background: rgba(255, 255, 255, 0.2);
  9. background: #FFFFFF;
  10. // 背景模糊程度
  11. backdrop-filter: blur(2px);
  12. // 上方线条
  13. // border-bottom: 1px solid rgba(55, 155, 255, 0.5);
  14. border-bottom: 1px solid #dedede;
  15. @media (max-width: 768px) {
  16. display: none; // 解决DeepSeekHome Chat窗口在窄屏下出现window-header的问题
  17. }
  18. }
  19. .window-header-title {
  20. color: #FFFFFF;
  21. max-width: calc(100% - 100px);
  22. width: 100%;
  23. overflow: hidden;
  24. .window-header-main-title {
  25. font-size: 20px;
  26. font-weight: bolder;
  27. overflow: hidden;
  28. text-overflow: ellipsis;
  29. white-space: nowrap;
  30. display: block;
  31. max-width: 50vw;
  32. // 字体颜色
  33. color: var(--color-fg-default);
  34. }
  35. .window-header-sub-title {
  36. font-size: 14px;
  37. text-align: left;
  38. // 字体颜色
  39. color: var(--color-fg-default);
  40. }
  41. }
  42. .window-actions {
  43. display: inline-flex;
  44. }
  45. .window-action-button:not(:first-child) {
  46. margin-left: 10px;
  47. }