UNPKG

@shakthillc/components

Version:

React generic components for shakthi products

328 lines (320 loc) 6.29 kB
@import url("https://rsms.me/inter/inter.css"); *, ::after, ::before { outline: none; box-sizing: border-box; margin: 0px; } .lineBreak { padding: 0px; margin: 0px; } .font-inter { font-family: Inter; font-size: 16px; font-weight: normal; font-stretch: normal; font-style: normal; line-height: 1.67; letter-spacing: normal; text-align: center; color: #333333; } .nxtNforw { display: inline-block; width: 32px; height: 32px; margin-right: 4px; padding: 4px; } .nxtNforw:hover { background-color: #daf4ff; border-radius: 50%; } .nxtNprev { display: inline-block; cursor: pointer; width: 32px; height: 32px; padding: 4px; } .nxtNprev:hover { background-color: #daf4ff; border-radius: 50%; } .dym { text-align: center; padding: 6px 5px; } .hdrCont_type1 { display: flex; margin: 0 0 8px; justify-content: center; flex-direction: column; background-color: white; color: black; } .hdrCont_type2 { background-color: black; color: white; } .divHeader { display: flex; align-items: center; justify-content: space-between; } .type2 { visibility: hidden; } .days_row { display: flex; justify-content: space-between; } .internal_day_row { display: flex; width: 100%; flex-direction: row; justify-content: space-evenly; } .mainCont { display: inline; padding: 10px 0px; background-color: white; } .innerdiv { display: flex; height: 80%; flex-direction: column; justify-content: space-between; } .w100 { display: flex; flex-direction: row; width: 100%; justify-content: space-between; margin-bottom: 4px; min-height: 52px; flex: 1; } .emptyDate { composes: font-inter; text-align: center; flex: 1; /* padding: 4% 0; */ margin: 0px 2px; user-select: none; display: flex; justify-content: center; align-items: center; } .innerdate { border-radius: 50%; /* text-align: center; */ display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; } .innerdate:hover { background-color: #daf4ff; cursor: pointer; } .innerdate--disabled { border-radius: 50%; /* text-align: center; */ display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; } .date { composes: font-inter; text-align: center; flex: 1; /* padding: 4% 0; */ margin: 0px 2px; user-select: none; display: flex; justify-content: center; align-items: center; } .data_past { composes: font-inter; text-align: center; flex: 1; /* padding: 4% 0; */ margin: 0px 2px; user-select: none; cursor: not-allowed; color: lightgray; display: flex; justify-content: center; align-items: center; pointer-events: none; } .data_past_current{ composes: font-inter; text-align: center; flex: 1; /* padding: 4% 0; */ margin: 0px 2px; user-select: none; cursor: not-allowed; color: lightgray; display: flex; justify-content: center; align-items: center; pointer-events: none; } .data_past_current::after { content: ""; position: relative; left: -24.5px; bottom: -15px; /* width: 2px; */ /* height: 2px; */ padding: 2px; background-color: #333333; border-radius: 50%; display: inline-block; } .data_past:hover { background-color: none !important; } /* .date:hover { flex: 1; border-radius: 50%; cursor: pointer; background-color: #daf4ff; } */ .date_highlight { composes: font-inter; text-align: center; flex: 1; border-radius: 50%; margin: 0px 2px; display: flex; justify-content: center; align-items: center; } .date_highlight span { cursor: pointer; color: #fff; background-color: #005397; } /* .date_highlight span:hover{ background-color: #daf4ff; cursor: pointer; } */ .current_date_highlight { composes: font-inter; text-align: center; flex: 1; /* padding: 4% 0; */ margin: 0px 2px; cursor: pointer; display: flex; justify-content: center; align-items: center; } .current_date_highlight span::after { content: ""; position: relative; left: -9.5px; bottom: -15px; /* width: 2px; */ /* height: 2px; */ padding: 2px; background-color: #333333; border-radius: 50%; display: inline-block; } /* .current_date_highlight span:hover{ background-color: #daf4ff; cursor: pointer; } */ .dateSelected { color: #fff; border-radius: 4px; font-weight: bold; } .days { composes: font-inter; font-size: 14px; line-height: 1.43; text-align: center; flex: 1; padding: 6px 0; user-select: none; } .propHeader, .props { display: flex; } .props span { flex: 1; border-bottom: 1px solid #e2e9f1; padding: 15px 20px; text-transform: capitalize; font-size: 14px; } .propHeader span { flex: 1; border-bottom: 1px solid #e2e9f1; padding: 15px 20px; text-transform: capitalize; font-size: 15px; font-weight: bold; background-color: aliceblue; } .propContainer { border: 1px solid #e2e9f1; border-radius: 4px; margin-bottom: 50px; border-bottom: 0; overflow: hidden; } /* @media screen and (max-width: 600px) and (min-width: 499px) */ @media screen and (max-width: 800px) and (min-width: 370px) { .innerdate { border-radius: 50%; /* text-align: center; */ display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; } .innerdate--disabled { border-radius: 50%; /* text-align: center; */ display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; } } @media screen and (max-width: 1000px) and (min-width: 800px) { .innerdate { border-radius: 50%; /* text-align: center; */ display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; } .innerdate--disabled { border-radius: 50%; /* text-align: center; */ display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; } }