MediaWiki:Common.css: differenze tra le versioni

Da Wiki The-West IT.
Vai alla navigazione
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 1: Riga 1:
/* Tooltip main */
.tooltip {
.tooltip {
     position: relative;
     position: relative;
Riga 33: Riga 34:
     visibility: visible;
     visibility: visible;
     opacity: 1;
     opacity: 1;
}
/* Grafica del popup */
.popup {
    position:relative;
    width:100%;
    bacground:none;
}
}

Versione delle 10:28, 19 dic 2016

/* Tooltip main */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #e7ded4;
    text-align: center;
    padding: 10px 10px;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 999999999;
    top: 0;
    left: 125%;
    margin-left: 0;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
    
    /*Box shadow*/
    box-shadow: 2px 2px 10px #000;
}


/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Grafica del popup */
.popup {
    position:relative;
    width:100%;
    bacground:none;
}