MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 89: | Line 89: | ||
body.skin-vector-2022 .vector-sticky-header-container, | body.skin-vector-2022 .vector-sticky-header-container, | ||
body.skin-vector-2022 .vector-sticky-header { | body.skin-vector-2022 .vector-sticky-header { | ||
background-color: # | background-color: #B3C0CC !important; | ||
border-bottom: 0 !important; | border-bottom: 0 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
Revision as of 07:04, 11 May 2026
/* Sidebar CategoryTree */
.vector-main-menu #p-categorytree-portlet .CategoryTreeChildren,
#p-categorytree-portlet .CategoryTreeChildren {
margin-left: 0 !important;
padding-left: 14px !important;
border-left: 0 !important;
overflow: visible !important;
}
.vector-main-menu #p-categorytree-portlet .CategoryTreeItem,
#p-categorytree-portlet .CategoryTreeItem {
display: flex !important;
align-items: flex-start !important;
justify-content: space-between !important;
gap: 10px !important;
padding: 6px 0 !important;
margin: 0 !important;
}
.vector-main-menu #p-categorytree-portlet .CategoryTreeItem > bdi,
#p-categorytree-portlet .CategoryTreeItem > bdi {
order: 1 !important;
flex: 1 !important;
min-width: 0 !important;
}
.vector-main-menu #p-categorytree-portlet .CategoryTreeBullet,
#p-categorytree-portlet .CategoryTreeBullet {
order: 2 !important;
margin-left: 8px !important;
width: 18px !important;
height: 18px !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0 !important;
}
.vector-main-menu #p-categorytree-portlet .CategoryTreeToggle,
#p-categorytree-portlet .CategoryTreeToggle {
display: inline-block !important;
width: 18px !important;
height: 18px !important;
background: none !important;
background-image: none !important;
-webkit-mask-image: none !important;
mask-image: none !important;
text-indent: 0 !important;
overflow: visible !important;
position: relative !important;
font-size: 0 !important;
line-height: 1 !important;
transition: transform 0.2s ease !important;
}
.vector-main-menu #p-categorytree-portlet .CategoryTreeToggle::before,
#p-categorytree-portlet .CategoryTreeToggle::before {
content: "\276F" !important;
display: block !important;
color: #2c3993 !important;
font-size: 16px !important;
font-weight: 400 !important;
line-height: 18px !important;
font-family: Arial, sans-serif !important;
}
/* đóng: mũi tên sang phải */
#p-categorytree-portlet .CategoryTreeToggle[aria-expanded="false"] {
transform: rotate(0deg) !important;
}
/* mở: quay xuống */
#p-categorytree-portlet .CategoryTreeToggle[aria-expanded="true"] {
transform: rotate(90deg) !important;
}
/* page cuối: không có mũi tên */
#p-categorytree-portlet .CategoryTreePageBullet,
#p-categorytree-portlet .CategoryTreeEmptyBullet {
display: none !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
}
/* Simple top header style */
body.skin-vector-2022 .vector-header-container,
body.skin-vector-2022 .vector-header,
body.skin-vector-2022 .vector-sticky-header-container,
body.skin-vector-2022 .vector-sticky-header {
background-color: #B3C0CC !important;
border-bottom: 0 !important;
box-shadow: none !important;
}
body.skin-vector-2022 .vector-header {
min-height: 72px !important;
padding: 0 24px !important;
max-width: none !important;
}
body.skin-vector-2022 .mw-logo {
min-height: 72px !important;
display: flex !important;
align-items: center !important;
text-decoration: none !important;
}
body.skin-vector-2022 .mw-logo-wordmark {
color: #fff !important;
font-size: 24px !important;
font-weight: 700 !important;
line-height: 1 !important;
}
body.skin-vector-2022 .mw-logo-icon {
display: none !important;
}
body.skin-vector-2022 #vector-main-menu-dropdown-label,
body.skin-vector-2022 #vector-main-menu-dropdown-label .vector-icon,
body.skin-vector-2022 .vector-user-links a,
body.skin-vector-2022 #lang-switcher,
body.skin-vector-2022 #lang-select {
color: #fff !important;
}
body.skin-vector-2022 #lang-select {
background: transparent !important;
border: 0 !important;
}
/* language select: đóng màu trắng, mở ra chữ đen nền trắng */
body.skin-vector-2022 #lang-select {
color: #fff !important;
background: transparent !important;
border: 0 !important;
}
body.skin-vector-2022 #lang-select option {
color: #202122 !important;
background: #fff !important;
}
body.skin-vector-2022 .vector-dropdown-content a,
body.skin-vector-2022 .vector-dropdown-content a span,
body.skin-vector-2022 .vector-dropdown-content .vector-icon {
color: #202122 !important;
fill: #202122 !important;
}