Guest User

Proton UI context menus with rounded hover style

a guest
Jun 4th, 2021
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.71 KB | None | 0 0
  1. menupopup > menuitem,
  2. menupopup > menu
  3.  {
  4.     border-radius: 4px !important;
  5.     margin-left: 8px !important;
  6.     margin-right: 8px !important;
  7. }
  8.  
  9. /* context menu top left button padding */
  10. menugroup > menuitem:first-child {  
  11.     border-radius: 4px !important;
  12.     padding-left: 8px !important;
  13. }
  14. /* context menu top right button padding */
  15. menugroup > menuitem:last-child {  
  16.     border-radius: 4px !important;
  17.     padding-right: 8px !important;
  18.  
  19. }
  20. /* context menu top buttons radius*/
  21. menugroup > menuitem {
  22.     border-radius: 4px !important;
  23. }
  24. menugroup > menuitem > hbox > image {  
  25.   border-radius: 4px !important;
  26. }
  27. /* for menu item with submenu  */
  28. .panel-header > .subviewbutton {
  29.     border-radius: 4px !important;
  30.   }
Advertisement
Add Comment
Please, Sign In to add comment