/* أنماط CSS للنظام */ /* تعيين اتجاه النص من اليمين إلى اليسار للغة العربية */ body { direction: rtl; text-align: right; font-family: 'Tajawal', 'Cairo', sans-serif; } /* أنماط العناوين */ h1, h2, h3, h4, h5, h6 { font-family: 'Tajawal', 'Cairo', sans-serif; color: #333; } /* أنماط ترويسة الصفحة */ .header-container { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 0; background-color: #f8f9fa; border-radius: 10px; margin-bottom: 20px; } .header-title { margin-right: 20px; } .header-title h1 { margin: 0; font-size: 24px; color: #2c3e50; } .header-title p { margin: 0; font-size: 14px; color: #7f8c8d; } .header-info { display: flex; align-items: center; } .date-box { display: flex; background-color: #ff9a3c; color: white; border-radius: 8px; padding: 5px 10px; margin-left: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .date-day { font-size: 24px; font-weight: bold; margin-left: 5px; line-height: 1; } .date-info { display: flex; flex-direction: column; font-size: 12px; } .date-month { font-weight: bold; line-height: 1.2; } .date-year { line-height: 1; } /* أنماط قائمة التنقل */ .nav-menu { margin: 10px 0; } .nav-menu ul { display: flex; list-style: none; padding: 0; margin: 0; justify-content: flex-end; } .nav-menu li { margin-left: 15px; } .nav-menu a { display: flex; align-items: center; color: #2c3e50; text-decoration: none; padding: 5px 10px; border-radius: 5px; transition: background-color 0.3s; } .nav-menu a:hover { background-color: #f0f0f0; } .nav-icon { margin-left: 5px; } /* أنماط عنوان الوحدة */ .module-title { color: #2c3e50; font-size: 28px; margin-bottom: 20px; border-right: 5px solid #ff9a3c; padding-right: 10px; } .main-title { color: #2c3e50; font-size: 32px; text-align: center; margin: 20px 0; } /* أنماط بطاقات المعلومات */ .info-card { background-color: #f8f9fa; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .info-card h3 { color: #333; margin-top: 0; margin-bottom: 10px; } .info-card p { color: #666; margin: 0; } /* أنماط الجداول */ .dataframe { width: 100%; border-collapse: collapse; margin-bottom: 20px; } .dataframe th { background-color: #f0f0f0; color: #333; text-align: right; padding: 8px; border: 1px solid #ddd; } .dataframe td { padding: 8px; border: 1px solid #ddd; text-align: right; } .dataframe tr:nth-child(even) { background-color: #f9f9f9; } .dataframe tr:hover { background-color: #f0f0f0; } /* أنماط الأزرار */ button, .stButton>button { background-color: #ff9a3c; color: white; border: none; border-radius: 4px; padding: 8px 16px; cursor: pointer; transition: background-color 0.3s; } button:hover, .stButton>button:hover { background-color: #e67e22; } /* أنماط المخططات */ .plot-container { margin: 20px 0; } /* أنماط بطاقات الابتكارات */ .innovation-card { background-color: #f8f9fa; border-radius: 10px; padding: 15px; margin-bottom: 20px; border-right: 5px solid #ff9a3c; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .innovation-icon { font-size: 24px; margin-bottom: 10px; } .innovation-card h3 { color: #333; margin-bottom: 10px; } .innovation-card p { color: #666; font-size: 14px; } /* أنماط فريق التطوير */ .team-member { text-align: center; margin-bottom: 20px; } .team-member h3 { color: #333; margin-bottom: 5px; font-size: 18px; } .team-member h4 { color: #ff9a3c; margin-top: 0; margin-bottom: 10px; font-size: 14px; } .team-member p { color: #666; font-size: 12px; } .avatar { background-color: #ff9a3c; color: white; width: 100px; height: 100px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 15px auto; font-size: 36px; } /* أنماط تذييل الصفحة */ .footer { text-align: center; color: #7f8c8d; font-size: 12px; margin-top: 30px; margin-bottom: 10px; } /* أنماط رسائل التنبيه */ .alert { padding: 10px 15px; border-radius: 4px; margin-bottom: 15px; } .alert-info { background-color: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; } .alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .alert-warning { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; } .alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } /* أنماط الأيقونات */ .icon { font-size: 18px; margin-left: 5px; } /* أنماط التبويبات */ .stTabs [data-baseweb="tab-list"] { gap: 1px; } .stTabs [data-baseweb="tab"] { height: 50px; white-space: pre-wrap; background-color: white; border-radius: 4px 4px 0 0; gap: 1px; padding-top: 10px; padding-bottom: 10px; } .stTabs [aria-selected="true"] { background-color: #ff9a3c !important; color: white !important; } /* أنماط مخصصة لدعم اللغة العربية في إدخالات النصوص والأرقام */ input, textarea, .stTextInput>div>div>input, .stNumberInput>div>div>input { direction: rtl; text-align: right; } /* أنماط قائمة الخيارات */ .stSelectbox [data-baseweb="select"] { direction: rtl; text-align: right; } /* أنماط تحرير البيانات */ .stDataEditor { direction: rtl; } /* أنماط للنسخة المحمولة */ @media (max-width: 768px) { .header-container { flex-direction: column; align-items: flex-start; } .header-info { margin-top: 10px; } .nav-menu ul { flex-wrap: wrap; } .nav-menu li { margin-bottom: 5px; margin-left: 10px; } .module-title { font-size: 24px; } .main-title { font-size: 24px; } }