@@ -938,3 +938,99 @@ button.mistica-display-card:has(.mistica-card__media):active:after {
938938.mistica-accordion-item [open ]::details-content {
939939 height : auto;
940940}
941+
942+ /* Table */
943+ .mistica-table {
944+ border-collapse : separate;
945+ border-spacing : 0 ;
946+ position : relative;
947+ width : 100% ;
948+ }
949+
950+ .mistica-table thead tr {
951+ font-size : var (--mistica-font-size-1 );
952+ line-height : var (--mistica-line-height-1 );
953+ font-weight : 500 ;
954+ text-transform : uppercase;
955+ color : var (--vcolor-textSecondary );
956+ }
957+
958+ .mistica-table tbody td ,
959+ .mistica-table tbody th {
960+ color : var (--vcolor-textPrimary );
961+ font-size : var (--mistica-font-size-2 );
962+ line-height : var (--mistica-line-height-2 );
963+ }
964+
965+ .mistica-table th ,
966+ .mistica-table td {
967+ border-bottom : 1px solid var (--mistica-color-divider );
968+ padding : 16px 12px ;
969+ height : 56px ;
970+ vertical-align : middle;
971+ text-align : left;
972+ }
973+ .mistica-table th : first-child ,
974+ .mistica-table td : first-child {
975+ padding-left : 0 ;
976+ }
977+ .mistica-table th : last-child ,
978+ .mistica-table td : last-child {
979+ padding-right : 0 ;
980+ }
981+ .mistica-table tbody tr : last-child td ,
982+ .mistica-table tbody tr : last-child th {
983+ border-bottom : none;
984+ }
985+
986+ @media (max-width : 1023px ) {
987+ .mistica-table-mobile-collapsed ,
988+ .mistica-table-mobile-collapsed thead ,
989+ .mistica-table-mobile-collapsed tbody ,
990+ .mistica-table-mobile-collapsed th ,
991+ .mistica-table-mobile-collapsed td ,
992+ .mistica-table-mobile-collapsed tr {
993+ display : block;
994+ }
995+ .mistica-table-mobile-collapsed tr {
996+ display : flex;
997+ flex-direction : column;
998+ }
999+ .mistica-table-mobile-collapsed tbody th {
1000+ order : -1 ;
1001+ font-size : var (--mistica-font-size-4 );
1002+ line-height : var (--mistica-line-height-4 );
1003+ font-weight : var (--mistica-font-weight-cardTitle );
1004+ padding-bottom : 8px ;
1005+ }
1006+ .mistica-table-mobile-collapsed tbody td ,
1007+ .mistica-table-mobile-collapsed tbody th {
1008+ vertical-align : initial;
1009+ border : none;
1010+ height : auto;
1011+ padding : 0 0 8px 0 ;
1012+ }
1013+ .mistica-table-mobile-collapsed tbody td : last-child {
1014+ padding-bottom : 0 ;
1015+ }
1016+ .mistica-table-mobile-collapsed tbody tr {
1017+ padding : 16px 0 ;
1018+ }
1019+ .mistica-table-mobile-collapsed tbody tr : not (: last-child ) {
1020+ border-bottom : 1px solid var (--mistica-color-divider );
1021+ }
1022+ .mistica-table-mobile-collapsed td [data-heading ]: before {
1023+ display : block;
1024+ content : attr (data-heading);
1025+ font-size : var (--mistica-font-size-1 );
1026+ line-height : var (--mistica-line-height-1 );
1027+ font-weight : 500 ;
1028+ color : var (--vcolor-textSecondary );
1029+ padding-bottom : 4px ;
1030+ }
1031+ .mistica-table-mobile-collapsed thead tr {
1032+ position : absolute;
1033+ top : -9999px ;
1034+ left : -9999px ;
1035+ }
1036+ }
0 commit comments