Make drag window from headerbar buttons optional, bugged feature,

closes #53
This commit is contained in:
Rafael Mardojai CM 2019-07-27 12:51:08 -05:00
parent 8c6a6c7466
commit 758a8964fa
4 changed files with 26 additions and 14 deletions

View File

@ -135,6 +135,12 @@ Alternatively you can run installation script with `-g` flag to auto install GNO
Use system theme icons instead of Adwaita icons included by theme.
- **drag-window-headerbar-buttons.css**
Allow drag window from headerbar buttons *GNOMISH* **[BUGGED]**
It can activate button action, with unpleasant behavior.
- **symbolic-tab-icons.css**
Make all tab icons look kinda like symbolic icons.

View File

@ -0,0 +1,16 @@
/* Allow drag window from headerbar buttons */
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
:root[tabsintitlebar] #nav-bar *,
:root[tabsintitlebar] #titlebar .titlebar-button,
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
-moz-window-dragging: drag;
}
/* Avoid window dragging from urlbar */
:root[tabsintitlebar] #nav-bar .urlbar-input-box,
:root[tabsintitlebar] #nav-bar .urlbar-input-box * {
-moz-window-dragging: no-drag !important;
}

View File

@ -147,20 +147,6 @@
padding-bottom: 0 !important;
}
/* Allow window drag with headerbar buttons */
:root[tabsintitlebar] #nav-bar *,
:root[tabsintitlebar] #titlebar .titlebar-button,
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
-moz-window-dragging: drag;
}
:root[tabsintitlebar] #nav-bar .urlbar-input-box,
:root[tabsintitlebar] #nav-bar .urlbar-input-box *,
#back-button,
#forward-button{
-moz-window-dragging: no-drag !important;
}
/* FF 60 fixes */
:root[tabsintitlebar] #titlebar[style="margin-bottom: -1px;"] {
margin-bottom: -38px !important;

View File

@ -22,6 +22,10 @@
/* Use system theme icons instead of Adwaita icons included by theme */
/*@import "theme/system-icons.css"; /**/
/* Allow drag window from headerbar buttons (GNOMISH) [BUGGED]
* It can activate button action, with unpleasant behavior. */
/*@import "theme/drag-window-headerbar-buttons.css"; /**/
/* Make all tab icons look kinda like symbolic icons */
/*@import "theme/symbolic-tab-icons.css"; /**/