app/@overflow/commons/ui/component/menu/menu-bar.component.scss

214 lines
7.2 KiB
SCSS
Raw Normal View History

2018-09-18 13:11:01 +00:00
/deep/ body {
2018-09-18 14:07:58 +00:00
// font-family: var(--font-family-sans-serif);
// font-size: var(--font-size);
// line-height: 1.5;
// color: var(--text-color);
// background-color: var(--background-color);
2018-09-18 13:11:01 +00:00
}
/deep/ body .ui-corner-all {
border-radius: 0px;
}
/deep/ body .ui-widget {
2018-09-18 14:07:58 +00:00
// font-family: var(--font-family-sans-serif);
// font-size: 1.1em;
// line-height: 1.5;
2018-09-18 13:11:01 +00:00
}
/deep/ body .ui-widget-content {
border: 0;
}
/deep/ body .ui-splitbutton.ui-buttonset .ui-menu {
min-width: 100%;
}
/deep/ body .ui-menubar .ui-menuitem {
margin: 0;
}
/deep/ body .ui-menu .ui-menuitem-link,
/deep/ body .ui-menubar .ui-menuitem-link,
/deep/ body .ui-tieredmenu .ui-menuitem-link,
/deep/ body .ui-contextmenu .ui-menuitem-link,
/deep/ body .ui-megamenu .ui-menuitem-link,
/deep/ body .ui-slidemenu .ui-menuitem-link {
padding: 0.714em 0.857em;
color: #333333;
font-weight: normal;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
/deep/ body .ui-menu .ui-menuitem-link .ui-menuitem-text,
/deep/ body .ui-menubar .ui-menuitem-link .ui-menuitem-text,
/deep/ body .ui-tieredmenu .ui-menuitem-link .ui-menuitem-text,
/deep/ body .ui-contextmenu .ui-menuitem-link .ui-menuitem-text,
/deep/ body .ui-megamenu .ui-menuitem-link .ui-menuitem-text,
/deep/ body .ui-slidemenu .ui-menuitem-link .ui-menuitem-text {
// color: #333333;
color: var(--app-menu-button-color);
}
/deep/ body .ui-menu .ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-menubar .ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-tieredmenu .ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-contextmenu .ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-megamenu .ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-slidemenu .ui-menuitem-link .ui-menuitem-icon {
color: #333333;
margin-right: 0.5em;
}
/deep/ body .ui-menu .ui-menuitem-link:hover,
/deep/ body .ui-menubar .ui-menuitem-link:hover,
/deep/ body .ui-tieredmenu .ui-menuitem-link:hover,
/deep/ body .ui-contextmenu .ui-menuitem-link:hover,
/deep/ body .ui-megamenu .ui-menuitem-link:hover,
/deep/ body .ui-slidemenu .ui-menuitem-link:hover {
background-color: #eaeaea;
}
/deep/ body .ui-menu .ui-menuitem>.ui-menuitem-link:hover,
/deep/ body .ui-menubar .ui-menuitem>.ui-menuitem-link:hover,
/deep/ body .ui-tieredmenu .ui-menuitem>.ui-menuitem-link:hover,
/deep/ body .ui-slidemenu .ui-menuitem>.ui-menuitem-link:hover,
/deep/ body .ui-contextmenu .ui-menuitem>.ui-menuitem-link:hover,
/deep/ body .ui-megamenu .ui-menuitem>.ui-menuitem-link:hover {
background: var(--app-menu-button-hover-background-color);
}
/deep/ body .ui-menu .ui-menuitem-link:hover .ui-menuitem-text,
/deep/ body .ui-menubar .ui-menuitem-link:hover .ui-menuitem-text,
/deep/ body .ui-tieredmenu .ui-menuitem-link:hover .ui-menuitem-text,
/deep/ body .ui-contextmenu .ui-menuitem-link:hover .ui-menuitem-text,
/deep/ body .ui-megamenu .ui-menuitem-link:hover .ui-menuitem-text,
/deep/ body .ui-slidemenu .ui-menuitem-link:hover .ui-menuitem-text {
color: var(--app-menu-button-hover-color);
}
/deep/ body .ui-menu .ui-menuitem-link:hover .ui-menuitem-icon,
/deep/ body .ui-menubar .ui-menuitem-link:hover .ui-menuitem-icon,
/deep/ body .ui-tieredmenu .ui-menuitem-link:hover .ui-menuitem-icon,
/deep/ body .ui-contextmenu .ui-menuitem-link:hover .ui-menuitem-icon,
/deep/ body .ui-megamenu .ui-menuitem-link:hover .ui-menuitem-icon,
/deep/ body .ui-slidemenu .ui-menuitem-link:hover .ui-menuitem-icon {
color: #333333;
}
/deep/ body .ui-menubar .ui-menuitem.ui-menuitem-active>.ui-menuitem-link {
// background-color: #eaeaea;
background-color: var(--app-menu-button-active-background-color);
}
/deep/ body .ui-menubar .ui-menuitem.ui-menuitem-active>.ui-menuitem-link .ui-menuitem-text {
color: var(--app-menu-button-active-color);
}
/deep/ body .ui-menubar .ui-menuitem.ui-menuitem-active>.ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-menubar .ui-menuitem.ui-menuitem-active>.ui-menuitem-link .ui-submenu-icon {
color: #333333;
}
/deep/ body .ui-menu {
padding: 0;
background-color: #ffffff;
border: 1px solid #c8c8c8;
}
/deep/ body .ui-menu .ui-menuitem {
margin: 0;
}
/deep/ body .ui-menu.ui-shadow {
border: 1px solid #c8c8c8;
-webkit-box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16);
-moz-box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16);
box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16);
}
/deep/ body .ui-menu .ui-submenu-header {
margin: 0;
padding: 0.714em 0.857em;
color: #ffffff;
background-color: #333333;
font-weight: 400;
border: 0 none;
}
/deep/ body .ui-menu .ui-menu-separator {
border: 1px solid #c8c8c8;
border-width: 1px 0 0 0;
}
/deep/ body .ui-menubar {
padding: 0; // background-color: #ffffff;
// border: 1px solid #c8c8c8;
background: linear-gradient(to bottom, #3b3f46 0%, #2b2e33 100%); // border-bottom: 1px solid #000;
}
/deep/ body .ui-menubar .ui-menubar-root-list>.ui-menuitem>.ui-menuitem-link {
padding: 0.01em 0.857em;
}
/deep/ body .ui-menubar .ui-submenu-list {
padding: 0; // background-color: #ffffff;
// border: 1px solid #c8c8c8;
// -webkit-box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16);
// -moz-box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16);
// box-shadow: 0 0px 6px 0 rgba(0, 0, 0, 0.16);
color: #1b1d1f;
background: var(--app-menu-pane-background-color); // /* Old browsers */
// background: -moz-linear-gradient(top, var(--app-menu-pane-background-color) 0%, #ebedf0 100%);
// /* FF3.6+ */
// background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, var(--app-menu-pane-background-color)), color-stop(100%, #ebedf0));
// /* Chrome,Safari4+ */
// background: -webkit-linear-gradient(top, var(--app-menu-pane-background-color) 0%, #ebedf0 100%);
// /* Chrome10+,Safari5.1+ */
// background: -o-linear-gradient(top, var(--app-menu-pane-background-color) 0%, #ebedf0 100%);
// /* Opera11.10+ */
// background: -ms-linear-gradient(top, var(--app-menu-pane-background-color) 0%, #ebedf0 100%);
// /* IE10+ */
// background: linear-gradient(to bottom, var(--app-menu-pane-background-color) 0%, #ebedf0 100%);
// /* W3C */
}
/deep/ body .ui-menubar .ui-submenu-list .ui-menuitem {
margin: 0;
}
/deep/ body .ui-menubar .ui-submenu-list .ui-menu-separator {
border: 1px solid var(--app-menu-divider-color);
border-width: 1px 0 0 0;
}
/deep/ body .ui-menubar .ui-submenu-list .ui-menuitem-text {
// color: #333333;
color: var(---app-menu-pane-color);
}
/deep/ body .ui-menubar .ui-menuitem .ui-submenu-list .ui-menuitem-active>.ui-menuitem-link {
// background-color: #eaeaea;
background-color: var(--link-button-hover-color);
}
/deep/ body .ui-menubar .ui-menuitem .ui-submenu-list .ui-menuitem-active>.ui-menuitem-link .ui-menuitem-text {
color: var(--button-text-color);
}
/deep/ body .ui-menubar .ui-menuitem .ui-submenu-list .ui-menuitem-active>.ui-menuitem-link .ui-menuitem-icon,
/deep/ body .ui-menubar .ui-menuitem .ui-submenu-list .ui-menuitem-active>.ui-menuitem-link .ui-submenu-icon {
color: #333333;
}
// /deep/ body .ui-menubar .ui-menuitem .ui-submenu-list .ui-menuitem:hover {
// background: #3b3f46;
// }
// /deep/ body .ui-menubar .ui-submenu-list:hover .ui-menuitem-text {
// color: var(--app-menu-pane-secondary-color);
// }
// /deep/ body .ui-menubar .ui-submenu-list:hover .ui-menuitem-icon {
// color: #333333;
// }