Add gradient to menubar

This commit is contained in:
MrOtherGuy 2018-12-13 16:44:28 +02:00
parent 9e265e14df
commit dd4385a64b

View file

@ -17,7 +17,13 @@
position: relative;
}
#main-menubar{-moz-box-flex: 1; background: var(--toolbar-non-lwt-bgcolor)}
#main-menubar{
-moz-box-flex: 1;
background: var(--toolbar-non-lwt-bgcolor);
background-clip: padding-box;
border-right: 30px solid transparent;
border-image: linear-gradient(to left, transparent, var(--toolbar-non-lwt-bgcolor) 30px) 20 / 30px
}
#toolbar-menubar:not([inactive]){ z-index: 2 }
#toolbar-menubar[inactive] > #menubar-items { opacity: 0 }