From d8718af3f822ce85d7f9eb489ada99d53e18ea83 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 15 May 2020 18:28:20 +0300 Subject: [PATCH] Responsive menubar --- public/themes/luna-amber/theme.css | 135 +++++++++++++++++++++++- public/themes/luna-green/theme.css | 135 +++++++++++++++++++++++- public/themes/luna-pink/theme.css | 135 +++++++++++++++++++++++- public/themes/nova-colored/theme.css | 135 +++++++++++++++++++++++- public/themes/nova-dark/theme.css | 135 +++++++++++++++++++++++- public/themes/nova-light/theme.css | 135 +++++++++++++++++++++++- public/themes/nova-vue/theme.css | 135 +++++++++++++++++++++++- public/themes/rhea/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-blue/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-cyan/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-deeppurple/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-green/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-indigo/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-orange/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-purple/theme.css | 131 +++++++++++++++++++++++ public/themes/saga-teal/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-blue/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-cyan/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-deeppurple/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-green/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-indigo/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-orange/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-purple/theme.css | 131 +++++++++++++++++++++++ public/themes/vela-teal/theme.css | 131 +++++++++++++++++++++++ src/components/menubar/Menubar.vue | 62 ++++++++++- src/components/menubar/MenubarSub.vue | 10 +- src/views/menubar/MenubarDemo.vue | 1 - 27 files changed, 3222 insertions(+), 23 deletions(-) diff --git a/public/themes/luna-amber/theme.css b/public/themes/luna-amber/theme.css index 395ab5883..ba05ffabc 100644 --- a/public/themes/luna-amber/theme.css +++ b/public/themes/luna-amber/theme.css @@ -2501,6 +2501,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #252525; color: #dedede; border: 1px solid #191919; @@ -2564,6 +2565,7 @@ color: #dedede; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2598,6 +2600,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2676,6 +2679,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #252525; color: #dedede; border: 1px solid #191919; @@ -2734,6 +2738,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2767,6 +2772,7 @@ color: #dedede; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2820,6 +2826,129 @@ color: #212121; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #888888; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #ffe8b3; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #252525; + border: 1px solid #191919; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #585858; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #dedede; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #dedede; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #4c4c4c; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #ffe8b3; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #191919; @@ -2877,6 +3006,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -3014,6 +3144,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #dedede; diff --git a/public/themes/luna-green/theme.css b/public/themes/luna-green/theme.css index 21d1fb555..b3873bb28 100644 --- a/public/themes/luna-green/theme.css +++ b/public/themes/luna-green/theme.css @@ -2501,6 +2501,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #252525; color: #dedede; border: 1px solid #191919; @@ -2564,6 +2565,7 @@ color: #dedede; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2598,6 +2600,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2676,6 +2679,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #252525; color: #dedede; border: 1px solid #191919; @@ -2734,6 +2738,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2767,6 +2772,7 @@ color: #dedede; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2820,6 +2826,129 @@ color: #ffffff; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #888888; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #88e9aa; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #252525; + border: 1px solid #191919; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #585858; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #dedede; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #dedede; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #4c4c4c; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #88e9aa; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #191919; @@ -2877,6 +3006,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -3014,6 +3144,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #dedede; diff --git a/public/themes/luna-pink/theme.css b/public/themes/luna-pink/theme.css index ce6f39474..a882e7f6d 100644 --- a/public/themes/luna-pink/theme.css +++ b/public/themes/luna-pink/theme.css @@ -2501,6 +2501,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #252525; color: #dedede; border: 1px solid #191919; @@ -2564,6 +2565,7 @@ color: #dedede; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2598,6 +2600,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2676,6 +2679,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #252525; color: #dedede; border: 1px solid #191919; @@ -2734,6 +2738,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2767,6 +2772,7 @@ color: #dedede; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -2820,6 +2826,129 @@ color: #ffffff; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #888888; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #f1b6c8; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #252525; + border: 1px solid #191919; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #585858; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #dedede; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #dedede; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #4c4c4c; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #dedede; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #f1b6c8; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #191919; @@ -2877,6 +3006,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #dedede; @@ -3014,6 +3144,7 @@ color: #dedede; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #dedede; diff --git a/public/themes/nova-colored/theme.css b/public/themes/nova-colored/theme.css index 3c473d674..4f3f2f0ae 100644 --- a/public/themes/nova-colored/theme.css +++ b/public/themes/nova-colored/theme.css @@ -2501,6 +2501,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2564,6 +2565,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2598,6 +2600,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2676,6 +2679,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2734,6 +2738,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2767,6 +2772,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2820,6 +2826,129 @@ color: #333333; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #ffffff; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #8dcdff; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #ffffff; + border: 1px solid #c8c8c8; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #d8dae2; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #333333; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #333333; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #eaeaea; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #8dcdff; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #007ad9; @@ -2877,6 +3006,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #333333; @@ -3014,6 +3144,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #333333; diff --git a/public/themes/nova-dark/theme.css b/public/themes/nova-dark/theme.css index de4a62074..993bc5c93 100644 --- a/public/themes/nova-dark/theme.css +++ b/public/themes/nova-dark/theme.css @@ -2501,6 +2501,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2564,6 +2565,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2598,6 +2600,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2676,6 +2679,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2734,6 +2738,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2767,6 +2772,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2820,6 +2826,129 @@ color: #333333; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #ffffff; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #8dcdff; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #ffffff; + border: 1px solid #c8c8c8; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #d8dae2; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #333333; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #333333; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #eaeaea; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #8dcdff; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #333333; @@ -2877,6 +3006,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #333333; @@ -3014,6 +3144,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #333333; diff --git a/public/themes/nova-light/theme.css b/public/themes/nova-light/theme.css index 5d74e6b4a..546101371 100644 --- a/public/themes/nova-light/theme.css +++ b/public/themes/nova-light/theme.css @@ -2501,6 +2501,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2564,6 +2565,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2598,6 +2600,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2676,6 +2679,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2734,6 +2738,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2767,6 +2772,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2820,6 +2826,129 @@ color: #333333; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #848484; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #8dcdff; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #ffffff; + border: 1px solid #c8c8c8; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #d8dae2; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #333333; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #333333; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #eaeaea; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #8dcdff; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #c8c8c8; @@ -2877,6 +3006,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #333333; @@ -3014,6 +3144,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #333333; diff --git a/public/themes/nova-vue/theme.css b/public/themes/nova-vue/theme.css index a9a5567f3..6955d21e9 100644 --- a/public/themes/nova-vue/theme.css +++ b/public/themes/nova-vue/theme.css @@ -2501,6 +2501,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2553,7 +2554,7 @@ } .p-megamenu { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2564,6 +2565,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2598,6 +2600,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2676,6 +2679,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2723,7 +2727,7 @@ } .p-menubar { - padding: 0; + padding: 0.5rem; background: #ffffff; color: #333333; border: 1px solid #c8c8c8; @@ -2734,6 +2738,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2767,6 +2772,7 @@ color: #333333; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #333333; @@ -2820,6 +2826,129 @@ color: #333333; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #848484; + background: transparent; + border: 0 none; + width: 2rem; + height: 2rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #c2e9d8; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #ffffff; + border: 1px solid #c8c8c8; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #d8dae2; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #333333; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #333333; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #eaeaea; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #333333; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #c2e9d8; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #c8c8c8; @@ -2877,6 +3006,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #333333; @@ -3014,6 +3144,7 @@ color: #333333; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #333333; diff --git a/public/themes/rhea/theme.css b/public/themes/rhea/theme.css index 7f5186716..e71cdb6d6 100644 --- a/public/themes/rhea/theme.css +++ b/public/themes/rhea/theme.css @@ -2501,6 +2501,7 @@ color: #666666; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #666666; @@ -2564,6 +2565,7 @@ color: #666666; border-radius: 2px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #666666; @@ -2598,6 +2600,7 @@ color: #666666; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #666666; @@ -2676,6 +2679,7 @@ color: #666666; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #666666; @@ -2734,6 +2738,7 @@ color: #666666; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #666666; @@ -2767,6 +2772,7 @@ color: #666666; border-radius: 2px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #666666; @@ -2820,6 +2826,129 @@ color: #666666; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #ffffff; + background: transparent; + border: 0 none; + width: 2.5rem; + height: 2.5rem; + border-radius: 2px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #e4e9ec; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0; + background: #ffffff; + border: 1px solid #eaeaea; + box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dadada; + margin: 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.857rem; + color: #666666; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #666666; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #666666; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #666666; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #eaeaea; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #666666; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #666666; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #666666; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.2rem #e4e9ec; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.571rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 4.285rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.999rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 7.713rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 9.427rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 0.857rem 1rem; border: 1px solid #7B95A3; @@ -2877,6 +3006,7 @@ color: #666666; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #666666; @@ -3014,6 +3144,7 @@ color: #666666; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #666666; diff --git a/public/themes/saga-blue/theme.css b/public/themes/saga-blue/theme.css index cfc085807..16454d6bb 100644 --- a/public/themes/saga-blue/theme.css +++ b/public/themes/saga-blue/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #BBDEFB; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #BBDEFB; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-cyan/theme.css b/public/themes/saga-cyan/theme.css index 21c995020..01d45abce 100644 --- a/public/themes/saga-cyan/theme.css +++ b/public/themes/saga-cyan/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #B2EBF2; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #B2EBF2; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-deeppurple/theme.css b/public/themes/saga-deeppurple/theme.css index ec14971aa..60d8a8ba0 100644 --- a/public/themes/saga-deeppurple/theme.css +++ b/public/themes/saga-deeppurple/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #D1C4E9; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #D1C4E9; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-green/theme.css b/public/themes/saga-green/theme.css index 4904318d5..4c53ac482 100644 --- a/public/themes/saga-green/theme.css +++ b/public/themes/saga-green/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #C8E6C9; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #C8E6C9; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-indigo/theme.css b/public/themes/saga-indigo/theme.css index 146a4bf70..28462a36f 100644 --- a/public/themes/saga-indigo/theme.css +++ b/public/themes/saga-indigo/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #C5CAE9; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #C5CAE9; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-orange/theme.css b/public/themes/saga-orange/theme.css index b02ad69f4..60793bdae 100644 --- a/public/themes/saga-orange/theme.css +++ b/public/themes/saga-orange/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #FFECB3; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #FFECB3; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-purple/theme.css b/public/themes/saga-purple/theme.css index 7194d5449..2a0622d4f 100644 --- a/public/themes/saga-purple/theme.css +++ b/public/themes/saga-purple/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #E1BEE7; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #E1BEE7; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/saga-teal/theme.css b/public/themes/saga-teal/theme.css index a652d54bb..3c6eff661 100644 --- a/public/themes/saga-teal/theme.css +++ b/public/themes/saga-teal/theme.css @@ -2518,6 +2518,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2581,6 +2582,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2615,6 +2617,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2693,6 +2696,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2751,6 +2755,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2784,6 +2789,7 @@ color: #495057; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #495057; @@ -2837,6 +2843,129 @@ color: #6c757d; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #6c757d; + background: transparent; + border: 1px solid #dee2e6; + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #B2DFDB; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #ffffff; + border: 0 none; + box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1); + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid #dee2e6; + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #495057; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #6c757d; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: #e9ecef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #495057; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #6c757d; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #B2DFDB; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #dee2e6; @@ -2894,6 +3023,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #495057; @@ -3048,6 +3178,7 @@ color: #495057; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #495057; diff --git a/public/themes/vela-blue/theme.css b/public/themes/vela-blue/theme.css index 7a1b8cc3a..8af0355e2 100644 --- a/public/themes/vela-blue/theme.css +++ b/public/themes/vela-blue/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #BBDEFB; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #BBDEFB; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-cyan/theme.css b/public/themes/vela-cyan/theme.css index 98d385cbd..3f70a98aa 100644 --- a/public/themes/vela-cyan/theme.css +++ b/public/themes/vela-cyan/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #B2EBF2; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #B2EBF2; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-deeppurple/theme.css b/public/themes/vela-deeppurple/theme.css index 85a919dd7..bb821e8b2 100644 --- a/public/themes/vela-deeppurple/theme.css +++ b/public/themes/vela-deeppurple/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #D1C4E9; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #D1C4E9; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-green/theme.css b/public/themes/vela-green/theme.css index f275e88fb..8c6512887 100644 --- a/public/themes/vela-green/theme.css +++ b/public/themes/vela-green/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #C8E6C9; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #C8E6C9; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-indigo/theme.css b/public/themes/vela-indigo/theme.css index e1e785425..d04aa2f5e 100644 --- a/public/themes/vela-indigo/theme.css +++ b/public/themes/vela-indigo/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #C5CAE9; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #C5CAE9; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-orange/theme.css b/public/themes/vela-orange/theme.css index b86840995..146ea9d88 100644 --- a/public/themes/vela-orange/theme.css +++ b/public/themes/vela-orange/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #FFECB3; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #FFECB3; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-purple/theme.css b/public/themes/vela-purple/theme.css index 0b83accfd..37c0aaeff 100644 --- a/public/themes/vela-purple/theme.css +++ b/public/themes/vela-purple/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #E1BEE7; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #E1BEE7; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/public/themes/vela-teal/theme.css b/public/themes/vela-teal/theme.css index 683cfc0ea..8a7e983e5 100644 --- a/public/themes/vela-teal/theme.css +++ b/public/themes/vela-teal/theme.css @@ -2518,6 +2518,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-contextmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2581,6 +2582,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2615,6 +2617,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-megamenu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2693,6 +2696,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menu .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2751,6 +2755,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2784,6 +2789,7 @@ color: #ebedef; border-radius: 3px; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -2837,6 +2843,129 @@ color: #ebedef; } +@media screen and (max-width: 960px) { + .p-menubar { + position: relative; + } + .p-menubar .p-menubar-button { + display: flex; + color: #aeb6bf; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.1); + width: 2.5rem; + height: 2.5rem; + border-radius: 3px; + transition: box-shadow 0.2s; + } + .p-menubar .p-menubar-button i { + font-size: 1.5rem; + } + .p-menubar .p-menubar-button:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem #B2DFDB; + } + .p-menubar .p-menubar-root-list { + position: absolute; + display: none; + padding: 0.25rem 0; + background: #283747; + border: 1px solid #2C3E50; + box-shadow: none; + width: 100%; + } + .p-menubar .p-menubar-root-list .p-menu-separator { + border-top: 1px solid rgba(255, 255, 255, 0.1); + margin: 0.25rem 0; + } + .p-menubar .p-menubar-root-list .p-submenu-icon { + font-size: 0.75rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link { + padding: 0.75rem 1rem; + color: #ebedef; + border-radius: 0; + transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon { + color: #aeb6bf; + margin-right: 0.5rem; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon { + color: #aeb6bf; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover { + background: rgba(255, 255, 255, 0.1); + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon { + color: #ebedef; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 0.15rem #B2DFDB; + } + .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon { + margin-left: auto; + transition: transform 0.2s; + } + .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-180deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list { + width: 100%; + position: static; + box-shadow: none; + border: 0 none; + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon { + transition: transform 0.2s; + transform: rotate(90deg); + } + .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon { + transform: rotate(-90deg); + } + .p-menubar .p-menubar-root-list .p-menuitem { + width: 100%; + position: static; + } + .p-menubar .p-menubar-root-list ul li a { + padding-left: 2.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li a { + padding-left: 3.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li a { + padding-left: 5.25rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li a { + padding-left: 6.75rem; + } + .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a { + padding-left: 8.25rem; + } + .p-menubar.p-menubar-mobile-active .p-menubar-root-list { + display: flex; + flex-direction: column; + top: 100%; + left: 0; + z-index: 1; + } +} .p-panelmenu .p-panelmenu-header > a { padding: 1rem; border: 1px solid #2C3E50; @@ -2894,6 +3023,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text { color: #ebedef; @@ -3048,6 +3178,7 @@ color: #ebedef; border-radius: 0; transition: background-color 0.2s, box-shadow 0.2s; + user-select: none; } .p-tieredmenu .p-menuitem-link .p-menuitem-text { color: #ebedef; diff --git a/src/components/menubar/Menubar.vue b/src/components/menubar/Menubar.vue index 086bda911..c4e9e2a0a 100755 --- a/src/components/menubar/Menubar.vue +++ b/src/components/menubar/Menubar.vue @@ -1,9 +1,12 @@