@acorex/styles 6.5.50 → 6.5.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "6.5.50",
3
+ "version": "6.5.52",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/forms.scss CHANGED
@@ -12,6 +12,18 @@
12
12
  &.items-wrapper {
13
13
  display: inline-flex;
14
14
  flex-direction: row;
15
+ .form-item-icon {
16
+ // position: absolute;
17
+ height: 100%;
18
+ // top: 0;
19
+ // inset-inline-start: 0;
20
+ display: flex;
21
+ justify-content: center;
22
+ align-items: center;
23
+ width: 2.75em;
24
+ color: var(--ax-gray-dark-color);
25
+ background-color: var(--ax-white-color);
26
+ }
15
27
  .button {
16
28
  margin: 0 !important;
17
29
  border-radius: 0 !important;
@@ -74,16 +86,16 @@
74
86
  color: var(--ax-dark-dark-color);
75
87
 
76
88
  &.icon {
77
- input {
78
- padding-inline-start: 2.1rem;
79
- padding-inline-end: 0.5em;
80
- }
81
- .text-left {
82
- padding-inline-start: 0.5em !important;
83
- }
84
- .text-right {
85
- padding-inline-end: 0.5em !important;
86
- }
89
+ // input {
90
+ // padding-inline-start: 2.1rem;
91
+ // padding-inline-end: 0.5em;
92
+ // }
93
+ // .text-left {
94
+ // padding-inline-start: 0.5em !important;
95
+ // }
96
+ // .text-right {
97
+ // padding-inline-end: 0.5em !important;
98
+ // }
87
99
  & > i.icon {
88
100
  cursor: default;
89
101
  position: absolute;
@@ -115,11 +127,13 @@
115
127
  outline: 0;
116
128
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
117
129
  text-align: start;
118
- background: #fff;
130
+ background: var(--ax-white-color);
119
131
  border: none !important;
120
132
  color: rgba(0, 0, 0, 0.87);
121
133
  box-shadow: none !important;
122
134
  -webkit-appearance: none !important;
135
+ padding-inline-start: 0.75rem;
136
+ padding-inline-end: 0.5rem;
123
137
  @include ax-border-radius(var(--ax-size-border-radius));
124
138
  &::-webkit-input-placeholder {
125
139
  color: var(--ax-gray-dark-color) !important;
@@ -193,18 +207,7 @@
193
207
  }
194
208
  }
195
209
  }
196
- i {
197
- position: absolute;
198
- height: 100%;
199
- top: 0;
200
- inset-inline-start: 0;
201
- display: flex;
202
- justify-content: center;
203
- align-items: center;
204
- width: 2.771429em;
205
- color: var(--ax-gray-dark-color);
206
- background-color: var(--ax-white-color);
207
- }
210
+
208
211
  }
209
212
  &.form-group-label {
210
213
  display: block;
package/scss/master.scss CHANGED
@@ -90,7 +90,7 @@ $color in $colors {
90
90
  .ax {
91
91
  &.form-control {
92
92
  height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
93
- padding: 0 0.5rem;
93
+ // padding: 0 0.5rem;
94
94
  font-size: 1rem;
95
95
  font-weight: 500;
96
96