MediaWiki:Common.css: differenze tra le versioni
Vai alla navigazione
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 37: | Riga 37: | ||
/* Grafica del popup */ | /* Grafica del popup */ | ||
div.popupbg_tl, div.popupbg_tr, div.popupbg_bl, div.popupbg_br { | |||
background-image: url("https://wiki.the-west.it/images/6/68/Popup.png"); | |||
position: absolute; | |||
z-index: -1; | |||
} | |||
.popupbg_tl { | |||
background-position: left top; | |||
bottom: 50%; | |||
left: 0; | |||
right: 50%; | |||
top: 0; | |||
} | |||
.popupbg_tr { | |||
background-position: right top; | |||
bottom: 50%; | |||
right: 0; | |||
top: 0; | |||
width: 50%; | |||
} | |||
.popupbg_bl { | |||
background-position: left bottom; | |||
bottom: 0; | |||
height: 50%; | |||
left: 0; | |||
right: 50%; | |||
} | |||
.popupbg_br { | |||
background-position: right bottom; | |||
bottom: 0; | |||
height: 50%; | |||
right: 0; | |||
width: 50%; | |||
} | |||
.popup { | .popup { | ||
position:relative; | position:relative; |
Versione delle 11:15, 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 */ div.popupbg_tl, div.popupbg_tr, div.popupbg_bl, div.popupbg_br { background-image: url("https://wiki.the-west.it/images/6/68/Popup.png"); position: absolute; z-index: -1; } .popupbg_tl { background-position: left top; bottom: 50%; left: 0; right: 50%; top: 0; } .popupbg_tr { background-position: right top; bottom: 50%; right: 0; top: 0; width: 50%; } .popupbg_bl { background-position: left bottom; bottom: 0; height: 50%; left: 0; right: 50%; } .popupbg_br { background-position: right bottom; bottom: 0; height: 50%; right: 0; width: 50%; } .popup { position:relative; width:100%; background:none; } .popupbg1 { width:22px; height:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") top left; margin:0px; padding:0px; } .popupbg2 { height:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") top center; margin:0px; padding:0px; } .popupbg3 { width:22px; height:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") top right; margin:0px; padding:0px; } .popupbg4 { width:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") center left; margin:0px; padding:0px; } .popupbg5 { background:url("https://wiki.the-west.it/images/6/68/Popup.png") center center; margin:0px; padding:0px; } .popupbg6 { width:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") center right; margin:0px; padding:0px; } .popupbg7 { width:22px; height:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") bottom left; margin:0px; padding:0px; } .popupbg8 { height:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") bottom center; margin:0px; padding:0px; } .popupbg9 { width:22px; height:22px; background:url("https://wiki.the-west.it/images/6/68/Popup.png") bottom right; margin:0px; padding:0px; }