sagi-ai-tools / style.css
theWitcher's picture
הוספת מועדפים ושיתוף הכלי
3ae4480
html {
scroll-behavior: smooth;
}
body {
padding: 2rem;
font-family: -apple-system, BlinkMacSystemFont, 'Arial', sans-serif;
}
button:hover,
a.button:hover {
transform: scale(1.02);
transition: transform 0.2s ease-in-out;
}
h1 {
font-size: 16px;
margin-top: 0;
}
p {
color: rgb(107, 114, 128);
font-size: 15px;
margin-bottom: 10px;
margin-top: 5px;
}
.card {
max-width: 620px;
margin: 0 auto;
padding: 16px;
border: 1px solid lightgray;
border-radius: 16px;
}
.card p:last-child {
margin-bottom: 0;
}
.scroll-container {
max-height: 90vh;
overflow-y: auto;
padding-bottom: 80px; /* כדי לא להיתקע מאחורי הפוטר */
}
.tool-card {
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
}
.tool-card.visible {
opacity: 1;
transform: translateY(0);
}
.accessibility-mode {
font-size: 18px;
line-height: 1.8;
background-color: #000 !important;
color: #fff !important;
}
.accessibility-mode .tool-card {
background-color: #111 !important;
color: #fff !important;
border-color: #555 !important;
}
.accessibility-mode a,
.accessibility-mode button {
font-size: 18px !important;
color: #fff !important;
background-color: #333 !important;
}
.category-filter .active {
background-color: #e0f2fe; /* תכלת עדין */
color: #1e3a8a; /* כחול כהה */
border-color: #1e3a8a;
font-weight: 600;
}
.accessibility-mode input,
.accessibility-mode textarea {
font-size: 16px;
background-color: #222;
color: white;
border-color: #666;
}
#newToolBanner {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
.hidden {
display: none;
}
/* סגנונות עבור כפתורי שיתוף ומועדפים */
.favorite-btn {
transition: all 0.2s ease;
}
.favorite-btn.active {
transform: scale(1.1);
}
.favorite-btn:hover {
transform: scale(1.15);
}
.share-btn {
transition: all 0.2s ease;
}
.share-btn:hover {
transform: translateY(-2px);
}
.favorite-btn:focus,
.share-btn:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
/* הודעת העתקה */
.copy-toast {
position: fixed;
top: 1rem;
left: 50%;
transform: translateX(-50%);
background-color: rgba(16, 185, 129, 0.9);
color: white;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06);
z-index: 50;
opacity: 0;
transition: opacity 0.3s ease;
}
.copy-toast.show {
opacity: 1;
}
/* סגנונות עבור כפתור המועדפים בפילטרים */
.filter-btn[data-category='favorites'] {
background-color: #fef3c7;
border-color: #f59e0b;
}
.filter-btn[data-category='favorites'].active {
background-color: #f59e0b;
color: white;
}
.filter-btn[data-category='favorites'] i {
color: #f59e0b;
}
.filter-btn[data-category='favorites'].active i {
color: white;
}
/* סגנונות עבור כפתורי שיתוף ומועדפים */
.favorite-btn {
transition: all 0.2s ease;
}
.favorite-btn.active {
transform: scale(1.1);
}
.favorite-btn:hover {
transform: scale(1.15);
}
.share-btn {
transition: all 0.2s ease;
}
.share-btn:hover {
transform: translateY(-2px);
}
.favorite-btn:focus,
.share-btn:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
/* עיצוב כפתור מועדפים בסינון */
.filter-btn[data-category='favorites'] {
background-color: #fef3c7 !important;
border-color: #f59e0b !important;
color: #b45309 !important;
}
.filter-btn[data-category='favorites'].active {
background-color: #f59e0b !important;
color: white !important;
}
.filter-btn[data-category='favorites'] i {
color: inherit;
}
/* Chat animations and effects */
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
}
}
.chat-pulse {
animation: pulse 2s infinite;
}
/* Smooth transitions */
#chatWindow {
transition: all 0.3s ease-in-out;
transform-origin: bottom right;
}
.chat-intro-enter {
animation: slideDown 0.3s forwards;
}
@keyframes slideDown {
from {
transform: translateY(-20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* Mobile adjustments */
@media (max-width: 640px) {
#chatWindow {
width: 90vw !important;
right: 5vw;
left: 5vw;
}
#chatBubble {
bottom: 75px; /* Move above footer on mobile */
}
}