mis-crystal-design-system 18.1.0-signal-test → 18.1.0-signal-test-1

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,180 +0,0 @@
1
- @import "../styles/mis-color-constants.scss";
2
-
3
- .input-container {
4
- position: relative;
5
- padding-bottom: 24px;
6
- &.mis-disabled {
7
- .input-wrapper {
8
- pointer-events: none !important;
9
- }
10
- }
11
- .input-wrapper {
12
- box-sizing: border-box;
13
- display: flex;
14
- align-items: center;
15
- flex-direction: row;
16
- flex-wrap: nowrap;
17
- transition: all ease-in 60ms;
18
- background-color: #ffffff;
19
- padding: 3px 16px; // DONE CHANGE
20
- gap: 16px;
21
- .mis-input {
22
- flex: 1 1 auto;
23
- z-index: 0;
24
- position: relative;
25
- display: flex;
26
- align-items: center;
27
- }
28
- input {
29
- flex: 1 1 auto;
30
- border: none;
31
- outline: none;
32
- height: 100%;
33
- padding: 0;
34
- font-family: Lato;
35
- font-style: normal;
36
- font-weight: normal;
37
- font-size: 16px;
38
- height: 24px;
39
- color: #181f33;
40
- background-color: transparent;
41
- width: 100%;
42
- vertical-align: middle;
43
- &::placeholder {
44
- transition: all ease-in 100ms;
45
- opacity: 0;
46
- transform-origin: left center;
47
- color: transparent;
48
- }
49
- }
50
- .mis-placeholder {
51
- position: absolute;
52
- font-family: Lato;
53
- font-style: normal;
54
- font-weight: normal;
55
- font-size: 16px;
56
- line-height: 24px;
57
- color: #6a737d;
58
- z-index: -1;
59
- transition: all ease-in 150ms;
60
- }
61
-
62
- &:focus-within {
63
- background-color: #f5f5f5;
64
- }
65
- &:focus-within {
66
- border: 1px solid $pmry_500;
67
- }
68
- [mis-input-act],
69
- [mis-input-icon] {
70
- width: 18px;
71
- height: 18px;
72
- color: #6a737d;
73
- font-size: 24px;
74
- line-height: 18px;
75
- }
76
- [mis-input-act] {
77
- cursor: pointer;
78
- }
79
- }
80
- &.no-hint {
81
- padding-bottom: 0px;
82
- }
83
- &.rounded {
84
- input {
85
- box-sizing: initial;
86
- }
87
- &.sm {
88
- input {
89
- padding: 3px 16px;
90
- }
91
- }
92
- &.md {
93
- input {
94
- padding: 9px 16px;
95
- }
96
- }
97
- &.lg {
98
- input {
99
- padding: 15px 16px;
100
- }
101
- }
102
- .input-wrapper {
103
- border-radius: 4px;
104
- border: 1px solid #e0e0e0;
105
- padding: 0;
106
- // input:not(:disabled) {
107
- // &:hover,
108
- // &:focus {
109
- // background-color: #f5f5f5;
110
- // }
111
- // }
112
- &:hover {
113
- background-color: #f5f5f5;
114
- }
115
- &:focus-within {
116
- border: 1px solid #0937b2;
117
- }
118
- input:not(:placeholder-shown) + .mis-placeholder {
119
- color: transparent !important;
120
- }
121
- .mis-placeholder {
122
- margin-left: 16px;
123
- transition-duration: 50ms;
124
- }
125
- }
126
- &.has-error {
127
- .input-wrapper {
128
- border: 1px solid #b00020 !important;
129
- }
130
- }
131
- }
132
- &.floating {
133
- .input-wrapper {
134
- padding-top: 24px;
135
- padding-bottom: 7px; // DONE CHANGE
136
- border-bottom: 1px solid #e0e0e0;
137
- input:focus + .mis-placeholder {
138
- color: #0937b2 !important;
139
- }
140
- input:not(:placeholder-shown) + .mis-placeholder,
141
- input:focus + .mis-placeholder {
142
- transform: translateY(calc(-100% + 6px)) !important;
143
- font-size: 12px !important;
144
- letter-spacing: 0.2px !important;
145
- }
146
- &:focus-within {
147
- border: none;
148
- border-bottom: 1px solid #0937b2;
149
- input::placeholder {
150
- color: #6a737d;
151
- opacity: 1;
152
- font-size: 16px;
153
- }
154
- }
155
- }
156
- &.has-error {
157
- .input-wrapper {
158
- border-bottom: 1px solid #b00020 !important;
159
- .mis-placeholder {
160
- color: #b00020 !important;
161
- }
162
- }
163
- }
164
- }
165
- [mis-input-hint],
166
- [mis-input-error] {
167
- position: absolute;
168
- left: 0;
169
- right: 0px;
170
- bottom: 0px;
171
- line-height: 24px;
172
- height: 24px;
173
- font-size: 12px;
174
- color: #6a737d;
175
- letter-spacing: 0.2px;
176
- }
177
- [mis-input-error] {
178
- color: #b00020;
179
- }
180
- }
package/modal/modal.scss DELETED
@@ -1,9 +0,0 @@
1
- .mis-modal {
2
- display: block;
3
- overflow: auto;
4
- padding: 8px;
5
- // transition: all 300ms ease-out;
6
- }
7
- .mis-modal-overlay {
8
- background: rgba(0, 0, 0, 0.32);
9
- }
Binary file