]> BookStack Code Mirror - bookstack/blob - resources/sass/_tables.scss
Fix Crowdin name in the language_request issue template
[bookstack] / resources / sass / _tables.scss
1 table {
2   min-width: 100px;
3   max-width: 100%;
4   thead {
5     @include lightDark(background-color, #f8f8f8, #333);
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         word-break: break-word;
15   }
16   td p, th p {
17     margin: 0;
18   }
19 }
20
21 table.table {
22   width: 100%;
23   tr td, tr th {
24     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
25   }
26   th, td {
27     text-align: start;
28     border: none;
29     padding: $-s $-s;
30     vertical-align: middle;
31     margin: 0;
32     overflow: visible;
33   }
34   th {
35     font-weight: bold;
36   }
37   tr:hover {
38     @include lightDark(background-color, #F2F2F2, #333);
39   }
40   .text-right {
41     text-align: end;
42   }
43   .text-center {
44     text-align: center;
45   }
46   td.actions {
47     overflow: visible;
48   }
49   a {
50     display: inline-block;
51   }
52   &.expand-to-padding {
53     margin-left: -$-s;
54     margin-right: -$-s;
55     width: calc(100% + (2*#{$-s}));
56     max-width: calc(100% + (2*#{$-s}));
57   }
58 }
59
60 table.no-style {
61   td {
62     border: 0;
63     padding: 0;
64   }
65 }
66
67 table.list-table {
68   margin: 0 -$-xs;
69   td {
70     border: 0;
71     vertical-align: middle;
72     padding: $-xs;
73   }
74 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.