mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-14 04:55:54 +00:00
create drag_window_from_urlbar.css
This commit is contained in:
parent
a5ac138086
commit
9272f36cd4
3 changed files with 17 additions and 1 deletions
14
chrome/drag_window_from_urlbar.css
Normal file
14
chrome/drag_window_from_urlbar.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/drag_window_from_urlbar.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Makes the window draggable from urlbar when urlbar is not focused. This means you can't click the urlbar text to activate it normally. But right-click works to activate urlbar. */
|
||||
|
||||
.urlbar-input-box,#urlbar-input,#urlbar-scheme,#urlbar-container{
|
||||
-moz-window-dragging: drag;
|
||||
cursor: default;
|
||||
}
|
||||
#urlbar-container:focus-within,
|
||||
#urlbar-container:focus-within :is(.urlbar-input-box,#urlbar-input,#urlbar-scheme,#urlbar-container){
|
||||
-moz-window-dragging: no-drag;
|
||||
cursor: auto;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue