UNPKG

@shakthillc/components

Version:

React generic components for shakthi products

117 lines (112 loc) 2.23 kB
@import url("https://rsms.me/inter/inter.css"); .font-inter { font-family: Inter; font-size: 14px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: 1.43; letter-spacing: normal; } .input-area { composes: font-inter; max-width: 300px; width: 100%; min-width: 150px; max-width: 300px; height: 36px; padding-top: 1px; padding-left: 10px; padding-right: 10px; border: 1px solid #e4e4e4; border-radius: 4px; color: #333333; outline: none; -webkit-appearance: none; } .input-area__readonly { composes: font-inter; max-width: 300px; width: 100%; min-width: 150px; height: 36px; padding-top: 1px; padding-left: 10px; padding-right: 10px; background-color: #ededed; border: 1px solid #e4e4e4; border-radius: 4px; color: #333333; outline: none; -webkit-appearance: none; } .input-area:hover { background-color: #ffffff; border: solid 1px #005397; } .input-area:focus { background-color: #ffffff; border: solid 1px #005397; } .input-area__icon--leftfalse { composes: input-area; padding-left: 35px; } .input-area__icon--lefttrue { composes: input-area__readonly; padding-left: 35px; } .input-area__icon--righttrue { composes: input-area__readonly; padding-right: 30px; } .input-area__icon--rightfalse { composes: input-area; padding-right: 30px; } .input-holder { position: relative; display: block; width: 100%; min-width: 150px; margin-bottom: 4px; } .input-holder i { position: absolute; top: 0px; bottom: 0px; margin: auto; } .input-holder__icon { width: 18px; height: 18px; left: 8px; } .input-holder__icon--right { width: 18px; height: 18px; right: 8px; } .input-holder__helper { composes: font-inter; font-size: 12px; margin-top: 8px; color: #333333; } .input-holder__helper--red { composes: font-inter; font-size: 12px; margin-top: 8px; color: #db7064; } .input-holder__header { composes: font-inter; margin-bottom: 8px; color: #333333; } .input-enableborder { border: solid 1px #fa383e; } .input-holder input::-ms-reveal { display: none; }