1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- @import './base';
- html,
- body {
- height: 100%;
- background-color: transparent;
- }
- .mod-start,
- .mod-main {
- position: relative;
- height: 100%;
- }
- .mod-start {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .mod-camera {
- position: relative;
- height: 100%;
- #cameraVideo {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: fill;
- }
- .mod-game {
- position: absolute;
- left: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- canvas {
- display: block;
- width: 100%;
- height: 100%;
- }
- }
- }
- .mod-record {
- position: absolute;
- left: 50%;
- bottom: 0;
- width: 60px;
- height: 60px;
- transform: translate(-50%, 0);
- font-size: 14px;
- line-height: 60px;
- border-radius: 50%;
- text-align: center;
- background-color: rgba($color: red, $alpha: 1.0);
- color: #fff;
- user-select: none;
- &:active {
- opacity: .8;
- }
- }
- .hide {
- display: none;
- }
- .show {
- display: block;
- }
|