Skip to content

Commit 22a4df3

Browse files
author
Tim Bannister
committed
Extract documentation styles to own file
(In preparation to closer alignment with Docsy), extract our custom documentation styles into their own file.
1 parent 0f0ee83 commit 22a4df3

File tree

2 files changed

+33
-31
lines changed

2 files changed

+33
-31
lines changed

assets/scss/_base.scss

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "reset";
22

3+
34
// header
45
$full-width-paddingX: 20px;
56

@@ -35,6 +36,7 @@ $vendor-strip-font-size: 16px;
3536
$video-section-height: 200px;
3637

3738
@import "size";
39+
@import "documentation";
3840

3941
////////////////////////////////////////////////////////////////////////////////////////////////////
4042
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -898,34 +900,3 @@ footer.row {
898900
margin-right: initial;
899901
}
900902

901-
/* DOCUMENTATION */
902-
903-
// nav-tabs and tab-content
904-
.nav-tabs {
905-
border-bottom: none !important;
906-
907-
.nav-item {
908-
margin-bottom: 0;
909-
}
910-
}
911-
912-
.td-content .tab-content .highlight {
913-
margin: 0;
914-
}
915-
916-
//Table Content
917-
.tab-content table{
918-
border-collapse: separate;
919-
border-spacing: 6px;
920-
}
921-
922-
.tab-pane {
923-
border-radius: 0.25rem;
924-
padding: 0 16px 16px;
925-
overflow: auto;
926-
927-
border: 1px solid #dee2e6;
928-
&:first-of-type.active {
929-
border-top-left-radius: 0;
930-
}
931-
}

assets/scss/_documentation.scss

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/* DOCUMENTATION */
2+
3+
// nav-tabs and tab-content
4+
.nav-tabs {
5+
border-bottom: none !important;
6+
7+
.nav-item {
8+
margin-bottom: 0;
9+
}
10+
}
11+
12+
.td-content .tab-content .highlight {
13+
margin: 0;
14+
}
15+
16+
//Table Content
17+
.tab-content table{
18+
border-collapse: separate;
19+
border-spacing: 6px;
20+
}
21+
22+
.tab-pane {
23+
border-radius: 0.25rem;
24+
padding: 0 16px 16px;
25+
overflow: auto;
26+
27+
border: 1px solid #dee2e6;
28+
&:first-of-type.active {
29+
border-top-left-radius: 0;
30+
}
31+
}

0 commit comments

Comments
 (0)