🎨 Style de la boîte d'aide plus marqué : surligneur

pull/138/head
mama 2017-11-24 13:05:12 +01:00
parent 3158bd1263
commit 1978877dab
3 changed files with 13 additions and 31 deletions

View File

@ -1,17 +1,12 @@
#sim #helpWrapper {
max-width: 85%;
margin: 3em auto;
margin: 1em auto;
display: none;
}
#sim #help {
box-shadow: -1px 1px 15px 1px #eee;
border: 1px solid #aaa;
border-radius: .3em;
padding: .6em 1em;
color: #444;
background: white;
border-radius: 0.2em;
padding: 0.1em 1em;
background: #e7f8e1;
position: relative;
}
@ -19,34 +14,23 @@
font-style: italic;
font-size: 90%;
border-left: 4px solid #eee;
margin-left: .6em;
padding-left: .6em;
margin-left: 0.6em;
padding-left: 0.6em;
}
#sim #helpWrapper.active {
display: block;
}
#sim #help i.fa-info-circle {
margin-right: .3em;
text-align: center;
width: 100%;
position: absolute;
top: 0;
font-size: 1000%;
color: black;
opacity: .03
}
#sim #help i.fa-times-circle {
color: #4a89dc;
font-size: 120%;
position: absolute;
top: .6em;
right: .6em;
cursor: pointer;
color: #4a89dc;
font-size: 120%;
position: absolute;
top: 0.6em;
right: 0.6em;
cursor: pointer;
}
#sim #help h3 {
margin: .3em 0;
margin: 0.3em 0;
}

View File

@ -35,7 +35,6 @@ export default class Aide extends Component {
return (
<div id="helpWrapper" className="active">
<section id="help">
<i className="fa fa-info-circle"></i>
<i
className="fa fa-times-circle"
onClick={stopExplaining} ></i>

View File

@ -46,7 +46,6 @@
.step {
position: relative;
margin-bottom: 5.5em;
}
.step {