My-Offline-AI / style.css
flixnetf435's picture
Update style.css
ad7d58d verified
Raw
History Blame Contribute Delete
1.51 kB
/* تنسيق حاوية شريط التقدم */
#status-container {
background: rgba(255, 255, 255, 0.05);
padding: 15px;
border-radius: 12px;
margin: 20px 0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
#status-text {
font-size: 14px;
margin-bottom: 10px;
color: #ecf0f1;
}
#progress-container {
width: 100%;
background-color: #1a2a44;
border-radius: 50px;
height: 10px;
overflow: hidden; /* لضمان عدم خروج اللون عن الزوايا المنحنية */
}
#progress-bar-fill {
width: 0%;
height: 100%;
background: linear-gradient(90deg, #27ae60, #2ecc71);
box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* تنسيق فقاعات الدردشة */
#chat-box {
height: 300px;
overflow-y: auto;
padding: 10px;
display: flex;
flex-direction: column;
gap: 10px;
}
.message {
max-width: 80%;
padding: 12px 16px;
border-radius: 15px;
font-size: 14px;
line-height: 1.5;
}
.message.user {
align-self: flex-start;
background: #34495e;
color: white;
border-bottom-right-radius: 2px;
}
.message.assistant {
align-self: flex-end;
background: #2980b9;
color: white;
border-bottom-left-radius: 2px;
}
/* تأثير عند تمرير الماوس على الزر */
#send-button:not(:disabled):hover {
background-color: #2ecc71;
transform: translateY(-2px);
transition: all 0.2s;
}