aboutsummaryrefslogtreecommitdiff
path: root/hg.css
diff options
context:
space:
mode:
authorIndrajith K L2022-11-25 03:28:07 +0530
committerIndrajith K L2022-11-25 03:28:07 +0530
commit3573342b8fd77ad7ea84b3037e9ffe520173e3a2 (patch)
tree54eae262997c9c5a0676111faa6e040d671a26e7 /hg.css
downloadretrowave-player-3573342b8fd77ad7ea84b3037e9ffe520173e3a2.tar.gz
retrowave-player-3573342b8fd77ad7ea84b3037e9ffe520173e3a2.tar.bz2
retrowave-player-3573342b8fd77ad7ea84b3037e9ffe520173e3a2.zip
Initial Commit
TODO: Keyboard Navigation
Diffstat (limited to 'hg.css')
-rw-r--r--hg.css182
1 files changed, 182 insertions, 0 deletions
diff --git a/hg.css b/hg.css
new file mode 100644
index 0000000..46754e5
--- /dev/null
+++ b/hg.css
@@ -0,0 +1,182 @@
+#app,
+body,
+html {
+ height: 100%;
+}
+
+html,
+body {
+ height: 100%;
+ width: 100%;
+ padding: 0;
+ margin: 0;
+ background: #FAFAFA;
+ font-family: 'Helvetica Neue', arial, sans-serif;
+ font-weight: 400;
+ color: #444;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+body {
+ background: #f5b7f0;
+}
+
+#app {
+ height: 100%;
+}
+
+* {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+
+.music-player {
+ width: 350px;
+ height: 500px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin: -250px 0 0 -175px;
+ overflow: hidden;
+ border-radius: 10px;
+ box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
+ text-align: center;
+}
+
+.music-player .color-overlay {
+ /* Rectangle 11: */
+ background: rgba(84, 104, 110, 0.4);
+ width: 350px;
+ height: 500px;
+ position: absolute;
+ z-index: 10;
+ top: 0;
+ left: 0;
+ transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
+}
+
+.music-player .gradient-overlay {
+ /* bg-gradient: */
+ background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 21%);
+ background-image: -moz-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 21%);
+ background-image: -o-linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 21%);
+ background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 21%);
+ width: 350px;
+ height: 500px;
+ position: absolute;
+ top: 350px;
+ left: 0;
+ z-index: 15;
+}
+
+.player-controls {
+ /* width: 100%;
+ position: absolute;
+ bottom: 100px;
+ left: 0;
+ margin: 0 auto;
+ padding: 0 50px;
+ color: #DCE3E7;
+ font-family: 'Droid Serif', serif;
+ font-style: 16px;
+ line-height: 24px;
+ z-index: 20;
+ opacity: 0;
+ transition: bottom 0.3s, opacity 0.3s cubic-bezier(0.33, 0.66, 0.66, 1); */
+}
+
+.music-player:hover .player-controls {
+ opacity: 1;
+ bottom: 120px;
+}
+
+.music-player:hover .color-overlay {
+ background: rgba(84, 104, 110, 0.8);
+}
+
+.title-content {
+ text-align: center;
+ margin: 130px 0 0 0;
+ position: absolute;
+ z-index: 20;
+ width: 100%;
+ top: 0;
+ left: 0;
+}
+
+h3 {
+ font-size: 24px;
+ font-weight: 500;
+ letter-spacing: 2px;
+ color: #9CC9E3;
+ font-family: 'Roboto', sans-serif;
+ margin-bottom: 0;
+ background: rgb(0 0 0 / 55%);
+ padding: 10px;
+}
+
+hr {
+ width: 50px;
+ height: 3px;
+ margin: 20px auto;
+ border: 0;
+ background: #D0BB57;
+}
+
+.intro {
+ width: 170px;
+ margin: 0 auto;
+ color: #DCE3E7;
+ font-family: 'Droid Serif', serif;
+ font-size: 13px;
+ font-style: italic;
+ line-height: 18px;
+}
+
+#info {
+ bottom: 0px;
+ position: absolute;
+ right: 8px;
+ z-index: 999;
+ color: #ffffff;
+ margin-bottom: 5px;
+ cursor: pointer;
+}
+
+#history {
+ bottom: 0px;
+ position: absolute;
+ left: 8px;
+ z-index: 999;
+ color: #ffffff;
+ margin-bottom: 5px;
+ cursor: pointer;
+}
+
+dialog {
+ text-align: center;
+ padding: 50px;
+ z-index: 999;
+ border: 1px solid #000000;
+ margin-left: 15px;
+ width: 50%;
+ background: #000000;
+ color: #ffffff;
+}
+
+dialog button {
+ background: #ffffff;
+ border: none;
+ padding: 3px;
+}
+
+dialog::backdrop {
+ background: repeating-linear-gradient(45deg,
+ rgba(0, 0, 0, 0.2),
+ rgba(0, 0, 0, 0.2) 1px,
+ rgba(0, 0, 0, 0.3) 1px,
+ rgba(0, 0, 0, 0.3) 20px);
+ backdrop-filter: blur(3px);
+} \ No newline at end of file