|
| 1 | +/* |
| 2 | + Styles that override default css rules of third party components. |
| 3 | + Prefer custom vies when possible, to avoid inflating this file. |
| 4 | +*/ |
| 5 | + |
| 6 | +// react-color |
| 7 | + |
1 | 8 | .chrome-picker,
|
2 | 9 | .photoshop-picker {
|
3 | 10 | background: transparent !important;
|
|
66 | 73 | }
|
67 | 74 | }
|
68 | 75 |
|
| 76 | +// cmdk |
| 77 | + |
69 | 78 | [cmdk-item],
|
70 | 79 | [cmdk-empty] {
|
71 | 80 | @apply flex p-2 rounded items-center text-sm;
|
|
83 | 92 | @apply p-2 text-muted uppercase font-bold text-2xs;
|
84 | 93 | }
|
85 | 94 |
|
| 95 | +// codemirror |
| 96 | + |
86 | 97 | .CodeMirror-selected {
|
87 | 98 | @apply overlay !important;
|
88 | 99 | }
|
|
122 | 133 | @apply p-0;
|
123 | 134 | }
|
124 | 135 |
|
| 136 | +// react-timeline-editor |
| 137 | + |
| 138 | +.timeline-editor { |
| 139 | + @apply bg-primary w-full min-h-0 h-full !important; |
| 140 | + font-family: inherit !important; |
| 141 | + color: var(--font-color-muted) !important; |
| 142 | + } |
| 143 | + |
| 144 | + .timeline-editor-action { |
| 145 | + @apply overlay flex justify-around items-center pointer-events-none !important; |
| 146 | + |
| 147 | + &-selected { |
| 148 | + @apply border border-accent; |
| 149 | + .timeline-editor-action-left-stretch::after { |
| 150 | + border-left-color: var(--accent) !important; |
| 151 | + } |
| 152 | + .timeline-editor-action-right-stretch::after { |
| 153 | + border-right-color: var(--accent) !important; |
| 154 | + } |
| 155 | + } |
| 156 | +} |
| 157 | + |
| 158 | +.timeline-editor-time-area .ReactVirtualized__Grid { |
| 159 | + overflow: hidden !important; |
| 160 | +} |
| 161 | + |
| 162 | +.timeline-editor-cursor { |
| 163 | + border-color: var(--accent) !important; |
| 164 | +} |
| 165 | + |
| 166 | +.timeline-editor-cursor-top path { |
| 167 | + fill: var(--accent) !important; |
| 168 | +} |
| 169 | + |
| 170 | +.timeline-editor-time-unit { |
| 171 | + border-color: var(--border-color) !important; |
| 172 | +} |
| 173 | + |
| 174 | +.timeline-editor-time-unit-scale { |
| 175 | + color: var(--font-color-muted) !important; |
| 176 | +} |
| 177 | + |
| 178 | +.timeline-editor-edit-row { |
| 179 | + background-image: linear-gradient(var(--bg-primary), var(--bg-primary)), |
| 180 | + linear-gradient(90deg, var(--border-color) 1px, transparent 0) !important; |
| 181 | +} |
| 182 | + |
| 183 | +// react-d3-tree |
| 184 | + |
| 185 | +.rd3t-node, |
| 186 | +.rd3t-leaf-node { |
| 187 | + circle { |
| 188 | + transition: fill .3s; |
| 189 | + } |
| 190 | + |
| 191 | + &:hover { |
| 192 | + circle { |
| 193 | + stroke : var(--accent); |
| 194 | + } |
| 195 | + } |
| 196 | +} |
| 197 | + |
| 198 | +.rd3t-link { |
| 199 | + stroke : var(--border-color) !important; |
| 200 | + stroke-width: 3; |
| 201 | +} |
| 202 | + |
| 203 | +.rd3t-label__title { |
| 204 | + font-weight: normal !important; |
| 205 | + fill: inherit !important; |
| 206 | +} |
| 207 | + |
| 208 | +// devtools |
| 209 | + |
125 | 210 | .devtools * {
|
126 | 211 | background: transparent !important;
|
127 | 212 | }
|
0 commit comments