151 lines
2.8 KiB
CSS
151 lines
2.8 KiB
CSS
#targetSelection h1 {
|
|
margin: 0.6em;
|
|
color: inherit;
|
|
text-align: center;
|
|
font-size: 180%;
|
|
}
|
|
|
|
#targetSelection #targets {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
#targetSelection #targets > li:last-child {
|
|
margin-bottom: -1rem;
|
|
border-bottom: none;
|
|
}
|
|
#targetSelection #targets > li:first-child {
|
|
margin-top: -1rem;
|
|
}
|
|
|
|
#targetSelection #targets > li {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
|
|
padding: 0.6rem 1rem;
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
}
|
|
#targetSelection #targets > li .main {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#targetSelection #targets > li p {
|
|
margin: 0.2em 0 0;
|
|
opacity: 0.8;
|
|
line-height: 1.2rem;
|
|
}
|
|
|
|
#targetSelection li .header {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#targetSelection .progressCircle {
|
|
margin-right: 0.6em;
|
|
}
|
|
#targetSelection .progressCircle svg {
|
|
width: 2em;
|
|
}
|
|
/* IE */
|
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
#targetSelection .progressCircle svg {
|
|
max-height: 2.5rem;
|
|
}
|
|
}
|
|
|
|
#targetSelection .progressCircle i {
|
|
color: #5de662;
|
|
font-size: 220%;
|
|
}
|
|
|
|
#targetSelection .optionTitle {
|
|
font-size: 115%;
|
|
font-weight: 500;
|
|
}
|
|
#targetSelection .optionTitle a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
#targetSelection .optionTitle a:hover,
|
|
#targetSelection #aidesGlimpse a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (hover: none) {
|
|
#targetSelection .optionTitle {
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 0.25em;
|
|
padding: 0.05em 0.4em;
|
|
font-size: 125%;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
#targetSelection #labelNew {
|
|
background: #e2011c; /* Couleur de la marianne */
|
|
border-radius: 0.3em;
|
|
padding: 0 0.3em;
|
|
}
|
|
|
|
#targetSelection .targetInputOrValue {
|
|
font-size: 135%;
|
|
margin-left: 0.6em;
|
|
text-align: right;
|
|
}
|
|
|
|
#targetSelection #aidesGlimpse {
|
|
font-size: 75%;
|
|
margin-top: 0.3em;
|
|
}
|
|
#targetSelection #aidesGlimpse a {
|
|
font-weight: 300;
|
|
}
|
|
#targetSelection .editable:not(.attractClick) {
|
|
border: 2px solid rgba(0, 0, 0, 0);
|
|
border-bottom: 1px dashed #ffffff91;
|
|
min-width: 2.5em;
|
|
margin: 0.2rem 0.6rem;
|
|
display: inline-block;
|
|
}
|
|
|
|
#targetSelection .attractClick.editable::before {
|
|
content: '€';
|
|
}
|
|
|
|
#targetSelection .attractClick,
|
|
#targetSelection .targetInput {
|
|
width: 5.5em !important;
|
|
display: inline-block;
|
|
text-align: right;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
cursor: text;
|
|
padding: 0;
|
|
padding: 0.2rem 0.6rem;
|
|
border-radius: 0.3rem;
|
|
border: 2px solid;
|
|
font-size: inherit;
|
|
}
|
|
|
|
#targetSelection .unit {
|
|
margin-left: 0.4em;
|
|
font-size: 110%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.input-error {
|
|
padding: 0 0.6em;
|
|
margin-right: 0.6em;
|
|
font-size: 90%;
|
|
font-style: italic;
|
|
color: #c0392b;
|
|
background: yellow;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#targetSelection .inputSuggestions {
|
|
margin: 0.6em 0;
|
|
}
|
|
|
|
/* Autre idée pour styler les checkboxes https://codepen.io/KenanYusuf/pen/PZKEKd */
|