]> BookStack Code Mirror - bookstack/blob - resources/sass/_tables.scss
Add git to the apt-get install packages.
[bookstack] / resources / 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 td, tr th {
23     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
24   }
25   th, td {
26     text-align: left;
27     border: none;
28     padding: $-s $-s;
29     vertical-align: middle;
30     margin: 0;
31   }
32   th {
33     font-weight: bold;
34   }
35   tr:hover {
36     background-color: #EEE;
37   }
38   .text-right {
39     text-align: right;
40   }
41   .text-center {
42     text-align: center;
43   }
44   td.actions {
45     overflow: visible;
46   }
47   a {
48     display: inline-block;
49   }
50 }
51
52 table.no-style {
53   td {
54     border: 0;
55     padding: 0;
56   }
57 }
58
59 table.list-table {
60   margin: 0 -$-xs;
61   td {
62     border: 0;
63     vertical-align: middle;
64     padding: $-xs;
65   }
66 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.