Aris-t2 / CustomJSforFx

custom scripts
GNU General Public License v3.0
240 stars 22 forks source link

can add compact_buttons for addon_vertical script? #26

Closed GoogleBeEvil closed 5 years ago

GoogleBeEvil commented 5 years ago

just like the addonbar.uc.js

Aris-t2 commented 5 years ago

Should be possible. Could you test this in userChrome.css:

#addonbar_v toolbarbutton .toolbarbutton-icon { 
  padding: 0 !important; 
  width: 16px !important; 
  height: 16px !important; 
} 
#addonbar_v .toolbarbutton-badge-stack { 
  padding: 0 !important; 
  margin: 0 !important; 
  width: 16px !important; 
  min-width: 16px !important; 
  height: 16px !important; 
  min-height: 16px !important; 
} 
#addonbar_v toolbarbutton .toolbarbutton-badge { 
  margin-top: 0px !important; 
  font-size: 8px !important; 
} 

Does this look correct?

Aris-t2 commented 5 years ago

Added code/option to "vertical add-con bar" script. You may have to reduce toolbar width too.