mirror of https://github.com/onweru/compose.git

weru
03.47.2025 3e6a31685aae78e21bc01c0760347b8b9b43c1f0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.wrap
  max-width: 1240px
  @media screen and (min-width: 1640px)
    max-width: 1600px
  &, &
    width: 100%
    padding: 0 25px
    margin: 0 auto
 
@for $i from 1 through 8
  $size: $i * 1.5rem
  $x-size: $size * 0.5
  .pt-#{$i}
    padding-top: $size
 
  .pb-#{$i}
    padding-bottom: $size
 
  .mt-#{$i}
    margin-top: $size
 
  .mb-#{$i}
    margin-bottom: $size
 
%grid
  display: grid
  grid-template-columns: 1fr
 
[class*='grid-']
  grid-gap: 2rem
 
.grid-2, .grid-3, .grid-4, .grid-auto, .grid-reverse
  @extend %grid
 
@media screen and (min-width: 42rem)
  .grid-auto
    grid-template-columns: 2fr 5fr
 
  .grid-reverse
    grid-template-columns: 3fr 1fr
 
  .grid-2
    grid-template-columns: repeat(2, 1fr)
 
  .grid-3
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr))
 
  .grid-4
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr))
 
.active
  color: var(--theme)
 
.is
  background: var(--theme)
  color: var(--light)
 
.toggle
  svg
    fill: var(--text)
    display: inline-block
    transform-origin: 50% 50%
    transform: scale(1.2)
    cursor: pointer
    margin: 0
 
.scrollable
  width: 100%
  overflow-x: hidden
  max-width: calc(100vw - 48px)
  @media screen and (min-width: 768px)
    max-width: 100%
  &:hover
    overflow-x: auto
 
.chart
  display: grid
  grid-gap: 1.5rem
  min-width: 0
  max-width: 98vw !important
  max-height: 98vw !important
 
 
.link
  display: inline-flex
  align-items: center
  width: 2.5rem
  margin: 0 0.25rem 0 0
  padding: 0 0.25rem
  opacity: 0
  transform: translate(-0.33rem, 0.33rem)
  transition: opacity 0.3s cubic-bezier(0.39, 0.575, 0.565, 1)
  svg, img
    width: 1.5rem
    height: 1.5rem
    fill: var(--theme)
  &_owner:hover &
    opacity: 1
 
.copy
  cursor: pointer
 
.standardize-input
  appearance: none
  -webkit-appearance: none