frontend/smart-hut/src/components/dashboard/devices/SwitchStyle.js

18 lines
349 B
JavaScript
Raw Normal View History

2020-03-17 16:38:03 +00:00
export const imageStyle = {
width: "4.5rem",
height: "auto",
position: "absolute",
top: "15%",
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-17 16:38:03 +00:00
};
export const nameStyle = {
2020-03-23 20:24:17 +00:00
color: "black",
2020-03-17 16:38:03 +00:00
position: "absolute",
top: "45%",
left: "50%",
2020-03-23 20:24:17 +00:00
transform: "translateX(-50%)",
2020-03-17 16:38:03 +00:00
};