class Bullet::Rack
def footer_style(nonce = nil)
def footer_style(nonce = nil) position_css = footer_position_css css = <<~CSS details#bullet-footer {cursor: pointer; position: fixed; #{position_css}; z-index: 9999; background: #fdf2f2; color: #9b1c1c; font-size: 12px; #{footer_border_radius}; border: 1px solid #9b1c1c;} details#bullet-footer summary {font-weight: 600; padding: 2px 8px;} details#bullet-footer div {padding: 8px; border-top: 1px solid #9b1c1c;} CSS if nonce %(<style type="text/css" nonce="#{nonce}">#{css}</style>) else %(<style type="text/css">#{css}</style>) end end