Change window control placeholders to use ::before and ::after

This commit is contained in:
MrOtherGuy
2019-05-05 15:20:51 +03:00
parent dc72d829da
commit 53ea91d2e8
4 changed files with 30 additions and 15 deletions

View File

@@ -41,9 +41,12 @@ Window controls will be all wrong without it
#nav-bar{
margin-left: calc(100vw - var(--uc-navigationbar-width));
margin-top: calc(0px - var(--uc-toolbar-height));
padding-left: 0px !important;
}
/* Override style set in window_control_placeholder_support.css */
#nav-bar::before{ display:none !important }
/* Rules specific to window controls on right layout */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
:root:not([inFullscreen]) #TabsToolbar-customization-target > .titlebar-spacer[type="pre-tabs"]{
width: var(--uc-window-drag-space-width) !important;
@@ -56,4 +59,4 @@ Window controls will be all wrong without it
.tab-close-button{ margin-top: 0 !important }
/* Hide dropdown placeholder */
#urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; }
#urlbar-container:not(:hover) .urlbar-history-dropmarker{ margin-inline-start: -28px; }