MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | ||
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); | |||
/* Esconde as subpáginas */ | /* Esconde as subpáginas */ | ||
. | .wiki-submenu { | ||
display: none !important; | display: none !important; | ||
padding-left: 15px !important; | padding-left: 15px !important; | ||
| Line 12: | Line 13: | ||
} | } | ||
. | .wiki-submenu.is-open { | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* | /* Desenha a seta */ | ||
. | .wiki-toggle-btn { | ||
cursor: pointer; | cursor: pointer; | ||
display: inline-block; | display: inline-block; | ||
| Line 32: | Line 33: | ||
/* Quando clicado (Aberto), roda para baixo igual à imagem image_5452b6.png */ | /* Quando clicado (Aberto), roda para baixo igual à imagem image_5452b6.png */ | ||
. | .wiki-toggle-btn.is-active { | ||
transform: rotate(90deg); | transform: rotate(90deg); | ||
} | } | ||
| Line 307: | Line 308: | ||
} | } | ||
} | } | ||
| Line 614: | Line 616: | ||
} | } | ||
/* Botão Técnico Atlas - Cores Customizadas */ | /* Botão Técnico Atlas - Cores Customizadas (Elemento exterior) */ | ||
.mw-parser-output .atlas-btn { | .mw-parser-output .atlas-btn { | ||
display: inline-block !important; | display: inline-block !important; | ||
padding | /* Retirado o padding daqui para passar para o link */ | ||
background-color: #1b2826 !important; /* Cor base escura */ | background-color: #1b2826 !important; /* Cor base escura */ | ||
border: 1px solid #1b2826 !important; | border: 1px solid #1b2826 !important; | ||
| Line 627: | Line 629: | ||
} | } | ||
/* Link dentro do botão - | /* Link dentro do botão - AGORA COM O CLIQUE EM TODA A ÁREA */ | ||
.mw-parser-output .atlas-btn a, | .mw-parser-output .atlas-btn a, | ||
.mw-parser-output .atlas-btn a:link, | .mw-parser-output .atlas-btn a:link, | ||
| Line 633: | Line 635: | ||
.mw-parser-output .atlas-btn a:hover, | .mw-parser-output .atlas-btn a:hover, | ||
.mw-parser-output .atlas-btn a:active { | .mw-parser-output .atlas-btn a:active { | ||
display: block !important; /* Faz o link ocupar 100% da largura e altura do botão */ | |||
padding: 10px 22px !important; /* O clique agora funciona em toda esta área! */ | |||
color: #ffffff !important; | color: #ffffff !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||