mon-entreprise/source/components/Results.css

160 lines
2.3 KiB
CSS

#results {
padding: .1em;
background: #333350;
font-size: 80%;
color: white;
padding: .6em 0;
text-align: center;
width: 100%;
position: fixed;
bottom: 0;
left: 0;
border-top: 3px solid white;
}
#results.started {
border: none;
box-shadow: 1px -7px 20px 2px #ccc;
}
#results #results-titles {
color: white;
width: 18%;
display: inline-block;
float: left;
line-height: 1.2em;
margin: 0;
margin-left: .5em;
padding: 0 1em;
font-weight: 400;
font-size: 120%;
text-align: left;
}
#results #results-titles h2 {
font-size: 250%;
margin: .4em 0;
}
#results #results-titles p {
color: inherit;
}
#results #results-titles i {
margin: 0 .3em;
}
#results #resultText {
font-weight: 600;
font-size: 100%;
}
#results ul {
display: inline-flex;
flex-wrap: wrap;
justify-content: space-around;
height: 100%;
width: 80%;
list-style: none;
padding-left: 0;
margin-bottom: 0;
}
@media (max-width: 1280px) {
#results {
padding: 0;
}
#results #results-titles {
width: 100%;
text-align: center;
}
#results #results-titles p {
margin-right: 3em;
}
#results #results-titles h2 {
display: none;
}
#results #results-titles #resultText {
font-size: 120%
}
#results h2 {
margin: 0.3em 1em 0 0;
display: inline-block;
}
#results #results-titles > p {
display: inline-block;
}
#results ul {
width: 100%;
}
}
#results li {
margin: .2em 1em 0;
text-align: center;
}
#results li a {
text-decoration: none;
}
#results .rule-box {
padding: 0 1em;
color: #333350;
background: white;
border-radius: 3px;
white-space: nowrap;
color: #333350;
min-width: 15em;
}
#results li:hover .rule-box {
background: #ddd;
}
#results li.irrelevant .rule-box {
background: rgba(255, 255, 255, 0.5);
}
#results li .pointer {
font-size: 300%;
line-height: .6em;
visibility: hidden;
}
#results li.pointedOut .pointer {
visibility: visible;
}
#results li.number p {
color: #4A89DC;
font-weight: bold;
}
#results .rule-type {
background: #333350;
color: white;
border: none;
font-size: 75%;
line-height: 2em;
font-weight: 800;
margin: .6em 0 .1em;
}
#results .rule-name {
font-size: 150%;
}
#results li p {
margin: 0;
padding: 1em 0;
font-size: 120%;
color: inherit;
}
#results li.unsatisfied p {
font-style: italic;
}
#results li.irrelevant p {
font-weight: 600;
}
#results li p .figure {
font-size: 250%;
}