perfect-gui 3.4.1 → 3.4.3
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/README.md +0 -1
- package/package.json +1 -1
- package/src/styles.js +16 -12
package/README.md
CHANGED
package/package.json
CHANGED
package/src/styles.js
CHANGED
|
@@ -108,6 +108,15 @@ return /* css */`
|
|
|
108
108
|
.p-gui__switch {
|
|
109
109
|
margin-right: 2px;
|
|
110
110
|
margin-left: 2px;
|
|
111
|
+
border: 1px solid rgba(0,0,0,.5);
|
|
112
|
+
border-bottom: 1px solid #00ff89;
|
|
113
|
+
border-radius: 2px;
|
|
114
|
+
background: rgba(0, 0, 0, .3);
|
|
115
|
+
background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 5%, rgba(0,0,0,0) 95%, rgba(0,0,0,0.3) 100%);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.p-gui__button:hover,
|
|
119
|
+
.p-gui__switch:hover {
|
|
111
120
|
background: rgba(0, 0, 0, .3);
|
|
112
121
|
}
|
|
113
122
|
|
|
@@ -172,11 +181,6 @@ return /* css */`
|
|
|
172
181
|
cursor: default;
|
|
173
182
|
}
|
|
174
183
|
|
|
175
|
-
.p-gui__button:hover,
|
|
176
|
-
.p-gui__switch:hover {
|
|
177
|
-
background: rgba(0, 0, 0, .75);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
184
|
.p-gui__switch-checkbox {
|
|
181
185
|
width: 5px;
|
|
182
186
|
height: 5px;
|
|
@@ -234,21 +238,21 @@ return /* css */`
|
|
|
234
238
|
|
|
235
239
|
/* la zone de déplacement */
|
|
236
240
|
.p-gui__slider-ctrl::-webkit-slider-runnable-track {
|
|
237
|
-
height:
|
|
241
|
+
height: 13px;
|
|
238
242
|
border: none;
|
|
239
243
|
border-radius: 0;
|
|
240
244
|
background-color: transparent; /* supprimé définie sur l'input */
|
|
241
245
|
}
|
|
242
246
|
|
|
243
|
-
/* le curseur */
|
|
244
247
|
.p-gui__slider-ctrl::-webkit-slider-thumb {
|
|
245
248
|
-webkit-appearance: none; /* également nécessaire sur le curseur */
|
|
246
|
-
width:
|
|
247
|
-
height:
|
|
248
|
-
border: none;
|
|
249
|
-
border-radius: 50%; /* pris en compte sur Webkit et Edge */
|
|
249
|
+
width: 15px;
|
|
250
|
+
height: 7px;
|
|
251
|
+
border: none; /* pris en compte sur Webkit et Edge */
|
|
250
252
|
background: white; /* pris en compte sur Webkit only */
|
|
251
|
-
|
|
253
|
+
position: relative;
|
|
254
|
+
top: 3px;
|
|
255
|
+
border-radius: 1px;
|
|
252
256
|
}
|
|
253
257
|
|
|
254
258
|
.p-gui__slider-value,
|