Move and improve documents style

This commit is contained in:
mrliptontea
2021-05-23 20:52:09 +01:00
parent 75b0b63b92
commit 4e1d1e05d8
4 changed files with 48 additions and 21 deletions

View File

@@ -29,7 +29,6 @@
@import "components/calendar";
@import "components/progress";
@import "components/wiki";
@import "components/documents";
@import "components/elements";
@import "components/jquery-ui";
@import "components/icons";

View File

@@ -1,19 +0,0 @@
body.controller-documents {
div.wiki {
margin-bottom: 1em;
padding-bottom: 1em;
border-bottom: 1px solid #eee;
}
h2 {
font-size: $font-size-h2;
}
h3 {
font-size: $font-size-h3;
}
h4 {
margin-bottom: 0;
}
}

View File

@@ -877,6 +877,53 @@ div.table-list.boards {
}
//== Documents
//
.controller-documents {
&.action-index {
h2 {
font-size: $font-size-h2;
}
h4 {
margin-bottom: 0;
font-size: $font-size-h4;
}
.wiki {
+ h3,
+ h4 {
margin-top: $line-height-computed;
padding-top: $line-height-computed;
border-top: 1px solid $panel-border;
}
}
}
&.action-show {
.wiki {
margin-bottom: $line-height-computed;
}
}
h3 {
font-size: $font-size-h3;
}
#content > h2,
#content > h4 {
+ p {
color: $gray-700;
em {
font-style: normal;
}
}
}
}
//== News
//

File diff suppressed because one or more lines are too long