Skip to content

Commit b34d884

Browse files
Align display of document table with design
1 parent 7515687 commit b34d884

File tree

1 file changed

+45
-0
lines changed
  • web/profiles/custom/os2loop/themes/os2loop_theme/assets/signifly-custom/pages

1 file changed

+45
-0
lines changed

web/profiles/custom/os2loop/themes/os2loop_theme/assets/signifly-custom/pages/document.scss

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,49 @@ $taxonomy-colors: (
3131
.os2loop-highlighted-container {
3232
@extend .block-primary-light-green;
3333
}
34+
35+
table.paragraph--type--os2loop-documents-table,
36+
table.loop-documents-table {
37+
@extend .w-100;
38+
39+
border-collapse: separate;
40+
border-spacing: 0;
41+
42+
tr th,
43+
tr td {
44+
border-right: 1px solid $gray-500;
45+
border-bottom: 1px solid $gray-500;
46+
padding: 12px 20px;
47+
}
48+
49+
tr th:first-child,
50+
tr td:first-child {
51+
border-left: 1px solid $gray-500;
52+
}
53+
54+
tr th {
55+
background: $gray-200;
56+
border-top: 1px solid $gray-500;
57+
}
58+
59+
// top-left border-radius
60+
tr:first-child th:first-child {
61+
border-top-left-radius: 6px;
62+
}
63+
64+
// top-right border-radius
65+
tr:first-child th:last-child {
66+
border-top-right-radius: 6px;
67+
}
68+
69+
// bottom-left border-radius
70+
tr:last-child td:first-child {
71+
border-bottom-left-radius: 6px;
72+
}
73+
74+
// bottom-right border-radius
75+
tr:last-child td:last-child {
76+
border-bottom-right-radius: 6px;
77+
}
78+
}
3479
}

0 commit comments

Comments
 (0)