Commit da03d40d authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

ajout bootstrap

parent 2443e709
......@@ -340,4 +340,9 @@ btnn.click(function() {
// xhr.send(data);
// Ajouter dans le html la div de peda_multi/OVH_pedamulti/speech.txt
\ No newline at end of file
// Ajouter dans le html la div de peda_multi/OVH_pedamulti/speech.txt
function bg2white() {
document.getElementById('textZone').classList.toggle('textZone-white');
document.getElementById('textZone').classList.toggle('graphContours');
}
\ No newline at end of file
......@@ -46,6 +46,24 @@ h2 {
padding: 10px;
font-weight:bold;
font-size: 2em;
position: relative;
}
.textZone-white {
background-color: white;
color: black;
}
.graphContours {
-webkit-text-stroke-width: 0.5px;
-webkit-text-stroke-color: black;
}
.outputParam {
position: absolute;
right: 0px;
top: 0px;
padding: 15px;
}
.textZoneExp {
......
......@@ -4,6 +4,7 @@
<head>
<title>Clavier phonographémique</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="{% static 'styles/kinephones_style_v2.css'%}">
<link rel="stylesheet" type="text/css" href="{% static 'styles/clavier.css'%}">
</head>
......@@ -14,6 +15,9 @@
<button id="div2png">Exporter en png (expérimental)</button>
<button id="div2pdf">Exporter en pdf (expérimental)</button>
<div class="fenetre textZone" id="textZone" contenteditable="true"></div>
<div class="outputParam" onclick="bg2white()">
<span class="glyphicon glyphicon-adjust" aria-hidden="true" title="Changer la couleur du fond"></span>
</div>
</div>
<div class="boutons">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment