@oc-digital/react-component-library 5.2.0-beta.16 → 5.2.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/index-DCUzKTQq.css +78 -0
- package/build/index.js +1 -10
- package/build/index.js.map +1 -1
- package/package.json +9 -5
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.input {
|
|
2
|
+
background: transparent;
|
|
3
|
+
border: 0;
|
|
4
|
+
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
|
|
5
|
+
transition: border-bottom 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
|
|
6
|
+
margin-top 200ms cubic-bezier(0.4, 0, 0.2, 1) 0m;
|
|
7
|
+
margin-top: 0;
|
|
8
|
+
min-width: 3ch;
|
|
9
|
+
max-width: 20ch;
|
|
10
|
+
box-sizing: content-box;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
border-bottom: 1px solid rgb(158, 158, 158);
|
|
14
|
+
margin-top: 1px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:focus {
|
|
18
|
+
outline: none;
|
|
19
|
+
border-bottom: 2px solid rgb(115, 196, 202);
|
|
20
|
+
margin-top: 2px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&[data-valid="false"] {
|
|
24
|
+
border-bottom-color: #d32f2f !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.wrapper {
|
|
29
|
+
display: grid;
|
|
30
|
+
grid-template-columns: auto 1fr auto;
|
|
31
|
+
align-items: center;
|
|
32
|
+
width: fit-content;
|
|
33
|
+
margin: auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.error {
|
|
37
|
+
color: #d32f2f;
|
|
38
|
+
display: block;
|
|
39
|
+
text-align: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.checkbox {
|
|
43
|
+
accent-color: rgb(115, 196, 202);
|
|
44
|
+
margin: 0;
|
|
45
|
+
width: 15px;
|
|
46
|
+
height: 15px;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.label {
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
align-items: center;
|
|
54
|
+
margin: auto;
|
|
55
|
+
border-radius: 5rem;
|
|
56
|
+
width: 38px;
|
|
57
|
+
height: 38px;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
transition: background 0.2s ease;
|
|
60
|
+
|
|
61
|
+
&:hover {
|
|
62
|
+
background: rgba(0, 0, 0, 0.03);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:active {
|
|
66
|
+
background: rgba(0, 0, 0, 0.1);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.disabled.label {
|
|
71
|
+
&:hover {
|
|
72
|
+
background: unset;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:active {
|
|
76
|
+
background: unset;
|
|
77
|
+
}
|
|
78
|
+
}
|