mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
js: Use -moz-appearance and -webkit-appearance
The "appearance" property is newer than WebAssembly, but major browsers have much older namespaced versions that we can support as well.
This commit is contained in:
@ -195,6 +195,8 @@ EOF
|
|||||||
#gamemenu button {
|
#gamemenu button {
|
||||||
/* Menu items that trigger an action. We put some effort into
|
/* Menu items that trigger an action. We put some effort into
|
||||||
* removing the default button styling. */
|
* removing the default button styling. */
|
||||||
|
-moz-appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
@ -208,6 +210,8 @@ EOF
|
|||||||
/* The tick at the start of a menu item, or its unselected equivalent.
|
/* The tick at the start of a menu item, or its unselected equivalent.
|
||||||
* This is represented by an <input type="radio">, so we put some
|
* This is represented by an <input type="radio">, so we put some
|
||||||
* effort into overriding the default style. */
|
* effort into overriding the default style. */
|
||||||
|
-moz-appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
margin: initial;
|
margin: initial;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
|
Reference in New Issue
Block a user