Rename class

pull/5677/head
Cagatay Civici 2024-04-09 16:43:12 +03:00
parent fab77c8e9f
commit a14054e7e5
6 changed files with 17 additions and 17 deletions

View File

@ -21,7 +21,7 @@ const classes = {
icon: 'p-contextmenu-item-icon', icon: 'p-contextmenu-item-icon',
label: 'p-contextmenu-item-label', label: 'p-contextmenu-item-label',
submenuIcon: 'p-contextmenu-submenu-icon', submenuIcon: 'p-contextmenu-submenu-icon',
submenu: 'p-contextmenu-submenu-list', submenu: 'p-contextmenu-submenu',
separator: 'p-contextmenu-separator' separator: 'p-contextmenu-separator'
}; };

View File

@ -28,7 +28,7 @@ const classes = {
icon: 'p-menubar-item-icon', icon: 'p-menubar-item-icon',
label: 'p-menubar-item-label', label: 'p-menubar-item-label',
submenuIcon: 'p-menubar-submenu-icon', submenuIcon: 'p-menubar-submenu-icon',
submenu: 'p-menubar-submenu-list', submenu: 'p-menubar-submenu',
separator: 'p-menubar-separator', separator: 'p-menubar-separator',
end: 'p-menubar-end' end: 'p-menubar-end'
}; };

View File

@ -11,14 +11,14 @@ export default {
} }
.p-contextmenu-root-list, .p-contextmenu-root-list,
.p-contextmenu-submenu-list { .p-contextmenu-submenu {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
outline: 0 none; outline: 0 none;
} }
.p-contextmenu-submenu-list { .p-contextmenu-submenu {
position: absolute; position: absolute;
min-width: 100%; min-width: 100%;
z-index: 1; z-index: 1;

View File

@ -11,7 +11,7 @@ export default {
} }
.p-menubar-root-list, .p-menubar-root-list,
.p-menubar-submenu-list { .p-menubar-submenu {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
@ -24,7 +24,7 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
} }
.p-menubar-root-list > .p-menubar-item-active > .p-menubar-submenu-list { .p-menubar-root-list > .p-menubar-item-active > .p-menubar-submenu {
display: block; display: block;
} }
@ -97,7 +97,7 @@ export default {
margin-left: 0.5rem; margin-left: 0.5rem;
} }
.p-menubar-submenu-list { .p-menubar-submenu {
display: none; display: none;
position: absolute; position: absolute;
min-width: 12.5rem; min-width: 12.5rem;
@ -110,25 +110,25 @@ export default {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
} }
.p-menubar-submenu-list .p-menubar-separator { .p-menubar-submenu .p-menubar-separator {
border-top: 1px solid ${dt('menubar.separator.border.color')}; border-top: 1px solid ${dt('menubar.separator.border.color')};
margin: 2px 0; margin: 2px 0;
} }
.p-menubar-submenu-list .p-menubar-item { .p-menubar-submenu .p-menubar-item {
position: relative; position: relative;
margin: 2px 0; margin: 2px 0;
} }
.p-menubar-submenu-list .p-menubar-item:first-child { .p-menubar-submenu .p-menubar-item:first-child {
margin-top: 0; margin-top: 0;
} }
.p-menubar-submenu-list .p-menubar-item:last-child { .p-menubar-submenu .p-menubar-item:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
.p-menubar-submenu-list > .p-menubar-item-active > .p-menubar-submenu-list { .p-menubar-submenu > .p-menubar-item-active > .p-menubar-submenu {
display: block; display: block;
left: 100%; left: 100%;
top: 0; top: 0;
@ -223,7 +223,7 @@ export default {
transform: rotate(-180deg); transform: rotate(-180deg);
} }
.p-menubar-mobile .p-menubar-submenu-list .p-menubar-submenu-icon { .p-menubar-mobile .p-menubar-submenu .p-menubar-submenu-icon {
transition: transform 0.2s; transition: transform 0.2s;
transform: rotate(90deg); transform: rotate(90deg);
} }
@ -232,7 +232,7 @@ export default {
transform: rotate(-90deg); transform: rotate(-90deg);
} }
.p-menubar-mobile .p-menubar-submenu-list { .p-menubar-mobile .p-menubar-submenu {
width: 100%; width: 100%;
position: static; position: static;
box-shadow: none; box-shadow: none;

View File

@ -10,14 +10,14 @@ export default {
} }
.p-tieredmenu-root-list, .p-tieredmenu-root-list,
.p-tieredmenu-submenu-list { .p-tieredmenu-submenu {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
outline: 0 none; outline: 0 none;
} }
.p-tieredmenu-submenu-list { .p-tieredmenu-submenu {
position: absolute; position: absolute;
min-width: 100%; min-width: 100%;
z-index: 1; z-index: 1;

View File

@ -27,7 +27,7 @@ const classes = {
icon: 'p-tieredmenu-item-icon', icon: 'p-tieredmenu-item-icon',
text: 'p-tieredmenu-item-label', text: 'p-tieredmenu-item-label',
submenuIcon: 'p-tieredmenu-submenu-icon', submenuIcon: 'p-tieredmenu-submenu-icon',
submenu: 'p-tieredmenu-submenu-list', submenu: 'p-tieredmenu-submenu',
separator: 'p-tieredmenu-separator', separator: 'p-tieredmenu-separator',
end: 'p-tieredmenu-end' end: 'p-tieredmenu-end'
}; };