From 6999c971868d03a9e44b1810350ce6e7cac3d827 Mon Sep 17 00:00:00 2001 From: Madhav Dua Date: Wed, 12 Jun 2024 13:29:29 +0530 Subject: [PATCH] ui updates-2 --- src/App.jsx | 2 +- src/components/Cards/Card.css | 40 ++++++++++++++++++++++++++++++++ src/components/Cards/Card.jsx | 2 +- src/components/Navbar.jsx | 2 +- src/components/Searchepisode.jsx | 3 ++- 5 files changed, 45 insertions(+), 4 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 7d30a80..fd26182 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,7 +6,7 @@ import './App.css'; import Navbar from './components/Navbar'; function App() { - const [value, setValue] = useState(1); + const [value, setValue] = useState(); const [episodeNumber, setEpisodeNumber] = useState(1); const [startPlayback, setStartPlayback] = useState(true); const [progress, setProgress] = useState(0); diff --git a/src/components/Cards/Card.css b/src/components/Cards/Card.css index 7cb2a0e..ef2f73d 100644 --- a/src/components/Cards/Card.css +++ b/src/components/Cards/Card.css @@ -7,6 +7,46 @@ body { border-radius: 5px } + .rhap_container { + background: #f7f7f9; + } + + .rhap_controls-section { + margin-bottom: 15px; + } + + .rhap_progress-section { + height: 20px; + padding-bottom: 20px; + } + + /* .rhap_main-controls-button { + width: 80px !important; + height: 80px !important; + } */ + + /* .rhap_main-controls-button { + width: 4vw; + height: 4vw; + } */ + .rhap_main-controls-button svg { + color: #ff5555; + width: 100%; + height: 100%; + } + .rhap_progress-filled, + .rhap_progress-indicator { + background-color: #ff5555 !important; + } + + .rhap_button-clear.rhap_volume-button { + color: #ff5555 !important; + } + + .rhap_volume-bar, .rhap_volume-indicator { + background-color: red; + } + \ No newline at end of file diff --git a/src/components/Cards/Card.jsx b/src/components/Cards/Card.jsx index fc6072e..3f11325 100644 --- a/src/components/Cards/Card.jsx +++ b/src/components/Cards/Card.jsx @@ -48,7 +48,7 @@ const Card = (props) => { customAdditionalControls={[]} customVolumeControls={[]} showDownloadProgress={[]} - className='audio-player' + className='my-2 py-4' showSkipControls={true} style={{ color: "white" }} /> diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 5a0e6c2..43e1bf7 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -6,7 +6,7 @@ function Navbar(props) { const ww=window.innerWidth; return ( <> -