ChandimaPrabath commited on
Commit
929ba7b
·
1 Parent(s): 4131df6

style patch

Browse files
frontend/src/components/Player/Player.css CHANGED
@@ -26,7 +26,7 @@
26
  }
27
 
28
  .video-title-text {
29
- font-weight: 100;
30
  font-size: 1.2rem;
31
  overflow: hidden;
32
  white-space: nowrap;
@@ -169,6 +169,7 @@
169
  .current-time,
170
  .duration {
171
  color: white;
 
172
  }
173
 
174
  .play-pause-btn,
 
26
  }
27
 
28
  .video-title-text {
29
+ font-weight: 200;
30
  font-size: 1.2rem;
31
  overflow: hidden;
32
  white-space: nowrap;
 
169
  .current-time,
170
  .duration {
171
  color: white;
172
+ font-weight: 200;
173
  }
174
 
175
  .play-pause-btn,
frontend/src/components/shared/Sidebar/Sidebar.css CHANGED
@@ -76,10 +76,11 @@
76
  align-items: center;
77
  padding: 8px 16px;
78
  border-radius: 8px;
 
79
  margin-bottom: 8px;
80
  margin-left: 10px;
81
  margin-right: 10px;
82
- background-color: #12121f;
83
  cursor: pointer;
84
  white-space: nowrap;
85
  position: relative;
@@ -88,7 +89,7 @@
88
 
89
  .sidebar-link.active {
90
  color: #ffffff;
91
- background-color: #1c2354;
92
  border: 1px solid #4339ff;
93
  }
94
 
 
76
  align-items: center;
77
  padding: 8px 16px;
78
  border-radius: 8px;
79
+ border-right: none !important;
80
  margin-bottom: 8px;
81
  margin-left: 10px;
82
  margin-right: 10px;
83
+ background-image: linear-gradient(45deg, #12121f, transparent);
84
  cursor: pointer;
85
  white-space: nowrap;
86
  position: relative;
 
89
 
90
  .sidebar-link.active {
91
  color: #ffffff;
92
+ background-image: linear-gradient(45deg, #1c2354, transparent);
93
  border: 1px solid #4339ff;
94
  }
95
 
frontend/src/components/shared/Sidebar/Sidebar.js CHANGED
@@ -106,8 +106,8 @@ const Sidebar = () => {
106
  <SidebarItem icon="tv_guide" text="TV Shows" />
107
  </Link>
108
  <Link
109
- href="/genre"
110
- className={`sidebar-link ${pathname === "/genre" ? "active" : ""}`}
111
  onMouseEnter={handleMouseEnter}
112
  onMouseLeave={handleMouseLeave}
113
  onClick={handleLinkClick}
 
106
  <SidebarItem icon="tv_guide" text="TV Shows" />
107
  </Link>
108
  <Link
109
+ href="/categories"
110
+ className={`sidebar-link ${pathname === "/categories" ? "active" : ""}`}
111
  onMouseEnter={handleMouseEnter}
112
  onMouseLeave={handleMouseLeave}
113
  onClick={handleLinkClick}