soignant-nomade-ui
Version:
A react library for the soignant-nomade design system. You can find a storybook project inside it
167 lines (141 loc) • 3.52 kB
CSS
/*
* Replace this with your own classes
*
* e.g.
* .container {
* }
*/
.Input-module_input__r8F4-::-moz-placeholder {
color: #ABA9A9;
font-style: italic;
font-weight: 300;
}
.Input-module_input__r8F4-::placeholder {
color: #ABA9A9;
font-style: italic;
font-weight: 300;
}
.Input-module_input__r8F4-:focus {
outline: none;
}
.Textarea-module_textarea__J8OuJ::-moz-placeholder {
color: #ABA9A9;
font-weight: 300;
}
.Textarea-module_textarea__J8OuJ::placeholder {
color: #ABA9A9;
font-weight: 300;
}
.Textarea-module_textarea__J8OuJ:focus {
outline: none
}
.SwitchButton-module_switch__2ryHE {
position: relative;
display: inline-block;
width: 36px;
height: 22px;
}
.SwitchButton-module_slider__lznb2 {
position: absolute;
cursor: pointer;
top: 0;
left: -2px;
right: 0;
bottom: 0;
background-color: #F4F4F4;
transition: .4s;
}
.SwitchButton-module_slider__lznb2:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 4px;
bottom: 2px;
background-color: white;
transition: .4s;
}
.SwitchButton-module_slider__lznb2.SwitchButton-module_round__l18zU {
border-radius: 34px;
}
.SwitchButton-module_slider__lznb2.SwitchButton-module_round__l18zU:before {
border-radius: 50%;
}
.SwitchButton-module_switchBox__qD2-1:checked + .SwitchButton-module_slider__lznb2 {
background-color: #153176;
}
.SwitchButton-module_switchBox__qD2-1:focus + .SwitchButton-module_slider__lznb2 {
box-shadow: 0 0 1px #153176;
}
.SwitchButton-module_switchBox__qD2-1:checked + .SwitchButton-module_slider__lznb2:before {
transform: translateX(14px);
}
.RadioButton-module_radio__HY215 {
background-color: white;
}
.RadioButton-module_radio__HY215:hover {
cursor: pointer;
}
.RadioButton-module_radio__HY215:checked + .RadioButton-module_iconCheck__yG-VB{
background-color: #153176;
}
.RadioButton-module_radio__HY215:checked + .RadioButton-module_iconCheck__yG-VB::before{
color: white;
}
.RadioButton-module_radio__HY215:checked {
background: url("./Check.png"), #86D1F5;
background-repeat: no-repeat;
background-position: center;
background-position: 4px 5px;
}
.CheckButton-module_checkbutton__Yy8JL {
background: white;
}
.CheckButton-module_checkbutton__Yy8JL:hover {
cursor: pointer;
}
.CheckButton-module_checkbutton__Yy8JL:checked {
background: url("./Check.png"), #86D1F5;
background-repeat: no-repeat;
background-position: center;
background-position: 4px 5px;
}
.RangeSlider-module_rangeSlider__ifD1T {
-webkit-appearance: none;
width: 100%;
height: 5px;
border-radius: 50px;
background: #F1F1F1;
outline: none;
opacity: 1;
transition: opacity .2s;
}
.RangeSlider-module_rangeSlider__ifD1T:hover{
opacity: 0.7;
}
.RangeSlider-module_rangeSlider__ifD1T::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: radial-gradient(circle farthest-side,#fff .25em,#153176 .56em);;
cursor: pointer;
}
.RangeSlider-module_rangeSlider__ifD1T::-moz-range-thumb {
width: 15px;
height: 15px;
border-radius: 50%;
background: radial-gradient(circle farthest-side,#153176 .25em,#fff .56em);;
cursor: pointer;
}
.InputSelect-module_select__QurwL:focus {
outline-color: #86D1F5 ;
}
.InputSelect-module_select__QurwL{
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
text-indent: 1px;
cursor: pointer;
}