MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); | ||
/* Container | /* Container */ | ||
.gtranslate_wrapper { | .gtranslate_wrapper { | ||
padding: 8px 0 !important; | padding: 8px 0 !important; | ||
margin-bottom: 10px !important; | margin-bottom: 10px !important; | ||
width: 100% !important; | |||
} | } | ||
/* | /* Estilo do botão do menu principal */ | ||
. | .gt_container-inline .gt_switcher { | ||
font-family: inherit !important; | font-family: inherit !important; | ||
border: 1px solid #a2a9b1 !important; | border: 1px solid #a2a9b1 !important; | ||
border-radius: 6px !important; | border-radius: 6px !important; | ||
background-color: #ffffff !important; | |||
padding: 6px 12px !important; | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
. | /* Caixa principal quando focada/aberta */ | ||
. | .gt_container-inline .gt_switcher:hover, | ||
.gt_container-inline .gt_switcher.gt_active { | |||
border-color: #1B2826 !important; | border-color: #1B2826 !important; | ||
box-shadow: 0 0 0 1px #1B2826 !important; | box-shadow: 0 0 0 1px #1B2826 !important; | ||
} | } | ||
/* | /* Estilo das opções no dropdown (HTML customizado) */ | ||
.gt_container- | .gt_container-inline .gt_option { | ||
.gt_container- | color: #1B2826 !important; | ||
padding: 8px 12px !important; | |||
font-size: 0.875rem !important; | |||
transition: background-color 0.15s ease, color 0.15s ease !important; | |||
} | |||
/* Idioma Selecionado e Hover nas Opções (Verde Escuro #1B2826 com Texto Verde Lima) */ | |||
.gt_container-inline .gt_option:hover, | |||
.gt_container-inline .gt_option.gt_selected { | |||
background-color: #1B2826 !important; | background-color: #1B2826 !important; | ||
color: #BFFF00 !important; | color: #BFFF00 !important; | ||
font-weight: 600 !important; | |||
} | } | ||