mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-24 06:39:29 +00:00
migrate to CSS Modules
This commit is contained in:
parent
c5b43f2e55
commit
d9be5c1eba
51 changed files with 1684 additions and 1630 deletions
22
src/components/TouchControls.module.css
Normal file
22
src/components/TouchControls.module.css
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
.Joystick {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.Left {
|
||||
composes: Joystick;
|
||||
left: 20px;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.Right {
|
||||
composes: Joystick;
|
||||
left: auto;
|
||||
right: 20px;
|
||||
transform: none;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue