Bin
2025-12-16 9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
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
.region-editor {
  --col-count: 3;
  --col-width: calc(100% - 16px / var(--col-count));
 
  width: 100%;
  padding: 0 8px;
  grid-auto-flow: row;
  box-sizing: border-box;
 
  &_disabled {
    pointer-events: none;
    opacity: 0.4;
  }
 
  &__wrapper {
    display: grid;
    width: 100%;
    grid-gap: 4px;
    grid-template-columns: repeat(var(--col-count), minmax(0, 1fr));
  }
 
  &__time-control {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
 
  &__property {
    height: 32px;
    display: flex;
    position: relative;
    align-items: center;
    justify-self: stretch;
  }
 
  &__property_text {
    // text input should be a textarea and occupy 3 columns
    grid-column: span 3;
    height: auto;
  }
 
  &__text {
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: 16px;
    margin-left: 8px;
    align-items: center;
    position: absolute;
    text-align: center;
    opacity: 0.3;
    font-size: 12px;
    pointer-events: none;
  }
 
  &__input {
    margin: 0;
    flex: 1;
    font-size: 12px;
 
    &:not([type='checkbox'], [type='radio']) {
      flex: 1;
      outline: none;
      width: 100%;
      border: 1px solid transparent;
      background: var(--color-neutral-background);
      height: 32px;
      border-radius: 4px;
      box-sizing: border-box;
      padding: 4px 4px 4px 24px;
      transition-property: background-color, border-color;
      transition-duration: 80ms;
      transition-timing-function: ease;
 
      &:hover {
        border-color: var(--color-neutral-border);
      }
 
      &:focus {
        border-color: var(--color-primary-border-subtle);
        box-shadow: 0 0 0 1px var(--color-primary-border-subtle);
      }
    }
  }
 
  &__property_text &__input {
    height: auto;
  }
 
  &__input[type="checkbox"] + &__text,
  &__input[type="radio"] + &__text {
    margin-left: 0;
    margin-right: 4px;
    position: static;
  }
}