לדלג לתוכן

משתמש:מוטי בוט/AI.css

מתוך המכלול, האנציקלופדיה היהודית

לתשומת ליבך: לאחר הפרסום, ייתכן שיהיה צורך לנקות את זיכרון המטמון (cache) של הדפדפן כדי להבחין בשינויים.

  • פיירפוקס / ספארי: להחזיק את המקש Shift בעת לחיצה על טעינה מחדש (Reload) או ללחוץ על צירוף המקשים Ctrl-F5 או Ctrl-R (במחשב מק: ⌘-R).
  • גוגל כרום: ללחוץ על צירוף המקשים Ctrl-Shift-R (במחשב מק: ⌘-Shift-R).
  • אדג': להחזיק את המקש Ctrl בעת לחיצה על רענן (Refresh) או ללחוץ על צירוף המקשים Ctrl-F5.
.ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
}

.ai-chat-header {
    padding: 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
}

.ai-chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
}

.ai-chat-message {
    margin: 5px 0;
    padding: 8px;
    border-radius: 8px;
    max-width: 80%;
}

.user-message {
    background: #e3f2fd;
    margin-left: auto;
}

.ai-message {
    background: #f5f5f5;
    margin-right: auto;
}

.system-message {
    background: #fff3e0;
    margin: 5px auto;
    text-align: center;
    font-style: italic;
}

.ai-chat-input {
    padding: 10px;
    border-top: 1px solid #ccc;
    display: flex;
    gap: 5px;
}

#ai-chat-message {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#ai-chat-send {
    padding: 8px 15px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#ai-chat-send:hover {
    background: #1565c0;
}