-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathinput-file.scss
More file actions
40 lines (34 loc) · 823 Bytes
/
input-file.scss
File metadata and controls
40 lines (34 loc) · 823 Bytes
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
@use '../@shared/input-core' as *;
@use '../mixins/input-text.scss' as *;
@use '../mixins/to-rem' as *;
@use '../mixins/button' as *;
@use '../mixins/icon' as *;
@layer kol-theme-component {
@include kol-icon-theme;
@include kol-input-text('kol-input-container__container');
@include kol-button('kol-button');
.kol-input-container {
padding: 0;
padding-left: to-rem(8);
gap: initial;
&__filename {
color: var(--color-subtle);
}
&--is-dragover {
border-color: var(--color-primary);
}
}
.kol-button {
min-height: to-rem(40);
&__text {
white-space: nowrap;
border-bottom-left-radius: 0;
border-bottom-right-radius: calc(var(--border-radius) - 2px);
border-top-left-radius: 0;
border-top-right-radius: calc(var(--border-radius) - 2px);
}
}
.kol-input {
opacity: 0;
}
}