MediaWiki:Common.css: различия между версиями
Внешний вид
Glamyr (обсуждение | вклад) Нет описания правки |
Glamyr (обсуждение | вклад) Нет описания правки |
||
| Строка 246: | Строка 246: | ||
.tg-custom-palette-icon { | .tg-custom-palette-icon { | ||
display: block !important; | display: block !important; | ||
width: | width: 32px !important; | ||
height: | height: 32px !important; | ||
background-color: transparent !important; | background-color: transparent !important; | ||
background-image: url('/images/f/f6/Palette.png') !important; | background-image: url('/images/f/f6/Palette.png') !important; | ||
| Строка 253: | Строка 253: | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-position: center !important; | background-position: center !important; | ||
transition: filter 0.3s ease !important; | transition: filter 0.3s ease, transform 0.2s ease !important; | ||
} | } | ||
.tg-custom-palette-icon:hover { | |||
transform: scale(1.1) !important; | |||
} | } | ||
body:not(.theme-default) .tg-custom-palette-icon, | body:not(.theme-default) .tg-custom-palette-icon, | ||
body.theme-active-dark .tg-custom-palette-icon { | body.theme-active-dark .tg-custom-palette-icon { | ||
filter: drop-shadow(0 0 | filter: drop-shadow(0 0 6px var(--accent)) !important; | ||
} | |||
#p-tg-theme, #p-tg-theme-dropdown-label { | |||
max-width: none !important; | |||
max-height: none !important; | |||
padding: 0 !important; | |||
} | } | ||