Skip to content

Commit 59314b1

Browse files
committed
Made overview table viewable on mobile
1 parent ca738e8 commit 59314b1

1 file changed

Lines changed: 36 additions & 15 deletions

File tree

public/style/main.css

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -678,28 +678,38 @@ aside nav ul li a:hover {
678678
#cached-scripts-tabs table table tbody,
679679
#cached-scripts-tabs table table th,
680680
#cached-scripts-tabs table table td,
681-
#cached-scripts-tabs table table tr {
681+
#cached-scripts-tabs table table tr,
682+
#cached-scripts-tabs .cs-table-overview table,
683+
#cached-scripts-tabs .cs-table-overview table thead,
684+
#cached-scripts-tabs .cs-table-overview table tbody,
685+
#cached-scripts-tabs .cs-table-overview table th,
686+
#cached-scripts-tabs .cs-table-overview table td,
687+
#cached-scripts-tabs .cs-table-overview table tr {
682688
display: block;
683689
}
684690

685-
#cached-scripts-tabs table table thead tr {
691+
#cached-scripts-tabs table table thead tr,
692+
#cached-scripts-tabs .cs-table-overview table thead tr {
686693
position: absolute;
687694
top: -999999px;
688695
left: -999999px;
689696
}
690697

691-
#cached-scripts-tabs table table tbody td {
698+
#cached-scripts-tabs table table tbody td,
699+
#cached-scripts-tabs .cs-table-overview table tbody td {
692700
border: none;
693701
border-bottom: 1px solid #eee;
694702
position: relative;
695703
padding-left: 50%;
696704
}
697705

698-
#cached-scripts-tabs table table tr td:last-child {
706+
#cached-scripts-tabs table table tr td:last-child,
707+
#cached-scripts-tabs .cs-table-overview table tr td:last-child {
699708
border-bottom: 0;
700709
}
701710

702-
#cached-scripts-tabs table table td:before {
711+
#cached-scripts-tabs table table td:before,
712+
#cached-scripts-tabs .cs-table-overview table td:before {
703713
position: absolute;
704714
top: 10px;
705715
left: 12px;
@@ -710,43 +720,54 @@ aside nav ul li a:hover {
710720
}
711721

712722
#cached-scripts-tabs table table thead th:last-child,
713-
#cached-scripts-tabs table table tbody td:last-child {
723+
#cached-scripts-tabs table table tbody td:last-child,
724+
#cached-scripts-tabs .cs-table-overview table thead th:last-child,
725+
#cached-scripts-tabs .cs-table-overview table tbody td:last-child {
714726
text-align: left;
715727
}
716728

717-
#cached-scripts-tabs table table tr td:last-child {
729+
#cached-scripts-tabs table table tr td:last-child,
730+
#cached-scripts-tabs .cs-table-overview table tr td:last-child {
718731
border-bottom: 1px solid #ccc;
719732
}
720733

721-
#cached-scripts-tabs table table td:nth-of-type(1):before {
734+
#cached-scripts-tabs table table td:nth-of-type(1):before,
735+
#cached-scripts-tabs .cs-table-overview table td:nth-of-type(1):before {
722736
content:"Filename";
723737
}
724738

725-
#cached-scripts-tabs table table td:nth-of-type(2):before {
739+
#cached-scripts-tabs table table td:nth-of-type(2):before,
740+
#cached-scripts-tabs .cs-table-overview table td:nth-of-type(2):before {
726741
content:"Hits";
727742
}
728743

729-
#cached-scripts-tabs table table td:nth-of-type(3):before {
744+
#cached-scripts-tabs table table td:nth-of-type(3):before,
745+
#cached-scripts-tabs .cs-table-overview table td:nth-of-type(3):before {
730746
content:"Memory";
731747
}
732748

733-
#cached-scripts-tabs table table td:nth-of-type(4):before {
749+
#cached-scripts-tabs table table td:nth-of-type(4):before,
750+
#cached-scripts-tabs .cs-table-overview table td:nth-of-type(4):before {
734751
content:"Last Used";
735752
}
736753

737-
#cached-scripts-tabs table table td:nth-of-type(5):before {
754+
#cached-scripts-tabs table table td:nth-of-type(5):before,
755+
#cached-scripts-tabs .cs-table-overview table td:nth-of-type(5):before {
738756
content:"Created";
739757
}
740758

741-
#cached-scripts-tabs table table td:nth-of-type(6):before {
759+
#cached-scripts-tabs table table td:nth-of-type(6):before,
760+
#cached-scripts-tabs .cs-table-overview table td:nth-of-type(6):before {
742761
content:"Actions";
743762
}
744763

745-
#cached-scripts-tabs table table tbody tr:last-child td {
764+
#cached-scripts-tabs table table tbody tr:last-child td,
765+
#cached-scripts-tabs .cs-table-overview table tbody tr:last-child td {
746766
border-bottom: 1px solid #eee;
747767
}
748768

749-
#cached-scripts-tabs table table tbody tr:last-child td:last-child {
769+
#cached-scripts-tabs table table tbody tr:last-child td:last-child,
770+
#cached-scripts-tabs .cs-table-overview table tbody tr:last-child td:last-child {
750771
border-bottom: 0;
751772
}
752773
}

0 commit comments

Comments
 (0)