Rob Colbert
2 years ago
12 changed files with 171 additions and 104 deletions
@ -1,74 +1,75 @@ |
|||
button { |
|||
button.nice-button { |
|||
display: block; |
|||
width: 80px; |
|||
height: 80px; |
|||
|
|||
border: solid 3px; |
|||
border-color: rgba(255,255,255, 0); |
|||
border-radius: 8px; |
|||
width: 80px; |
|||
height: 80px; |
|||
|
|||
-webkit-user-select: none; |
|||
-webkit-touch-callout: none; |
|||
-moz-user-select: none; |
|||
-ms-user-select: none; |
|||
user-select: none; |
|||
} |
|||
|
|||
button.direction-button { |
|||
display: block; |
|||
background: var(--direction-btn-color-50pct); |
|||
color: white; |
|||
font-size: 4em; |
|||
font-weight: bold; |
|||
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|||
|
|||
&[hidden] { |
|||
display: none; |
|||
&.direction-button { |
|||
background: var(--direction-btn-color-50pct); |
|||
color: white; |
|||
font-size: 4em; |
|||
font-weight: bold; |
|||
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|||
|
|||
&[hidden] { |
|||
display: none; |
|||
} |
|||
|
|||
&.active { |
|||
background: var(--direction-btn-color-80pct); |
|||
} |
|||
|
|||
img.button-icon { |
|||
display: block; |
|||
height: 0.8em; |
|||
margin: 0 auto; |
|||
} |
|||
} |
|||
|
|||
&.active { |
|||
background: var(--direction-btn-color-80pct); |
|||
|
|||
&.action-button { |
|||
background-color: var(--brand-color-50pct); |
|||
color: white; |
|||
font-size: 2em; |
|||
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|||
|
|||
&[hidden] { |
|||
display: none; |
|||
} |
|||
|
|||
&.active { |
|||
background-color: var(--brand-color-80pct); |
|||
} |
|||
} |
|||
|
|||
img.button-icon { |
|||
display: block; |
|||
height: 0.8em; |
|||
margin: 0 auto; |
|||
|
|||
&.action-button.active, |
|||
&.direction-button.active { |
|||
border-color: white; |
|||
} |
|||
} |
|||
|
|||
button.action-button { |
|||
background-color: var(--brand-color-50pct); |
|||
color: white; |
|||
font-size: 2em; |
|||
font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol; |
|||
|
|||
&[hidden] { |
|||
display: none; |
|||
|
|||
&.direction-button#btn-move-left { |
|||
position: absolute; |
|||
bottom: 20px; |
|||
left: 20px; |
|||
} |
|||
|
|||
&.active { |
|||
background-color: var(--brand-color-80pct); |
|||
|
|||
&.direction-button#btn-move-right { |
|||
position: absolute; |
|||
bottom: 20px; |
|||
right: 20px; |
|||
} |
|||
} |
|||
|
|||
button.action-button.active, |
|||
button.direction-button.active { |
|||
border-color: white; |
|||
} |
|||
|
|||
button.direction-button#btn-move-left { |
|||
position: absolute; |
|||
bottom: 20px; |
|||
left: 20px; |
|||
} |
|||
|
|||
button.direction-button#btn-move-right { |
|||
position: absolute; |
|||
bottom: 20px; |
|||
right: 20px; |
|||
} |
|||
|
|||
button.action-button#btn-throw-egg { |
|||
position: absolute; |
|||
bottom: 120px; |
|||
right: 20px; |
|||
|
|||
&.action-button#btn-throw-egg { |
|||
position: absolute; |
|||
bottom: 120px; |
|||
right: 20px; |
|||
} |
|||
} |
Loading…
Reference in new issue