UNPKG

@shakthillc/components

Version:

React generic components for shakthi products

145 lines (139 loc) 2.7 kB
@import url("https://rsms.me/inter/inter.css"); *,*::after,*::before{ box-sizing: border-box; } .font-inter { font-family: Inter; font-size: 14px; font-weight: normal; font-style: normal; font-stretch: normal; line-height: 1.43; letter-spacing: normal; } p{ margin-bottom: 0px; } .selectContainer { display: inline-block; position: relative; max-width: 300px; width: 100%; min-width: 150px; } .selectStyle { display: flex; justify-content: space-between; align-items: center; max-width: 300px; min-width: 150px; border-radius: 4px; border: solid 1px #e4e4e4; background-color: #ffffff; cursor: pointer; user-select: none; } .selectStyle_click { display: flex; justify-content: space-between; align-items: center; max-width: 300px; min-width: 150px; border-radius: 4px; border: 1px solid #005397; background-color: #ffffff; cursor: pointer; user-select: none; } .item2 { position: absolute; left: 320px; } .inputContainer { margin: 0px 5px; max-height: 100px; overflow-y: auto; } .selectedTxt { composes: font-inter; color: #777777; line-break: auto; display: inline-block; padding: 5px 4px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; } .selectDropdown { user-select: none; margin-top: 4px; overflow-y: auto; max-width: 300px; width: 100%; min-width: 150px; max-height: 175px; border-radius: 4px; background: #ffffff; box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15); padding-bottom: 5px; z-index: 2; position: absolute; padding: 5px 0px; } .dropdownList { composes: font-inter; height: min-content; display: block; padding: 5px 0 5px 8px; } .dropdownList__noitems { composes: font-inter; height: min-content; display: block; padding: 5px 0 5px 8px; text-align: center; opacity: 0.5; } .selectDropdown::-webkit-scrollbar { width: 5px; } .selectDropdown::-webkit-scrollbar-thumb { background: #888; } .selectDropdown::-webkit-scrollbar-track { background: #f1f1f1; } .close { height: 14px; width: 14px; position: absolute; left: 290px; top: 30px; } .dropdownList:hover { display: block; background-color: #f0f0f0; cursor: pointer; height: min-content; } .optionStyle { background: #f4f5f6; } .avatar { height: 24px; width: 24px; position: relative; top: 4px; margin-right: 15px; } .avatar1 { height: 24px; width: 24px; position: relative; bottom: -6px; margin-right: 15px; } .singleUserpicker { display: inline-block; margin-bottom: 8px; }