الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
المظهر
لا ملخص تعديل |
لا ملخص تعديل وسم: مسترجع |
||
سطر ٨١: | سطر ٨١: | ||
} | } | ||
/* CSS لجدول قائمة الإشراف للادمن */ | |||
/* الإعدادات العامة */ | |||
* { | |||
margin: 0; | |||
padding: 0; | |||
box-sizing: border-box; | |||
} | |||
body { | |||
font-family: 'Segoe UI', Tahoma, Arial, sans-serif; | |||
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); | |||
padding: 20px; | |||
min-height: 100vh; | |||
direction: rtl; | |||
} | |||
/* الحاوية الرئيسية */ | |||
.container { | |||
max-width: 1400px; | |||
margin: 0 auto; | |||
background: rgba(255, 255, 255, 0.9); | |||
border-radius: 20px; | |||
padding: 30px; | |||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); | |||
backdrop-filter: blur(10px); | |||
} | |||
/* العنوان الرئيسي */ | |||
h1 { | |||
text-align: center; | |||
color: #2c3e50; | |||
margin-bottom: 30px; | |||
font-size: 2.5rem; | |||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |||
-webkit-background-clip: text; | |||
-webkit-text-fill-color: transparent; | |||
text-shadow: 2px 2px 4px rgba(0,0,0,0.1); | |||
} | |||
/* حاوية الجدول */ | |||
.table-container { | |||
overflow-x: auto; | |||
border-radius: 15px; | |||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | |||
margin-bottom: 30px; | |||
} | |||
/* الجدول الرئيسي */ | |||
table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
background: white; | |||
border-radius: 15px; | |||
overflow: hidden; | |||
font-size: 14px; | |||
} | |||
/* رأس الجدول */ | |||
thead { | |||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |||
color: white; | |||
} | |||
th { | |||
padding: 20px 15px; | |||
text-align: center; | |||
font-weight: 700; | |||
font-size: 16px; | |||
position: relative; | |||
border-left: 1px solid rgba(255, 255, 255, 0.2); | |||
} | |||
th:first-child { | |||
border-left: none; | |||
} | |||
/* جسم الجدول */ | |||
tbody tr { | |||
transition: all 0.3s ease; | |||
border-bottom: 1px solid rgba(0, 0, 0, 0.05); | |||
} | |||
tbody tr:nth-child(odd) { | |||
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); | |||
} | |||
tbody tr:nth-child(even) { | |||
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); | |||
} | |||
tbody tr:hover { | |||
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); | |||
transform: scale(1.02); | |||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); | |||
} | |||
/* خلايا الجدول */ | |||
td { | |||
padding: 15px; | |||
text-align: center; | |||
vertical-align: middle; | |||
border-left: 1px solid rgba(0, 0, 0, 0.05); | |||
} | |||
td:first-child { | |||
border-left: none; | |||
} | |||
/* خلية الحالة */ | |||
.status-cell { | |||
font-weight: 600; | |||
} | |||
.new-page { | |||
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); | |||
color: #155724; | |||
padding: 8px 15px; | |||
border-radius: 20px; | |||
font-weight: 700; | |||
display: inline-block; | |||
box-shadow: 0 4px 15px rgba(212, 237, 218, 0.4); | |||
border: 1px solid rgba(212, 237, 218, 0.6); | |||
} | |||
.edit-page { | |||
background: linear-gradient(135deg, #cce5ff 0%, #b3d9ff 100%); | |||
color: #0056b3; | |||
padding: 8px 15px; | |||
border-radius: 20px; | |||
font-weight: 700; | |||
display: inline-block; | |||
box-shadow: 0 4px 15px rgba(204, 229, 255, 0.4); | |||
border: 1px solid rgba(204, 229, 255, 0.6); | |||
} | |||
.delete-page { | |||
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%); | |||
color: #721c24; | |||
padding: 8px 15px; | |||
border-radius: 20px; | |||
font-weight: 700; | |||
display: inline-block; | |||
box-shadow: 0 4px 15px rgba(248, 215, 218, 0.4); | |||
border: 1px solid rgba(248, 215, 218, 0.6); | |||
} | |||
/* روابط الصفحات */ | |||
.page-link { | |||
color: #007bff; | |||
text-decoration: none; | |||
font-weight: 600; | |||
padding: 8px 12px; | |||
border-radius: 8px; | |||
background: linear-gradient(135deg, #e7f3ff 0%, #d4edda 100%); | |||
transition: all 0.3s ease; | |||
display: inline-block; | |||
border: 1px solid rgba(231, 243, 255, 0.6); | |||
} | |||
.page-link:hover { | |||
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); | |||
color: white; | |||
transform: translateY(-2px); | |||
box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3); | |||
} | |||
/* روابط المستخدمين */ | |||
.user-link { | |||
color: #28a745; | |||
text-decoration: none; | |||
font-weight: 600; | |||
padding: 8px 12px; | |||
border-radius: 8px; | |||
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); | |||
transition: all 0.3s ease; | |||
display: inline-block; | |||
border: 1px solid rgba(212, 237, 218, 0.6); | |||
} | |||
.user-link:hover { | |||
background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); | |||
color: white; | |||
transform: translateY(-2px); | |||
box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3); | |||
} | |||
.user-link.new-user { | |||
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%); | |||
color: #856404; | |||
border: 1px solid rgba(255, 243, 205, 0.6); | |||
} | |||
/* خلية الوقت */ | |||
.time-cell { | |||
font-family: 'Courier New', monospace; | |||
background: linear-gradient(135deg, #e6f3ff 0%, #cce5ff 100%); | |||
color: #0056b3; | |||
padding: 8px 12px; | |||
border-radius: 8px; | |||
font-weight: 600; | |||
border: 1px solid rgba(230, 243, 255, 0.6); | |||
} | |||
/* تغيير الحجم */ | |||
.size-change { | |||
font-weight: 700; | |||
padding: 6px 12px; | |||
border-radius: 15px; | |||
display: inline-block; | |||
font-size: 13px; | |||
} | |||
.size-positive { | |||
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); | |||
color: #155724; | |||
border: 1px solid rgba(212, 237, 218, 0.6); | |||
} | |||
.size-negative { | |||
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%); | |||
color: #721c24; | |||
border: 1px solid rgba(248, 215, 218, 0.6); | |||
} | |||
.size-neutral { | |||
background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%); | |||
color: #383d41; | |||
border: 1px solid rgba(226, 227, 229, 0.6); | |||
} | |||
/* خلية التعليق */ | |||
.comment-cell { | |||
max-width: 300px; | |||
background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); | |||
padding: 10px; | |||
border-radius: 10px; | |||
font-style: italic; | |||
color: #f57f17; | |||
text-align: right; | |||
border: 1px solid rgba(255, 248, 225, 0.6); | |||
font-size: 13px; | |||
line-height: 1.4; | |||
} | |||
/* أزرار الإجراءات */ | |||
.action-buttons { | |||
display: flex; | |||
gap: 8px; | |||
justify-content: center; | |||
flex-wrap: wrap; | |||
} | |||
.action-btn { | |||
padding: 8px 12px; | |||
border: none; | |||
border-radius: 20px; | |||
cursor: pointer; | |||
font-weight: 600; | |||
font-size: 12px; | |||
transition: all 0.3s ease; | |||
text-decoration: none; | |||
display: inline-block; | |||
border: 1px solid rgba(0, 0, 0, 0.1); | |||
} | |||
.btn-history { | |||
background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%); | |||
color: #0277bd; | |||
border: 1px solid rgba(225, 245, 254, 0.6); | |||
} | |||
.btn-diff { | |||
background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); | |||
color: #7b1fa2; | |||
border: 1px solid rgba(243, 229, 245, 0.6); | |||
} | |||
.btn-edit { | |||
background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%); | |||
color: #388e3c; | |||
border: 1px solid rgba(232, 245, 232, 0.6); | |||
} | |||
.btn-delete { | |||
background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); | |||
color: #d32f2f; | |||
border: 1px solid rgba(255, 235, 238, 0.6); | |||
} | |||
.action-btn:hover { | |||
transform: translateY(-3px); | |||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); | |||
} | |||
/* شرح الألوان */ | |||
.legend { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |||
gap: 20px; | |||
margin-top: 30px; | |||
} | |||
.legend-item { | |||
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); | |||
padding: 20px; | |||
border-radius: 15px; | |||
text-align: center; | |||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); | |||
transition: all 0.3s ease; | |||
border: 1px solid rgba(248, 249, 250, 0.6); | |||
} | |||
.legend-item:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); | |||
} | |||
.legend-title { | |||
font-weight: 700; | |||
color: #2c3e50; | |||
margin-bottom: 15px; | |||
font-size: 18px; | |||
} | |||
.legend-color { | |||
width: 40px; | |||
height: 40px; | |||
border-radius: 50%; | |||
margin: 0 auto 10px; | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |||
} | |||
.color-new { | |||
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); | |||
border: 1px solid rgba(212, 237, 218, 0.6); | |||
} | |||
.color-edit { | |||
background: linear-gradient(135deg, #cce5ff 0%, #b3d9ff 100%); | |||
border: 1px solid rgba(204, 229, 255, 0.6); | |||
} | |||
.color-delete { | |||
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%); | |||
border: 1px solid rgba(248, 215, 218, 0.6); | |||
} | |||
.color-positive { | |||
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); | |||
border: 1px solid rgba(212, 237, 218, 0.6); | |||
} | |||
.color-negative { | |||
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%); | |||
border: 1px solid rgba(248, 215, 218, 0.6); | |||
} | |||
/* تأثيرات متقدمة */ | |||
.mw-changeslist-line { | |||
animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |||
} | |||
@keyframes fadeInUp { | |||
from { | |||
opacity: 0; | |||
transform: translateY(30px) scale(0.9); | |||
} | |||
to { | |||
opacity: 1; | |||
transform: translateY(0) scale(1); | |||
} | |||
} | |||
/* تحسينات للجوال */ | |||
@media (max-width: 768px) { | |||
.container { | |||
padding: 15px; | |||
} | |||
table { | |||
font-size: 12px; | |||
} | |||
th, td { | |||
padding: 10px 8px; | |||
} | |||
h1 { | |||
font-size: 1.8rem; | |||
} | |||
.legend { | |||
grid-template-columns: 1fr; | |||
} | |||
.action-buttons { | |||
flex-direction: column; | |||
gap: 5px; | |||
} | |||
.page-link, .user-link { | |||
padding: 6px 10px; | |||
font-size: 13px; | |||
} | |||
.comment-cell { | |||
max-width: 200px; | |||
font-size: 12px; | |||
} | |||
} | |||
/* تحسينات للأجهزة الكبيرة */ | |||
@media (min-width: 1400px) { | |||
.container { | |||
max-width: 1600px; | |||
} | |||
table { | |||
font-size: 15px; | |||
} | |||
th, td { | |||
padding: 18px 20px; | |||
} | |||
} | |||
html { | html { | ||
font-size: 16px; | font-size: 16px; |
مراجعة ١١:٢٣، ٨ يوليو ٢٠٢٥
/* ===========================================================================
PROFESSIONAL FORMAL TIMELESS WIKI DESIGN
=========================================================================== */
/* CSS Variables for Professional Color Palette */
:root {
/* Professional Primary Colors */
--primary: #2563eb;
--primary-light: #3b82f6;
--primary-dark: #1d4ed8;
/* Professional Secondary Colors */
--secondary: #64748b;
--secondary-light: #94a3b8;
--secondary-dark: #475569;
/* Professional Neutral Colors */
--bg-primary: #ffffff;
--bg-secondary: #f8fafc;
--bg-tertiary: #f1f5f9;
--surface: #ffffff;
--surface-hover: #f8fafc;
/* Professional Border Colors */
--border-primary: #e2e8f0;
--border-secondary: #cbd5e1;
--border-accent: #2563eb;
/* Professional Text Colors */
--text-primary: #1e293b;
--text-secondary: #475569;
--text-muted: #64748b;
--text-inverse: #ffffff;
/* Professional Accent Colors */
--accent-blue: #0ea5e9;
--accent-success: #059669;
--accent-warning: #d97706;
--accent-error: #dc2626;
/* Professional Typography */
--font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
--font-secondary: Georgia, 'Times New Roman', serif;
--font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
/* Professional Spacing System */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
/* Professional Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
/* Professional Border Radius */
--radius-sm: 0.25rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
/* Professional Transitions */
--transition: 0.2s ease-in-out;
}
/* ===========================================================================
GLOBAL RESET & BASE STYLES
=========================================================================== */
* {
box-sizing: border-box;
margin: 0;
padding: 4px !important;
}
/* CSS لجدول قائمة الإشراف للادمن */
/* الإعدادات العامة */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
padding: 20px;
min-height: 100vh;
direction: rtl;
}
/* الحاوية الرئيسية */
.container {
max-width: 1400px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.9);
border-radius: 20px;
padding: 30px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
}
/* العنوان الرئيسي */
h1 {
text-align: center;
color: #2c3e50;
margin-bottom: 30px;
font-size: 2.5rem;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
/* حاوية الجدول */
.table-container {
overflow-x: auto;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
}
/* الجدول الرئيسي */
table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 15px;
overflow: hidden;
font-size: 14px;
}
/* رأس الجدول */
thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
th {
padding: 20px 15px;
text-align: center;
font-weight: 700;
font-size: 16px;
position: relative;
border-left: 1px solid rgba(255, 255, 255, 0.2);
}
th:first-child {
border-left: none;
}
/* جسم الجدول */
tbody tr {
transition: all 0.3s ease;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
tbody tr:nth-child(odd) {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
tbody tr:nth-child(even) {
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}
tbody tr:hover {
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
transform: scale(1.02);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
/* خلايا الجدول */
td {
padding: 15px;
text-align: center;
vertical-align: middle;
border-left: 1px solid rgba(0, 0, 0, 0.05);
}
td:first-child {
border-left: none;
}
/* خلية الحالة */
.status-cell {
font-weight: 600;
}
.new-page {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
color: #155724;
padding: 8px 15px;
border-radius: 20px;
font-weight: 700;
display: inline-block;
box-shadow: 0 4px 15px rgba(212, 237, 218, 0.4);
border: 1px solid rgba(212, 237, 218, 0.6);
}
.edit-page {
background: linear-gradient(135deg, #cce5ff 0%, #b3d9ff 100%);
color: #0056b3;
padding: 8px 15px;
border-radius: 20px;
font-weight: 700;
display: inline-block;
box-shadow: 0 4px 15px rgba(204, 229, 255, 0.4);
border: 1px solid rgba(204, 229, 255, 0.6);
}
.delete-page {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
color: #721c24;
padding: 8px 15px;
border-radius: 20px;
font-weight: 700;
display: inline-block;
box-shadow: 0 4px 15px rgba(248, 215, 218, 0.4);
border: 1px solid rgba(248, 215, 218, 0.6);
}
/* روابط الصفحات */
.page-link {
color: #007bff;
text-decoration: none;
font-weight: 600;
padding: 8px 12px;
border-radius: 8px;
background: linear-gradient(135deg, #e7f3ff 0%, #d4edda 100%);
transition: all 0.3s ease;
display: inline-block;
border: 1px solid rgba(231, 243, 255, 0.6);
}
.page-link:hover {
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
color: white;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}
/* روابط المستخدمين */
.user-link {
color: #28a745;
text-decoration: none;
font-weight: 600;
padding: 8px 12px;
border-radius: 8px;
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
transition: all 0.3s ease;
display: inline-block;
border: 1px solid rgba(212, 237, 218, 0.6);
}
.user-link:hover {
background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
color: white;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}
.user-link.new-user {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
color: #856404;
border: 1px solid rgba(255, 243, 205, 0.6);
}
/* خلية الوقت */
.time-cell {
font-family: 'Courier New', monospace;
background: linear-gradient(135deg, #e6f3ff 0%, #cce5ff 100%);
color: #0056b3;
padding: 8px 12px;
border-radius: 8px;
font-weight: 600;
border: 1px solid rgba(230, 243, 255, 0.6);
}
/* تغيير الحجم */
.size-change {
font-weight: 700;
padding: 6px 12px;
border-radius: 15px;
display: inline-block;
font-size: 13px;
}
.size-positive {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
color: #155724;
border: 1px solid rgba(212, 237, 218, 0.6);
}
.size-negative {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
color: #721c24;
border: 1px solid rgba(248, 215, 218, 0.6);
}
.size-neutral {
background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%);
color: #383d41;
border: 1px solid rgba(226, 227, 229, 0.6);
}
/* خلية التعليق */
.comment-cell {
max-width: 300px;
background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
padding: 10px;
border-radius: 10px;
font-style: italic;
color: #f57f17;
text-align: right;
border: 1px solid rgba(255, 248, 225, 0.6);
font-size: 13px;
line-height: 1.4;
}
/* أزرار الإجراءات */
.action-buttons {
display: flex;
gap: 8px;
justify-content: center;
flex-wrap: wrap;
}
.action-btn {
padding: 8px 12px;
border: none;
border-radius: 20px;
cursor: pointer;
font-weight: 600;
font-size: 12px;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.btn-history {
background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
color: #0277bd;
border: 1px solid rgba(225, 245, 254, 0.6);
}
.btn-diff {
background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
color: #7b1fa2;
border: 1px solid rgba(243, 229, 245, 0.6);
}
.btn-edit {
background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
color: #388e3c;
border: 1px solid rgba(232, 245, 232, 0.6);
}
.btn-delete {
background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
color: #d32f2f;
border: 1px solid rgba(255, 235, 238, 0.6);
}
.action-btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
/* شرح الألوان */
.legend {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 30px;
}
.legend-item {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
padding: 20px;
border-radius: 15px;
text-align: center;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
border: 1px solid rgba(248, 249, 250, 0.6);
}
.legend-item:hover {
transform: translateY(-5px);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.legend-title {
font-weight: 700;
color: #2c3e50;
margin-bottom: 15px;
font-size: 18px;
}
.legend-color {
width: 40px;
height: 40px;
border-radius: 50%;
margin: 0 auto 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.color-new {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border: 1px solid rgba(212, 237, 218, 0.6);
}
.color-edit {
background: linear-gradient(135deg, #cce5ff 0%, #b3d9ff 100%);
border: 1px solid rgba(204, 229, 255, 0.6);
}
.color-delete {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
border: 1px solid rgba(248, 215, 218, 0.6);
}
.color-positive {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border: 1px solid rgba(212, 237, 218, 0.6);
}
.color-negative {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
border: 1px solid rgba(248, 215, 218, 0.6);
}
/* تأثيرات متقدمة */
.mw-changeslist-line {
animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px) scale(0.9);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* تحسينات للجوال */
@media (max-width: 768px) {
.container {
padding: 15px;
}
table {
font-size: 12px;
}
th, td {
padding: 10px 8px;
}
h1 {
font-size: 1.8rem;
}
.legend {
grid-template-columns: 1fr;
}
.action-buttons {
flex-direction: column;
gap: 5px;
}
.page-link, .user-link {
padding: 6px 10px;
font-size: 13px;
}
.comment-cell {
max-width: 200px;
font-size: 12px;
}
}
/* تحسينات للأجهزة الكبيرة */
@media (min-width: 1400px) {
.container {
max-width: 1600px;
}
table {
font-size: 15px;
}
th, td {
padding: 18px 20px;
}
}
html {
font-size: 16px;
line-height: 1.5;
}
body {
font-family: var(--font-primary);
font-size: 1rem;
line-height: 1.6;
color: var(--text-primary);
background-color: var(--bg-secondary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ===========================================================================
PROFESSIONAL TYPOGRAPHY
=========================================================================== */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-primary);
font-weight: 600;
line-height: 1.25;
color: var(--text-primary);
margin-bottom: var(--space-4);
}
h1 {
font-size: 2.25rem;
font-weight: 700;
color: var(--primary-dark);
margin-bottom: var(--space-6);
letter-spacing: -0.025em;
}
h2 {
font-size: 1.875rem;
color: var(--primary);
margin-top: var(--space-8);
margin-bottom: var(--space-5);
padding-bottom: var(--space-3);
border-bottom: 2px solid var(--border-primary);
}
h3 {
font-size: 1.5rem;
color: var(--primary);
margin-top: var(--space-6);
}
h4 {
font-size: 1.25rem;
color: var(--text-primary);
margin-top: var(--space-5);
}
h5 {
font-size: 1.125rem;
color: var(--text-primary);
margin-top: var(--space-4);
}
h6 {
font-size: 1rem;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 600;
margin-top: var(--space-4);
}
p {
margin-bottom: var(--space-4);
color: var(--text-secondary);
line-height: 1.7;
}
/* ===========================================================================
PROFESSIONAL LAYOUT
=========================================================================== */
.mw-body-container {
max-width: 1200px;
margin: 0 auto;
padding: var(--space-6);
}
.mw-body {
background: var(--bg-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.mw-content-container {
padding: var(--space-8);
}
.mw-content {
max-width: 100%;
font-size: 1rem;
line-height: 1.7;
}
/* ===========================================================================
PROFESSIONAL HEADER
=========================================================================== */
.mw-header {
background: var(--bg-primary);
border-bottom: 1px solid var(--border-primary);
padding: var(--space-4) 0;
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(8px);
}
.mw-header-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--space-6);
display: flex;
align-items: center;
justify-content: space-between;
}
.mw-logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary);
text-decoration: none;
transition: var(--transition);
}
.mw-logo:hover {
color: var(--primary-light);
}
/* ===========================================================================
PROFESSIONAL NAVIGATION
=========================================================================== */
.mw-portlet {
background: var(--bg-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
margin-bottom: var(--space-4);
overflow: hidden;
}
.mw-portlet-head {
background: var(--bg-tertiary);
color: var(--text-primary);
padding: var(--space-3) var(--space-4);
font-weight: 600;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border-bottom: 1px solid var(--border-primary);
}
.mw-portlet-body {
padding: var(--space-2);
}
.mw-portlet-body ul {
list-style: none;
}
.mw-portlet-body li {
margin: 0;
}
.mw-portlet-body a {
display: block;
padding: var(--space-2) var(--space-4);
color: var(--text-secondary);
text-decoration: none;
border-radius: var(--radius-sm);
transition: var(--transition);
font-size: 0.9375rem;
}
.mw-portlet-body a:hover {
background: var(--surface-hover);
color: var(--primary);
}
.mw-portlet-body a:active,
.mw-portlet-body a.active {
background: var(--primary);
color: var(--text-inverse);
}
/* ===========================================================================
PROFESSIONAL LINKS
=========================================================================== */
a {
color: var(--primary);
text-decoration: none;
transition: var(--transition);
}
a:hover {
color: var(--primary-light);
text-decoration: underline;
}
a:visited {
color: var(--primary-dark);
}
/* External links */
a.external::after {
content: ' ↗';
font-size: 0.75em;
color: var(--text-muted);
margin-left: 0.25em;
}
/* ===========================================================================
PROFESSIONAL TABLES
=========================================================================== */
table {
width: 100%;
border-collapse: collapse;
margin: var(--space-6) 0;
background: var(--bg-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
overflow: hidden;
}
th {
background: var(--bg-tertiary);
color: var(--text-primary);
padding: var(--space-3) var(--space-4);
text-align: left;
font-weight: 600;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
border-bottom: 1px solid var(--border-primary);
}
td {
padding: var(--space-3) var(--space-4);
border-bottom: 1px solid var(--border-primary);
color: var(--text-secondary);
vertical-align: top;
}
tr:hover {
background: var(--surface-hover);
}
tr:last-child td {
border-bottom: none;
}
/* ===========================================================================
PROFESSIONAL FORMS
=========================================================================== */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
textarea,
select {
width: 100%;
padding: var(--space-3) var(--space-4);
border: 1px solid var(--border-secondary);
border-radius: var(--radius-md);
font-family: var(--font-primary);
font-size: 1rem;
color: var(--text-primary);
background: var(--bg-primary);
transition: var(--transition);
}
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
button,
input[type="submit"],
.mw-ui-button {
padding: var(--space-3) var(--space-6);
background: var(--primary);
color: var(--text-inverse);
border: none;
border-radius: var(--radius-md);
font-family: var(--font-primary);
font-size: 0.9375rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
text-transform: uppercase;
letter-spacing: 0.05em;
}
button:hover,
input[type="submit"]:hover,
.mw-ui-button:hover {
background: var(--primary-light);
}
button:active,
input[type="submit"]:active,
.mw-ui-button:active {
background: var(--primary-dark);
}
/* Secondary button style */
.mw-ui-button.mw-ui-quiet {
background: transparent;
color: var(--primary);
border: 1px solid var(--primary);
}
.mw-ui-button.mw-ui-quiet:hover {
background: var(--primary);
color: var(--text-inverse);
}
/* ===========================================================================
PROFESSIONAL CODE BLOCKS
=========================================================================== */
code {
background: var(--bg-tertiary);
color: var(--text-primary);
padding: var(--space-1) var(--space-2);
border-radius: var(--radius-sm);
font-family: var(--font-mono);
font-size: 0.875rem;
border: 1px solid var(--border-primary);
}
pre {
background: var(--bg-tertiary);
color: var(--text-primary);
padding: var(--space-4);
border-radius: var(--radius-md);
overflow-x: auto;
margin: var(--space-6) 0;
border: 1px solid var(--border-primary);
font-family: var(--font-mono);
font-size: 0.875rem;
line-height: 1.5;
}
pre code {
background: transparent;
padding: 0;
border: none;
color: inherit;
}
/* ===========================================================================
PROFESSIONAL BLOCKQUOTES
=========================================================================== */
blockquote {
margin: var(--space-6) 0;
padding: var(--space-4) var(--space-6);
background: var(--bg-tertiary);
border-left: 4px solid var(--primary);
border-radius: var(--radius-md);
color: var(--text-secondary);
font-style: italic;
position: relative;
}
blockquote p:last-child {
margin-bottom: 0;
}
/* ===========================================================================
PROFESSIONAL LISTS
=========================================================================== */
ul, ol {
padding-left: var(--space-6);
margin: var(--space-4) 0;
}
li {
margin: var(--space-2) 0;
color: var(--text-secondary);
line-height: 1.6;
}
ul li::marker {
color: var(--primary);
}
ol li::marker {
color: var(--primary);
font-weight: 600;
}
/* Definition lists */
dl {
margin: var(--space-4) 0;
}
dt {
font-weight: 600;
color: var(--text-primary);
margin-top: var(--space-3);
}
dd {
margin-left: var(--space-4);
color: var(--text-secondary);
}
/* ===========================================================================
PROFESSIONAL IMAGES
=========================================================================== */
img {
max-width: 100%;
height: auto;
border-radius: var(--radius-md);
border: 1px solid var(--border-primary);
}
.thumb {
background: var(--bg-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
padding: var(--space-3);
margin: var(--space-4);
box-shadow: var(--shadow-sm);
}
.thumbcaption {
color: var(--text-muted);
font-size: 0.875rem;
margin-top: var(--space-2);
text-align: center;
}
/* ===========================================================================
PROFESSIONAL SEARCH
=========================================================================== */
.mw-search-form {
background: var(--bg-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
padding: var(--space-4);
margin: var(--space-6) 0;
}
.mw-search-form input[type="search"] {
font-size: 1rem;
margin-bottom: var(--space-3);
}
/* ===========================================================================
PROFESSIONAL MESSAGES & ALERTS
=========================================================================== */
.mw-message {
padding: var(--space-4);
border-radius: var(--radius-md);
margin: var(--space-4) 0;
border-left: 4px solid;
}
.mw-message.mw-message-success {
background: #f0fdf4;
border-color: var(--accent-success);
color: #166534;
}
.mw-message.mw-message-warning {
background: #fefbf1;
border-color: var(--accent-warning);
color: #92400e;
}
.mw-message.mw-message-error {
background: #fef2f2;
border-color: var(--accent-error);
color: #991b1b;
}
.mw-message.mw-message-info {
background: #eff6ff;
border-color: var(--accent-blue);
color: #1e40af;
}
/* ===========================================================================
PROFESSIONAL RESPONSIVE DESIGN
=========================================================================== */
@media (max-width: 768px) {
.mw-body-container {
padding: var(--space-4);
}
.mw-content-container {
padding: var(--space-6);
}
.mw-header-container {
padding: 0 var(--space-4);
}
h1 {
font-size: 1.875rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
}
table {
font-size: 0.875rem;
}
th, td {
padding: var(--space-2) var(--space-3);
}
}
@media (max-width: 480px) {
.mw-body-container {
padding: var(--space-2);
}
.mw-content-container {
padding: var(--space-4);
}
.mw-header-container {
padding: 0 var(--space-2);
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.25rem;
}
}
/* ===========================================================================
PROFESSIONAL PRINT STYLES
=========================================================================== */
@media print {
* {
background: transparent !important;
color: black !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
.mw-header,
.mw-portlet {
display: none;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
p, blockquote {
orphans: 3;
widows: 3;
}
blockquote {
page-break-inside: avoid;
}
}
/* ===========================================================================
PROFESSIONAL ACCESSIBILITY
=========================================================================== */
/* Focus styles */
*:focus {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* High contrast mode */
@media (prefers-contrast: high) {
:root {
--border-primary: #000000;
--text-primary: #000000;
--text-secondary: #000000;
}
}