-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
138 lines (121 loc) · 2.34 KB
/
style.css
File metadata and controls
138 lines (121 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
body {
margin: 0;
font-family: Arial, sans-serif;
background: #121212;
color: white;
overflow: hidden;
}
.container {
display: flex;
height: 100vh;
}
.sidebar {
width: 250px;
height: 100%;
background: #1f1f1f;
padding: 20px;
display: flex;
flex-direction: column;
}
.search-container {
position: relative;
margin-bottom: 15px;
flex-shrink: 0; /* Prevents the search bar from shrinking */
}
#searchInput {
width: 100%;
padding: 8px 10px 8px 30px;
border: none;
border-radius: 5px;
background: #333;
color: white;
}
.search-icon {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: #aaa;
}
.sidebar ul {
list-style: none;
padding: 0;
overflow-y: auto; /* Enables scrolling for the channel list */
margin-top: 0;
flex-grow: 1; /* Allows the list to fill the remaining space */
}
.sidebar li {
display: flex;
align-items: center;
padding: 10px;
cursor: pointer;
transition: background 0.3s, box-shadow 0.3s;
border-radius: 8px;
margin-bottom: 8px;
background: #2a2a2a;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.sidebar li:hover {
background: #ff5722;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
/* Removed transform to fix the moving effect */
}
.sidebar img {
height: 40px;
width: 40px;
margin-right: 15px;
border-radius: 50%;
}
.main {
flex-grow: 1;
display: flex;
flex-direction: column;
background: #000;
position: relative;
}
#player {
flex-grow: 1;
transition: opacity 0.5s ease-in-out;
}
/* Marquee Styles */
.marquee-container {
display: flex;
align-items: center;
background: #333;
padding: 5px 10px;
border-top: 2px solid #ff5722;
}
.bell-icon {
color: #ff5722;
font-size: 18px;
margin-right: 10px;
flex-shrink: 0;
}
marquee {
color: #fff;
white-space: nowrap;
font-size: 14px;
}
/* Button Controls */
.controls {
background: #222;
padding: 10px; /* Reduced padding */
text-align: center;
}
.controls button {
background: #ff5722;
border: none;
color: white;
font-size: 14px; /* Reduced font size */
font-weight: bold;
padding: 8px 20px; /* Reduced padding */
margin: 5px;
cursor: pointer;
border-radius: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
transition: background 0.3s, transform 0.2s;
}
.controls button:hover {
background: #e64a19;
transform: scale(1.05);
}