just-the-umbrel-docs 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +72 -0
  4. data/Rakefile +1 -0
  5. data/_includes/css/custom.scss.liquid +1 -0
  6. data/_includes/css/just-the-docs.scss.liquid +7 -0
  7. data/_includes/fix_linenos.html +65 -0
  8. data/_includes/footer_custom.html +3 -0
  9. data/_includes/head.html +40 -0
  10. data/_includes/head_custom.html +0 -0
  11. data/_includes/header_custom.html +0 -0
  12. data/_includes/js/custom.js +0 -0
  13. data/_includes/nav.html +99 -0
  14. data/_includes/title.html +5 -0
  15. data/_includes/vendor/anchor_headings.html +144 -0
  16. data/_layouts/about.html +5 -0
  17. data/_layouts/default.html +202 -0
  18. data/_layouts/home.html +5 -0
  19. data/_layouts/page.html +5 -0
  20. data/_layouts/post.html +5 -0
  21. data/_layouts/table_wrappers.html +7 -0
  22. data/_layouts/vendor/compress.html +10 -0
  23. data/_sass/base.scss +108 -0
  24. data/_sass/buttons.scss +118 -0
  25. data/_sass/code.scss +340 -0
  26. data/_sass/color_schemes/dark.scss +17 -0
  27. data/_sass/color_schemes/light.scss +0 -0
  28. data/_sass/content.scss +231 -0
  29. data/_sass/custom/custom.scss +0 -0
  30. data/_sass/labels.scss +37 -0
  31. data/_sass/layout.scss +205 -0
  32. data/_sass/modules.scss +20 -0
  33. data/_sass/navigation.scss +219 -0
  34. data/_sass/print.scss +40 -0
  35. data/_sass/search.scss +323 -0
  36. data/_sass/support/_functions.scss +9 -0
  37. data/_sass/support/_variables.scss +153 -0
  38. data/_sass/support/mixins/_buttons.scss +27 -0
  39. data/_sass/support/mixins/_layout.scss +34 -0
  40. data/_sass/support/mixins/_typography.scss +84 -0
  41. data/_sass/support/mixins/mixins.scss +3 -0
  42. data/_sass/support/support.scss +3 -0
  43. data/_sass/tables.scss +58 -0
  44. data/_sass/typography.scss +64 -0
  45. data/_sass/utilities/_colors.scss +239 -0
  46. data/_sass/utilities/_layout.scss +95 -0
  47. data/_sass/utilities/_lists.scss +17 -0
  48. data/_sass/utilities/_spacing.scss +165 -0
  49. data/_sass/utilities/_typography.scss +91 -0
  50. data/_sass/utilities/utilities.scss +5 -0
  51. data/_sass/vendor/normalize.scss/README.md +7 -0
  52. data/_sass/vendor/normalize.scss/normalize.scss +349 -0
  53. data/assets/css/just-the-docs-dark.scss +3 -0
  54. data/assets/css/just-the-docs-default.scss +8 -0
  55. data/assets/css/just-the-docs-light.scss +3 -0
  56. data/assets/images/just-the-docs.png +0 -0
  57. data/assets/images/search.svg +1 -0
  58. data/assets/js/just-the-docs.js +471 -0
  59. data/assets/js/vendor/lunr.min.js +6 -0
  60. data/assets/js/zzzz-search-data.json +72 -0
  61. data/bin/just-the-docs +16 -0
  62. data/lib/tasks/search.rake +86 -0
  63. metadata +183 -0
File without changes
@@ -0,0 +1,37 @@
1
+ //
2
+ // Labels (not the form kind)
3
+ //
4
+
5
+ .label,
6
+ .label-blue {
7
+ display: inline-block;
8
+ padding-top: 0.16em;
9
+ padding-right: 0.56em;
10
+ padding-bottom: 0.16em;
11
+ padding-left: 0.56em;
12
+ margin-right: $sp-2;
13
+ margin-left: $sp-2;
14
+ color: $white;
15
+ text-transform: uppercase;
16
+ vertical-align: middle;
17
+ background-color: $blue-100;
18
+ @include fs-2;
19
+ border-radius: 12px;
20
+ }
21
+
22
+ .label-green {
23
+ background-color: $green-200;
24
+ }
25
+
26
+ .label-purple {
27
+ background-color: $purple-100;
28
+ }
29
+
30
+ .label-red {
31
+ background-color: $red-200;
32
+ }
33
+
34
+ .label-yellow {
35
+ color: $grey-dk-200;
36
+ background-color: $yellow-200;
37
+ }
@@ -0,0 +1,205 @@
1
+ //
2
+ // The basic two column layout
3
+ //
4
+
5
+ .side-bar {
6
+ z-index: 0;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ background-color: $sidebar-color;
10
+
11
+ @include mq(md) {
12
+ flex-wrap: nowrap;
13
+ position: fixed;
14
+ width: $nav-width-md;
15
+ height: 100%;
16
+ flex-direction: column;
17
+ border-right: $border $border-color;
18
+ align-items: flex-end;
19
+ }
20
+
21
+ @include mq(lg) {
22
+ width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
23
+ min-width: $nav-width;
24
+ }
25
+ }
26
+
27
+ .main {
28
+ @include mq(md) {
29
+ position: relative;
30
+ max-width: $content-width;
31
+ margin-left: $nav-width-md;
32
+ }
33
+
34
+ @include mq(lg) {
35
+ margin-left: calc(
36
+ (100% - #{$nav-width + $content-width}) / 2 + #{$nav-width}
37
+ );
38
+ }
39
+ }
40
+
41
+ .main-content-wrap {
42
+ @include container;
43
+ padding-top: $gutter-spacing-sm;
44
+ padding-bottom: $gutter-spacing-sm;
45
+
46
+ @include mq(md) {
47
+ padding-top: $gutter-spacing;
48
+ padding-bottom: $gutter-spacing;
49
+ }
50
+ }
51
+
52
+ .main-header {
53
+ z-index: 0;
54
+ display: none;
55
+ background-color: $sidebar-color;
56
+
57
+ @include mq(md) {
58
+ display: flex;
59
+ justify-content: space-between;
60
+ height: $header-height;
61
+ background-color: $body-background-color;
62
+ border-bottom: $border $border-color;
63
+ }
64
+
65
+ &.nav-open {
66
+ display: block;
67
+
68
+ @include mq(md) {
69
+ display: flex;
70
+ }
71
+ }
72
+ }
73
+
74
+ .site-nav,
75
+ .site-header,
76
+ .site-footer {
77
+ width: 100%;
78
+
79
+ @include mq(lg) {
80
+ width: $nav-width;
81
+ }
82
+ }
83
+
84
+ .site-nav {
85
+ display: none;
86
+
87
+ &.nav-open {
88
+ display: block;
89
+ }
90
+
91
+ @include mq(md) {
92
+ display: block;
93
+ padding-top: $sp-8;
94
+ padding-bottom: $gutter-spacing-sm;
95
+ overflow-y: auto;
96
+ flex: 1 1 auto;
97
+ }
98
+ }
99
+
100
+ .site-header {
101
+ display: flex;
102
+ min-height: $header-height;
103
+ align-items: center;
104
+
105
+ @include mq(md) {
106
+ height: $header-height;
107
+ max-height: $header-height;
108
+ border-bottom: $border $border-color;
109
+ }
110
+ }
111
+
112
+ .site-title {
113
+ @include container;
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
+ position: absolute;
188
+ bottom: 0;
189
+ left: 0;
190
+ padding-top: $sp-4;
191
+ padding-bottom: $sp-4;
192
+ color: $grey-dk-000;
193
+ @include fs-2;
194
+
195
+ @include mq(md) {
196
+ position: static;
197
+ justify-self: end;
198
+ }
199
+ }
200
+
201
+ .icon {
202
+ width: $sp-5;
203
+ height: $sp-5;
204
+ color: $link-color;
205
+ }
@@ -0,0 +1,20 @@
1
+ //
2
+ // Import external dependencies
3
+ //
4
+ @import "./vendor/normalize.scss/normalize.scss";
5
+
6
+ //
7
+ // Modules
8
+ //
9
+ @import "./base";
10
+ @import "./layout";
11
+ @import "./content";
12
+ @import "./navigation";
13
+ @import "./typography";
14
+ @import "./labels";
15
+ @import "./buttons";
16
+ @import "./search";
17
+ @import "./tables";
18
+ @import "./code";
19
+ @import "./utilities/utilities";
20
+ @import "./print";
@@ -0,0 +1,219 @@
1
+ //
2
+ // Main nav, breadcrumb, etc...
3
+ //
4
+ // stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity
5
+
6
+ .nav-list {
7
+ padding: 0;
8
+ margin-top: 0;
9
+ margin-bottom: 0;
10
+ list-style: none;
11
+
12
+ .nav-list-item {
13
+ @include fs-4;
14
+ position: relative;
15
+ margin: 0;
16
+
17
+ @include mq(md) {
18
+ @include fs-3;
19
+ }
20
+
21
+ .nav-list-link {
22
+ display: block;
23
+ min-height: $nav-list-item-height-sm;
24
+ padding-top: $sp-1;
25
+ padding-bottom: $sp-1;
26
+ line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
27
+ @if $nav-list-expander-right {
28
+ padding-right: $nav-list-item-height-sm;
29
+ padding-left: $gutter-spacing-sm;
30
+ } @else {
31
+ padding-right: $gutter-spacing-sm;
32
+ padding-left: $nav-list-item-height-sm;
33
+ }
34
+
35
+ @include mq(md) {
36
+ min-height: $nav-list-item-height;
37
+ line-height: #{$nav-list-item-height - 2 * $sp-1};
38
+ @if $nav-list-expander-right {
39
+ padding-right: $nav-list-item-height;
40
+ padding-left: $gutter-spacing;
41
+ } @else {
42
+ padding-right: $gutter-spacing;
43
+ padding-left: $nav-list-item-height;
44
+ }
45
+ }
46
+
47
+ &.active {
48
+ font-weight: 600;
49
+ text-decoration: none;
50
+ }
51
+
52
+ &:hover,
53
+ &.active {
54
+ background-image: linear-gradient(
55
+ -90deg,
56
+ rgba($feedback-color, 1) 0%,
57
+ rgba($feedback-color, 0.8) 80%,
58
+ rgba($feedback-color, 0) 100%
59
+ );
60
+ }
61
+ }
62
+
63
+ .nav-list-expander {
64
+ position: absolute;
65
+ @if $nav-list-expander-right {
66
+ right: 0;
67
+ }
68
+ width: $nav-list-item-height-sm;
69
+ height: $nav-list-item-height-sm;
70
+ padding-top: #{$nav-list-item-height-sm / 4};
71
+ padding-right: #{$nav-list-item-height-sm / 4};
72
+ padding-bottom: #{$nav-list-item-height-sm / 4};
73
+ padding-left: #{$nav-list-item-height-sm / 4};
74
+ color: $link-color;
75
+
76
+ @include mq(md) {
77
+ width: $nav-list-item-height;
78
+ height: $nav-list-item-height;
79
+ padding-top: #{$nav-list-item-height / 4};
80
+ padding-right: #{$nav-list-item-height / 4};
81
+ padding-bottom: #{$nav-list-item-height / 4};
82
+ padding-left: #{$nav-list-item-height / 4};
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-top: $sp-2;
136
+ padding-right: $gutter-spacing-sm;
137
+ padding-bottom: $sp-2;
138
+ padding-left: $gutter-spacing-sm;
139
+ font-weight: 600;
140
+ text-align: end;
141
+ text-transform: uppercase;
142
+ border-bottom: $border $border-color;
143
+ @include fs-2;
144
+
145
+ @include mq(md) {
146
+ padding-right: $gutter-spacing;
147
+ padding-left: $gutter-spacing;
148
+ margin-top: $gutter-spacing-sm;
149
+ text-align: start;
150
+
151
+ &:first-child {
152
+ margin-top: 0;
153
+ }
154
+ }
155
+ }
156
+
157
+ // Aux nav
158
+
159
+ .aux-nav {
160
+ height: 100%;
161
+ overflow-x: auto;
162
+ @include fs-2;
163
+
164
+ .aux-nav-list {
165
+ display: flex;
166
+ height: 100%;
167
+ padding: 0;
168
+ margin: 0;
169
+ list-style: none;
170
+ }
171
+
172
+ .aux-nav-list-item {
173
+ display: inline-block;
174
+ height: 100%;
175
+ padding: 0;
176
+ margin: 0;
177
+ }
178
+
179
+ @include mq(md) {
180
+ padding-right: $gutter-spacing-sm;
181
+ }
182
+ }
183
+
184
+ // Breadcrumb nav
185
+
186
+ .breadcrumb-nav {
187
+ @include mq(md) {
188
+ margin-top: -$sp-4;
189
+ }
190
+ }
191
+
192
+ .breadcrumb-nav-list {
193
+ padding-left: 0;
194
+ margin-bottom: $sp-3;
195
+ list-style: none;
196
+ }
197
+
198
+ .breadcrumb-nav-list-item {
199
+ display: table-cell;
200
+ @include fs-2;
201
+
202
+ &::before {
203
+ display: none;
204
+ }
205
+
206
+ &::after {
207
+ display: inline-block;
208
+ margin-right: $sp-2;
209
+ margin-left: $sp-2;
210
+ color: $grey-dk-000;
211
+ content: "/";
212
+ }
213
+
214
+ &:last-child {
215
+ &::after {
216
+ content: "";
217
+ }
218
+ }
219
+ }