UNPKG

@shakthillc/components

Version:

React generic components for shakthi products

127 lines (125 loc) 2.44 kB
@import url("https://rsms.me/inter/inter.css"); *, ::after, ::before { outline: none; box-sizing: border-box; margin: 0px; } body { overflow-x: hidden; } .font-inter { font-family: Inter; font-size: 16px; font-weight: 500; font-stretch: normal; font-style: normal; line-height: 1.25; letter-spacing: normal; color: #333333; } .frame_close { width: 400px; height: 84px; border-radius: 4px; box-shadow: 0 20px 32px -8px rgba(0, 0, 0, 0.1); background-color: #ffffff; transform: translate(1500px, -50px); z-index: 2; display: inline-block; } .alert-box { width: 400px; border-radius: 4px; box-shadow: 0 20px 32px -8px rgba(0, 0, 0, 0.1); background-color: #ffffff; right: -500px; top: 20px; transition: all 0.3s ease-in; z-index: 999; display: inline-block; position: fixed; margin:0px; } .alert-box--show { width: 400px; border-radius: 4px; box-shadow: 0 20px 32px -8px rgba(0, 0, 0, 0.1); background-color: #ffffff; right: 20px; top: 20px; z-index: 999; display: inline-block; position: fixed; padding:0px 8px 14px 14px; transition: all 0.5 ease-in; margin:0px; } .alert-box__main-info { composes: font-inter; display: inline-block; padding: 10px 0px 0px 16px; margin: 0px; } .alert-box__sub-info { composes: font-inter; padding: 0px 0px 16px 40px; margin: 0px; font-size: 14px; font-weight: normal; line-height: 1.43; } .alert-box__status-icon { display: inline-block; position: relative; width: 24px; height: 24px; top: 8px; left: 0px; } .alert-box__close-icon { position: absolute; display: inline-block; cursor: pointer; top: 8px; right: 2px; } .alter-box__loader { height: 10.5px; width: 100%; background-color: #005397; position: absolute; bottom: 0px; left:0px; animation-name: loaderex; animation-duration: 5.2s; animation-iteration-count:infinite; } @keyframes loaderex { from { width: 100%; } to { width: 0%; } } .alert-box2--show{ height: 32px; width: 400px; background-color: #005397; border-radius: 4px; right: 20px; top: 20px; z-index: 999; display: inline-block; position: fixed; } .alert-box2--hide{ height: 32px; width: 400px; background-color: #005397; right: -500px; top: 20px; transition: all 1s ease-in; }