Guest User

Untitled

a guest
Mar 14th, 2025
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | Software | 0 0
  1. :host{
  2. --icon-Background-Color: #333333 ;
  3. --color-yellow: 255, 202, 58 ;
  4. --color-blue: 25, 130, 196 ;
  5. --color-green: 138, 201, 38 ;
  6. --color-purple: 106, 76, 147 ;
  7. }
  8.  
  9. .card-content {
  10. width: 100%;
  11. margin: 0 !important;
  12. }
  13.  
  14. .large .bubble-button-card-container {
  15. height: calc( var(--row-height) * var(--row-size) + var(--row-gap) * ( var(--row-size) - 1 )) !important;
  16. overflow: hidden !important;
  17. max-height: 170px;
  18. max-width: 170px;
  19. margin-right: 7.5px;
  20. border: 1px solid #1A1A1A;
  21. }
  22.  
  23. .bubble-button-card {
  24. display: grid;
  25. grid-template-areas:
  26. 'n n n b'
  27. 'l l l b'
  28. 'i i . b'
  29. 'i i . b';
  30. grid-template-columns: 1fr 1fr 1fr 1fr;
  31. grid-template-rows: 1.5fr 0.5fr 1fr 1fr;
  32. justify-items: center;
  33. }
  34.  
  35. .bubble-button-background {
  36. opacity: 1 !important;
  37. background-color: ${state === 'on' ? '#1A1A1A' : 'rgb(0,0,0)'} !important;
  38. }
  39.  
  40. .bubble-icon-container {
  41. grid-area: i;
  42. border-radius: 45% !important;
  43. width: 139px !important;
  44. height: 139px !important;
  45. max-width: 139px !important;
  46. max-height: 139px !important;
  47. position: absolute !important;
  48. place-self: center !important;
  49. margin: 60px 60px 0px 0px !important;
  50. padding: 0px, 0px, 0px, 0px !important;
  51. background-color: ${state === 'on' ? '#EEE8D5' : '#333333'} !important;
  52. }
  53.  
  54. .bubble-icon {
  55. width: 40%;
  56. position: absolute !important;
  57. right: 13px;
  58. top: 18px;
  59. --mdc-icon-size: 46px !important;
  60. opacity: 1 !important;
  61. color: black !important;
  62. }
  63.  
  64. .bubble-name-container {
  65. grid-area: n;
  66. justify-self: start;
  67. margin-left: 20px;
  68. max-width: calc(100% -(12px + 0px));
  69. }
  70.  
  71. .bubble-name {
  72. font-weight: 500;
  73. font-size: 16px;
  74. }
  75.  
  76. .bubble-state {
  77. font-weight: 300;
  78. font-size: 16px;
  79. }
  80.  
  81. .large .bubble-sub-button-container {
  82. grid-area: b;
  83. display: flex !important;
  84. flex-wrap: wrap;
  85. flex-direction: column;
  86. gap: calc((100% - 4 * 36px)/5) !important;
  87. justify-content: flex-start;
  88. width: auto !important;
  89. right: 9px !important;
  90. padding-right: 0px !important;
  91. height: 100% !important;
  92. top: 13px !important;
  93. }
  94.  
  95. .bubble-sub-button-1 {
  96. background-color: ${hass.states['fan.xxx'].state === 'on' ? '#6C71C4' : '#333333'} !important;
  97. }
  98.  
  99. .bubble-sub-button-2 {
  100. background-color: ${hass.states['input_boolean.xxx'].state === 'on' ? '#2AA198' : '#333333'} !important;
  101. }
  102.  
  103. .bubble-sub-button-3 {
  104. background-color: ${hass.states['switch.xxx'].state === 'on' ? '#E54666' : '#333333'} !important;
  105. }
  106.  
  107. .large .bubble-sub-button {
  108. height: 36px !important;
  109. }
  110. grid_options:
  111. columns: 6
  112. rows: 3
Advertisement
Add Comment
Please, Sign In to add comment