MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
* Podes apagar esta linha do alert depois de veres que o botão apareceu | * Podes apagar esta linha do alert depois de veres que o botão apareceu | ||
*/ | */ | ||
/** | /** | ||
| Line 39: | Line 39: | ||
.css({ | .css({ | ||
'position': 'absolute', | 'position': 'absolute', | ||
'top': ' | 'top': '10px', // Mais espaço do topo | ||
'right': ' | 'right': '10px', // Mais espaço da direita | ||
'z-index': '100', | 'z-index': '100', | ||
'padding': ' | 'padding': '8px 16px', // Aumenta o tamanho (altura e largura) | ||
'background': '# | 'background': '#28a745', // COR: Verde (podes mudar para #000 para preto, etc) | ||
'color': '#fff', | 'color': '#fff', | ||
'border': 'none', | 'border': 'none', | ||
'border-radius': ' | 'border-radius': '8px', // CORNER RADIUS: Mais arredondado | ||
'cursor': 'pointer', | 'cursor': 'pointer', | ||
'font-size': ' | 'font-size': '14px', // FONTE: Maior | ||
'font-weight': 'bold' | 'font-weight': 'bold', | ||
'transition': '0.3s' // Suaviza a mudança de cor | |||
}); | }); | ||