index.scss 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .nut-input {
  2. position: relative;
  3. width: 100%;
  4. padding: 10px 0px 10px 25px;
  5. display: flex;
  6. background: $white;
  7. border-bottom: 1px solid $input-border-bottom;
  8. font-size: 14px;
  9. input {
  10. width: 230px;
  11. flex: 1;
  12. padding: 0 10px;
  13. padding-right: 35px;
  14. }
  15. &-label {
  16. width: 80px;
  17. overflow: hidden;
  18. display: inline-block;
  19. text-align: left;
  20. display: flex;
  21. .label-string {
  22. overflow: hidden;
  23. white-space: nowrap;
  24. text-overflow: ellipsis;
  25. }
  26. }
  27. .nut-textinput-clear {
  28. width: 16px;
  29. height: 16px;
  30. position: absolute;
  31. right: 15px;
  32. }
  33. &-disabled {
  34. color: $input-disabled-color !important;
  35. input:disabled {
  36. background: none;
  37. color: $input-disabled-color;
  38. cursor: not-allowed;
  39. opacity: 1;
  40. -webkit-text-fill-color: $input-disabled-color;
  41. }
  42. }
  43. &-require {
  44. color: $primary-color;
  45. display: inline-block;
  46. margin-right: 5px;
  47. }
  48. }