1 |
- {"version":3,"sources":["common/style/utilities/_animation.less","common/style/utilities/_float.less","common/style/utilities/_index.less","input/input.less","common/style/mixins/_hairline.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;;ACGF,kBAAC;ECjBD,kBAAA;EACA,sBAAA;EACA,SAAS,GAAT;EACA,oBAAA;EAwBA,QAAA;EACA,OAAA;EACA,SAAA;EACA,gCAAA;EACA,WAAW,WAAX;EDZE,WAAA;;AHtBH;EG0BC,kBAAA;EACA,aAAA;EACA,oBAAA;EACA,gBAAA;;AAEA,QAAC;EACC,aAAA;EACA,mBAAA;EACA,UAAA;;AAGF,QAAC;EACC,aAAA;EACA,mBAAA;EACA,WAAA;EACA,gBAAA;;AAGF,QAAC;EACC,aAAA;EACA,eAAA;EACA,UAAA;;AAEA,QALD,MAKE;AACD,QAND,MAME;EACC,cAAA;EACA,kBAAA;EACA,cAAA;EACA,gBAAA;;AAEA,QAZH,MAKE,QAOE;AAAD,QAZH,MAME,MAME;EACC,aAAA;;AAIJ,QAjBD,MAiBE;EACC,kBAAA;EACA,mBAAA;;AAEA,QArBH,MAiBE,QAIE;EC9DL,kBAAA;EACA,sBAAA;EACA,SAAS,GAAT;EACA,oBAAA;EAiCA,MAAA;EACA,SAAA;EACA,OAAA;EACA,8BAAA;EACA,WAAW,WAAX;;AD2BE,QA1BD,MA0BE;EACC,kBAAA;EACA,mBAAA;EACA,cAAA;;AAIJ,QAAC;EACC,cAAA;EACA,sBAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;EACA,UAAA;EACA,cAAA;EACA,oBAAA;EACA,gBAAA;EACA,6BAAA;EACA,SAAA;EACA,YAAA;EACA,kBAAA;;AAEA,QAfD,SAeE;EACC,yBAAA;;AAGF,QAnBD,SAmBE;EACC,cAAA;EACA,6BAAA;EACA,mBAAA;EACA,UAAA;EACA,qCAAA;;AAGF,QA3BD,SA2BE;EACC,eAAA;;AAGF,QA/BD,SA+BE;EACC,iBAAA;;AAGF,QAnCD,SAmCE;EACC,kBAAA;;AAIJ,QAAC;EACC,yBAAA;;AHtHH,QAAQ;EG2HP,uBAAA;;AAGE,QH9HK,WAAR,SG8HI;EACC,cAAA;;AAEA,QHjIG,WAAR,SG8HI,SAGE;EACC,cAAA;;AAIJ,QHtIK,WAAR,SGsII;EACC,cAAA;;AAGF,QH1IK,WAAR,SG0II;EACC,gBAAA;EACA,kBAAA;EACA,gBAAA;EACA,cAAA;EACA,yBAAA;EACA,WAAA;;AHhJL;EGsJC,kBAAA;EACA,qBAAA;;AHvJD;EG0JC,kBAAA;EACA,qBAAA","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 '../common/style/index.less';\n\n@input-name-text-color: @text-level-1-color;\n@input-text-color: @text-level-1-color;\n@input-placeholder-text-color: @text-placeholder-color;\n@input-disabled-text-color: @text-level-1-color;\n@input-icon-color: @text-level-4-color;\n@input-error-text-color: #e34d59;\n@input-suffix-text-color: @text-level-1-color;\n@input-border-color: #e7e7e7;\n\n@input-font-size: 32rpx;\n@input-icon-font-size: 32rpx;\n@input-error-msg-font-size: @font-size-s;\n@input-vertical-padding: 24rpx;\n@input-horizontal-padding: 32rpx;\n@input-name-horizontal-margin: 32rpx;\n@input-border-padding-left: 32rpx;\n\n.@{prefix}-input--bordered {\n &::after {\n .hairline-bottom(@input-border-color);\n left: @input-border-padding-left;\n }\n}\n.@{prefix}-input {\n position: relative;\n display: flex;\n padding: @input-vertical-padding @input-horizontal-padding;\n background: @bg-color-block;\n\n &__name {\n width: 164rpx;\n margin-right: @input-name-horizontal-margin;\n flex: none;\n }\n\n &__content {\n display: flex;\n align-items: center;\n width: 100%;\n font-size: @input-font-size;\n }\n\n &__wrap {\n display: flex;\n flex-wrap: wrap;\n flex: auto;\n\n &--suffix,\n &--icon {\n flex: 0 0 auto;\n margin-left: @spacer-1;\n color: @input-icon-color;\n font-size: @input-icon-font-size;\n\n &:empty {\n display: none;\n }\n }\n\n &--suffix {\n position: relative;\n padding-left: 24rpx;\n\n &::after {\n .hairline-left();\n }\n }\n\n &--suffix-text {\n position: relative;\n padding-left: 24rpx;\n color: @input-name-text-color;\n }\n }\n\n &__control {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-width: 0; // for flex-shrink in field__button\n margin: 0;\n padding: 0;\n color: @input-text-color;\n line-height: inherit;\n text-align: left;\n background-color: transparent;\n border: 0;\n resize: none;\n font-size: inherit;\n\n &::placeholder {\n color: @input-placeholder-text-color;\n }\n\n &:disabled {\n color: @input-disabled-text-color;\n background-color: transparent;\n cursor: not-allowed;\n opacity: 1;\n -webkit-text-fill-color: currentColor; // fix disabled color in iOS\n }\n\n &:read-only {\n cursor: default;\n }\n\n &--right {\n text-align: right;\n }\n\n &--center {\n text-align: center;\n }\n }\n\n &__placeholder {\n color: @input-placeholder-text-color;\n }\n}\n\n.@{prefix}-input.@{prefix}-is-error {\n align-items: flex-start;\n\n .@{prefix}-input {\n &__control {\n color: @input-error-text-color;\n\n &::placeholder {\n color: @input-error-text-color;\n }\n }\n\n &__placeholder {\n color: @input-error-text-color;\n }\n\n &__error-msg {\n text-align: left;\n padding-top: @spacer-1;\n font-size: @input-error-msg-font-size;\n line-height: 1;\n color: @input-placeholder-text-color;\n width: 100%;\n }\n }\n}\n\n.@{prefix}-input--size-medium {\n padding-top: 32rpx;\n padding-bottom: 33rpx;\n}\n.@{prefix}-input--size-small {\n padding-top: 24rpx;\n padding-bottom: 24rpx;\n}\n","@import '../_variables.less';\n\n.hairline-base() {\n position: absolute;\n box-sizing: border-box;\n content: ' ';\n pointer-events: none;\n}\n\n.hairline(@color: @border-level-1-color) {\n .hairline-base();\n top: -50%;\n right: -50%;\n bottom: -50%;\n left: -50%;\n border: 1px solid @color;\n transform: scale(.5);\n}\n\n.hairline-top(@color: @border-level-1-color) {\n .hairline-base();\n right: 0;\n left: 0;\n top: 0;\n border-top: 1px solid @color;\n transform: scaleY(.5);\n}\n\n.hairline-bottom(@color: @border-level-1-color) {\n .hairline-base();\n right: 0;\n left: 0;\n bottom: 0;\n border-bottom: 1px solid @color;\n transform: scaleY(.5);\n}\n\n.hairline-left(@color: @border-level-1-color) {\n .hairline-base();\n top: 0;\n bottom: 0;\n left: 0;\n border-left: 1px solid @color;\n transform: scaleX(.5);\n}\n\n.hairline-right(@color: @border-level-1-color) {\n .hairline-base();\n top: 0;\n bottom: 0;\n right: 0;\n border-right: 1px solid @color;\n transform: scaleX(.5);\n}\n"],"file":"input.wxss"}
|