Diferencia entre revisiones de «MediaWiki:Gadget-CollapsibleTOC.css»

De Wikcionario, el diccionario libre
Contenido eliminado Contenido añadido
algo más simple, .toc-number-headings -> .toc-no-number
font-family y font-weight ya no son necesarios, rebajo margin-right a 0.3em; .tocnumber también debe ser inline para evitar el salto de línea en Chrome
 
(No se muestran 3 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
.tocnumber, .toctext {
.toc-no-number .tocnumber {
display: none;
display: inline;
}
}


.collapsibleToc-button {
.collapsibleToc-button {
font-family: courier, monospace, mono;
font-weight: bold;
cursor: pointer;
cursor: pointer;
margin-right: 0.3em;
/* http://css-tricks.com/almanac/properties/u/user-select/ */
/* http://css-tricks.com/almanac/properties/u/user-select/ */

Revisión actual - 23:20 7 dic 2015

.tocnumber, .toctext {
	display: inline;
}

.collapsibleToc-button {
	cursor: pointer;
	margin-right: 0.3em;
	
	/* http://css-tricks.com/almanac/properties/u/user-select/ */
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	
	/* No support for these yet, use at own risk */
	-o-user-select: none;
	user-select: none;
}