home.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. page-home {
  2. }
  3. .grid-container {
  4. display: grid;
  5. height: 100%;
  6. width: 100%;
  7. grid-template-columns: 5% 1fr 10% 1fr 5%;
  8. grid-template-rows: 10% 1fr 1fr 1fr 1fr 10%;
  9. grid-gap: 1px 1px;
  10. }
  11. h2 {
  12. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  13. font-weight: 700;
  14. }
  15. .header { grid-area: 1 / 2 / 2 / 5; }
  16. .graph { grid-area: 2 / 2 / 4 / 5; }
  17. .temperature_label { grid-area: 4 / 2 / 5 / 4; }
  18. .temperature_value { grid-area: 4 / 4 / 5 / 5; text-align: right; }
  19. .temperature_label, .temperature_value {
  20. font-size: 1.2em;
  21. }
  22. .gauge-1 { grid-area: 5 / 2 / 6 / 3; }
  23. .gauge-2 { grid-area: 5 / 4 / 6 / 5; }
  24. .error { grid-area: 3 / 2 / 4 / 5; text-align: center }
  25. .gauge-container {
  26. /* width: 150px;
  27. height: 150px; */
  28. display: block;
  29. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  30. /* padding: 10px; */
  31. }
  32. .gauge-container > .gauge > .dial {
  33. stroke: #eee;
  34. stroke-width: 5;
  35. fill: rgba(0,0,0,0);
  36. }
  37. .gauge-container > .gauge > .value {
  38. stroke: #999;
  39. stroke-width: 5;
  40. fill: rgba(0,0,0,0);
  41. }
  42. .gauge-container > .gauge > .value-text {
  43. fill: #ffc107;
  44. font-size: 1em;
  45. }
  46. .gauge-container > .gauge > .title {
  47. fill: #ffc107;
  48. font-size: 1em;
  49. }