coducer-front-end
Version:
This will help you in Accordion, BreadCrumb, Button, Creatable Select, Select, Formik Date Field, Formik Field, Formik PhoneNumber, Formik Time Field, Input Field, Loader, Modal, NavBarMenu, Notify, Pill, Toggle Switch
435 lines (354 loc) • 9.07 kB
CSS
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
:root {
--primary: #20294c;
--secondary: #8d91a3;
--success: #66cb9f;
--info: #4dc4ff;
--warning: #f7936f;
--danger: #f58787;
--light: #e4e5e9;
--dark: #344054;
--white: #fafeff;
--modal-backdrop-bg: rgba(52, 64, 84, 0.7);
--border-radius-sm: 2px;
--border-radius-lg: 10px;
--box-shadow-sm: 0 0px 4px rgba(0, 0, 0, 0.1);
--border-color: #e4e5e9;
--h1-font-size: 50px;
--h2-font-size: 35px;
--h3-font-size: 24px;
--h4-font-size: 20px;
--h5-font-size: 18px;
--h6-font-size: 16px;
}
html {
height: 100%;
}
* {
font-family: "Manrope", sans-serif;
box-sizing: border-box;
}
.fs-14 {
font-size: var(--fs14);
}
.fs-13 {
font-size: var(--fs13);
}
.fs-12 {
font-size: var(--fs12);
}
.eye-icon-css {
position: absolute ;
right: 10px;
top: 32px;
cursor: pointer;
}
.auth-eye-icon-css {
position: absolute ;
right: 10px;
top: 45px;
cursor: pointer;
}
.cursor-pointer {
cursor: pointer;
}
::-webkit-scrollbar {
width: 5px;
height: 3px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(204, 25, 25, 0);
}
::-webkit-scrollbar-thumb {
background: #20294c57;
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(248, 241, 241, 0);
border-right: 7px solid rgba(0, 0, 0, 0.01);
}
textarea {
min-height: 88px ;
border: 1px solid var(--border) ;
background: transparent ;
padding-inline-start: 10px;
}
textarea:focus-visible {
outline: none ;
}
.custom_height_select textarea {
height: 175px ;
border-radius: 2px ;
border: 1px solid var(--border) ;
background: transparent ;
}
.form-control {
min-height: 48px;
border-radius: 2px;
}
.form-control:focus {
box-shadow: none ;
border-color: var(--border) ;
}
.text-primary {
color: var(--textprimary) ;
}
.form-control {
min-height: 48px;
border-radius: 2px;
}
.text-light {
color: var(--textLight) ;
}
.form_label {
font-size: 14px ;
font-weight: 400;
color: var(--textLight);
}
.form_error {
font-size: 14px ;
font-weight: 400;
}
/* ----------------------------------For dropdown Customizations------------------------------ */
.dropdown-menu.show {
box-shadow: var(--box-shadow);
border-radius: 2px;
}
.dropdownTitle {
background: transparent ;
border: none ;
padding: 0% ;
color: var(--textLight) ;
}
.dropdown_with_border {
background: transparent ;
border: 1px solid var(--border) ;
min-width: 392px ;
border-radius: 0px ;
color: var(--textLight) ;
display: flex ;
justify-content: space-between ;
align-items: center ;
}
.dropdown-toggle::after {
border: none ;
display: none ;
}
.dropdownBorder .dropdown-css.dropdown-menu {
width: 100% ;
}
.dropdown-css.dropdown-menu {
margin-top: 5px ;
border: none ;
padding: 0px ;
font-style: normal;
font-weight: 700;
font-size: var(----fs14);
line-height: 26px;
}
.dropdown-item.active,
.dropdown-item:active {
background-color: var(--textprimary) ;
}
/* ----------------------------------For dropdown Customizations------------------------------ */
.theme-background {
display: flex;
}
.theme-background > * {
width: 30px;
height: 30px;
}
.theme_background_input {
cursor: pointer;
border-radius: 5px;
}
.theme_background_input input {
margin-right: 20px;
}
.theme_container {
background: var(--hoverColor);
box-shadow: var(--box-shadow);
border-radius: 0px 0px 15px 15px;
position: fixed;
left: 45%;
top: 0px;
z-index: 1111;
}
.radio_check_theme input {
opacity: 0;
cursor: pointer;
}
/* -----------------------------------------For date Picker Customizations----------------------- */
.rmdp-container {
width: 100%;
position: relative;
z-index: auto ;
}
.rmdp-wrapper {
background: var(--bgColor) ;
}
.rmdp-ep-shadow:after {
box-shadow: var(--box-shadow) ;
}
.rmdp-container input {
width: 100%;
height: 48px;
border-radius: 2px;
background-color: transparent;
border: 1px solid var(--border) ;
padding-inline-start: 10px;
}
.rmdp-input:focus {
border: var(--border);
box-shadow: none ;
}
.rmdp-shadow {
box-shadow: var(--box-shadow) ;
}
.rmdp-ep-arrow {
visibility: hidden ;
}
.rmdp-arrow {
border-color: var(--textprimary) ;
margin-top: 7px ;
}
.rmdp-arrow-container:hover {
background-color: var(--hoverColor) ;
border-color: var(--textprimary) ;
}
.rmdp-week-day {
color: var(--textprimary) ;
}
.rmdp-day.rmdp-today span {
background-color: var(--textprimary) ;
color: var(--bgColor) ;
}
.rmdp-day span {
top: 4px ;
left: 7px ;
width: 33px ;
height: 30px ;
}
.rmdp-day:not(.rmdp-disabled, .rmdp-day-hidden) span:hover {
background-color: var(--hoverColor) ;
color: var(--textprimary) ;
}
.rmdp-day.rmdp-selected span:not(.highlight) {
background-color: var(--textLight) ;
box-shadow: var(--box-shadow) ;
color: var(--bgColor) ;
}
.rmdp-panel-body li {
background-color: var(--textprimary) ;
color: var(--bgColor) ;
}
.rmdp-panel-body li .b-deselect {
background-color: var(--textprimary) ;
color: var(--bgColor) ;
}
/* -----------------------------------------For time Picker Customizations----------------------- */
.rc-time-picker-input {
background-color: transparent ;
border: none ;
font-size: 16px ;
height: 100% ;
margin-top: 5px ;
padding-left: 0px ;
color: var(--textdark) ;
position: relative ;
border: none ;
border-radius: 2px ;
}
.rc-time-picker-input {
outline: none ;
border: none ;
}
.rc-time-picker-panel {
min-width: 200px ;
}
.rc-time-picker-panel-input-wrap {
min-width: 200px ;
}
.rc-time-picker-panel-narrow {
min-width: 200px ;
}
.rc-time-picker-panel-select {
min-width: 100px ;
}
.rc-time-picker-panel-inner {
border: none ;
box-shadow: var(--box-shadow) ;
}
.rc-time-picker-panel-select-option-selected {
color: var(--textprimary) ;
background-color: var(--hoverColor) ;
}
.rc-time-picker-panel-select li:hover {
background-color: var(--hoverColor) ;
}
/* --------------------------------------For select---------------------------------- */
.custom_select_input__control {
background: transparent ;
min-height: 48px ;
border-radius: 2px ;
border-color: var(--border) ;
outline: none ;
box-shadow: none ;
}
.css-t3ipsp-control {
outline: none ;
box-shadow: none ;
border-color: var(--border) ;
}
.css-t3ipsp-control:hover {
outline: none ;
box-shadow: none ;
border-color: var(--border) ;
}
.custom_select_input__indicator-separator {
display: none ;
}
.custom_select_input__multi-value {
width: min-content ;
background: var(--border) ;
}
.custom_select_input__multi-value__label {
color: var(--textLight) ;
font-size: 12px ;
font-weight: 700 ;
}
.custom_select_input__multi-value__remove {
color: var(--textLight) ;
background: var(--border) ;
}
.custom_select_input__value-container--is-multi {
padding-top: 10px ;
padding-inline-start: 10px ;
}
@media (-webkit-min-device-pixel-ratio: 1.5) {
* {
zoom: 0.988;
}
}
@media (-webkit-min-device-pixel-ratio: 1.75) {
* {
zoom: 0.988;
}
}
@media (-webkit-min-device-pixel-ratio: 2) {
* {
zoom: 0.988;
}
}
@media (-webkit-min-device-pixel-ratio: 2.5) {
* {
zoom: 0.988;
}
}
@media (-webkit-min-device-pixel-ratio: 3) {
* {
zoom: 0.988;
}
}
/* ------------------------------------------------------------time input----------------------- */
.react-time-picker__inputGroup__input {
width: 50% ;
}