@oardi/css-utils 0.40.1 → 0.40.2

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": "@oardi/css-utils",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "author": "Ardian Shala",
5
5
  "homepage": "https://css-utils.oardi.com",
6
6
  "description": "Powerful set of semantic css classes with support for breakpoints, directions and spacings",
@@ -60,9 +60,8 @@
60
60
  cursor: not-allowed;
61
61
  pointer-events: none;
62
62
  box-shadow: none;
63
- color: var(--button-disabled-font-color);
64
- fill: var(--button-disabled-font-color);
65
63
  outline: 0;
64
+ color: var(--button-disabled-font-color);
66
65
  background-color: var(--button-disabled-bg-color);
67
66
  border-color: var(--button-disabled-border-color);
68
67
  }
@@ -46,18 +46,18 @@
46
46
  }
47
47
  }
48
48
 
49
+ &:disabled,
49
50
  &[disabled] {
51
+ opacity: 1; // ios useragent fix
52
+ cursor: not-allowed;
53
+ pointer-events: none;
54
+ box-shadow: none;
55
+ outline: 0;
50
56
  color: var(--form-control-disabled-font-color);
51
57
  background-color: var(--form-control-disabled-bg-color);
52
58
  border-color: var(--form-control-disabled-border-color);
53
59
  }
54
60
 
55
- &[disabled]:hover,
56
- &[disabled]:focus {
57
- cursor: not-allowed;
58
- outline: 0;
59
- }
60
-
61
61
  &::placeholder {
62
62
  color: var(--gray-500);
63
63
  }