2020-03-15 14:50:25 +00:00
|
|
|
import styled from "styled-components";
|
|
|
|
|
2020-03-09 12:52:27 +00:00
|
|
|
export const editButtonStyle = {
|
2020-03-23 20:24:17 +00:00
|
|
|
position: "absolute",
|
2020-03-09 12:52:27 +00:00
|
|
|
top: "0",
|
2020-03-23 20:24:17 +00:00
|
|
|
right: "0",
|
|
|
|
backgroundColor: "#3e99ff",
|
|
|
|
borderRadius: "0 0 0 20px",
|
|
|
|
padding: ".4rem 1.2rem",
|
|
|
|
outline: "none",
|
|
|
|
color: "white",
|
|
|
|
fontFamily: "Lato",
|
|
|
|
textTransform: "uppercase",
|
2020-03-09 12:52:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const panelStyle = {
|
2020-03-23 20:24:17 +00:00
|
|
|
position: "relative",
|
2020-03-25 14:43:03 +00:00
|
|
|
backgroundColor: "black",
|
2020-03-17 16:38:03 +00:00
|
|
|
height: "100vh",
|
2020-03-09 12:52:27 +00:00
|
|
|
width: "auto",
|
2020-03-17 16:38:03 +00:00
|
|
|
padding: "0rem 3rem",
|
2020-03-09 12:52:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const editModeStyle = {
|
2020-03-23 20:24:17 +00:00
|
|
|
position: "absolute",
|
2020-03-09 12:52:27 +00:00
|
|
|
top: "15%",
|
|
|
|
right: "0",
|
2020-03-23 20:24:17 +00:00
|
|
|
width: "1.5rem",
|
|
|
|
height: "1.5rem",
|
|
|
|
backgroundColor: "black",
|
2020-03-09 12:52:27 +00:00
|
|
|
borderRadius: "100%",
|
2020-03-23 20:24:17 +00:00
|
|
|
zIndex: "1000",
|
|
|
|
cursor: "pointer",
|
2020-03-09 12:52:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const editModeIconStyle = {
|
2020-03-23 20:24:17 +00:00
|
|
|
position: "absolute",
|
2020-03-09 12:52:27 +00:00
|
|
|
top: "50%",
|
|
|
|
left: "50%",
|
2020-03-23 20:24:17 +00:00
|
|
|
transform: "translate(-50%, -50%)",
|
2020-03-09 12:52:27 +00:00
|
|
|
width: "0.75rem",
|
2020-03-23 20:24:17 +00:00
|
|
|
height: "0.75rem",
|
|
|
|
borderRadius: "20%",
|
|
|
|
zIndex: "101",
|
2020-03-15 14:50:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const iconStyle = {
|
|
|
|
width: "4rem",
|
|
|
|
height: "auto",
|
|
|
|
position: "absolute",
|
|
|
|
top: "20%",
|
|
|
|
left: "50%",
|
|
|
|
transform: "translateX(-50%)",
|
2020-03-23 20:24:17 +00:00
|
|
|
filter: "drop-shadow( 1px 1px 0.5px rgba(0, 0, 0, .25))",
|
2020-03-15 14:50:25 +00:00
|
|
|
};
|
|
|
|
export const nameStyle = {
|
|
|
|
position: "absolute",
|
|
|
|
top: "50%",
|
|
|
|
left: "50%",
|
2020-03-23 20:24:17 +00:00
|
|
|
transform: "translateX(-50%)",
|
2020-03-15 14:50:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const formStyle = {
|
2020-03-23 20:24:17 +00:00
|
|
|
position: "absolute",
|
2020-03-15 14:50:25 +00:00
|
|
|
zIndex: "1000",
|
2020-03-23 20:24:17 +00:00
|
|
|
width: "80rem",
|
|
|
|
height: "10rem",
|
|
|
|
padding: "1rem",
|
|
|
|
margin: "1rem",
|
|
|
|
borderRadius: "10%",
|
|
|
|
boxShadow: "1px 1px 5px 2px #5d5d5d",
|
2020-03-15 14:50:25 +00:00
|
|
|
backgroundColor: "#3e99ff",
|
|
|
|
};
|
|
|
|
|
|
|
|
export const addDeviceFormStyle = {
|
2020-03-23 20:24:17 +00:00
|
|
|
maxWidth: "400px",
|
|
|
|
background: "#3e99ff",
|
|
|
|
paddingRight: "5rem",
|
2020-03-15 14:50:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const StyledDiv = styled.div`
|
2020-03-23 20:24:17 +00:00
|
|
|
background-color: white;
|
|
|
|
padding: 3rem;
|
2020-03-15 14:50:25 +00:00
|
|
|
width: 10rem;
|
|
|
|
height: 10rem;
|
2020-03-23 20:24:17 +00:00
|
|
|
border-radius: 100%;
|
|
|
|
border: none;
|
|
|
|
position: relative;
|
2020-03-15 14:50:25 +00:00
|
|
|
box-shadow: 3px 2px 10px 5px #ccc;
|
2020-03-23 20:24:17 +00:00
|
|
|
transition: all 0.3s ease-out;
|
|
|
|
text-align: center;
|
|
|
|
:hover {
|
|
|
|
background-color: #f2f2f2;
|
2020-03-15 14:50:25 +00:00
|
|
|
}
|
2020-03-23 20:24:17 +00:00
|
|
|
:active {
|
|
|
|
transform: translate(0.3px, 0.8px);
|
2020-03-15 14:50:25 +00:00
|
|
|
box-shadow: 0.5px 0.5px 7px 3.5px #ccc;
|
|
|
|
}
|
|
|
|
`;
|