window.scss 797 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .window-header {
  2. padding: 14px 20px;
  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. // 背景模糊程度
  10. backdrop-filter: blur(2px);
  11. // 上方线条
  12. border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  13. }
  14. .window-header-title {
  15. color: #FFFFFF;
  16. max-width: calc(100% - 100px);
  17. overflow: hidden;
  18. .window-header-main-title {
  19. font-size: 20px;
  20. font-weight: bolder;
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. white-space: nowrap;
  24. display: block;
  25. max-width: 50vw;
  26. }
  27. .window-header-sub-title {
  28. font-size: 14px;
  29. text-align: left;
  30. }
  31. }
  32. .window-actions {
  33. display: inline-flex;
  34. }
  35. .window-action-button:not(:first-child) {
  36. margin-left: 10px;
  37. }