Skip to content

Commit

Permalink
feat: added push-to-talk-classname and updated px to rem
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 15, 2024
1 parent e0d8a17 commit fe27a5f
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions src/components/loader/loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,31 @@ import styled from "@emotion/styled";
import { FC, useEffect, useState } from "react";

const Loading = styled.div`
border: 4px solid rgba(0, 0, 0, 0.1);
border-top: 4px solid #333;
border: 0.4rem solid rgba(0, 0, 0, 0.1);
border-top: 0.4rem solid #333;
border-radius: 50%;
width: 30px;
height: 30px;
width: 3rem;
height: 3rem;
animation: spin 1s linear infinite;
margin: auto;
&.create-production {
position: absolute;
top: 5px;
left: 60px;
top: 0.5rem;
left: 6rem;
}
&.join-production {
border: 4px solid rgba(201, 201, 201, 0.1);
border-top: 4px solid #e2e2e2;
border: 0.4rem solid rgba(201, 201, 201, 0.1);
border-top: 0.4rem solid #e2e2e2;
}
&.push-to-talk {
border: 0.4rem solid rgba(0, 173, 43, 0.1);
border-top: 0.4rem solid #00be10;
position: absolute;
top: 0.5rem;
left: 4.5rem;
}
@keyframes spin {
Expand Down

0 comments on commit fe27a5f

Please sign in to comment.