MediaWiki:Common.css: differenze tra le versioni

Da Wiki The-West IT.
Vai alla navigazione
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 15: Riga 15:
     /* Position the tooltip text */
     /* Position the tooltip text */
     position: absolute;
     position: absolute;
     z-index: 1000;
     z-index: 9999999999;
     top: 0;
     top: 0;
     left: 125%;
     left: 125%;

Versione delle 16:17, 17 dic 2016

.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: 9999999999;
    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;
}