MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* CategoryTree sidebar - make it look like the compact chevron menu */ | ||
.vector-main-menu #p-categorytree-portlet .CategoryTreeChildren, | |||
#p-categorytree-portlet .CategoryTreeChildren { | |||
margin-left: 0 !important; | |||
padding-left: 14px !important; | |||
border-left: 0 !important; | |||
.vector-main-menu #p- | |||
. | |||
padding: | |||
} | } | ||
.vector-main-menu #p-categorytree-portlet .CategoryTreeItem, | |||
.vector-main-menu | #p-categorytree-portlet .CategoryTreeItem { | ||
#p- | |||
#p- | |||
.CategoryTreeItem { | |||
display: flex !important; | display: flex !important; | ||
align-items: flex-start !important; | align-items: flex-start !important; | ||
justify-content: space-between !important; | justify-content: space-between !important; | ||
padding: | gap: 10px !important; | ||
padding: 6px 0 !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
.vector-main-menu #p-categorytree-portlet .CategoryTreeItem > bdi, | |||
.vector-main-menu .CategoryTreeItem | #p-categorytree-portlet .CategoryTreeItem > bdi { | ||
.CategoryTreeItem | order: 1 !important; | ||
flex: 1 !important; | flex: 1 !important; | ||
min-width: 0 !important; | min-width: 0 !important; | ||
} | } | ||
.vector-main-menu #p-categorytree-portlet .CategoryTreeBullet, | |||
. | .vector-main-menu #p-categorytree-portlet .CategoryTreePageBullet, | ||
#p-categorytree-portlet .CategoryTreeBullet, | |||
#p-categorytree-portlet .CategoryTreePageBullet { | |||
. | |||
. | |||
. | |||
order: 2 !important; | order: 2 !important; | ||
margin-left: 8px !important; | margin-left: 8px !important; | ||
width: 18px !important; | |||
width: | height: 18px !important; | ||
height: | |||
display: inline-flex !important; | display: inline-flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
justify-content: center !important; | justify-content: center !important; | ||
flex-shrink: 0 !important; | |||
} | } | ||
.vector-main-menu #p-categorytree-portlet .CategoryTreeToggle, | |||
.vector-main-menu . | .vector-main-menu #p-categorytree-portlet .CategoryTreePageBullet, | ||
.CategoryTreeToggle | #p-categorytree-portlet .CategoryTreeToggle, | ||
#p-categorytree-portlet .CategoryTreePageBullet { | |||
width: 18px !important; | width: 18px !important; | ||
height: 18px !important; | height: 18px !important; | ||
background: | background: none !important; | ||
background-image: none !important; | background-image: none !important; | ||
-webkit-mask-image: none !important; | |||
mask-image: none !important; | |||
text-indent: 0 !important; | text-indent: 0 !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
position: relative !important; | |||
font-size: 0 !important; | font-size: 0 !important; | ||
} | } | ||
.vector-main-menu #p-categorytree-portlet .CategoryTreeToggle::before, | |||
.CategoryTreeToggle | .vector-main-menu #p-categorytree-portlet .CategoryTreePageBullet::before, | ||
#p-categorytree-portlet .CategoryTreeToggle::before, | |||
#p-categorytree-portlet .CategoryTreePageBullet::before { | |||
content: "\276F" !important; | |||
. | |||
content: "\276F" | |||
color: #2c3993 !important; | color: #2c3993 !important; | ||
font-size: | font-size: 18px !important; | ||
font-weight: | font-weight: 700 !important; | ||
line-height: 18px !important; | line-height: 18px !important; | ||
font-family: Arial, sans-serif !important; | |||
font-family: Arial | |||
} | } | ||
#p-categorytree-portlet .CategoryTreeToggle[aria-expanded="true"] { | |||
.CategoryTreeToggle[aria-expanded="true"] { | |||
transform: rotate(90deg) !important; | transform: rotate(90deg) !important; | ||
} | } | ||
#p-categorytree-portlet .CategoryTreeEmptyBullet { | |||
display: none !important; | |||
. | |||
} | } | ||
Revision as of 06:31, 11 May 2026
/* CategoryTree sidebar - make it look like the compact chevron menu */
.vector-main-menu #p-categorytree-portlet .CategoryTreeChildren,
#p-categorytree-portlet .CategoryTreeChildren {
margin-left: 0 !important;
padding-left: 14px !important;
border-left: 0 !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,
.vector-main-menu #p-categorytree-portlet .CategoryTreePageBullet,
#p-categorytree-portlet .CategoryTreeBullet,
#p-categorytree-portlet .CategoryTreePageBullet {
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,
.vector-main-menu #p-categorytree-portlet .CategoryTreePageBullet,
#p-categorytree-portlet .CategoryTreeToggle,
#p-categorytree-portlet .CategoryTreePageBullet {
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;
}
.vector-main-menu #p-categorytree-portlet .CategoryTreeToggle::before,
.vector-main-menu #p-categorytree-portlet .CategoryTreePageBullet::before,
#p-categorytree-portlet .CategoryTreeToggle::before,
#p-categorytree-portlet .CategoryTreePageBullet::before {
content: "\276F" !important;
color: #2c3993 !important;
font-size: 18px !important;
font-weight: 700 !important;
line-height: 18px !important;
font-family: Arial, sans-serif !important;
}
#p-categorytree-portlet .CategoryTreeToggle[aria-expanded="true"] {
transform: rotate(90deg) !important;
}
#p-categorytree-portlet .CategoryTreeEmptyBullet {
display: none !important;
}