25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

54 lines
1.1 KiB

  1. @use 'variables' as *;
  2. @mixin icon-btn($size: 28px, $shape: 50%) {
  3. display: flex;
  4. align-items: center;
  5. justify-content: center;
  6. width: $size;
  7. height: $size;
  8. border-radius: $shape;
  9. background: transparent;
  10. border: none;
  11. cursor: pointer;
  12. transition: opacity $transition-fast, background $transition-fast, color $transition-fast;
  13. svg { pointer-events: none; }
  14. }
  15. @mixin card($bg: $color-card-white, $radius: $radius-lg) {
  16. background: $bg;
  17. border-radius: $radius;
  18. box-shadow: $shadow-card;
  19. }
  20. @mixin page-shell {
  21. min-height: 100vh;
  22. background: var(--color-bg);
  23. display: flex;
  24. flex-direction: column;
  25. }
  26. @mixin section-header {
  27. background: linear-gradient(135deg, var(--color-header-from) 0%, var(--color-header-to) 100%);
  28. display: flex;
  29. align-items: center;
  30. justify-content: space-between;
  31. gap: $space-6;
  32. box-shadow: $shadow-header;
  33. }
  34. @mixin text-truncate {
  35. white-space: nowrap;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. }
  39. @mixin form-label {
  40. font-size: $font-size-sm;
  41. color: $color-text-muted;
  42. text-align: right;
  43. padding-right: $space-2;
  44. white-space: nowrap;
  45. }