|
|
| Line 82: |
Line 82: |
| height: 0 !important; | | height: 0 !important; |
| margin: 0 !important; | | margin: 0 !important; |
| }
| |
|
| |
| /* =========================================
| |
| TELTONIKA-LIKE HEADER FOR VECTOR 2022
| |
| ========================================= */
| |
|
| |
| body.skin-vector-2022 .vector-header-container,
| |
| body.skin-vector-2022 .vector-sticky-header-container {
| |
| background: #1f237f;
| |
| border-bottom: 0 !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 .vector-header {
| |
| max-width: none !important;
| |
| min-height: 72px;
| |
| padding: 0 28px;
| |
| gap: 28px;
| |
| }
| |
|
| |
| body.skin-vector-2022 .vector-header-start,
| |
| body.skin-vector-2022 .vector-header-end {
| |
| display: flex;
| |
| align-items: center;
| |
| }
| |
|
| |
| body.skin-vector-2022 .vector-header-end {
| |
| flex: 1 1 auto;
| |
| min-width: 0;
| |
| gap: 24px;
| |
| }
| |
|
| |
| @media (min-width: 981px) {
| |
| body.skin-vector-2022 .vector-header-start > .vector-main-menu-landmark {
| |
| display: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #vector-user-links-dropdown,
| |
| body.skin-vector-2022 .vector-appearance-landmark,
| |
| body.skin-vector-2022 #p-vector-user-menu-preferences,
| |
| body.skin-vector-2022 #p-vector-user-menu-userpage,
| |
| body.skin-vector-2022 #p-vector-user-menu-notifications {
| |
| display: none !important;
| |
| }
| |
| }
| |
|
| |
| /* logo */
| |
| body.skin-vector-2022 .mw-logo {
| |
| min-height: 72px;
| |
| margin: 0 !important;
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 12px;
| |
| text-decoration: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 .mw-logo-icon {
| |
| display: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 .mw-logo-wordmark {
| |
| color: #fff !important;
| |
| font-size: 18px !important;
| |
| font-weight: 700 !important;
| |
| letter-spacing: 0.02em;
| |
| }
| |
|
| |
| /* search */
| |
| body.skin-vector-2022 #p-search {
| |
| flex: 1 1 auto;
| |
| max-width: 560px;
| |
| margin-left: 24px;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .search-toggle {
| |
| display: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .vector-typeahead-search-container,
| |
| body.skin-vector-2022 #p-search .cdx-typeahead-search,
| |
| body.skin-vector-2022 #p-search #searchform {
| |
| width: 100% !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search #searchform {
| |
| display: flex;
| |
| align-items: stretch;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .cdx-search-input__input-wrapper {
| |
| flex: 1 1 auto;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .cdx-text-input {
| |
| min-height: 44px;
| |
| background: #fff !important;
| |
| border: 0 !important;
| |
| border-right: 1px solid #d8dce8 !important;
| |
| border-radius: 0 !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .cdx-text-input__input {
| |
| height: 44px !important;
| |
| background: #fff !important;
| |
| color: #1f2430 !important;
| |
| font-size: 14px !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .cdx-text-input__start-icon {
| |
| opacity: 0.55;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .cdx-search-input__end-button {
| |
| min-width: 88px;
| |
| height: 44px;
| |
| background: #fff !important;
| |
| color: #111 !important;
| |
| border: 0 !important;
| |
| border-radius: 0 !important;
| |
| box-shadow: none !important;
| |
| font-weight: 700 !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search .cdx-search-input__end-button:hover {
| |
| background: #f4f5f8 !important;
| |
| }
| |
|
| |
| /* login + language */
| |
| body.skin-vector-2022 .vector-user-links,
| |
| body.skin-vector-2022 .vector-user-links-main {
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 18px;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-vector-user-menu-overflow {
| |
| order: 1;
| |
| }
| |
|
| |
| body.skin-vector-2022 #lang-switcher {
| |
| order: 2;
| |
| margin: 0 !important;
| |
| display: inline-flex !important;
| |
| align-items: center;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-vector-user-menu-overflow a,
| |
| body.skin-vector-2022 #pt-login a {
| |
| color: #fff !important;
| |
| font-weight: 600 !important;
| |
| text-decoration: none !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #lang-select {
| |
| background: transparent !important;
| |
| border: 0 !important;
| |
| box-shadow: none !important;
| |
| color: #fff !important;
| |
| font-size: 14px !important;
| |
| font-weight: 600 !important;
| |
| padding: 0 10px 0 0 !important;
| |
| cursor: pointer !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 #lang-select option {
| |
| color: #202122;
| |
| }
| |
|
| |
| /* sticky header */
| |
| body.skin-vector-2022 .vector-sticky-header {
| |
| background: #1f237f !important;
| |
| }
| |
|
| |
| body.skin-vector-2022 .vector-sticky-header .mw-page-title-main,
| |
| body.skin-vector-2022 .vector-sticky-header .cdx-button {
| |
| color: #fff !important;
| |
| }
| |
|
| |
| /* mobile */
| |
| @media (max-width: 980px) {
| |
| body.skin-vector-2022 .vector-header {
| |
| min-height: auto;
| |
| padding: 12px 16px;
| |
| gap: 12px;
| |
| flex-wrap: wrap;
| |
| }
| |
|
| |
| body.skin-vector-2022 .vector-header-end {
| |
| flex-wrap: wrap;
| |
| width: 100%;
| |
| gap: 12px;
| |
| }
| |
|
| |
| body.skin-vector-2022 #p-search {
| |
| order: 3;
| |
| max-width: none;
| |
| width: 100%;
| |
| margin-left: 0;
| |
| }
| |
|
| |
| body.skin-vector-2022 .mw-logo-wordmark {
| |
| font-size: 16px !important;
| |
| }
| |
| } | | } |
/* 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;
}