unika-components 1.0.113 → 1.0.115

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,4 +1,8 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+
2
6
  h2.uni-text-component, p.uni-text-component {
3
7
  margin-bottom: 0;
4
8
  }
@@ -91,10 +95,27 @@ button.uni-text-component {
91
95
  -webkit-transform: rotate(360deg);
92
96
  }
93
97
  }
94
-
95
- .uni-image-component {
96
- max-width: 100%;
97
- }
98
+
99
+ .uni-video-component {
100
+ position: relative;
101
+ text-align: center;
102
+ }
103
+ .play-pause-button {
104
+ position: absolute;
105
+ top: 50%;
106
+ left: 50%;
107
+ transform: translate(-50%, -50%);
108
+ cursor: pointer;
109
+ font-size: 2rem;
110
+ color: #fff;
111
+ background: rgba(0, 0, 0, 0.6);
112
+ border-radius: 50%;
113
+ padding: 10px;
114
+ transition: background 0.3s;
115
+ }
116
+ .play-pause-button:hover {
117
+ background: rgba(0, 0, 0, 0.8);
118
+ }
98
119
 
99
120
  .slot-number {
100
121
  position: absolute;
@@ -104,6 +125,11 @@ button.uni-text-component {
104
125
  color: #666
105
126
  }
106
127
 
128
+ .effect {
129
+ width: 100%;
130
+ height: 100%;
131
+ }
132
+
107
133
  .like-button {
108
134
  display: flex;
109
135
  flex-direction: column;
@@ -161,32 +187,6 @@ button.uni-text-component {
161
187
  vertical-align: top;
162
188
  }
163
189
 
164
- .uni-video-component {
165
- position: relative;
166
- text-align: center;
167
- }
168
- .play-pause-button {
169
- position: absolute;
170
- top: 50%;
171
- left: 50%;
172
- transform: translate(-50%, -50%);
173
- cursor: pointer;
174
- font-size: 2rem;
175
- color: #fff;
176
- background: rgba(0, 0, 0, 0.6);
177
- border-radius: 50%;
178
- padding: 10px;
179
- transition: background 0.3s;
180
- }
181
- .play-pause-button:hover {
182
- background: rgba(0, 0, 0, 0.8);
183
- }
184
-
185
- .effect {
186
- width: 100%;
187
- height: 100%;
188
- }
189
-
190
190
  .swiper-warp {
191
191
  width: 100%;
192
192
  height: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.113",
3
+ "version": "1.0.115",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",