Skip to content

Commit 25f375e

Browse files
committed
Added index.css for specific styling
1 parent 704e881 commit 25f375e

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

wwwroot/css/index.css

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
body {
2+
background-color: #3f4549;
3+
}
4+
5+
[data-card="cameraContainer"] {
6+
width: 100%;
7+
box-sizing: border-box;
8+
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
9+
background-color: #fff;
10+
border-radius: 0.5rem;
11+
padding: 1rem;
12+
margin: 1rem;
13+
transition: box-shadow 0.3s ease, border-radius 0.3s ease,
14+
background-color 0.3s ease;
15+
}
16+
17+
[data-card="cameraContainer"]:hover {
18+
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
19+
border-radius: 1.5rem;
20+
background-color: #dcdcdc;
21+
}
22+
23+
.camera-card {
24+
width: 100%;
25+
}
26+
27+
.bg-light-gray {
28+
background-color: #7d8690; /* Light Gray */
29+
}
30+
31+
.bg-gray {
32+
background-color: #6c757d; /* Gray */
33+
}
34+
35+
.bg-dark-gray {
36+
background-color: #3f4549; /* Dark Gray */
37+
}
38+
39+
body {
40+
overflow-y: scroll;
41+
scrollbar-width: thin;
42+
scrollbar-color: #333 #f5f5f5;
43+
}
44+
45+
body::-webkit-scrollbar {
46+
width: 8px;
47+
}
48+
49+
body::-webkit-scrollbar-thumb {
50+
background-color: #333;
51+
}
52+
53+
body::-webkit-scrollbar-track {
54+
background-color: #f5f5f5;
55+
}
56+
57+
58+
#streamNotif {
59+
visibility: hidden;
60+
min-width: 3rem;
61+
background-color: #20ad6b;
62+
color: #ffffff;
63+
text-align: center;
64+
border-radius: 2rem;
65+
padding: 2rem;
66+
position: fixed;
67+
z-index: 1;
68+
left: 50%;
69+
bottom: 2rem;
70+
font-size: 1.5rem;
71+
opacity: 0.9;
72+
}
73+
74+
#streamNotif.show {
75+
visibility: visible;
76+
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
77+
animation: fadein 0.5s, fadeout 0.5s 2.5s;
78+
}
79+
80+
@-webkit-keyframes fadein {
81+
from {bottom: 0; opacity: 0;}
82+
to {bottom: 30px; opacity: 1;}
83+
}
84+
85+
@keyframes fadein {
86+
from {bottom: 0; opacity: 0;}
87+
to {bottom: 30px; opacity: 1;}
88+
}
89+
90+
@-webkit-keyframes fadeout {
91+
from {bottom: 30px; opacity: 1;}
92+
to {bottom: 0; opacity: 0;}
93+
}
94+
95+
@keyframes fadeout {
96+
from {bottom: 30px; opacity: 1;}
97+
to {bottom: 0; opacity: 0;}
98+
}

0 commit comments

Comments
 (0)