mon-entreprise/source/components/TargetSelection.css

96 lines
1.6 KiB
CSS
Raw Normal View History

#targetSelection {
margin: 0 auto;
font-size: 90%;
max-width: 860px;
}
#targetSelection h2 {
margin: 2em;
}
#targetSelection ul {
text-align: left;
margin: 2em auto;
width: 80%;
}
#targetSelection label {
display: block;
margin-bottom: 1em;
display: flex;
vertical-align: middle;
cursor: pointer;
}
#targetSelection div {
margin-left: 1em;
}
#targetSelection .optionTitle {
font-size: 120%;
}
#targetSelection label p {
color: #555;
2017-12-11 14:42:03 +00:00
margin: 0;
}
#targetSelection input:checked + label .optionTitle {
font-weight: 600;
color: #2975d1;
}
#targetSelection input {
position: absolute;
z-index: -1;
opacity: 0;
}
#targetSelection input + label > i.fa {
max-width: 0.75em;
}
#targetSelection input + label > i.fa.fa-square-o {
color: #555;
display: inline;
}
#targetSelection input + label > i.fa.fa-check-square-o {
display: none;
}
#targetSelection input:checked + label > i.fa.fa-square-o {
display: none;
}
#targetSelection input:checked + label > i.fa.fa-check-square-o {
color: #2975d1;
display: inline;
}
#targetSelection label:hover > i.fa {
color: #2975d1;
}
#targetSelection #action {
text-align: center;
margin: 2em auto;
}
#targetSelection #action p {
font-size: 80%;
color: #4a89dc;
}
/* TODO styler les checkboxes https://codepen.io/KenanYusuf/pen/PZKEKd */
#targetSelection button {
color: white;
display: block;
background: #4a89dc;
padding: 0.3em 1em;
font-size: 200%;
width: 8em;
margin: 0 auto;
border: none;
box-shadow: 0px 9px 14px 0px rgba(0, 0, 0, 0.1);
opacity: 0.95;
}
#targetSelection button:hover {
box-shadow: none;
opacity: 1;
}