@total_onion/onion-library 2.0.153 → 2.0.154

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.
@@ -49,30 +49,32 @@
49
49
  border: 1px solid #faf8ec;
50
50
  overflow: hidden;
51
51
 
52
- .servings-dec-btn {
53
- cursor: pointer;
54
- background-color: #0054ff;
55
- color: #faf8ec;
56
- font-size: 28px;
57
- padding-bottom: 4px;
58
- width: 100%;
59
- height: 100%;
60
- border: unset;
61
- transform: translateX(0);
62
- transition: transform 0.3s ease;
63
-
64
- &::after {
65
- content: '\2212';
66
- color: #0054ff;
67
- padding-top: 4px;
68
- width: 38px;
69
- height: 38px;
70
- position: absolute;
71
- top: 0;
72
- right: -38px;
73
- background-color: #faf8ec;
74
- }
75
- }
52
+ // styled within the child block
53
+
54
+ // .servings-dec-btn {
55
+ // cursor: pointer;
56
+ // background-color: #0054ff;
57
+ // color: #faf8ec;
58
+ // font-size: 28px;
59
+ // padding-bottom: 4px;
60
+ // width: 100%;
61
+ // height: 100%;
62
+ // border: unset;
63
+ // transform: translateX(0);
64
+ // transition: transform 0.3s ease;
65
+
66
+ // &::after {
67
+ // content: '\2212';
68
+ // color: #0054ff;
69
+ // padding-top: 4px;
70
+ // width: 38px;
71
+ // height: 38px;
72
+ // position: absolute;
73
+ // top: 0;
74
+ // right: -38px;
75
+ // background-color: #faf8ec;
76
+ // }
77
+ // }
76
78
 
77
79
  &:hover {
78
80
  .servings-dec-btn {
@@ -106,29 +108,31 @@
106
108
  border: 1px solid #faf8ec;
107
109
  overflow: hidden;
108
110
 
109
- .servings-inc-btn {
110
- cursor: pointer;
111
- color: #0054ff;
112
- font-size: 30px;
113
- background-color: #faf8ec;
114
- width: 100%;
115
- height: 100%;
116
- border: unset;
117
- transform: translateX(-100%);
118
- transition: transform 0.3s ease;
119
-
120
- &::after {
121
- content: '+';
122
- padding-top: 2px;
123
- color: #faf8ec;
124
- width: 38px;
125
- height: 38px;
126
- position: absolute;
127
- top: 0;
128
- right: -38px;
129
- background-color: #0054ff;
130
- }
131
- }
111
+ // styled within the child block
112
+
113
+ // .servings-inc-btn {
114
+ // cursor: pointer;
115
+ // color: #0054ff;
116
+ // font-size: 30px;
117
+ // background-color: #faf8ec;
118
+ // width: 100%;
119
+ // height: 100%;
120
+ // border: unset;
121
+ // transform: translateX(-100%);
122
+ // transition: transform 0.3s ease;
123
+
124
+ // &::after {
125
+ // content: '+';
126
+ // padding-top: 2px;
127
+ // color: #faf8ec;
128
+ // width: 38px;
129
+ // height: 38px;
130
+ // position: absolute;
131
+ // top: 0;
132
+ // right: -38px;
133
+ // background-color: #0054ff;
134
+ // }
135
+ // }
132
136
 
133
137
  &:hover {
134
138
  .servings-inc-btn {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.153",
3
+ "version": "2.0.154",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {