﻿
/* 
    Specific styles for evodemo module `nikolauscript`. 
    @author evomath
*/

/******************************************************************************/
/**************************** nikolauscript ***********************************/
/******************************************************************************/

/*=============================== HTM ========================================*/

#divDialog div p {
    text-align: center;
    font-family: sans-serif;
    font-size: 24px;
    padding: 8px;
}

#divDialog div.intro {
    background: #EEEEEE;
    color: #000000;
}

#divDialog div.question {
    background: #FFFFCC;
}

#divDialog div.question p {
    font-weight: bold;
}

#divDialog div.answer {
    color: #0000FF;
}

#divDialog div.answer p {
    font-weight: bold;
}

#divDialog div.answer.right {
    background: #00FF00;
}

#divDialog div.answer.wrong {
    background: #FF0000;
    color: #FFFF00;
}

/*============================ SVG ===========================================*/

svg.evo-math-ui-svg-Nikolaus *.clickable {
    cursor: pointer;        
}

svg.evo-math-ui-svg-Nikolaus path {
    stroke: rgba(255,255,0,0.3);
    stroke-width: 16;
    fill: none; 
}

/*------------------------- line ---------------------------------------------*/

svg.evo-math-ui-svg-Nikolaus g.edges line {
    stroke-width: 16;
    stroke: rgba(0,0,0,0);    
    fill: none;
    cursor: default;
}

svg.evo-math-ui-svg-Nikolaus g.edges line.used {
    stroke: #0000FF;
}

svg.evo-math-ui-svg-Nikolaus g.edges line.free {
    stroke: rgba(0,0,0,0.1);
}

svg.evo-math-ui-svg-Nikolaus g.edges line.choose {
    stroke: rgba(255,255,0,0.3);
}

svg.evo-math-ui-svg-Nikolaus g.edges line.choose:hover {
    stroke: #00FFFF;   
}

/*------------------------- circle -------------------------------------------*/

svg.evo-math-ui-svg-Nikolaus g.vertices circle {
    cursor: default;
}

svg.evo-math-ui-svg-Nikolaus g.vertices circle.visited {
    fill: #CCCCCC;
}

svg.evo-math-ui-svg-Nikolaus g.vertices circle.start {
    fill: #00FF00;
}

svg.evo-math-ui-svg-Nikolaus g.vertices circle.current {
    fill: #FFFF00;
}

svg.evo-math-ui-svg-Nikolaus g.vertices circle.finish {
    fill: #FF0000;
}

/*------------------------- text ---------------------------------------------*/

svg.evo-math-ui-svg-Nikolaus g.vertices text { 
    font-size: 24px; 
    font-family: sans-serif; 
    fill: blue; 
    cursor: default;
}

svg.evo-math-ui-svg-Nikolaus g.vertices text.select {
    cursor: pointer;
}



