]> BookStack Code Mirror - bookstack/blob - resources/assets/sass/_tables.scss
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / assets / sass / _tables.scss
1 table {
2   min-width: 100px;
3   max-width: 100%;
4   thead {
5     background-color: #F8F8F8;
6     font-weight: 500;
7   }
8   td, th {
9     min-width: 10px;
10     padding: 6px 8px;
11     border: 1px solid #DDD;
12     overflow: auto;
13     line-height: 1.2;
14   }
15   td p, th p {
16     margin: 0;
17   }
18 }
19
20 table.table {
21   width: 100%;
22   tr {
23     border-bottom: 1px solid #DDD;
24   }
25   th, td {
26     text-align: left;
27     border: none;
28     padding: $-xs $-xs;
29     vertical-align: middle;
30     margin: 0;
31   }
32   th {
33     font-weight: bold;
34   }
35   tr:hover {
36     background-color: #EEE;
37   }
38 }
39
40 table.no-style {
41   td {
42     border: 0;
43     padding: 0;
44   }
45 }
46
47 table.list-table {
48   margin: 0 -$-xs;
49   td {
50     border: 0;
51     vertical-align: middle;
52     padding: $-xs;
53   }
54 }
55
56 table.file-table {
57   @extend .no-style;
58   td {
59     padding: $-xs;
60   }
61   .ui-sortable-helper {
62     display: table;
63   }
64 }