u-radio.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. .u-radio.data-v-da6758f0 {
  8. display: inline-flex;
  9. align-items: center;
  10. overflow: hidden;
  11. -webkit-user-select: none;
  12. user-select: none;
  13. line-height: 1.8;
  14. }
  15. .u-radio__icon-wrap.data-v-da6758f0 {
  16. color: #606266;
  17. display: flex;
  18. flex-direction: row;
  19. flex: none;
  20. align-items: center;
  21. justify-content: center;
  22. box-sizing: border-box;
  23. width: 42rpx;
  24. height: 42rpx;
  25. color: transparent;
  26. text-align: center;
  27. transition-property: color, border-color, background-color;
  28. font-size: 20px;
  29. border: 1px solid #c8c9cc;
  30. transition-duration: 0.2s;
  31. }
  32. .u-radio__icon-wrap--circle.data-v-da6758f0 {
  33. border-radius: 100%;
  34. }
  35. .u-radio__icon-wrap--square.data-v-da6758f0 {
  36. border-radius: 3px;
  37. }
  38. .u-radio__icon-wrap--checked.data-v-da6758f0 {
  39. color: #fff;
  40. background-color: #2979ff;
  41. border-color: #2979ff;
  42. }
  43. .u-radio__icon-wrap--disabled.data-v-da6758f0 {
  44. background-color: #ebedf0;
  45. border-color: #c8c9cc;
  46. }
  47. .u-radio__icon-wrap--disabled--checked.data-v-da6758f0 {
  48. color: #c8c9cc !important;
  49. }
  50. .u-radio__label.data-v-da6758f0 {
  51. word-wrap: break-word;
  52. margin-left: 10rpx;
  53. margin-right: 24rpx;
  54. color: #606266;
  55. font-size: 30rpx;
  56. }
  57. .u-radio__label--disabled.data-v-da6758f0 {
  58. color: #c8c9cc;
  59. }