الانتقال إلى المحتوى
الأقسام
Fiesta

callout

العرض القطع الصغيرة من المفردات التي تُركَّب منها الشاشة: الحالة، والهوية، والتقدّم، وجداول البيانات والرسوم البيانية، وشكل التنبيه الوحيد.

مفردات التنبيه الوحيدة: شريط ملوّن، وأيقونة نغمة، وعنوان عريض اختياري، وفقرة متن واحدة.

كل مثال يعمل فعلًا، لكن روابطه لا تؤدي إلى أي مكان. يعرض HTML الترميز الجاهز للنسخ.

info

معاينة
<div rst-callout rst-tone="info">
  <span rst-callout-ic aria-hidden="true">
    <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>
  </span>
  <div rst-callout-body>
    <p>المنشورات مرئية للأعضاء فقط حتى يُنشر الموقع.</p>
  </div>
</div>

positive

معاينة
<div rst-callout rst-tone="positive">
  <span rst-callout-ic aria-hidden="true">
    <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg>
  </span>
  <div rst-callout-body>
    <strong>تم ربط المدفوعات</strong>
    <p>يمكنك الآن تلقي مدفوعات التذاكر.</p>
  </div>
</div>

warning

معاينة
<div rst-callout rst-tone="warning">
  <span rst-callout-ic aria-hidden="true">
    <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"/><path d="M12 9v4"/><path d="M12 17h.01"/></svg>
  </span>
  <div rst-callout-body>
    <strong>اربط المدفوعات لتبدأ البيع</strong>
    <p>فعاليتك منشورة لكنها لا تستطيع تلقي المدفوعات بعد.</p>
  </div>
</div>

negative

معاينة
<div rst-callout rst-tone="negative">
  <span rst-callout-ic aria-hidden="true">
    <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>
  </span>
  <div rst-callout-body>
    <strong>فشل الاستيراد الأخير</strong>
    <p>لم يتغير شيء. أصلح الصف 91 وحاول مرة أخرى.</p>
  </div>
</div>

negative، ويُعلَن بوصفه تنبيهًا

تجعل ‎role="alert"‎ قارئ الشاشة يعلن الرسالة فور ظهورها. احتفظ بها للرسائل التي لا تحتمل الانتظار.

معاينة
<div rst-callout rst-tone="negative" role="alert">
  <span rst-callout-ic aria-hidden="true">
    <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>
  </span>
  <div rst-callout-body>
    <strong>توقف الاستيراد</strong>
    <p>لم يتغير شيء. أصلح الصف 91 وحاول مرة أخرى.</p>
  </div>
</div>