gladiator30

custom.css

Jan 21st, 2026
1,621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. /* Hide scrollbar for Chrome, Safari and Opera */
  2. ::-webkit-scrollbar {
  3. display: none;
  4. }
  5.  
  6.  
  7. /* Hide scrollbar for IE, Edge and Firefox */
  8. body {
  9. -ms-overflow-style: none; /* IE and Edge */
  10. scrollbar-width: none; /* Firefox */
  11. }
  12.  
  13.  
  14. /* Apply zoom specifically for the Homepage */
  15. /* body {
  16. zoom: 0.8;
  17. } */
  18. html {
  19. font-size: 80%;
  20. }
  21.  
  22.  
  23. /* Due to tailwind v4*/
  24. .container {
  25. @media(min-width: 767px) {
  26. max-width: 100vw !important;
  27. width: 90% !important;
  28. }
  29. }
  30.  
  31.  
  32. /* Make all iframe color-scheme as dark by default */
  33. /* iframe {
  34. color-scheme: dark !important;
  35. } */
  36.  
  37.  
  38. /* .service-block:has(.glance),
  39. .service-block:has(.uptimekuma),
  40. .service-block:has(.home-assistant) {
  41. border: none;
  42. } */
  43.  
  44.  
  45. /* Iframe styles */
  46. /* .home-assistant,
  47. .glance,
  48. .weather {
  49. width: 110%;
  50. border: 0;
  51. }
  52.  
  53.  
  54. .home-assistant {
  55. height: 250px;
  56. margin: -10px 0px 0px 0px;
  57. } */
  58.  
  59.  
  60. /* For custom classes used in iFrame */
  61. .iframe-home-assistant-media {
  62. width: 300px;
  63. height: 500px;
  64. }
  65.  
  66.  
  67. .iframe-home-assistant-weather {
  68. background: transparent;
  69. height: 285px;
  70. margin: -13px 0px 0px 0px;
  71. @media(min-width: 767px) {
  72. zoom: 0.85;
  73. height: 280px;
  74. }
  75. @media(min-width: 1536px) {
  76. zoom: 0.83;
  77. height: 290px;
  78. }
  79. @media(min-width: 1800px) {
  80. zoom: 0.92;
  81. height: 260px;
  82. }
  83. }
  84.  
  85.  
  86. .iframe-grafana {
  87. background: transparent;
  88. zoom: 0.8;
  89. height: 900px;
  90. margin: -13px 0px 0px 0px;
  91. }
  92.  
  93.  
  94. .iframe-cameras {
  95. background: transparent;
  96. zoom: 0.9;
  97. height: 800px;
  98. margin: -13px 0px 0px 0px;
  99. }
  100.  
  101.  
  102. .iframe-cricket {
  103. background: transparent;
  104. height: 200px;
  105. margin: -13px 0px 0px 0px;
  106. }
  107.  
  108.  
  109. #floatCrictimes {
  110. color-scheme: light !important;
  111. }
  112.  
  113.  
  114. /*
  115. For custom column layout
  116. [https://web.archive.org/web/20250220082406/https://pastebin.com/MHmLFvLL](https://web.archive.org/web/20250220082406/https://pastebin.com/MHmLFvLL)
  117. [https://web.archive.org/web/20250220083734/https://pastebin.com/1DCcKecf](https://web.archive.org/web/20250220083734/https://pastebin.com/1DCcKecf)
  118. [https://web.archive.org/web/20250220082606/https://pastebin.com/4qKdL0d0](https://web.archive.org/web/20250220082606/https://pastebin.com/4qKdL0d0)
  119. [https://web.archive.org/web/20250220082808/https://pastebin.com/rMWV1T0V](https://web.archive.org/web/20250220082808/https://pastebin.com/rMWV1T0V)
  120. */
  121. .services-list.flex.flex-col {
  122. display: grid !important;
  123. grid-template-columns: repeat(42, 1fr);
  124. gap: 0.5rem;
  125. }
  126. .services-list.flex.flex-col .service {
  127. grid-column: span 42;
  128. }
  129. .services-list.flex.flex-col .service > div {
  130. height: 100%;
  131. }
  132. .services-list.flex.flex-col .service > .mb-2 {
  133. margin-bottom: 0 !important;
  134. }
  135. .services-list.flex.flex-col [id^="col-1-8"].service { /* 1/8 */
  136. grid-column: span 7;
  137. }
  138. .services-list.flex.flex-col [id^="col-9-21"].service { /* 9/21 */
  139. grid-column: span 18;
  140. }
  141. .services-list.flex.flex-col [id^="col-1-2"].service { /* 1/2 */
  142. grid-column: span 21;
  143. }
  144. .services-list.flex.flex-col [id^="col-12-21"].service { /* 12/21 */
  145. grid-column: span 24;
  146. }
  147. .services-list.flex.flex-col [id^="col-3x"].service {
  148. @media(min-width: 1100px) {
  149. grid-column: span 50;
  150. }
  151. @media(min-width: 1536px) {
  152. grid-column: span 156;
  153. }
  154. @media(min-width: 1800px) {
  155. grid-column: span 194;
  156. }
  157. }
  158.  
  159.  
  160. /* @media(min-width: 1100px) {
  161. .services-list.flex.flex-col #col-3x.service {
  162. grid-column: span 144;
  163. }
  164. }
  165.  
  166.  
  167. @media(min-width: 1536px) {
  168. .services-list.flex.flex-col #col-3x.service {
  169. grid-column: span 174;
  170. }
  171. }
  172.  
  173.  
  174. @media(min-width: 1800px) {
  175. .services-list.flex.flex-col #col-3x.service {
  176. grid-column: span 204;
  177. }
  178. } */
  179.  
  180.  
  181. .service-icon {
  182. width: 2.3rem !important;
  183. }
  184. #col-1-8 .service-icon {
  185. width: auto !important; /* Reset or override for col-1-8 */
  186. }
  187.  
  188.  
  189. .logout-icon {
  190. font-size: 18px !important;
  191. color: #ffffff99 !important;
  192. margin: auto;
  193. }
  194.  
  195.  
  196. /* Reduce padding and width for the health/status button */
  197. .service-container-stats > div {
  198. padding: 0.75rem 0.4rem !important;
  199. }
  200.  
  201.  
  202. .custom-docker-btn > div:hover,
  203. .custom-docker-btn:focus > div {
  204. background: rgba(0,0,0,0.18) !important; /* or match the exact shade from the original */
  205. }
  206.  
  207.  
  208. /* Vertically center the .service-icon within .service-title */
  209. .service-title {
  210. align-items: center !important; /* Vertically center children, including .service-icon */
  211. }
  212.  
  213.  
  214. /* Adjust icon size */
  215. .service-icon {
  216. width: 24px !important;
  217. height: 24px !important;
  218. }
  219. .service-icon img {
  220. width: 24px !important;
  221. height: 24px !important;
  222. }
  223.  
  224.  
  225. /* Camera reboot button styling */
  226. .custom-camera-reboot-btn > div:hover,
  227. .custom-camera-reboot-btn:focus > div {
  228. background: rgba(34, 197, 94, 0.2) !important; /* Green tint for camera actions */
  229. }
  230.  
  231.  
  232. .custom-camera-reboot-btn:disabled {
  233. cursor: not-allowed;
  234. opacity: 0.5 !important;
  235. }
  236.  
  237.  
  238. /* Optional: Add animation for reboot button */
  239. .custom-camera-reboot-btn:active svg {
  240. animation: spin 0.5s linear;
  241. }
  242.  
  243.  
  244. @keyframes spin {
  245. from { transform: rotate(0deg); }
  246. to { transform: rotate(360deg); }
  247. }
Advertisement
Add Comment
Please, Sign In to add comment