1 |
- {"version":3,"sources":["common/style/utilities/_animation.less","common/style/utilities/_float.less","common/style/utilities/_index.less","switch/switch.less"],"names":[],"mappings":"AAAC;ECIC,WAAA;;ADJD;ECQC,YAAA;;ADRF;EACE;IACE,UAAA;;EAGF;IACE,UAAA;;;AEDF,iBAAC;EACC,kBAAA;;AAGF,iBAAC;EACC,SAAS,EAAT;EACA,cAAA;EACA,kBAAA;EACA,OAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,WAAW,UAAX;;AFjBH;EGGC,aAAA;EACA,mBAAA;;AAEA,SAAC;EACC,qBAAA;EACA,sBAAA;EACA,iBAAA;EACA,mBAAA;EACA,gBAAA;EACA,yBAAA;;AAGF,SAAC;EACC,sBAAA;EACA,YAAA;EACA,aAAA;EACA,oBAAA;EACA,qCAAA;EACA,kBAAA;;AAEA,SARD,MAQE;EACC,yBAAA;;AAGF,SAZD,MAYE;EACC,yBAAA;;AAGF,SAhBD,MAgBE,QAAQ,SAhBV,MAgBW;EACR,yBAAA;;AAIJ,SAAC;EACC,kBAAA;EACA,UAAA;EACA,QAAA;EACA,YAAA;EACA,aAAA;EACA,kBAAA;EACA,sBAAA;EACA,oBAAA;EACA,WAAW,gBAAX;;AAEA,SAXD,KAWE;EACC,WAAA","sourcesContent":["@keyframes tdesign-fade-out {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n","// 公共前缀\n@prefix: t;\n\n.@{prefix}-float-left {\n float: left;\n}\n\n.@{prefix}-float-right {\n float: right;\n}\n","@import './_float.less';\n@import './_animation.less';\n\n.hotspot-expanded {\n \n &.relative {\n position: relative;\n }\n\n &::after {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n transform: scale(1.5);\n }\n}","@import './_var.less';\n\n.@{prefix}-switch {\n display: flex;\n align-items: center;\n\n &__label {\n display: inline-block;\n vertical-align: middle;\n text-align: right;\n margin-right: 32rpx;\n font-size: @swtich-label-font-size;\n color: @switch-label-color;\n }\n\n &__body {\n vertical-align: middle;\n width: @switch-width;\n height: @switch-height;\n border-radius: 24rpx;\n background-color: @switch-inactive-color;\n position: relative;\n\n &--active {\n background-color: @switch-active-color;\n }\n\n &--disabled {\n background-color: @switch-inactive-color--disabled;\n }\n\n &--active&--disabled {\n background-color: @switch-active-color--disabled;\n }\n }\n\n &__dot {\n position: absolute;\n left: @switch-dot-pos-left;\n top: 50%;\n width: @switch-dot-size;\n height: @switch-dot-size;\n border-radius: 50%;\n background-color: @bg-color-block;\n transition: all .3s;\n transform: translateY(-50%);\n\n &--active {\n left: @switch-dot-size + @switch-dot-pos-left;\n }\n }\n}\n"],"file":"switch.wxss"}
|