Update Frontend/style.css
Browse files- Frontend/style.css +137 -115
Frontend/style.css
CHANGED
|
@@ -1,116 +1,138 @@
|
|
| 1 |
-
body {
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
background:
|
| 12 |
-
color:
|
| 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 |
-
margin-
|
| 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 |
}
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
font-family: Arial, sans-serif;
|
| 3 |
+
background-color: #222;
|
| 4 |
+
color: #fff;
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 1rem;
|
| 7 |
+
text-align: center;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
body.light-mode {
|
| 11 |
+
background: #f0f0f0;
|
| 12 |
+
color: #222;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
h1 {
|
| 16 |
+
font-size: 2.7rem;
|
| 17 |
+
margin-bottom: 1.2rem;
|
| 18 |
+
background: linear-gradient(to right, #ff9a9e, #fad0c4);
|
| 19 |
+
-webkit-background-clip: text;
|
| 20 |
+
-webkit-text-fill-color: transparent;
|
| 21 |
+
text-align: center;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
#videoElement {
|
| 25 |
+
width: 100%;
|
| 26 |
+
max-width: 420px;
|
| 27 |
+
border-radius: 20px;
|
| 28 |
+
border: 4px solid rgba(255, 255, 255, 0.3);
|
| 29 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
|
| 30 |
+
margin-bottom: 24px;
|
| 31 |
+
object-fit: cover;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.btn {
|
| 35 |
+
background: linear-gradient(135deg, #00f2fe, #4facfe);
|
| 36 |
+
color: #fff;
|
| 37 |
+
padding: 14px 28px;
|
| 38 |
+
border: none;
|
| 39 |
+
border-radius: 50px;
|
| 40 |
+
font-size: 17px;
|
| 41 |
+
font-weight: 600;
|
| 42 |
+
cursor: pointer;
|
| 43 |
+
margin: 10px 0;
|
| 44 |
+
transition: all 0.3s ease;
|
| 45 |
+
box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.btn:hover {
|
| 49 |
+
background: linear-gradient(135deg, #43e97b, #38f9d7);
|
| 50 |
+
box-shadow: 0 8px 20px rgba(56, 249, 215, 0.5);
|
| 51 |
+
transform: scale(1.05);
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
#emojiDisplay {
|
| 55 |
+
margin-top: 20px;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
#emojiDisplay img {
|
| 59 |
+
margin-top: 1rem;
|
| 60 |
+
width: 140px;
|
| 61 |
+
height: auto;
|
| 62 |
+
border-radius: 16px;
|
| 63 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
|
| 64 |
+
animation: bounce 1.2s ease infinite;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
#toggleTheme {
|
| 68 |
+
background: linear-gradient(to right, #ff6a00, #ee0979);
|
| 69 |
+
color: #fff;
|
| 70 |
+
padding: 12px 24px;
|
| 71 |
+
border-radius: 40px;
|
| 72 |
+
font-size: 16px;
|
| 73 |
+
font-weight: 600;
|
| 74 |
+
border: none;
|
| 75 |
+
cursor: pointer;
|
| 76 |
+
transition: all 0.3s ease;
|
| 77 |
+
margin-bottom: 1rem;
|
| 78 |
+
box-shadow: 0 6px 12px rgba(255, 106, 0, 0.4);
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
#toggleTheme:hover {
|
| 82 |
+
background: linear-gradient(to right, #ee0979, #ff6a00);
|
| 83 |
+
box-shadow: 0 8px 18px rgba(238, 9, 121, 0.5);
|
| 84 |
+
transform: scale(1.05);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
#emotionText {
|
| 88 |
+
font-size: 1.3rem;
|
| 89 |
+
margin-top: 1.2rem;
|
| 90 |
+
font-weight: 500;
|
| 91 |
+
color: #c7ffec;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
@keyframes bounce {
|
| 95 |
+
0%, 100% {
|
| 96 |
+
transform: translateY(0);
|
| 97 |
+
}
|
| 98 |
+
50% {
|
| 99 |
+
transform: translateY(-10px);
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
#downloadEmoji {
|
| 104 |
+
display: none;
|
| 105 |
+
background: linear-gradient(to right, #ff6a00, #ee0979);
|
| 106 |
+
padding: 12px 24px;
|
| 107 |
+
border-radius: 40px;
|
| 108 |
+
margin-top: 20px;
|
| 109 |
+
color: #fff;
|
| 110 |
+
text-decoration: none;
|
| 111 |
+
font-weight: 600;
|
| 112 |
+
transition: all 0.3s ease;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
#downloadEmoji:hover {
|
| 116 |
+
background: linear-gradient(to right, #ee0979, #ff6a00);
|
| 117 |
+
box-shadow: 0 6px 12px rgba(255, 106, 0, 0.4);
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
#capturedImagePreview {
|
| 121 |
+
display: flex;
|
| 122 |
+
flex-direction: column;
|
| 123 |
+
align-items: center;
|
| 124 |
+
justify-content: center;
|
| 125 |
+
margin-top: 1.5rem;
|
| 126 |
+
width: 100%;
|
| 127 |
+
padding: 0 1rem;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
#snapshotImage {
|
| 131 |
+
max-width: 100%;
|
| 132 |
+
width: 100%;
|
| 133 |
+
max-width: 420px;
|
| 134 |
+
border-radius: 16px;
|
| 135 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
|
| 136 |
+
margin-top: 0.5rem;
|
| 137 |
+
height: auto;
|
| 138 |
}
|