react_hsbc_teller 0.5.7 → 0.6.1

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.
@@ -115,6 +115,7 @@
115
115
  // border: 0px;
116
116
  outline: none;
117
117
  font-size: 17px;
118
+ padding: 0 5px;
118
119
  border: 1px #707070 solid;
119
120
  }
120
121
  .modalSpan{
@@ -154,6 +155,7 @@
154
155
  background: #f3f3f3;
155
156
  color: #333;
156
157
  border-radius: 0 4px 4px 4px;
158
+ text-align: left;
157
159
  // height: ~"calc(100vh - 130px)";
158
160
  // position: absolute;
159
161
  // z-index: 1;
@@ -216,8 +218,13 @@
216
218
  }
217
219
  .themeClass{
218
220
  position: absolute;
219
- top: 50%;
220
- left: 40%;
221
+ top: 0;
222
+ left: 0;
223
+ right: 0;
224
+ bottom: 0;
225
+ margin: auto;
226
+ width: 500px;
227
+ height: 150px;
221
228
  font-size: 22px;
222
229
  color: #222222;
223
230
  font-weight: 600;
@@ -225,6 +232,7 @@
225
232
  li{
226
233
  list-style: none;
227
234
  margin: 21px 0;
235
+ text-align: left;
228
236
  span{
229
237
  font-size: 20px;
230
238
  width: 143px;
@@ -363,27 +371,67 @@
363
371
 
364
372
  }
365
373
 
366
- input[type="radio"]+label::before {
367
- content: " ";
374
+ .radio {
375
+ position: relative;
368
376
  display: inline-block;
369
- vertical-align: middle;
370
- width: 13px;
371
- height: 13px;
377
+ font-weight: 400;
378
+ padding-left: 25px;
379
+ text-align: left;
380
+ width: 100%;
381
+ display: flex;
382
+ }
383
+
384
+ .radio input {
385
+ position: absolute;
386
+ left: -9999px;
387
+ }
388
+
389
+ .radio i {
390
+ display: block;
391
+ position: absolute;
392
+ top: 50%;
393
+ left: 2px;
394
+ width: 12px;
395
+ height: 12px;
396
+ transform: translateY(-50%);
397
+ outline: 0;
398
+ border: 1px solid rgb(133, 133, 133);
399
+ background: transparent;
372
400
  border-radius: 50%;
373
- border: 1px solid #999999;
374
- margin-right: 0.2rem;
375
- box-sizing: border-box;
376
- margin-top: -0.1rem;
401
+ transition: border-color .3s;
402
+ -webkit-transition: border-color .3s;
403
+ box-sizing: content-box;
377
404
  }
378
405
 
379
- input[type="radio"]:checked+label::before {
406
+ .radio input+i:after {
407
+ position: absolute;
408
+ content: '';
409
+ top: 50%;
410
+ left: 50%;
411
+ transform: translate(-50%,-50%);
412
+ width: 50%;
413
+ height: 50%;
414
+ border-radius: 50%;
380
415
  background-color: #269792;
381
- background-clip: content-box;
382
- border: 1px solid #269792;
383
- padding: 0.1rem;
384
- box-sizing: border-box;
416
+ // border: 1px solid #269792;
417
+ opacity: 0;
418
+ transition: opacity .1s;
419
+ -webkit-transition: opacity .1s;
420
+ box-sizing: content-box;
385
421
  }
386
- input[type="radio"] {
387
- position: absolute;
388
- clip: rect(0, 0, 0, 0);
422
+
423
+ .radio input:checked+i:after {
424
+ opacity: 1;
425
+ }
426
+ .errorClassInvitation{
427
+ width: 90%;
428
+ height: 50px;
429
+ margin: 50px 30px 0px;
430
+ background: #F9F2F3;
431
+ border: 1px #E5B2B5 solid;
432
+ img{
433
+ margin: 15px 20px;
434
+ width: 18px;
435
+ height: 18px;
436
+ }
389
437
  }
package/src/index.js CHANGED
@@ -2,8 +2,8 @@ import React from "react";
2
2
  import ReactDOM from "react-dom";
3
3
  import "./index.less";
4
4
  import '@babel/polyfill';
5
- // import { HSBC } from "../lib/hsbc";
6
- import {HSBC} from "../packages";
5
+ import { HSBC } from "../lib/hsbc";
6
+ // import {HSBC} from "../packages";
7
7
 
8
8
  ReactDOM.render(
9
9
  <div className="hsbc"><HSBC></HSBC></div>,