just-the-hm-docs 1.0.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +24 -0
- data/Rakefile +1 -0
- data/_includes/components/aux_nav.html +15 -0
- data/_includes/components/breadcrumbs.html +15 -0
- data/_includes/components/children_nav.html +9 -0
- data/_includes/components/footer.html +34 -0
- data/_includes/components/header.html +11 -0
- data/_includes/components/mermaid.html +5 -0
- data/_includes/components/search_footer.html +7 -0
- data/_includes/components/search_header.html +9 -0
- data/_includes/components/sidebar.html +69 -0
- data/_includes/css/callouts.scss.liquid +93 -0
- data/_includes/css/custom.scss.liquid +1 -0
- data/_includes/css/just-the-docs.scss.liquid +10 -0
- data/_includes/fix_linenos.html +65 -0
- data/_includes/footer_custom.html +3 -0
- data/_includes/head.html +46 -0
- data/_includes/head_custom.html +4 -0
- data/_includes/header_custom.html +0 -0
- data/_includes/icons/code_copy.html +15 -0
- data/_includes/icons/document.html +6 -0
- data/_includes/icons/expand.html +6 -0
- data/_includes/icons/external_link.html +5 -0
- data/_includes/icons/icons.html +13 -0
- data/_includes/icons/link.html +6 -0
- data/_includes/icons/menu.html +6 -0
- data/_includes/icons/search.html +6 -0
- data/_includes/js/custom.js +0 -0
- data/_includes/lunr/custom-data.json +0 -0
- data/_includes/lunr/custom-index.js +0 -0
- data/_includes/mermaid_config.js +1 -0
- data/_includes/nav.html +251 -0
- data/_includes/nav_footer_custom.html +0 -0
- data/_includes/search_placeholder_custom.html +1 -0
- data/_includes/title.html +5 -0
- data/_includes/toc_heading_custom.html +1 -0
- data/_includes/vendor/anchor_headings.html +172 -0
- data/_layouts/about.html +5 -0
- data/_layouts/default.html +41 -0
- data/_layouts/home.html +5 -0
- data/_layouts/minimal.html +60 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_layouts/table_wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_sass/base.scss +114 -0
- data/_sass/buttons.scss +113 -0
- data/_sass/code.scss +210 -0
- data/_sass/color_schemes/dark.scss +28 -0
- data/_sass/color_schemes/hm.scss +26 -0
- data/_sass/color_schemes/light.scss +208 -0
- data/_sass/content.scss +239 -0
- data/_sass/custom/custom.scss +30 -0
- data/_sass/custom/hm-branding.scss +259 -0
- data/_sass/custom/hm-code.scss +153 -0
- data/_sass/custom/hm-colors.scss +15 -0
- data/_sass/custom/hm-notes.scss +38 -0
- data/_sass/custom/setup.scss +160 -0
- data/_sass/labels.scss +33 -0
- data/_sass/layout.scss +206 -0
- data/_sass/modules.scss +17 -0
- data/_sass/navigation.scss +235 -0
- data/_sass/print.scss +40 -0
- data/_sass/search.scss +311 -0
- data/_sass/skiptomain.scss +30 -0
- data/_sass/support/_functions.scss +11 -0
- data/_sass/support/_variables.scss +129 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +34 -0
- data/_sass/support/mixins/_typography.scss +84 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/tables.scss +54 -0
- data/_sass/typography.scss +63 -0
- data/_sass/utilities/_colors.scss +237 -0
- data/_sass/utilities/_layout.scss +101 -0
- data/_sass/utilities/_lists.scss +15 -0
- data/_sass/utilities/_spacing.scss +162 -0
- data/_sass/utilities/_typography.scss +85 -0
- data/_sass/utilities/utilities.scss +5 -0
- data/_sass/vendor/OneDarkJekyll/LICENSE +21 -0
- data/_sass/vendor/OneDarkJekyll/README.md +25 -0
- data/_sass/vendor/OneDarkJekyll/colors.less +30 -0
- data/_sass/vendor/OneDarkJekyll/syntax-firewatch-green.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-firewatch.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-one-dark-vivid.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-one-dark.scss +200 -0
- data/_sass/vendor/OneDarkJekyll/syntax-variables.less +56 -0
- data/_sass/vendor/OneDarkJekyll/syntax.less +93 -0
- data/_sass/vendor/normalize.scss/README.md +7 -0
- data/_sass/vendor/normalize.scss/normalize.scss +351 -0
- data/assets/css/just-the-docs-dark.scss +3 -0
- data/assets/css/just-the-docs-default.scss +8 -0
- data/assets/css/just-the-docs-light.scss +3 -0
- data/assets/favicon/android-chrome-192x192.png +0 -0
- data/assets/favicon/android-chrome-512x512.png +0 -0
- data/assets/favicon/apple-touch-icon.png +0 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/site.webmanifest +1 -0
- data/assets/images/.gitkeep +0 -0
- data/assets/images/hm-logo.svg +1 -0
- data/assets/images/search.svg +1 -0
- data/assets/js/just-the-docs.js +528 -0
- data/assets/js/vendor/lunr.min.js +61 -0
- data/assets/js/zzzz-search-data.json +74 -0
- data/bin/just-the-hm-docs +16 -0
- data/changelog.md +17 -0
- data/favicon.ico +0 -0
- data/lib/tasks/search.rake +88 -0
- metadata +217 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// Custom setup code
|
|
2
|
+
$base-button-color-hover: $base-button-color;
|
|
3
|
+
$border-color-lt: $border-color;
|
|
4
|
+
$btn-primary-color-hover: $btn-primary-color;
|
|
5
|
+
$code-block-background-color: $code-background-color;
|
|
6
|
+
$code-block-color: $body-text-color;
|
|
7
|
+
|
|
8
|
+
// HM colors
|
|
9
|
+
// purples
|
|
10
|
+
$hm-purple-100: #f7f2ff;
|
|
11
|
+
$hm-purple-200: #e7d4ff;
|
|
12
|
+
$hm-purple-300: #d7b7ff;
|
|
13
|
+
$hm-purple-400: #c69aff;
|
|
14
|
+
$hm-purple-500: #b67dff;
|
|
15
|
+
$hm-purple-600: #a168ea;
|
|
16
|
+
$hm-purple-700: #8550c8;
|
|
17
|
+
$hm-purple-800: #6a3ba6;
|
|
18
|
+
$hm-purple-900: #512984;
|
|
19
|
+
$hm-purple-1000: #3a1a62;
|
|
20
|
+
|
|
21
|
+
// reds
|
|
22
|
+
$hm-red-100: #ffeced;
|
|
23
|
+
$hm-red-200: #ffc1c4;
|
|
24
|
+
$hm-red-300: #ff979b;
|
|
25
|
+
$hm-red-400: #ff6c73;
|
|
26
|
+
$hm-red-500: #ff424a;
|
|
27
|
+
$hm-red-600: #dd2e36;
|
|
28
|
+
$hm-red-700: #bb1e25;
|
|
29
|
+
$hm-red-800: #991117;
|
|
30
|
+
$hm-red-900: #77070c;
|
|
31
|
+
$hm-red-1000: #550105;
|
|
32
|
+
|
|
33
|
+
// blues
|
|
34
|
+
$hm-blue-100: #eff2ff;
|
|
35
|
+
$hm-blue-200: #cad6ff;
|
|
36
|
+
$hm-blue-300: #a5b9ff;
|
|
37
|
+
$hm-blue-400: #819dff;
|
|
38
|
+
$hm-blue-500: #5c80ff;
|
|
39
|
+
$hm-blue-600: #4668df;
|
|
40
|
+
$hm-blue-700: #3251bd;
|
|
41
|
+
$hm-blue-800: #223d9b;
|
|
42
|
+
$hm-blue-900: #142b79;
|
|
43
|
+
$hm-blue-1000: #0a1b57;
|
|
44
|
+
|
|
45
|
+
// mints
|
|
46
|
+
$hm-mint-100: #e8fffc;
|
|
47
|
+
$hm-mint-200: #befff6;
|
|
48
|
+
$hm-mint-300: #94fff1;
|
|
49
|
+
$hm-mint-400: #6affec;
|
|
50
|
+
$hm-mint-500: #40ffe6;
|
|
51
|
+
$hm-mint-600: #16fbdd;
|
|
52
|
+
$hm-mint-700: #00d2b7;
|
|
53
|
+
$hm-mint-800: #00a993;
|
|
54
|
+
$hm-mint-900: #008070;
|
|
55
|
+
$hm-mint-1000: #00584c;
|
|
56
|
+
|
|
57
|
+
// navys
|
|
58
|
+
$hm-navy-100: #f7faff;
|
|
59
|
+
$hm-navy-200: #e4efff;
|
|
60
|
+
$hm-navy-300: #d2e4ff;
|
|
61
|
+
$hm-navy-400: #c0d9ff;
|
|
62
|
+
$hm-navy-500: #aeceff;
|
|
63
|
+
$hm-navy-600: #8aacdf;
|
|
64
|
+
$hm-navy-700: #698bbd;
|
|
65
|
+
$hm-navy-800: #4c6c9b;
|
|
66
|
+
$hm-navy-900: #345079;
|
|
67
|
+
$hm-navy-1000: #203657;
|
|
68
|
+
|
|
69
|
+
// neutrals
|
|
70
|
+
$hm-black: #000;
|
|
71
|
+
$hm-off-black: #131313;
|
|
72
|
+
$hm-charcoal-grey: #353535;
|
|
73
|
+
$hm-ash-grey: #717171;
|
|
74
|
+
$hm-white-mist: #f7f7f7;
|
|
75
|
+
$hm-off-white: #fbfbfb;
|
|
76
|
+
$hm-white: #fff;
|
|
77
|
+
|
|
78
|
+
// If you need to update this map, first copy the variables above,
|
|
79
|
+
// then find/replace in selection with the following regex
|
|
80
|
+
// (just the content inside the [] brackets, don't include the brackets):
|
|
81
|
+
// Find: [\$(.*): #(.*);] Replace: ["$1": \$$1,]
|
|
82
|
+
// Then do it again with these params:
|
|
83
|
+
// Find: [(".*"): \\(\$.*),] Replace: [$1: $2,]
|
|
84
|
+
$hm-colors: (
|
|
85
|
+
// purples
|
|
86
|
+
"hm-purple-100": $hm-purple-100,
|
|
87
|
+
"hm-purple-200": $hm-purple-200,
|
|
88
|
+
"hm-purple-300": $hm-purple-300,
|
|
89
|
+
"hm-purple-400": $hm-purple-400,
|
|
90
|
+
"hm-purple-500": $hm-purple-500,
|
|
91
|
+
"hm-purple-600": $hm-purple-600,
|
|
92
|
+
"hm-purple-700": $hm-purple-700,
|
|
93
|
+
"hm-purple-800": $hm-purple-800,
|
|
94
|
+
"hm-purple-900": $hm-purple-900,
|
|
95
|
+
"hm-purple-1000": $hm-purple-1000,
|
|
96
|
+
// reds
|
|
97
|
+
"hm-red-100": $hm-red-100,
|
|
98
|
+
"hm-red-200": $hm-red-200,
|
|
99
|
+
"hm-red-300": $hm-red-300,
|
|
100
|
+
"hm-red-400": $hm-red-400,
|
|
101
|
+
"hm-red-500": $hm-red-500,
|
|
102
|
+
"hm-red-600": $hm-red-600,
|
|
103
|
+
"hm-red-700": $hm-red-700,
|
|
104
|
+
"hm-red-800": $hm-red-800,
|
|
105
|
+
"hm-red-900": $hm-red-900,
|
|
106
|
+
"hm-red-1000": $hm-red-1000,
|
|
107
|
+
// blues
|
|
108
|
+
"hm-blue-100": $hm-blue-100,
|
|
109
|
+
"hm-blue-200": $hm-blue-200,
|
|
110
|
+
"hm-blue-300": $hm-blue-300,
|
|
111
|
+
"hm-blue-400": $hm-blue-400,
|
|
112
|
+
"hm-blue-500": $hm-blue-500,
|
|
113
|
+
"hm-blue-600": $hm-blue-600,
|
|
114
|
+
"hm-blue-700": $hm-blue-700,
|
|
115
|
+
"hm-blue-800": $hm-blue-800,
|
|
116
|
+
"hm-blue-900": $hm-blue-900,
|
|
117
|
+
"hm-blue-1000": $hm-blue-1000,
|
|
118
|
+
// mints
|
|
119
|
+
"hm-mint-100": $hm-mint-100,
|
|
120
|
+
"hm-mint-200": $hm-mint-200,
|
|
121
|
+
"hm-mint-300": $hm-mint-300,
|
|
122
|
+
"hm-mint-400": $hm-mint-400,
|
|
123
|
+
"hm-mint-500": $hm-mint-500,
|
|
124
|
+
"hm-mint-600": $hm-mint-600,
|
|
125
|
+
"hm-mint-700": $hm-mint-700,
|
|
126
|
+
"hm-mint-800": $hm-mint-800,
|
|
127
|
+
"hm-mint-900": $hm-mint-900,
|
|
128
|
+
"hm-mint-1000": $hm-mint-1000,
|
|
129
|
+
// navys
|
|
130
|
+
"hm-navy-100": $hm-navy-100,
|
|
131
|
+
"hm-navy-200": $hm-navy-200,
|
|
132
|
+
"hm-navy-300": $hm-navy-300,
|
|
133
|
+
"hm-navy-400": $hm-navy-400,
|
|
134
|
+
"hm-navy-500": $hm-navy-500,
|
|
135
|
+
"hm-navy-600": $hm-navy-600,
|
|
136
|
+
"hm-navy-700": $hm-navy-700,
|
|
137
|
+
"hm-navy-800": $hm-navy-800,
|
|
138
|
+
"hm-navy-900": $hm-navy-900,
|
|
139
|
+
"hm-navy-1000": $hm-navy-1000,
|
|
140
|
+
// neutrals
|
|
141
|
+
"hm-black": $hm-black,
|
|
142
|
+
"hm-off-black": $hm-off-black,
|
|
143
|
+
"hm-charcoal-grey": $hm-charcoal-grey,
|
|
144
|
+
"hm-ash-grey": $hm-ash-grey,
|
|
145
|
+
"hm-white-mist": $hm-white-mist,
|
|
146
|
+
"hm-off-white": $hm-off-white,
|
|
147
|
+
"hm-white": $hm-white
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
// HM colors for callouts
|
|
151
|
+
// Note that the darkness numbers do not match the designs,
|
|
152
|
+
// but are necessary for the way the theme creates the color values.
|
|
153
|
+
$hm-red-callout-000: $hm-red-200;
|
|
154
|
+
$hm-red-callout-300: $hm-red-600;
|
|
155
|
+
$hm-blue-callout-000: $hm-blue-200;
|
|
156
|
+
$hm-blue-callout-300: $hm-navy-800;
|
|
157
|
+
$hm-purple-callout-000: $hm-purple-200;
|
|
158
|
+
$hm-purple-callout-300: $hm-purple-800;
|
|
159
|
+
$hm-mint-callout-000: $hm-mint-200;
|
|
160
|
+
$hm-mint-callout-300: $hm-mint-900;
|
data/_sass/labels.scss
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Labels (not the form kind)
|
|
2
|
+
|
|
3
|
+
.label,
|
|
4
|
+
.label-blue {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
padding: 0.16em 0.56em;
|
|
7
|
+
margin-right: $sp-2;
|
|
8
|
+
margin-left: $sp-2;
|
|
9
|
+
color: $white;
|
|
10
|
+
text-transform: uppercase;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
background-color: $hm-blue-600;
|
|
13
|
+
@include fs-2;
|
|
14
|
+
|
|
15
|
+
border-radius: 12px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.label-green {
|
|
19
|
+
background-color: $hm-mint-900;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.label-purple {
|
|
23
|
+
background-color: $hm-purple-800;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.label-red {
|
|
27
|
+
background-color: $hm-red-600;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.label-yellow {
|
|
31
|
+
color: $grey-dk-200;
|
|
32
|
+
background-color: $yellow-200;
|
|
33
|
+
}
|
data/_sass/layout.scss
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
// The basic two column layout
|
|
2
|
+
|
|
3
|
+
.side-bar {
|
|
4
|
+
z-index: 0;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
background-color: $sidebar-color;
|
|
8
|
+
|
|
9
|
+
@include mq(md) {
|
|
10
|
+
flex-flow: column nowrap;
|
|
11
|
+
position: fixed;
|
|
12
|
+
width: $nav-width-md;
|
|
13
|
+
height: 100%;
|
|
14
|
+
border-right: $border $border-color;
|
|
15
|
+
align-items: flex-end;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@include mq(lg) {
|
|
19
|
+
width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
|
20
|
+
min-width: $nav-width;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.main {
|
|
25
|
+
@include mq(md) {
|
|
26
|
+
position: relative;
|
|
27
|
+
max-width: $content-width;
|
|
28
|
+
margin-left: $nav-width-md;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@include mq(lg) {
|
|
32
|
+
margin-left: max(
|
|
33
|
+
$nav-width,
|
|
34
|
+
calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width})
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.main-content-wrap {
|
|
40
|
+
@include container;
|
|
41
|
+
|
|
42
|
+
padding-top: $gutter-spacing-sm;
|
|
43
|
+
padding-bottom: $gutter-spacing-sm;
|
|
44
|
+
|
|
45
|
+
@include mq(md) {
|
|
46
|
+
padding-top: $gutter-spacing;
|
|
47
|
+
padding-bottom: $gutter-spacing;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.main-header {
|
|
52
|
+
z-index: 0;
|
|
53
|
+
display: none;
|
|
54
|
+
background-color: $sidebar-color;
|
|
55
|
+
|
|
56
|
+
@include mq(md) {
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
height: $header-height;
|
|
60
|
+
background-color: $body-background-color;
|
|
61
|
+
border-bottom: $border $border-color;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.nav-open {
|
|
65
|
+
display: block;
|
|
66
|
+
|
|
67
|
+
@include mq(md) {
|
|
68
|
+
display: flex;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.site-nav,
|
|
74
|
+
.site-header,
|
|
75
|
+
.site-footer {
|
|
76
|
+
width: 100%;
|
|
77
|
+
|
|
78
|
+
@include mq(lg) {
|
|
79
|
+
width: $nav-width;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.site-nav {
|
|
84
|
+
display: none;
|
|
85
|
+
|
|
86
|
+
&.nav-open {
|
|
87
|
+
display: block;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include mq(md) {
|
|
91
|
+
display: block;
|
|
92
|
+
padding-top: $sp-8;
|
|
93
|
+
padding-bottom: $gutter-spacing-sm;
|
|
94
|
+
overflow-y: auto;
|
|
95
|
+
flex: 1 1 auto;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.site-header {
|
|
100
|
+
display: flex;
|
|
101
|
+
min-height: $header-height;
|
|
102
|
+
align-items: center;
|
|
103
|
+
|
|
104
|
+
@include mq(md) {
|
|
105
|
+
height: $header-height;
|
|
106
|
+
max-height: $header-height;
|
|
107
|
+
border-bottom: $border $border-color;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.site-title {
|
|
112
|
+
@include container;
|
|
113
|
+
|
|
114
|
+
flex-grow: 1;
|
|
115
|
+
display: flex;
|
|
116
|
+
height: 100%;
|
|
117
|
+
align-items: center;
|
|
118
|
+
padding-top: $sp-3;
|
|
119
|
+
padding-bottom: $sp-3;
|
|
120
|
+
color: $body-heading-color;
|
|
121
|
+
@include fs-6;
|
|
122
|
+
|
|
123
|
+
@include mq(md) {
|
|
124
|
+
padding-top: $sp-2;
|
|
125
|
+
padding-bottom: $sp-2;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@if variable-exists(logo) {
|
|
130
|
+
.site-logo {
|
|
131
|
+
width: 100%;
|
|
132
|
+
height: 100%;
|
|
133
|
+
background-image: url($logo);
|
|
134
|
+
background-repeat: no-repeat;
|
|
135
|
+
background-position: left center;
|
|
136
|
+
background-size: contain;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.site-button {
|
|
141
|
+
display: flex;
|
|
142
|
+
height: 100%;
|
|
143
|
+
padding: $gutter-spacing-sm;
|
|
144
|
+
align-items: center;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@include mq(md) {
|
|
148
|
+
.site-header .site-button {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.site-title:hover {
|
|
154
|
+
background-image: linear-gradient(
|
|
155
|
+
-90deg,
|
|
156
|
+
rgba($feedback-color, 1) 0%,
|
|
157
|
+
rgba($feedback-color, 0.8) 80%,
|
|
158
|
+
rgba($feedback-color, 0) 100%
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.site-button:hover {
|
|
163
|
+
background-image: linear-gradient(
|
|
164
|
+
-90deg,
|
|
165
|
+
rgba($feedback-color, 1) 0%,
|
|
166
|
+
rgba($feedback-color, 0.8) 100%
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// stylelint-disable selector-max-type
|
|
171
|
+
|
|
172
|
+
body {
|
|
173
|
+
position: relative;
|
|
174
|
+
padding-bottom: $sp-10;
|
|
175
|
+
overflow-y: scroll;
|
|
176
|
+
|
|
177
|
+
@include mq(md) {
|
|
178
|
+
position: static;
|
|
179
|
+
padding-bottom: 0;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// stylelint-enable selector-max-type
|
|
184
|
+
|
|
185
|
+
.site-footer {
|
|
186
|
+
@include container;
|
|
187
|
+
|
|
188
|
+
position: absolute;
|
|
189
|
+
bottom: 0;
|
|
190
|
+
left: 0;
|
|
191
|
+
padding-top: $sp-4;
|
|
192
|
+
padding-bottom: $sp-4;
|
|
193
|
+
color: $grey-dk-000;
|
|
194
|
+
@include fs-2;
|
|
195
|
+
|
|
196
|
+
@include mq(md) {
|
|
197
|
+
position: static;
|
|
198
|
+
justify-self: end;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.icon {
|
|
203
|
+
width: $sp-5;
|
|
204
|
+
height: $sp-5;
|
|
205
|
+
color: $link-color;
|
|
206
|
+
}
|
data/_sass/modules.scss
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Import external dependencies
|
|
2
|
+
@import "./vendor/normalize.scss/normalize";
|
|
3
|
+
|
|
4
|
+
// Modules
|
|
5
|
+
@import "./base";
|
|
6
|
+
@import "./layout";
|
|
7
|
+
@import "./content";
|
|
8
|
+
@import "./navigation";
|
|
9
|
+
@import "./typography";
|
|
10
|
+
@import "./labels";
|
|
11
|
+
@import "./buttons";
|
|
12
|
+
@import "./search";
|
|
13
|
+
@import "./tables";
|
|
14
|
+
@import "./code";
|
|
15
|
+
@import "./utilities/utilities";
|
|
16
|
+
@import "./print";
|
|
17
|
+
@import "./skiptomain";
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// Main nav, breadcrumb, etc...
|
|
2
|
+
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity
|
|
3
|
+
|
|
4
|
+
.nav-list {
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin-top: 0;
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
list-style: none;
|
|
9
|
+
|
|
10
|
+
.nav-list-item {
|
|
11
|
+
@include fs-4;
|
|
12
|
+
|
|
13
|
+
position: relative;
|
|
14
|
+
margin: 0;
|
|
15
|
+
|
|
16
|
+
@include mq(md) {
|
|
17
|
+
@include fs-3;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.nav-list-link {
|
|
21
|
+
display: block;
|
|
22
|
+
min-height: $nav-list-item-height-sm;
|
|
23
|
+
padding-top: $sp-1;
|
|
24
|
+
padding-bottom: $sp-1;
|
|
25
|
+
line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
|
|
26
|
+
@if $nav-list-expander-right {
|
|
27
|
+
padding-right: $nav-list-item-height-sm;
|
|
28
|
+
padding-left: $gutter-spacing-sm;
|
|
29
|
+
} @else {
|
|
30
|
+
padding-right: $gutter-spacing-sm;
|
|
31
|
+
padding-left: $nav-list-item-height-sm;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include mq(md) {
|
|
35
|
+
min-height: $nav-list-item-height;
|
|
36
|
+
line-height: #{$nav-list-item-height - 2 * $sp-1};
|
|
37
|
+
@if $nav-list-expander-right {
|
|
38
|
+
padding-right: $nav-list-item-height;
|
|
39
|
+
padding-left: $gutter-spacing;
|
|
40
|
+
} @else {
|
|
41
|
+
padding-right: $gutter-spacing;
|
|
42
|
+
padding-left: $nav-list-item-height;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.external > svg {
|
|
47
|
+
width: $sp-4;
|
|
48
|
+
height: $sp-4;
|
|
49
|
+
vertical-align: text-bottom;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.active {
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:hover,
|
|
58
|
+
&.active {
|
|
59
|
+
background-image: linear-gradient(
|
|
60
|
+
-90deg,
|
|
61
|
+
rgba($feedback-color, 1) 0%,
|
|
62
|
+
rgba($feedback-color, 0.8) 80%,
|
|
63
|
+
rgba($feedback-color, 0) 100%
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.nav-list-expander {
|
|
69
|
+
position: absolute;
|
|
70
|
+
@if $nav-list-expander-right {
|
|
71
|
+
right: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
width: $nav-list-item-height-sm;
|
|
75
|
+
height: $nav-list-item-height-sm;
|
|
76
|
+
padding: #{$nav-list-item-height-sm * 0.25};
|
|
77
|
+
color: $link-color;
|
|
78
|
+
|
|
79
|
+
@include mq(md) {
|
|
80
|
+
width: $nav-list-item-height;
|
|
81
|
+
height: $nav-list-item-height;
|
|
82
|
+
padding: #{$nav-list-item-height * 0.25};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
background-image: linear-gradient(
|
|
87
|
+
-90deg,
|
|
88
|
+
rgba($feedback-color, 1) 0%,
|
|
89
|
+
rgba($feedback-color, 0.8) 100%
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@if $nav-list-expander-right {
|
|
94
|
+
svg {
|
|
95
|
+
transform: rotate(90deg);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
> .nav-list {
|
|
101
|
+
display: none;
|
|
102
|
+
padding-left: $sp-3;
|
|
103
|
+
list-style: none;
|
|
104
|
+
|
|
105
|
+
.nav-list-item {
|
|
106
|
+
position: relative;
|
|
107
|
+
|
|
108
|
+
.nav-list-link {
|
|
109
|
+
color: $nav-child-link-color;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.nav-list-expander {
|
|
113
|
+
color: $nav-child-link-color;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.active {
|
|
119
|
+
> .nav-list-expander svg {
|
|
120
|
+
@if $nav-list-expander-right {
|
|
121
|
+
transform: rotate(-90deg);
|
|
122
|
+
} @else {
|
|
123
|
+
transform: rotate(90deg);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
> .nav-list {
|
|
128
|
+
display: block;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.nav-category {
|
|
135
|
+
padding: $sp-2 $gutter-spacing-sm;
|
|
136
|
+
font-weight: 600;
|
|
137
|
+
text-align: start;
|
|
138
|
+
text-transform: uppercase;
|
|
139
|
+
border-bottom: $border $border-color;
|
|
140
|
+
@include fs-2;
|
|
141
|
+
|
|
142
|
+
@include mq(md) {
|
|
143
|
+
padding: $sp-2 $gutter-spacing;
|
|
144
|
+
margin-top: $gutter-spacing-sm;
|
|
145
|
+
text-align: start;
|
|
146
|
+
|
|
147
|
+
&:first-child {
|
|
148
|
+
margin-top: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.nav-list.nav-category-list {
|
|
154
|
+
> .nav-list-item {
|
|
155
|
+
margin: 0;
|
|
156
|
+
|
|
157
|
+
> .nav-list {
|
|
158
|
+
padding: 0;
|
|
159
|
+
|
|
160
|
+
> .nav-list-item {
|
|
161
|
+
> .nav-list-link {
|
|
162
|
+
color: $link-color;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
> .nav-list-expander {
|
|
166
|
+
color: $link-color;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Aux nav
|
|
174
|
+
|
|
175
|
+
.aux-nav {
|
|
176
|
+
height: 100%;
|
|
177
|
+
overflow-x: auto;
|
|
178
|
+
@include fs-2;
|
|
179
|
+
|
|
180
|
+
.aux-nav-list {
|
|
181
|
+
display: flex;
|
|
182
|
+
height: 100%;
|
|
183
|
+
padding: 0;
|
|
184
|
+
margin: 0;
|
|
185
|
+
list-style: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.aux-nav-list-item {
|
|
189
|
+
display: inline-block;
|
|
190
|
+
height: 100%;
|
|
191
|
+
padding: 0;
|
|
192
|
+
margin: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@include mq(md) {
|
|
196
|
+
padding-right: $gutter-spacing-sm;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Breadcrumb nav
|
|
201
|
+
|
|
202
|
+
.breadcrumb-nav {
|
|
203
|
+
@include mq(md) {
|
|
204
|
+
margin-top: -$sp-4;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.breadcrumb-nav-list {
|
|
209
|
+
padding-left: 0;
|
|
210
|
+
margin-bottom: $sp-3;
|
|
211
|
+
list-style: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.breadcrumb-nav-list-item {
|
|
215
|
+
display: table-cell;
|
|
216
|
+
@include fs-2;
|
|
217
|
+
|
|
218
|
+
&::before {
|
|
219
|
+
display: none;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&::after {
|
|
223
|
+
display: inline-block;
|
|
224
|
+
margin-right: $sp-2;
|
|
225
|
+
margin-left: $sp-2;
|
|
226
|
+
color: $grey-dk-000;
|
|
227
|
+
content: "/";
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&:last-child {
|
|
231
|
+
&::after {
|
|
232
|
+
content: "";
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
data/_sass/print.scss
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// stylelint-disable selector-max-specificity, selector-max-id, selector-max-type, selector-no-qualifying-type
|
|
2
|
+
|
|
3
|
+
@media print {
|
|
4
|
+
.site-footer,
|
|
5
|
+
.site-button,
|
|
6
|
+
#edit-this-page,
|
|
7
|
+
#back-to-top,
|
|
8
|
+
.site-nav,
|
|
9
|
+
.main-header {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.side-bar {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: auto;
|
|
16
|
+
border-right: 0 !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.site-header {
|
|
20
|
+
border-bottom: 1px solid $border-color;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.site-title {
|
|
24
|
+
font-size: $root-font-size !important;
|
|
25
|
+
font-weight: 700 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.text-small {
|
|
29
|
+
font-size: 8pt !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
pre.highlight {
|
|
33
|
+
border: 1px solid $border-color;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.main {
|
|
37
|
+
max-width: none;
|
|
38
|
+
margin-left: 0;
|
|
39
|
+
}
|
|
40
|
+
}
|