|
| 1 | +header { |
| 2 | + background-color: #030303; |
| 3 | + width: 100%; |
| 4 | + height: 14vh; |
| 5 | + display: flex; |
| 6 | + justify-content: space-between; |
| 7 | + align-items: center; |
| 8 | + position: fixed; |
| 9 | + top: 0; |
| 10 | + z-index: 10; |
| 11 | + padding-left: 3vw; |
| 12 | + padding-right: 3vw; |
| 13 | +} |
| 14 | + |
| 15 | +user-forms { |
| 16 | + position: absolute; /* Allows positioning using top, left, right, bottom */ |
| 17 | + left: 0; |
| 18 | + top: 14vh; |
| 19 | + width: 100%; /* Match the width of the page */ |
| 20 | + z-index: 5; /* Ensure it's above other content but below overlays */ |
| 21 | + color: white; /* Optional: Adjust text color */ |
| 22 | + padding: 1rem; /* Optional: Add padding for content */ |
| 23 | +} |
| 24 | + |
| 25 | +@media (max-width: 768px) { |
| 26 | + user-forms { |
| 27 | + top: 10vh; |
| 28 | + } |
| 29 | +} |
| 30 | + |
| 31 | +@media (max-width: 576px) { |
| 32 | + user-forms { |
| 33 | + top: 8vh; |
| 34 | + } |
| 35 | +} |
| 36 | + |
| 37 | +@media (max-width: 480px) { |
| 38 | + user-forms { |
| 39 | + top: 6vh; |
| 40 | + } |
| 41 | +} |
| 42 | + |
| 43 | + |
| 44 | +.user-title-name { |
| 45 | + color: white; |
| 46 | + font-size: 1.5rem; |
| 47 | + font-weight: 700; |
| 48 | + font-family: 'Helvetica Neue', sans-serif; |
| 49 | + /* Text to mayus */ |
| 50 | + text-transform: uppercase; |
| 51 | +} |
| 52 | + |
| 53 | + |
| 54 | +.rounded-circle { |
| 55 | + border-radius: 50%; |
| 56 | + width: 20%; |
| 57 | + max-width: 80px; |
| 58 | + min-width: 40px; |
| 59 | + border: 5px solid white; |
| 60 | + box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); |
| 61 | +} |
| 62 | + |
| 63 | +/* Progress bar */ |
| 64 | +.progress { |
| 65 | + font-size: 0.8rem; |
| 66 | +} |
| 67 | + |
| 68 | + |
| 69 | +@media (max-width: 768px) { |
| 70 | + header { |
| 71 | + height: 10vh; |
| 72 | + } |
| 73 | + |
| 74 | + .user-title-name { |
| 75 | + font-size: 1.2rem; |
| 76 | + } |
| 77 | + |
| 78 | + .rounded-circle { |
| 79 | + width: 15%; |
| 80 | + border: 4px solid white; |
| 81 | + } |
| 82 | + |
| 83 | + .progress { |
| 84 | + font-size: 0.7rem; |
| 85 | + } |
| 86 | +} |
| 87 | + |
| 88 | +@media (max-width: 576px) { |
| 89 | + header { |
| 90 | + height: 8vh; |
| 91 | + } |
| 92 | + |
| 93 | + .user-title-name { |
| 94 | + font-size: 1rem; |
| 95 | + } |
| 96 | + |
| 97 | + .rounded-circle { |
| 98 | + width: 10%; |
| 99 | + border: 4px solid white; |
| 100 | + } |
| 101 | + |
| 102 | + .progress { |
| 103 | + font-size: 0.6rem; |
| 104 | + } |
| 105 | +} |
| 106 | + |
| 107 | +@media (max-width: 480px) { |
| 108 | + header { |
| 109 | + height: 6vh; |
| 110 | + } |
| 111 | + |
| 112 | + .user-title-name { |
| 113 | + font-size: 0.8rem; |
| 114 | + } |
| 115 | + |
| 116 | + .rounded-circle { |
| 117 | + width: 8%; |
| 118 | + border: 3px solid white; |
| 119 | + } |
| 120 | + |
| 121 | + .progress { |
| 122 | + font-size: 0.5rem; |
| 123 | + } |
| 124 | +} |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | +.profile-container { |
| 130 | + display: flex; |
| 131 | + flex-direction: column; |
| 132 | + align-items: left; |
| 133 | + justify-content: center; |
| 134 | + width: 100%; |
| 135 | + padding-left: 2vw; |
| 136 | + padding-right: 10vw; |
| 137 | +} |
| 138 | + |
| 139 | + |
| 140 | +.options-container { |
| 141 | + display: flex; |
| 142 | + flex-direction: column; |
| 143 | + align-items: center; |
| 144 | + justify-content: center; |
| 145 | + width: 20vw; |
| 146 | +} |
| 147 | + |
| 148 | + |
| 149 | +/* Logout button */ |
| 150 | +.logout-btn { |
| 151 | + color: #f3f3f3; |
| 152 | + background-color: #ff4747; |
| 153 | + border-radius: 5px; |
| 154 | + border: none; |
| 155 | + cursor: pointer; |
| 156 | + font-weight: bold; |
| 157 | + font-size: 1rem; |
| 158 | + width: 30%; |
| 159 | + max-width: 100px; |
| 160 | + min-width: 100px; |
| 161 | + margin-right: 6vw; |
| 162 | +} |
| 163 | + |
| 164 | +.logout-btn:hover { |
| 165 | + background-color: #e63636; |
| 166 | +} |
| 167 | + |
| 168 | +.logout-btn:focus { |
| 169 | + outline: none; |
| 170 | +} |
| 171 | + |
| 172 | + |
| 173 | +@media (max-width: 768px) { |
| 174 | + .logout-btn { |
| 175 | + width: 25%; |
| 176 | + max-width: 80px; |
| 177 | + min-width: 80px; |
| 178 | + font-size: 0.8rem; |
| 179 | + } |
| 180 | +} |
| 181 | + |
| 182 | +@media (max-width: 576px) { |
| 183 | + .logout-btn { |
| 184 | + width: 20%; |
| 185 | + max-width: 70px; |
| 186 | + min-width: 70px; |
| 187 | + font-size: 0.7rem; |
| 188 | + } |
| 189 | +} |
| 190 | + |
| 191 | +@media (max-width: 480px) { |
| 192 | + .logout-btn { |
| 193 | + width: 15%; |
| 194 | + max-width: 60px; |
| 195 | + min-width: 60px; |
| 196 | + font-size: 0.6rem; |
| 197 | + } |
| 198 | +} |
| 199 | + |
| 200 | + |
| 201 | +.theme-icon { |
| 202 | + cursor: pointer; |
| 203 | + font-size: 1rem; |
| 204 | + color: white; |
| 205 | + position: absolute; |
| 206 | + right: 2vw; |
| 207 | + top: 1vh; |
| 208 | + z-index: 10; |
| 209 | + /* add a shadow to the icon */ |
| 210 | + text-shadow: 0 0 10px rgba(255, 255, 255, 1); |
| 211 | + /* add a transition effect */ |
| 212 | + /* remove the default focus effect */ |
| 213 | + outline: none; |
| 214 | + /* postion at center */ |
| 215 | + display: flex; |
| 216 | + justify-content: center; |
| 217 | + align-items: center; |
| 218 | + |
| 219 | + /* add a transition effect */ |
| 220 | + transition: all 0.3s ease; |
| 221 | + |
| 222 | +} |
| 223 | + |
| 224 | +.theme-icon:hover { |
| 225 | + color: #c7c7c7; |
| 226 | + transform: scale(1.1); |
| 227 | +} |
| 228 | + |
| 229 | +.theme-icon:focus { |
| 230 | + outline: none; |
| 231 | +} |
| 232 | + |
| 233 | +.theme-icon:active { |
| 234 | + transform: scale(0.9); |
| 235 | +} |
0 commit comments