mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
* Don't use <div /> as a button Addition to https://github.com/mdn/content/pull/21410 * stick to old styling * Update beastify/popup/choose_beast.html Co-authored-by: Estelle Weyl <estelle@openwebdocs.org> * Update beastify/popup/choose_beast.css Co-authored-by: Estelle Weyl <estelle@openwebdocs.org> * fix: check for button type at event listener * fix: align css selectors to changes Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>
31 lines
392 B
CSS
31 lines
392 B
CSS
html, body {
|
|
width: 100px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
button {
|
|
border: none;
|
|
width: 100%;
|
|
margin: 3% auto;
|
|
padding: 4px;
|
|
text-align: center;
|
|
font-size: 1.5em;
|
|
cursor: pointer;
|
|
background-color: #E5F2F2;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #CFF2F2;
|
|
}
|
|
|
|
button[type="reset"] {
|
|
background-color: #FBFBC9;
|
|
}
|
|
|
|
button[type="reset"]:hover {
|
|
background-color: #EAEA9D;
|
|
}
|