urfu-ui-kit-vanilla 1.0.71 → 1.1.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/main.css +81 -0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UrFU UI-Kit for Vanilla Web",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
- "version": "1.0.71",
6
+ "version": "1.1.0",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "start": "vite",
package/src/main.css CHANGED
@@ -397,6 +397,87 @@ button {
397
397
  /* Microsoft Edge */
398
398
  color: #A7A7A7;
399
399
  }
400
+ .u-textarea {
401
+ height: 125px;
402
+ padding: 14px 16px;
403
+ border-radius: 10px;
404
+ font-weight: 400;
405
+ font-size: 14px;
406
+ line-height: 20px;
407
+ color: #222222;
408
+ background-color: #FFFFFF;
409
+ width: 100%;
410
+ resize: vertical;
411
+ transition-property: color, background-color, border-color, background-image;
412
+ transition-duration: 0.15s;
413
+ transition-timing-function: ease-in-out;
414
+ border: 1px solid #D3D3D3;
415
+ }
416
+ .u-textarea:hover,
417
+ .u-textarea.active {
418
+ border: 1px solid #748AB9;
419
+ }
420
+ .u-textarea:focus {
421
+ outline: 0;
422
+ border: 1px solid #748AB9;
423
+ }
424
+ .u-textarea:disabled,
425
+ .u-textarea.disabled {
426
+ cursor: not-allowed;
427
+ border: none;
428
+ background-color: #F6F6F6;
429
+ }
430
+ .u-textarea::placeholder {
431
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
432
+ color: #A7A7A7;
433
+ opacity: 1;
434
+ /* Firefox */
435
+ }
436
+ .u-textarea:-ms-input-placeholder {
437
+ /* Internet Explorer 10-11 */
438
+ color: #A7A7A7;
439
+ }
440
+ .u-textarea::placeholder {
441
+ color: #A7A7A7;
442
+ }
443
+ .u-textarea-required {
444
+ height: 125px;
445
+ padding: 14px 16px;
446
+ border-radius: 10px;
447
+ font-weight: 400;
448
+ font-size: 14px;
449
+ line-height: 20px;
450
+ color: #222222;
451
+ background-color: #FFFFFF;
452
+ width: 100%;
453
+ resize: vertical;
454
+ transition-property: color, background-color, border-color, background-image;
455
+ transition-duration: 0.15s;
456
+ transition-timing-function: ease-in-out;
457
+ border: 1px solid #EF302B;
458
+ }
459
+ .u-textarea-required:hover,
460
+ .u-textarea-required.active {
461
+ border: 1px solid #748AB9;
462
+ }
463
+ .u-textarea-required:focus {
464
+ outline: 0;
465
+ border: 1px solid #748AB9;
466
+ }
467
+ .u-textarea-required::placeholder {
468
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
469
+ color: #A7A7A7;
470
+ opacity: 1;
471
+ /* Firefox */
472
+ }
473
+ .u-textarea-required:-ms-input-placeholder {
474
+ /* Internet Explorer 10-11 */
475
+ color: #A7A7A7;
476
+ }
477
+ .u-textarea-required::-ms-input-placeholder {
478
+ /* Microsoft Edge */
479
+ color: #A7A7A7;
480
+ }
400
481
  .u-number {
401
482
  display: inline-block;
402
483
  position: relative;