Download src/styles/UserProfile.css from UnDaoDu/aimindmap: direct link, hf CLI and curl.
- Browser
- Download file 2.97 kB
-
https://huggingface.co/spaces/UnDaoDu/aimindmap/resolve/main/src/styles/UserProfile.css
- Command line
-
hf download hf://spaces/UnDaoDu/aimindmap/src/styles/UserProfile.css
-
curl -L -o UserProfile.css https://huggingface.co/spaces/UnDaoDu/aimindmap/resolve/main/src/styles/UserProfile.css
2.97 kB
| .user-profile { | |
| position: relative; | |
| } | |
| .user-profile-trigger { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| cursor: pointer; | |
| padding: 4px 8px; | |
| border-radius: 20px; | |
| transition: background-color 0.2s; | |
| justify-content: flex-end; | |
| } | |
| .user-profile-trigger:hover { | |
| background-color: rgba(0, 0, 0, 0.05); | |
| } | |
| .user-info { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 8px; | |
| border-radius: 8px; | |
| background-color: white; | |
| } | |
| .user-avatar { | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 50%; | |
| } | |
| .user-details { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| } | |
| .user-name { | |
| font-size: 14px; | |
| font-weight: 500; | |
| color: #333; | |
| } | |
| .account-info { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .account-type { | |
| font-size: 12px; | |
| color: #666; | |
| } | |
| .upgrade-button { | |
| padding: 4px 12px; | |
| background-color: #22c55e; | |
| color: white; | |
| border: none; | |
| border-radius: 4px; | |
| font-size: 12px; | |
| cursor: pointer; | |
| transition: background-color 0.2s; | |
| } | |
| .upgrade-button:hover { | |
| background-color: #16a34a; | |
| } | |
| .user-dropdown { | |
| position: absolute; | |
| top: 100%; | |
| right: 0; | |
| margin-top: 8px; | |
| background: white; | |
| border: 1px solid #e5e7eb; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| width: 320px; | |
| max-width: 90vw; | |
| overflow: hidden; | |
| z-index: 1000; | |
| } | |
| .user-email { | |
| font-size: 14px; | |
| color: #666; | |
| margin: 0; | |
| padding: 16px; | |
| border-bottom: 1px solid #e5e7eb; | |
| } | |
| .settings-section { | |
| padding: 16px; | |
| border-bottom: 1px solid #e5e7eb; | |
| } | |
| .setting-item { | |
| margin-bottom: 16px; | |
| } | |
| .setting-item:last-child { | |
| margin-bottom: 0; | |
| } | |
| .setting-item label { | |
| display: block; | |
| font-size: 12px; | |
| color: #666; | |
| margin-bottom: 4px; | |
| } | |
| .setting-item input, | |
| .setting-item select, | |
| .setting-item textarea { | |
| width: 100%; | |
| padding: 8px; | |
| border: 1px solid #e5e7eb; | |
| border-radius: 4px; | |
| font-size: 14px; | |
| color: #333; | |
| background-color: white; | |
| } | |
| .setting-item textarea { | |
| min-height: 80px; | |
| resize: vertical; | |
| } | |
| .sign-out-btn { | |
| width: 100%; | |
| padding: 12px 16px; | |
| border: none; | |
| background: none; | |
| font-size: 14px; | |
| color: #333; | |
| cursor: pointer; | |
| text-align: left; | |
| transition: background-color 0.2s; | |
| } | |
| .sign-out-btn:hover { | |
| background-color: #f9fafb; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .user-profile { | |
| margin-left: auto; | |
| } | |
| .user-name { | |
| display: none; | |
| } | |
| .account-info { | |
| display: none; | |
| } | |
| .user-dropdown { | |
| position: fixed; | |
| top: 60px; | |
| right: 16px; | |
| left: auto; | |
| width: 320px; | |
| max-width: calc(100vw - 32px); | |
| max-height: calc(100vh - 76px); | |
| overflow-y: auto; | |
| } | |
| .setting-item input, | |
| .setting-item select, | |
| .setting-item textarea { | |
| font-size: 16px; /* Better for mobile touch */ | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .user-dropdown { | |
| top: 56px; | |
| right: 8px; | |
| left: auto; | |
| width: 300px; | |
| } | |
| .settings-section, | |
| .user-info, | |
| .dropdown-actions { | |
| padding: 12px; | |
| } | |
| } |