User:Stumblean/common.js: Difference between revisions

Stumblean (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Stumblean (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 8: Line 8:
     right: "20px",
     right: "20px",
     padding: "0",
     padding: "0",
     background: "transparent",
     background: "white", // Added background back
     border: "none",
     border: "none",
    borderRadius: "12px", // Rounded square
     zIndex: 9998,
     zIndex: 9998,
     cursor: "pointer"
     cursor: "pointer"
Line 20: Line 21:
     width: "48px",
     width: "48px",
     height: "48px",
     height: "48px",
     borderRadius: "12px", // <-- Rounded square (not circle)
     borderRadius: "12px",
     boxShadow: "0 0 8px rgba(0,0,0,0.4)"
     display: "block" // Removes small spacing around img inside button
   });
   });
   toggle.appendChild(icon);
   toggle.appendChild(icon);