katalyst-koi 5.9.0 → 5.10.0

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.
@@ -1,96 +0,0 @@
1
- .govuk-image-field {
2
- display: grid;
3
- grid-template-areas:
4
- "label preview"
5
- "hint preview"
6
- "error preview"
7
- "file preview"
8
- "supplemental supplemental";
9
- grid-template-columns: 1fr auto;
10
- grid-template-rows: auto auto auto 1fr auto;
11
- gap: 0 1rem;
12
-
13
- label {
14
- grid-area: label;
15
- }
16
-
17
- .govuk-hint {
18
- grid-area: hint;
19
- }
20
-
21
- .govuk-error-message {
22
- grid-area: error;
23
- }
24
-
25
- input {
26
- grid-area: file;
27
- align-self: start;
28
-
29
- &::file-selector-button {
30
- color: var(--color-dark);
31
- background: var(--color-tint);
32
- border: var(--stroke-input);
33
- border-radius: var(--input-radius);
34
- }
35
- }
36
-
37
- .preview-image {
38
- grid-area: preview;
39
- position: relative;
40
- display: grid;
41
- overflow: visible;
42
- align-self: start;
43
- align-items: center;
44
- justify-items: center;
45
- background-color: var(--color-tint);
46
- border: var(--stroke-input);
47
- border-radius: var(--input-radius);
48
-
49
- min-width: calc(8em + 2 * var(--stroke-input-width));
50
- aspect-ratio: 1;
51
-
52
- .image-thumbnail {
53
- max-width: 8em;
54
- max-height: 8em;
55
- }
56
- }
57
-
58
- .file-destroy {
59
- appearance: none;
60
- position: absolute;
61
- background-color: var(--color-tint);
62
- color: var(--color-dark);
63
- border-radius: var(--input-radius);
64
- border: var(--stroke-input);
65
- display: block;
66
- padding: 0;
67
- top: calc(-1 * var(--stroke-input-width));
68
- right: calc(-1 * var(--stroke-input-width));
69
-
70
- &::after {
71
- content: "×";
72
- display: block;
73
- position: relative;
74
- width: 21px;
75
- line-height: 21px;
76
- font-size: 21px;
77
- top: -1px;
78
- }
79
- }
80
-
81
- > div:last-child {
82
- grid-area: supplemental;
83
-
84
- > * + * {
85
- margin-top: var(--flow-space, var(--space-2xs));
86
- }
87
- }
88
-
89
- .preview-image[hidden] {
90
- display: block !important;
91
-
92
- .file-destroy {
93
- display: none;
94
- }
95
- }
96
- }