tarist-web / static /css /ai_button.css
moathA's picture
Upload folder using huggingface_hub
01704b9 verified
/* Floating Button */
.taribot-trigger {
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
height: 60px;
background: #FDC554;
border-radius: 50%;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
border: none;
cursor: pointer;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
transition: transform 0.2s, background 0.2s;
}
.taribot-trigger:hover {
transform: scale(1.1);
background: #e0ac40;
}
/* Chat Window */
.taribot-window {
position: fixed;
bottom: 100px;
right: 30px;
width: 350px;
height: 500px;
background: rgba(32, 54, 103, 0.95);
/* Navy Blue Translucent */
backdrop-filter: blur(10px);
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
display: none;
/* Hidden by default */
flex-direction: column;
z-index: 1000;
overflow: hidden;
border: 1px solid rgba(253, 197, 84, 0.2);
}
.taribot-header {
background: #1A3A5C;
padding: 15px;
color: white;
font-family: 'Cairo', sans-serif;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.taribot-header h3 {
margin: 0;
font-size: 18px;
display: flex;
align-items: center;
gap: 10px;
}
.close-chat {
background: none;
border: none;
color: white;
font-size: 20px;
cursor: pointer;
}
.taribot-messages {
flex-grow: 1;
padding: 15px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.message {
padding: 10px 15px;
border-radius: 10px;
max-width: 80%;
font-family: 'Cairo', sans-serif;
font-size: 14px;
line-height: 1.4;
}
.message.bot {
background: rgba(255, 255, 255, 0.1);
color: white;
align-self: flex-start;
border-bottom-left-radius: 2px;
}
.message.user {
background: #FDC554;
color: #203667;
align-self: flex-end;
border-bottom-right-radius: 2px;
font-weight: 600;
}
.taribot-input-area {
padding: 15px;
background: rgba(0, 0, 0, 0.2);
display: flex;
gap: 10px;
}
.taribot-input-area input {
flex-grow: 1;
padding: 10px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.1);
color: white;
font-family: 'Cairo', sans-serif;
outline: none;
}
.taribot-input-area input::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.taribot-input-area button {
background: #FDC554;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
color: #203667;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}