1
0

index.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. @import '../../app.less';
  2. .hard-input {
  3. background: #fff;
  4. height: 46px;
  5. border-radius: 2px;
  6. padding: 7px 20px;
  7. line-height: 32px;
  8. border: 1px solid rgba(200, 209, 218, 1);
  9. cursor: text;
  10. .item {
  11. display: inline-block;
  12. position: relative;
  13. line-height: 20px;
  14. height: 32px;
  15. padding: 6px;
  16. margin-right: 10px;
  17. background-color: rgba(228, 234, 244, 1);
  18. .text {
  19. display: inline-block;
  20. color: #050930;
  21. vertical-align: top;
  22. margin-left: 5px;
  23. }
  24. .icon {
  25. width: 16px;
  26. height: 16px;
  27. display: inline-block;
  28. vertical-align: top;
  29. margin-top: 2px;
  30. margin-left: 10px;
  31. background-image: url('/assets/del_icon.png');
  32. background-repeat: no-repeat;
  33. background-position: center;
  34. }
  35. }
  36. .item.show.true {
  37. background-color: rgba(23, 165, 27, 0.06);
  38. .icon {
  39. background-image: url('/assets/right_icon.png');
  40. }
  41. }
  42. .item.show.false {
  43. background-color: rgba(253, 247, 247, 1);
  44. .icon {
  45. background-image: url('/assets/wrong_icon.png');
  46. }
  47. }
  48. .other-item {
  49. display: inline-block;
  50. position: relative;
  51. line-height: 20px;
  52. height: 32px;
  53. padding: 6px;
  54. margin-right: 10px;
  55. background-color: rgba(23, 165, 27, 0.06);
  56. .text {
  57. display: inline-block;
  58. color: #17A51B;
  59. vertical-align: top;
  60. margin-left: 5px;
  61. }
  62. }
  63. }
  64. .hard-input.focus {
  65. background: rgba(244, 249, 254, 1);
  66. border-left: 4px solid rgba(66, 146, 240, 1);
  67. }