mon-entreprise/source/components/TargetSelection.css

128 lines
2.2 KiB
CSS

#targetsContainer {
padding: 0.2em .5em;
border-radius: 0.6em;
box-shadow: 0px 0px 13px 3px rgba(0, 0, 0, 0.25)
}
#targetSelection h1 {
margin: 0.6em;
color: inherit;
text-align: center;
font-size: 180%;
}
#targetSelection #action {
text-align: center;
margin: 1em auto;
}
#targetSelection #action p {
color: #4b4b66;
margin-bottom: 1em;
font-size: 120%;
}
#targetSelection #targets {
margin: .4em auto;
/* For the checkbox that will appear */
padding: 0;
}
#targetSelection #targets li {
margin-bottom: .4em;
background: rgba(0, 0, 0, 0.25);
display: flex;
align-items: center;
justify-content: space-between;
padding: .4em .6em .4em;
border-radius: .3em;
}
#targetSelection #targets > li p {
margin: .2em 0 0;
opacity: .80;
line-height: 1.2em;
}
#targetSelection li .header {
display: flex;
align-items: center;
}
#targetSelection .progressCircle {
margin-right: .6em;
}
#targetSelection .progressCircle svg {
width: 2em;
}
#targetSelection .progressCircle i {
color: #5de662;
font-size: 220%
}
#targetSelection .texts {
margin: 0 .4em 0;
}
#targetSelection .optionTitle {
font-size: 115%;
font-weight: 600;
}
#targetSelection .optionTitle a {
color: inherit
}
#targetSelection .optionTitle a:hover {
text-decoration: underline;
}
#targetSelection .targetInputOrValue
{
font-size: 120%;
display: flex;
justify-content: flex-end;
}
#targetSelection .editable {
border-bottom: 1px dashed #ffffff91;
min-width: 2.5em;
display: inline-block;
}
#targetSelection .attractClick,
#targetSelection input[type='number'] {
width: 4em !important;
display: inline-block;
height: 1.6em;
text-align: right;
font-weight: 600;
padding: 0;
padding: 0em 0.5em;
background: white;
border-radius: 0.2em;
border: none;
box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.45);
color: #333;
font-size: inherit
}
#targetSelection .unit {
margin-left: .6em;
font-size: 125%;
vertical-align: middle;
}
.input-error {
padding: 0 .6em;
margin-right: .6em;
font-size: 90%;
font-style: italic;
color: #c0392b;
background: yellow;
font-weight: 600;
}
/* Autre idée pour styler les checkboxes https://codepen.io/KenanYusuf/pen/PZKEKd */