umbrel-docs 0.0.8

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 +28 -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 +100 -0
  14. data/_includes/title.html +5 -0
  15. data/_includes/vendor/anchor_headings.html +152 -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 +182 -0
@@ -0,0 +1,27 @@
1
+ // Colored button
2
+
3
+ @mixin btn-color($fg, $bg) {
4
+ color: $fg;
5
+ background-color: darken($bg, 2%);
6
+ background-image: linear-gradient(lighten($bg, 5%), darken($bg, 2%));
7
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(0, 0, 0, 0.12);
8
+
9
+ &:hover,
10
+ &.zeroclipboard-is-hover {
11
+ color: $fg;
12
+ background-color: darken($bg, 4%);
13
+ background-image: linear-gradient((lighten($bg, 2%), darken($bg, 4%)));
14
+ }
15
+
16
+ &:active,
17
+ &.selected,
18
+ &.zeroclipboard-is-active {
19
+ background-color: darken($bg, 5%);
20
+ background-image: none;
21
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
22
+ }
23
+
24
+ &.selected:hover {
25
+ background-color: darken($bg, 10%);
26
+ }
27
+ }
@@ -0,0 +1,34 @@
1
+ // Media query
2
+
3
+ // Media query mixin
4
+ // Usage:
5
+ // @include mq(md) {
6
+ // ..medium and up styles
7
+ // }
8
+ @mixin mq($name) {
9
+ // Retrieves the value from the key
10
+ $value: map-get($media-queries, $name);
11
+
12
+ // If the key exists in the map
13
+ @if $value != null {
14
+ // Prints a media query based on the value
15
+ @media (min-width: rem($value)) {
16
+ @content;
17
+ }
18
+ } @else {
19
+ @warn "No value could be retrieved from `#{$media-query}`. "
20
+ + "Please make sure it is defined in `$media-queries` map.";
21
+ }
22
+ }
23
+
24
+ // Responsive container
25
+
26
+ @mixin container {
27
+ padding-right: $gutter-spacing-sm;
28
+ padding-left: $gutter-spacing-sm;
29
+
30
+ @include mq(md) {
31
+ padding-right: $gutter-spacing;
32
+ padding-left: $gutter-spacing;
33
+ }
34
+ }
@@ -0,0 +1,84 @@
1
+ @mixin fs-1 {
2
+ font-size: $font-size-1 !important;
3
+
4
+ @include mq(sm) {
5
+ font-size: $font-size-1-sm !important;
6
+ }
7
+ }
8
+
9
+ @mixin fs-2 {
10
+ font-size: $font-size-2 !important;
11
+
12
+ @include mq(sm) {
13
+ font-size: $font-size-3 !important;
14
+ }
15
+ }
16
+
17
+ @mixin fs-3 {
18
+ font-size: $font-size-3 !important;
19
+
20
+ @include mq(sm) {
21
+ font-size: $font-size-4 !important;
22
+ }
23
+ }
24
+
25
+ @mixin fs-4 {
26
+ font-size: $font-size-4 !important;
27
+
28
+ @include mq(sm) {
29
+ font-size: $font-size-5 !important;
30
+ }
31
+ }
32
+
33
+ @mixin fs-5 {
34
+ font-size: $font-size-5 !important;
35
+
36
+ @include mq(sm) {
37
+ font-size: $font-size-6 !important;
38
+ }
39
+ }
40
+
41
+ @mixin fs-6 {
42
+ font-size: $font-size-6 !important;
43
+
44
+ @include mq(sm) {
45
+ font-size: $font-size-7 !important;
46
+ line-height: $body-heading-line-height;
47
+ }
48
+ }
49
+
50
+ @mixin fs-7 {
51
+ font-size: $font-size-7 !important;
52
+ line-height: $body-heading-line-height;
53
+
54
+ @include mq(sm) {
55
+ font-size: $font-size-8 !important;
56
+ }
57
+ }
58
+
59
+ @mixin fs-8 {
60
+ font-size: $font-size-8 !important;
61
+ line-height: $body-heading-line-height;
62
+
63
+ @include mq(sm) {
64
+ font-size: $font-size-9 !important;
65
+ }
66
+ }
67
+
68
+ @mixin fs-9 {
69
+ font-size: $font-size-9 !important;
70
+ line-height: $body-heading-line-height;
71
+
72
+ @include mq(sm) {
73
+ font-size: $font-size-10 !important;
74
+ }
75
+ }
76
+
77
+ @mixin fs-10 {
78
+ font-size: $font-size-10 !important;
79
+ line-height: $body-heading-line-height;
80
+
81
+ @include mq(sm) {
82
+ font-size: $font-size-10-sm !important;
83
+ }
84
+ }
@@ -0,0 +1,3 @@
1
+ @import "./layout";
2
+ @import "./buttons";
3
+ @import "./typography";
@@ -0,0 +1,3 @@
1
+ @import "./variables";
2
+ @import "./functions";
3
+ @import "./mixins/mixins";
@@ -0,0 +1,58 @@
1
+ //
2
+ // Tables
3
+ //
4
+ // stylelint-disable max-nesting-depth, selector-no-type, selector-max-type
5
+
6
+ .table-wrapper {
7
+ display: block;
8
+ width: 100%;
9
+ max-width: 100%;
10
+ margin-bottom: $sp-5;
11
+ overflow-x: auto;
12
+ border-radius: $border-radius;
13
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
14
+ }
15
+
16
+ table {
17
+ display: table;
18
+ min-width: 100%;
19
+ border-collapse: separate;
20
+ }
21
+
22
+ th,
23
+ td {
24
+ @include fs-3;
25
+ min-width: 120px;
26
+ padding-top: $sp-2;
27
+ padding-right: $sp-3;
28
+ padding-bottom: $sp-2;
29
+ padding-left: $sp-3;
30
+ background-color: $table-background-color;
31
+ border-bottom: $border rgba($border-color, 0.5);
32
+ border-left: $border $border-color;
33
+
34
+ &:first-of-type {
35
+ border-left: 0;
36
+ }
37
+ }
38
+
39
+ tbody {
40
+ tr {
41
+ &:last-of-type {
42
+ th,
43
+ td {
44
+ border-bottom: 0;
45
+ }
46
+
47
+ td {
48
+ padding-bottom: $sp-3;
49
+ }
50
+ }
51
+ }
52
+ }
53
+
54
+ thead {
55
+ th {
56
+ border-bottom: $border $border-color;
57
+ }
58
+ }
@@ -0,0 +1,64 @@
1
+ //
2
+ // Typography
3
+ //
4
+ // stylelint-disable primer/selector-no-utility, primer/no-override, selector-no-type, selector-max-type
5
+
6
+ h1,
7
+ .text-alpha {
8
+ @include fs-8;
9
+ font-weight: 300;
10
+ }
11
+
12
+ h2,
13
+ .text-beta {
14
+ @include fs-6;
15
+ }
16
+
17
+ h3,
18
+ .text-gamma {
19
+ @include fs-5;
20
+ }
21
+
22
+ h4,
23
+ .text-delta {
24
+ @include fs-2;
25
+ font-weight: 400;
26
+ text-transform: uppercase;
27
+ letter-spacing: 0.1em;
28
+ }
29
+
30
+ h4 code {
31
+ text-transform: none;
32
+ }
33
+
34
+ h5,
35
+ .text-epsilon {
36
+ @include fs-3;
37
+ color: $grey-dk-200;
38
+ }
39
+
40
+ h6,
41
+ .text-zeta {
42
+ @include fs-2;
43
+ color: $grey-dk-200;
44
+ }
45
+
46
+ .text-small {
47
+ @include fs-2;
48
+ }
49
+
50
+ .text-mono {
51
+ font-family: $mono-font-family !important;
52
+ }
53
+
54
+ .text-left {
55
+ text-align: left !important;
56
+ }
57
+
58
+ .text-center {
59
+ text-align: center !important;
60
+ }
61
+
62
+ .text-right {
63
+ text-align: right !important;
64
+ }
@@ -0,0 +1,239 @@
1
+ //
2
+ // Utility classes for colors
3
+ //
4
+
5
+ // Text colors
6
+
7
+ .text-grey-dk-000 {
8
+ color: $grey-dk-000 !important;
9
+ }
10
+
11
+ .text-grey-dk-100 {
12
+ color: $grey-dk-100 !important;
13
+ }
14
+
15
+ .text-grey-dk-200 {
16
+ color: $grey-dk-200 !important;
17
+ }
18
+
19
+ .text-grey-dk-250 {
20
+ color: $grey-dk-250 !important;
21
+ }
22
+
23
+ .text-grey-dk-300 {
24
+ color: $grey-dk-300 !important;
25
+ }
26
+
27
+ .text-grey-lt-000 {
28
+ color: $grey-lt-000 !important;
29
+ }
30
+
31
+ .text-grey-lt-100 {
32
+ color: $grey-lt-100 !important;
33
+ }
34
+
35
+ .text-grey-lt-200 {
36
+ color: $grey-lt-200 !important;
37
+ }
38
+
39
+ .text-grey-lt-300 {
40
+ color: $grey-lt-300 !important;
41
+ }
42
+
43
+ .text-blue-000 {
44
+ color: $blue-000 !important;
45
+ }
46
+
47
+ .text-blue-100 {
48
+ color: $blue-100 !important;
49
+ }
50
+
51
+ .text-blue-200 {
52
+ color: $blue-200 !important;
53
+ }
54
+
55
+ .text-blue-300 {
56
+ color: $blue-300 !important;
57
+ }
58
+
59
+ .text-green-000 {
60
+ color: $green-000 !important;
61
+ }
62
+
63
+ .text-green-100 {
64
+ color: $green-100 !important;
65
+ }
66
+
67
+ .text-green-200 {
68
+ color: $green-200 !important;
69
+ }
70
+
71
+ .text-green-300 {
72
+ color: $green-300 !important;
73
+ }
74
+
75
+ .text-purple-000 {
76
+ color: $purple-000 !important;
77
+ }
78
+
79
+ .text-purple-100 {
80
+ color: $purple-100 !important;
81
+ }
82
+
83
+ .text-purple-200 {
84
+ color: $purple-200 !important;
85
+ }
86
+
87
+ .text-purple-300 {
88
+ color: $purple-300 !important;
89
+ }
90
+
91
+ .text-yellow-000 {
92
+ color: $yellow-000 !important;
93
+ }
94
+
95
+ .text-yellow-100 {
96
+ color: $yellow-100 !important;
97
+ }
98
+
99
+ .text-yellow-200 {
100
+ color: $yellow-200 !important;
101
+ }
102
+
103
+ .text-yellow-300 {
104
+ color: $yellow-300 !important;
105
+ }
106
+
107
+ .text-red-000 {
108
+ color: $red-000 !important;
109
+ }
110
+
111
+ .text-red-100 {
112
+ color: $red-100 !important;
113
+ }
114
+
115
+ .text-red-200 {
116
+ color: $red-200 !important;
117
+ }
118
+
119
+ .text-red-300 {
120
+ color: $red-300 !important;
121
+ }
122
+
123
+ // Background colors
124
+
125
+ .bg-grey-dk-000 {
126
+ background-color: $grey-dk-000 !important;
127
+ }
128
+
129
+ .bg-grey-dk-100 {
130
+ background-color: $grey-dk-100 !important;
131
+ }
132
+
133
+ .bg-grey-dk-200 {
134
+ background-color: $grey-dk-200 !important;
135
+ }
136
+
137
+ .bg-grey-dk-250 {
138
+ background-color: $grey-dk-250 !important;
139
+ }
140
+
141
+ .bg-grey-dk-300 {
142
+ background-color: $grey-dk-300 !important;
143
+ }
144
+
145
+ .bg-grey-lt-000 {
146
+ background-color: $grey-lt-000 !important;
147
+ }
148
+
149
+ .bg-grey-lt-100 {
150
+ background-color: $grey-lt-100 !important;
151
+ }
152
+
153
+ .bg-grey-lt-200 {
154
+ background-color: $grey-lt-200 !important;
155
+ }
156
+
157
+ .bg-grey-lt-300 {
158
+ background-color: $grey-lt-300 !important;
159
+ }
160
+
161
+ .bg-blue-000 {
162
+ background-color: $blue-000 !important;
163
+ }
164
+
165
+ .bg-blue-100 {
166
+ background-color: $blue-100 !important;
167
+ }
168
+
169
+ .bg-blue-200 {
170
+ background-color: $blue-200 !important;
171
+ }
172
+
173
+ .bg-blue-300 {
174
+ background-color: $blue-300 !important;
175
+ }
176
+
177
+ .bg-green-000 {
178
+ background-color: $green-000 !important;
179
+ }
180
+
181
+ .bg-green-100 {
182
+ background-color: $green-100 !important;
183
+ }
184
+
185
+ .bg-green-200 {
186
+ background-color: $green-200 !important;
187
+ }
188
+
189
+ .bg-green-300 {
190
+ background-color: $green-300 !important;
191
+ }
192
+
193
+ .bg-purple-000 {
194
+ background-color: $purple-000 !important;
195
+ }
196
+
197
+ .bg-purple-100 {
198
+ background-color: $purple-100 !important;
199
+ }
200
+
201
+ .bg-purple-200 {
202
+ background-color: $purple-200 !important;
203
+ }
204
+
205
+ .bg-purple-300 {
206
+ background-color: $purple-300 !important;
207
+ }
208
+
209
+ .bg-yellow-000 {
210
+ background-color: $yellow-000 !important;
211
+ }
212
+
213
+ .bg-yellow-100 {
214
+ background-color: $yellow-100 !important;
215
+ }
216
+
217
+ .bg-yellow-200 {
218
+ background-color: $yellow-200 !important;
219
+ }
220
+
221
+ .bg-yellow-300 {
222
+ background-color: $yellow-300 !important;
223
+ }
224
+
225
+ .bg-red-000 {
226
+ background-color: $red-000 !important;
227
+ }
228
+
229
+ .bg-red-100 {
230
+ background-color: $red-100 !important;
231
+ }
232
+
233
+ .bg-red-200 {
234
+ background-color: $red-200 !important;
235
+ }
236
+
237
+ .bg-red-300 {
238
+ background-color: $red-300 !important;
239
+ }