urfu-ui-kit-vanilla 1.0.71 → 1.0.72

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 +80 -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.0.72",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "start": "vite",
package/src/main.css CHANGED
@@ -397,6 +397,86 @@ 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: 48px;
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
+ transition-property: color, background-color, border-color, background-image;
454
+ transition-duration: 0.15s;
455
+ transition-timing-function: ease-in-out;
456
+ border: 1px solid #EF302B;
457
+ }
458
+ .u-textarea-required:hover,
459
+ .u-textarea-required.active {
460
+ border: 1px solid #748AB9;
461
+ }
462
+ .u-textarea-required:focus {
463
+ outline: 0;
464
+ border: 1px solid #748AB9;
465
+ }
466
+ .u-textarea-required::placeholder {
467
+ /* Chrome, Firefox, Opera, Safari 10.1+ */
468
+ color: #A7A7A7;
469
+ opacity: 1;
470
+ /* Firefox */
471
+ }
472
+ .u-textarea-required:-ms-input-placeholder {
473
+ /* Internet Explorer 10-11 */
474
+ color: #A7A7A7;
475
+ }
476
+ .u-textarea-required::-ms-input-placeholder {
477
+ /* Microsoft Edge */
478
+ color: #A7A7A7;
479
+ }
400
480
  .u-number {
401
481
  display: inline-block;
402
482
  position: relative;