aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/scss
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-06-02 20:13:48 +0200
committerHampusM <hampus@hampusmat.com>2021-06-02 20:13:48 +0200
commit371e3f13e0a046aeca3a2895e4a85f8b51059edf (patch)
tree8a98c46931b2fd10bc68b8a75eda99f9848c70f9 /src/frontend/scss
parent094de489fcbcbe21fdd6ab89deae09af625a7f7b (diff)
Added a tree page
Diffstat (limited to 'src/frontend/scss')
-rw-r--r--src/frontend/scss/style.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/frontend/scss/style.scss b/src/frontend/scss/style.scss
index d5a4a02..1f2cd6a 100644
--- a/src/frontend/scss/style.scss
+++ b/src/frontend/scss/style.scss
@@ -327,6 +327,32 @@ th {
box-shadow: none;
}
+#tree {
+ border-spacing: 0;
+ th {
+ padding-bottom: 5px;
+ color: colors.$secondary;
+ }
+ tbody tr:hover {
+ background-color: lighten(colors.$background, 10%);
+ }
+ td {
+ padding-top: 5px;
+ padding-bottom: 5px;
+ padding-right: 2vw;
+ &:nth-child(2) a, &:nth-child(3) {
+ font-weight: 300;
+ }
+ }
+ .tree-entry-padding, svg {
+ width: 18px;
+ padding-right: 5px;
+ }
+ a {
+ padding-right: 18px;
+ }
+}
+
@include media-breakpoint-down(sm) {
.commit-file table tbody tr td {
padding-left: 4px;