Spaces:
Running
Running
/* | |
* SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org> | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
.icon-btn { | |
background: transparent; | |
border: none; | |
cursor: pointer; | |
padding: 0.5rem; | |
border-radius: 0.5rem; | |
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
gap: 0.5rem; | |
color: #dbe3ff; | |
backdrop-filter: blur(4px); | |
-webkit-backdrop-filter: blur(4px); | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
height: 2.5rem; | |
width: 2.5rem; | |
} | |
.icon-btn:hover { | |
background: rgba(255, 255, 255, 0.1); | |
transform: translateY(-2px); | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); | |
} | |
.icon-btn:active { | |
transform: translateY(0); | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
} | |
.icon { | |
width: 1.2rem; | |
height: 1.2rem; | |
color: #9ca3af; | |
flex-shrink: 0; | |
transition: transform 0.2s ease; | |
} | |
.prompt-item:hover .icon { | |
transform: scale(1.1); | |
} | |
#leftIcon { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
padding: 0.2rem; | |
color: #9ca3af; | |
cursor: pointer; | |
transition: all 0.2s ease; | |
} | |
#leftIcon:hover { | |
color: var(--color-primary); | |
transform: scale(1.1); | |
} | |
#rightIconGroup { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
padding: 0.2rem; | |
gap: 0.5rem; | |
} | |
.linkedin { | |
display: inline-block; | |
width: 1rem; | |
height: 1rem; | |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23dbe3ff' class='bi bi-linkedin' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/%3E%3C/svg%3E"); | |
background-size: contain; | |
background-repeat: no-repeat; | |
transition: transform 0.2s ease; | |
} | |
.icon-btn:hover .linkedin { | |
transform: scale(1.1); | |
} |