Utente:Raoli/common.css

Da Wikivoyage.

Nota: dopo aver salvato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.

  • Firefox / Safari: tenere premuto il tasto delle maiuscole e fare clic su Ricarica, oppure premere Ctrl-F5 o Ctrl-R (⌘-R su Mac)
  • Google Chrome: premere Ctrl-Shift-R (⌘-Shift-R su un Mac)
  • Internet Explorer: tenere premuto il tasto Ctrl mentre si fa clic su Refresh, oppure premere Ctrl-F5
  • Opera: svuotare completamente la cache dal menu Strumenti → Preferenze
/* Simple UI
Autore: Charlie Hewitt
Licenza: CC-BY 3.0
Fonte: //www.icondeposit.com/code:2
*/
.button {
    background: #e7e7e7; /* Old browsers */
    background: -moz-linear-gradient(top, #e7e7e7 0%, #b5b5b5 98%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e7e7e7), color-stop(98%,#b5b5b5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e7e7e7 0%,#b5b5b5 98%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e7e7e7 0%,#b5b5b5 98%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e7e7e7 0%,#b5b5b5 98%); /* IE10+ */
    background: linear-gradient(top, #e7e7e7 0%,#b5b5b5 98%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7e7e7', endColorstr='#b5b5b5',GradientType=0 ); /* IE6-9 */
    border:1px solid rgba(0,0,0,0.9);
    -moz-box-shadow: inset 0 1px 0 0 #fff, 0 3px 4px 0 rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 0 1px 0 0 #fff, 0 3px 4px 0 rgba(0,0,0,0.5);
    box-shadow: inset 0 1px 0 0 #fff, 0 3px 4px 0 rgba(0,0,0,0.5);
    text-align:center;
    color:#333;
    text-shadow: #FFF 0 1px 0;
    line-height:36px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:500;
}
 
.rectbutton {
    width: 80px;
    height:35px;
    border-radius: 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

/*
Pulsante info vettoriale
*/
.Info {
	display: block;
	width: 172px;
	height: 172px;
	background: url('//upload.wikimedia.org/wikipedia/commons/a/ae/Vector_Info_Button_-_double.png') bottom;
	text-indent: -99999px;
}
.Info:hover {
	background-position: 0 0;
}

.Info100 {
	display: block;
	width: 100px;
	height: 100px;
	background: url('//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Vector_Info_Button_-_double.png/100px-Vector_Info_Button_-_double.png') bottom;
	text-indent: -99999px;
}
.Info100:hover {
	background-position: 0 0;
}

.Info40 {
	display: block;
	width: 40px;
	height: 40px;
	background: url('//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Vector_Info_Button_-_double.png/40px-Vector_Info_Button_-_double.png') bottom;
	text-indent: -99999px;
}
.Info40:hover {
	background-position: 0 0;
}
/*
Pulsante info metallico
*/
.Infoa {
	display: block;
	width: 206px;
	height: 209px;
	background: url('//upload.wikimedia.org/wikipedia/commons/7/79/Metal_Info_Button.png') bottom;
	text-indent: -99999px;
}
.Infoa:hover {
	display: block;
	width: 206px;
	height: 209px;
	background: url('//upload.wikimedia.org/wikipedia/commons/7/79/Metal_Info_Button.png') center;
	text-indent: -99999px;
}
.Infoa:active {
	background-position: 0 0;
}
.Infoa100 {
	display: block;
	width: 100px;
	height: 101px;
	background: url('//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Metal_Info_Button.png/100px-Metal_Info_Button.png') bottom;
	text-indent: -99999px;
}
.Infoa100:hover {
	display: block;
	width: 100px;
	height: 101px;
	background: url('//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Metal_Info_Button.png/100px-Metal_Info_Button.png') center;
	text-indent: -99999px;
}
.Infoa100:active {
	background-position: 0 0;
}
.Infoa40 {
	display: block;
	width: 40px;
	height: 41px;
	background: url('//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Metal_Info_Button.png/40px-Metal_Info_Button.png') bottom;
	text-indent: -99999px;
}
.Infoa40:hover {
	display: block;
	width: 40px;
	height: 41px;
	background: url('//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Metal_Info_Button.png/40px-Metal_Info_Button.png') center;
	text-indent: -99999px;
}
.Infoa40:active {
	background-position: 0 0;
}