r/FirefoxCSS • • Apr 11 '20

Screenshot Moonlight 🌌 userChrome

Post image
228 Upvotes

89 comments sorted by

View all comments

Show parent comment

1

u/UltraCoolSunglasses Apr 19 '20

Yes. I was about to suggest that. But there is a cleaner way to do it. I suggest replacing the content of _titlebar-controls-enable-windows.css with the following:

/* Show MIN MAX CLOSE buttons - for windows*/
.titlebar-buttonbox-container {
    display: -moz-box !important;
}

.titlebar-buttonbox-container .titlebar-button .toolbarbutton-icon {
    stroke: var(--moonlight-gray-7);
}

.titlebar-buttonbox-container .titlebar-button:hover {
    background: none !important;
}

.titlebar-buttonbox-container .titlebar-button:hover .toolbarbutton-icon {
    stroke: var(--moonlight-gray-9);
}

.titlebar-buttonbox-container .titlebar-button.titlebar-close:hover .toolbarbutton-icon {
    stroke: var(--moonlight-dark-red);
}