This commit is contained in:
alexandre-pereira
2015-03-18 15:24:25 +01:00
parent 4c8802f7bb
commit 90ba3ac6af
9 changed files with 23 additions and 52 deletions

View File

@ -404,6 +404,8 @@ left: 56.3333%%;
.mg__tile--outside {
background-color: #dcdee1;
box-shadow: 0 0 0 1px #787a80;
background-size: cover;
background-position: center center;
}
.mg__tile--inside {
@ -457,6 +459,9 @@ left: 56.3333%%;
*
* A simple helper class for game buttons. Edit at your will.
*/
.mg__button span {
vertical-align:middle;
}
.mg__button {
margin: 0;
display: inline-block;
@ -464,6 +469,8 @@ left: 56.3333%%;
color: #fff;
font-family: "Roboto Slab", serif;
font-size: 14px;
line-height:18px;
appearance: none;
background: #ff3c50;
border: none;

View File

@ -1,6 +1,6 @@
var bits=80; // how many bits
var bits=120; // how many bits
var speed=33; // how fast - smaller is faster
var bangs=5; // how many can be launched simultaneously (note that using too many can slow the script down)
var bangs=15; // how many can be launched simultaneously (note that using too many can slow the script down)
var colours=new Array("#03f", "#f03", "#0e0", "#93f", "#0cf", "#f93", "#f0c");
// blue red green purple cyan orange pink

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,19 +0,0 @@
// fonction qui recherche le referent donnee en parametre
function rechercherReferent()
{
// on recupere le mot cle rentrer dans le champs de recherche
var motCle = document.getElementById("searchfield").value;
//boucle sur chaque item
var list = document.getElementsByClassName("item");
for (var i = 0; i < list.length; i++)
{
referent = list[i].getElementsByClassName('nomRef')[0].innerHTML; //recupere le nom du referent referent
if (referent.indexOf(motCle) > -1) //on compare si la recherche correspond à un nom
{
//on remplace la classe
list[i].className = "item active";
}
}
}