الگو:جدول واکنش‌گرا/style.css

از دانشنامه ملل
نسخهٔ تاریخ ‏۴ نوامبر ۲۰۲۳، ساعت ۱۲:۰۰ توسط Alireza (بحث | مشارکت‌ها) (صفحه‌ای تازه حاوی «←‏CSS placed here will be applied to all skins: .tableMetaJS > tr > th, .tableMetaJS > * > tr > th { text-align: center; } .shadow { box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19); } .tableMetaJS { width: 100%; ←‏margin-bottom: 1rem;: color: #202325; } .tCenter td { text-align: center; } .tableMetaJS th, .tableMetaJS td { padding: 0.75rem; padding-top: 0.4em; padding-bottom: 0.4em; vertical-al...» ایجاد کرد)
(تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)

/* CSS placed here will be applied to all skins */ .tableMetaJS > tr > th, .tableMetaJS > * > tr > th { text-align: center; }

.shadow { box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19); } .tableMetaJS {

width: 100%;
/*margin-bottom: 1rem;*/
color: #202325;

}

.tCenter td {

   text-align: center;

}

.tableMetaJS th, .tableMetaJS td {

padding: 0.75rem;
padding-top: 0.4em;
padding-bottom: 0.4em;
vertical-align:middle!important;
border-top: 1px solid #e1e4e8;

} .tableMetaJS thead th {

vertical-align: bottom;
border-bottom: 2px solid #e1e4e8;

} .tableMetaJS tbody + tbody {

border-top: 2px solid #e1e4e8;

}

.tableMetaJS-bordered {

border: 1px solid #e1e4e8;

} .tableMetaJS-bordered th, .tableMetaJS-bordered td {

border: 1px solid #e1e4e8;

} .tableMetaJS-bordered thead th, .tableMetaJS-bordered thead td {

border-bottom-width: 2px;

}

.tableMetaJS-borderless th, .tableMetaJS-borderless td, .tableMetaJS-borderless thead th, .tableMetaJS-borderless tbody + tbody {

border: 0;

}

.tableMetaJS-striped tbody tr:nth-of-type(odd) {

background-color: rgba(0, 0, 0, 0.05);

}

.tableMetaJS-hover tbody tr:hover {

color: #202325;
background-color: rgba(0, 0, 0, 0.075);

}

/*----------------------------- Red Color ------------------------------------------------*/ .tableMetaJS-red, .tableMetaJS-red > th, .tableMetaJS-red > td { background-color: #ffe5e5; color: dimgrey; border-radius: 9px; }

.tableMetaJS-red th, .tableMetaJS-red td, .tableMetaJS-red thead th, .tableMetaJS-red tbody + tbody { border-color: #dee9fa; padding: 8px; padding-right: 6px; padding-left: 3px; vertical-align: middle; }

.tableMetaJS-red a:hover { text-decoration: unset; }

.tableMetaJS-red a.new { color: #dd3333; } .tableMetaJS-hover .tableMetaJS-red:hover { background-color: #f1d78b; }

.tableMetaJS-hover .tableMetaJS-red:hover > td, .tableMetaJS-hover .tableMetaJS-red:hover > th { background-color: #f1d78b; }

/*----------------------------- Blue Color ------------------------------------------------*/ .tableMetaJS-blue, .tableMetaJS-blue > th, .tableMetaJS-blue > td { background-color: #e5f4ff; color: darkslategray; border-radius: 9px; }

.tableMetaJS-blue th, .tableMetaJS-blue td, .tableMetaJS-blue thead th, .tableMetaJS-blue tbody + tbody { border-color: #fadeeb; padding: 8px; padding-right: 6px; padding-left: 3px; vertical-align: middle; }

.tableMetaJS-blue a:hover { text-decoration: unset; }

.tableMetaJS-blue a { color: rgba(64, 108, 247, 0.88); }

.tableMetaJS-blue a.new { color: #dd3333; }

.tableMetaJS-hover .tableMetaJS-blue:hover { background-color: #fadeeb; }

.tableMetaJS-hover .tableMetaJS-blue:hover > td, .tableMetaJS-hover .tableMetaJS-blue:hover > th { background-color: #fadeeb; }

/*----------------------------- yellow Color ------------------------------------------------*/ .tableMetaJS-yellow, .tableMetaJS-yellow > th, .tableMetaJS-yellow > td { background-color: #fffce5; color: darkslategray; border-radius: 9px; }

.tableMetaJS-yellow th, .tableMetaJS-yellow td, .tableMetaJS-yellow thead th, .tableMetaJS-yellow tbody + tbody { border-color: #dee9fa; padding: 8px; padding-right: 6px; padding-left: 3px; vertical-align: middle; }

.tableMetaJS-yellow a:hover { text-decoration: unset; }

.tableMetaJS-yellow a { color: rgba(64, 108, 247, 0.88); }

.tableMetaJS-yellow a.new { color: #dd3333; }

.tableMetaJS-hover .tableMetaJS-yellow:hover { background-color: #f1d78b; }

.tableMetaJS-hover .tableMetaJS-yellow:hover > td, .tableMetaJS-hover .tableMetaJS-yellow:hover > th { background-color: #f1d78b; }

/*----------------------------- green Color ------------------------------------------------*/ .tableMetaJS-green, .tableMetaJS-green > th, .tableMetaJS-green > td { background-color: #edffe5; color: darkslategrey; border-radius: 9px; }

.tableMetaJS-green th, .tableMetaJS-green td, .tableMetaJS-green thead th, .tableMetaJS-green tbody + tbody { border-color: #deedfa; padding: 8px; padding-right: 6px; padding-left: 3px; vertical-align: middle; }

.tableMetaJS-green a:hover { text-decoration: unset; }

.tableMetaJS-green a { color: rgba(64, 108, 247, 0.88); }

.tableMetaJS-green a.new { color: #dd3333; }

.tableMetaJS-hover .tableMetaJS-green:hover { background-color: #f1d78b; }

.tableMetaJS-hover .tableMetaJS-green:hover > td, .tableMetaJS-hover .tableMetaJS-green:hover > th { background-color: #f1d78b; }

/*----------------------------- purple Color ------------------------------------------------*/ .tableMetaJS-purple, .tableMetaJS-purple > th, .tableMetaJS-purple > td { background-color: #ebe5ff; color: gray; border-radius: 9px; }

.tableMetaJS-purple th, .tableMetaJS-purple td, .tableMetaJS-purple thead th, .tableMetaJS-purple tbody + tbody { border-color: #faf9de; padding: 8px; padding-right: 6px; padding-left: 3px; vertical-align: middle; }

.tableMetaJS-purple a:hover { text-decoration: unset; }

.tableMetaJS-purple a { color: rgba(64, 72, 247, 0.88); }

.tableMetaJS-purple a.new { color: #dd3333; }

.tableMetaJS-hover .tableMetaJS-purple:hover { background-color: #f1d78b; }

.tableMetaJS-hover .tableMetaJS-purple:hover > td, .tableMetaJS-hover .tableMetaJS-purple:hover > th { background-color: #f1d78b; }




.tableMetaJS-secondary, .tableMetaJS-secondary > th, .tableMetaJS-secondary > td {

background-color: #d6d8db;

}

.tableMetaJS-secondary th, .tableMetaJS-secondary td, .tableMetaJS-secondary thead th, .tableMetaJS-secondary tbody + tbody {

border-color: #b3b7bb;

}

.tableMetaJS-hover .tableMetaJS-secondary:hover {

background-color: #c8cbcf;

} .tableMetaJS-hover .tableMetaJS-secondary:hover > td, .tableMetaJS-hover .tableMetaJS-secondary:hover > th {

background-color: #c8cbcf;

}

.tableMetaJS-success, .tableMetaJS-success > th, .tableMetaJS-success > td {

background-color: #cde9ce;

}

.tableMetaJS-success th, .tableMetaJS-success td, .tableMetaJS-success thead th, .tableMetaJS-success tbody + tbody {

border-color: #a2d5a4;

}

.tableMetaJS-hover .tableMetaJS-success:hover {

background-color: #bbe1bd;

} .tableMetaJS-hover .tableMetaJS-success:hover > td, .tableMetaJS-hover .tableMetaJS-success:hover > th {

background-color: #bbe1bd;

}

.tableMetaJS-gray1, .tableMetaJS-gray1 > th, .tableMetaJS-gray1 > td {

background-color: #4A7080;

} .tableMetaJS-gray1 th, .tableMetaJS-gray1 td, .tableMetaJS-gray1 thead th, .tableMetaJS-gray1 tbody + tbody {

border-color: #ffffff;

}

.tableMetaJS-hover .tableMetaJS-gray1:hover {

background-color: #b9e8dd;

} .tableMetaJS-hover .tableMetaJS-gray1:hover > td, .tableMetaJS-hover .tableMetaJS-gray1:hover > th {

background-color: #3A7252;

}

.tableMetaJS-green2, .tableMetaJS-green2 > th, .tableMetaJS-green2 > td {

background-color: #7A9F35;

} .tableMetaJS-green2 th, .tableMetaJS-green2 td, .tableMetaJS-green2 thead th, .tableMetaJS-green2 tbody + tbody {

border-color: #ffffff;

}

.tableMetaJS-hover .tableMetaJS-green2:hover {

background-color: #b9e8dd;

} .tableMetaJS-hover .tableMetaJS-green2:hover > td, .tableMetaJS-hover .tableMetaJS-green2:hover > th {

background-color: #b9e8dd;

}

.tableMetaJS-green1, .tableMetaJS-green1 > th, .tableMetaJS-green1 > td {

background-color: #e6ffe6;

}

.tableMetaJS-green1 th, .tableMetaJS-green1 td, .tableMetaJS-green1 thead th, .tableMetaJS-green1 tbody + tbody {

border-color: #ffffff;

}

.tableMetaJS-hover .tableMetaJS-green1:hover {

background-color: #b9e8dd;

} .tableMetaJS-hover .tableMetaJS-green1:hover > td, .tableMetaJS-hover .tableMetaJS-green1:hover > th {

background-color: #b9e8dd;

}

.tableMetaJS-pink-page, .tableMetaJS-pink-page > th, .tableMetaJS-pink-page > td {

background-color: #BB7C9C;

} .tableMetaJS-pink-page th, .tableMetaJS-pink-page td, .tableMetaJS-pink-page thead th, .tableMetaJS-pink-page tbody + tbody {

border-color: #ffffff;

}

.tableMetaJS-hover .tableMetaJS-pink-page:hover {

background-color: #b9e8dd;

} .tableMetaJS-hover .tableMetaJS-pink-page:hover > td, .tableMetaJS-hover .tableMetaJS-pink-page:hover > th {

background-color: #b9e8dd;

}

.tableMetaJS-warning, .tableMetaJS-warning > th, .tableMetaJS-warning > td {

background-color: #ffeeba;

}

.tableMetaJS-warning th, .tableMetaJS-warning td, .tableMetaJS-warning thead th, .tableMetaJS-warning tbody + tbody {

border-color: #ffdf7e;

}

.tableMetaJS-hover .tableMetaJS-warning:hover {

background-color: #ffe8a1;

} .tableMetaJS-hover .tableMetaJS-warning:hover > td, .tableMetaJS-hover .tableMetaJS-warning:hover > th {

background-color: #ffe8a1;

}

.tableMetaJS-danger, .tableMetaJS-danger > th, .tableMetaJS-danger > td {

background-color: #f5c6cb;

}

.tableMetaJS-danger th, .tableMetaJS-danger td, .tableMetaJS-danger thead th, .tableMetaJS-danger tbody + tbody {

border-color: #ed969e;

}

.tableMetaJS-hover .tableMetaJS-danger:hover {

background-color: #f1b0b7;

} .tableMetaJS-hover .tableMetaJS-danger:hover > td, .tableMetaJS-hover .tableMetaJS-danger:hover > th {

background-color: #f1b0b7;

}

.tableMetaJS-light, .tableMetaJS-light > th, .tableMetaJS-light > td {

background-color: #fdfdfe;

}

.tableMetaJS-light th, .tableMetaJS-light td, .tableMetaJS-light thead th, .tableMetaJS-light tbody + tbody {

border-color: #fbfcfc;

}

.tableMetaJS-hover .tableMetaJS-light:hover {

background-color: #ececf6;

} .tableMetaJS-hover .tableMetaJS-light:hover > td, .tableMetaJS-hover .tableMetaJS-light:hover > th {

background-color: #ececf6;

}

.tableMetaJS-dark, .tableMetaJS-dark > th, .tableMetaJS-dark > td {

background-color: #c1c1c2;

}

.tableMetaJS-dark th, .tableMetaJS-dark td, .tableMetaJS-dark thead th, .tableMetaJS-dark tbody + tbody {

border-color: #8b8d8e;

}

.tableMetaJS-hover .tableMetaJS-dark:hover {

background-color: #b4b4b5;

} .tableMetaJS-hover .tableMetaJS-dark:hover > td, .tableMetaJS-hover .tableMetaJS-dark:hover > th {

background-color: #b4b4b5;

}

.tableMetaJS-active, .tableMetaJS-active > th, .tableMetaJS-active > td {

background-color: rgba(0, 0, 0, 0.075);

}

.tableMetaJS-hover .tableMetaJS-active:hover {

background-color: rgba(0, 0, 0, 0.075);

} .tableMetaJS-hover .tableMetaJS-active:hover > td, .tableMetaJS-hover .tableMetaJS-active:hover > th {

background-color: rgba(0, 0, 0, 0.075);

}

.tableMetaJS .thead-dark th {

color: #fff;
background-color: #343a40;
border-color: #454d55;

}

.tableMetaJS .thead-light th {

color: #495057;
background-color: #e9ecef;
border-color: #e1e4e8;

}

.tableMetaJS-dark {

color: #fff;
background-color: #343a40;

} .tableMetaJS-dark th, .tableMetaJS-dark td, .tableMetaJS-dark thead th {

border-color: #454d55;

} .tableMetaJS-dark.tableMetaJS-bordered {

border: 0;

} .tableMetaJS-dark.tableMetaJS-striped tbody tr:nth-of-type(odd) {

background-color: rgba(255, 255, 255, 0.05);

} .tableMetaJS-dark.tableMetaJS-hover tbody tr:hover {

color: #fff;
background-color: rgba(255, 255, 255, 0.075);

}

.tableMetaJS-responsive {

 overflow-x: auto;
 /* -webkit-overflow-scrolling: touch; */

}

@media (max-width: 575.98px) {

 .tableMetaJS-responsive-sm {
   overflow-x: auto;
   /* -webkit-overflow-scrolling: touch; */
 }

} @media (max-width: 767.98px) {

 .tableMetaJS-responsive-md {
   overflow-x: auto;
   /* -webkit-overflow-scrolling: touch; */
 }

} @media (max-width: 991.98px) {

 .tableMetaJS-responsive-lg {
   overflow-x: auto;
   /* -webkit-overflow-scrolling: touch; */
 }

} @media (max-width: 1199.98px) {

 .tableMetaJS-responsive-xl {
   overflow-x: auto;
   /* -webkit-overflow-scrolling: touch; */
 }

} @media (max-width: 1399.98px) {

 .tableMetaJS-responsive-xxl {
   overflow-x: auto;
   /* -webkit-overflow-scrolling: touch; */
 }

}

.margin-top-0 {

   margin-top: 0;

} .margin-bottom-0 {

   margin-bottom: 0;

} .margin-right-0 {

   margin-right: 0;

} .margin-left-0 {

   margin-left: 0;

} .margin-auto{

   margin: auto;

}