您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

59 行
1.3 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. input[type="checkbox"].form-control {
  4. width: 20px;
  5. padding: 0;
  6. }
  7. input[type="checkbox"], input[type="radio"] {
  8. --input-size: 20px;
  9. position: relative;
  10. display: inline-block;
  11. vertical-align: top;
  12. flex-shrink: 0;
  13. appearance: none;
  14. -webkit-appearance: none;
  15. background-color: var(--swatches-neutrals-white);
  16. border: 1px solid var(--swatches-primary-500);
  17. width: var(--input-size);
  18. height: var(--input-size);
  19. border-radius: var(--border-radius-xs);
  20. background-size: 20px;
  21. background-position: center;
  22. background-repeat: no-repeat;
  23. transition: 0.25s ease;
  24. margin: 0 9px 0 0;
  25. @include focus-visible;
  26. &:checked {
  27. background-image: url("../../assets/img/check.svg");
  28. background-color: var(--swatches-primary-500);
  29. }
  30. &.half-checked {
  31. background-image: url("../../assets/img/half-check.svg");
  32. background-color: var(--swatches-secondary-500);
  33. }
  34. ~ label {
  35. display: inline-block;
  36. vertical-align: top;
  37. //max-width: calc(100% - 40px);
  38. margin-top: 0;
  39. margin-bottom: 0;
  40. font-size: var(--font-size-copy);
  41. line-height: 1.2;
  42. @media(max-width: 767px) {
  43. margin-top: 2px;
  44. }
  45. }
  46. }
  47. input[type="radio"] {
  48. --input-size: 22px;
  49. border-radius: 50%;
  50. margin: -1px 8px 0 -1px;
  51. }