truesight-rtd-theme 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +100 -0
  4. data/_includes/README.md +9 -0
  5. data/_includes/common/assets/data.liquid +3 -0
  6. data/_includes/common/assets/robots.liquid +4 -0
  7. data/_includes/common/assets/sitemap.liquid +12 -0
  8. data/_includes/common/assets/sw.caches.js +39 -0
  9. data/_includes/common/core/_list.liquid +15 -0
  10. data/_includes/common/core/list.liquid +10 -0
  11. data/_includes/common/google_adsense.liquid +3 -0
  12. data/_includes/common/google_gtag.liquid +11 -0
  13. data/_includes/common/links.liquid +26 -0
  14. data/_includes/common/mathjax.liquid +6 -0
  15. data/_includes/common/mermaid.liquid +10 -0
  16. data/_includes/common/metadata.liquid +12 -0
  17. data/_includes/common/opengraph.liquid +8 -0
  18. data/_includes/common/rest/content.liquid +6 -0
  19. data/_includes/common/rest/defaults.liquid +7 -0
  20. data/_includes/common/rest/description.liquid +6 -0
  21. data/_includes/common/rest/i18n.liquid +1 -0
  22. data/_includes/common/rest/nav.liquid +20 -0
  23. data/_includes/common/rest/site_pages.liquid +8 -0
  24. data/_includes/common/rest/tabs.liquid +2 -0
  25. data/_includes/common/rest/title.liquid +18 -0
  26. data/_includes/common/rest/variables.liquid +41 -0
  27. data/_includes/common/rest/workdir.liquid +19 -0
  28. data/_includes/common/schema.liquid +27 -0
  29. data/_includes/common/script.liquid +11 -0
  30. data/_includes/common/title.liquid +1 -0
  31. data/_includes/common/twitter_cards.liquid +6 -0
  32. data/_includes/extra/body.html +0 -0
  33. data/_includes/extra/head.html +0 -0
  34. data/_includes/extra/script.js +0 -0
  35. data/_includes/extra/styles.scss +0 -0
  36. data/_includes/list.liquid +1 -0
  37. data/_includes/rest/defaults.liquid +2 -0
  38. data/_includes/rest/script.liquid +7 -0
  39. data/_includes/rest/styles.liquid +5 -0
  40. data/_includes/shortcodes/danger.liquid +9 -0
  41. data/_includes/shortcodes/mermaid.liquid +3 -0
  42. data/_includes/shortcodes/note.liquid +9 -0
  43. data/_includes/shortcodes/tip.liquid +9 -0
  44. data/_includes/shortcodes/warning.liquid +9 -0
  45. data/_includes/templates/_toctree.liquid +41 -0
  46. data/_includes/templates/addons.liquid +43 -0
  47. data/_includes/templates/breadcrumbs.liquid +33 -0
  48. data/_includes/templates/content.liquid +20 -0
  49. data/_includes/templates/footer.liquid +54 -0
  50. data/_includes/templates/sidebar.liquid +18 -0
  51. data/_includes/templates/toctree.liquid +23 -0
  52. data/_layouts/default.liquid +32 -0
  53. data/_layouts/tasks/compress.liquid +21 -0
  54. data/_layouts/tasks/shortcodes.liquid +33 -0
  55. data/_sass/_direction.scss +107 -0
  56. data/_sass/_font-face.scss +66 -0
  57. data/_sass/_layout.scss +76 -0
  58. data/_sass/_rest.scss +26 -0
  59. data/_sass/_root.scss +9 -0
  60. data/_sass/_variables.scss +34 -0
  61. data/_sass/core/addons.scss +39 -0
  62. data/_sass/core/container.scss +11 -0
  63. data/_sass/core/content.scss +4 -0
  64. data/_sass/core/header.scss +10 -0
  65. data/_sass/core/markdown.scss +113 -0
  66. data/_sass/core/sidebar.scss +100 -0
  67. data/_sass/core/title.scss +12 -0
  68. data/_sass/core/toasts.scss +53 -0
  69. data/_sass/lib/@primer/css/base/README.md +24 -0
  70. data/_sass/lib/@primer/css/base/base.scss +90 -0
  71. data/_sass/lib/@primer/css/base/index.scss +6 -0
  72. data/_sass/lib/@primer/css/base/kbd.scss +21 -0
  73. data/_sass/lib/@primer/css/base/normalize.scss +424 -0
  74. data/_sass/lib/@primer/css/base/typography-base.scss +100 -0
  75. data/_sass/lib/@primer/css/breadcrumb/README.md +24 -0
  76. data/_sass/lib/@primer/css/breadcrumb/breadcrumb.scss +28 -0
  77. data/_sass/lib/@primer/css/breadcrumb/index.scss +3 -0
  78. data/_sass/lib/@primer/css/buttons/README.md +24 -0
  79. data/_sass/lib/@primer/css/buttons/button-group.scss +91 -0
  80. data/_sass/lib/@primer/css/buttons/button.scss +296 -0
  81. data/_sass/lib/@primer/css/buttons/index.scss +4 -0
  82. data/_sass/lib/@primer/css/buttons/misc.scss +205 -0
  83. data/_sass/lib/@primer/css/forms/README.md +24 -0
  84. data/_sass/lib/@primer/css/forms/form-control.scss +281 -0
  85. data/_sass/lib/@primer/css/forms/form-group.scss +279 -0
  86. data/_sass/lib/@primer/css/forms/form-select.scss +38 -0
  87. data/_sass/lib/@primer/css/forms/form-validation.scss +369 -0
  88. data/_sass/lib/@primer/css/forms/index.scss +7 -0
  89. data/_sass/lib/@primer/css/forms/input-group.scss +53 -0
  90. data/_sass/lib/@primer/css/forms/radio-group.scss +43 -0
  91. data/_sass/lib/@primer/css/loaders/README.md +24 -0
  92. data/_sass/lib/@primer/css/loaders/index.scss +2 -0
  93. data/_sass/lib/@primer/css/loaders/loaders.scss +21 -0
  94. data/_sass/lib/@primer/css/markdown/README.md +24 -0
  95. data/_sass/lib/@primer/css/markdown/blob-csv.scss +31 -0
  96. data/_sass/lib/@primer/css/markdown/code.scss +73 -0
  97. data/_sass/lib/@primer/css/markdown/headings.scss +72 -0
  98. data/_sass/lib/@primer/css/markdown/images.scss +131 -0
  99. data/_sass/lib/@primer/css/markdown/index.scss +8 -0
  100. data/_sass/lib/@primer/css/markdown/lists.scss +77 -0
  101. data/_sass/lib/@primer/css/markdown/markdown-body.scss +99 -0
  102. data/_sass/lib/@primer/css/markdown/tables.scss +38 -0
  103. data/_sass/lib/@primer/css/support/README.md +24 -0
  104. data/_sass/lib/@primer/css/support/index.scss +11 -0
  105. data/_sass/lib/@primer/css/support/mixins/buttons.scss +184 -0
  106. data/_sass/lib/@primer/css/support/mixins/layout.scss +55 -0
  107. data/_sass/lib/@primer/css/support/mixins/misc.scss +32 -0
  108. data/_sass/lib/@primer/css/support/mixins/typography.scss +88 -0
  109. data/_sass/lib/@primer/css/support/variables/color-system.scss +243 -0
  110. data/_sass/lib/@primer/css/support/variables/colors.scss +55 -0
  111. data/_sass/lib/@primer/css/support/variables/layout.scss +149 -0
  112. data/_sass/lib/@primer/css/support/variables/misc.scss +43 -0
  113. data/_sass/lib/@primer/css/support/variables/typography.scss +43 -0
  114. data/_sass/lib/@primer/css/utilities/README.md +24 -0
  115. data/_sass/lib/@primer/css/utilities/animations.scss +187 -0
  116. data/_sass/lib/@primer/css/utilities/borders.scss +187 -0
  117. data/_sass/lib/@primer/css/utilities/box-shadow.scss +25 -0
  118. data/_sass/lib/@primer/css/utilities/colors.scss +185 -0
  119. data/_sass/lib/@primer/css/utilities/details.scss +34 -0
  120. data/_sass/lib/@primer/css/utilities/flexbox.scss +124 -0
  121. data/_sass/lib/@primer/css/utilities/index.scss +14 -0
  122. data/_sass/lib/@primer/css/utilities/layout.scss +151 -0
  123. data/_sass/lib/@primer/css/utilities/margin.scss +68 -0
  124. data/_sass/lib/@primer/css/utilities/padding.scss +59 -0
  125. data/_sass/lib/@primer/css/utilities/typography.scss +325 -0
  126. data/_sass/lib/@primer/css/utilities/visibility-display.scss +82 -0
  127. data/_sass/lib/font-awesome/_icons.scss +2139 -0
  128. data/_sass/lib/font-awesome/_variables.scss +799 -0
  129. data/_sass/lib/material-design-lite/_color-definitions.scss +378 -0
  130. data/_sass/lib/material-design-lite/_functions.scss +19 -0
  131. data/_sass/lib/material-design-lite/_mixins.scss +301 -0
  132. data/_sass/lib/material-design-lite/_variables.scss +612 -0
  133. data/_sass/lib/rouge/github.scss +214 -0
  134. data/_sass/theme.scss +37 -0
  135. data/assets/404.liquid +9 -0
  136. data/assets/css/fonts/Roboto-Slab-Bold.woff +0 -0
  137. data/assets/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  138. data/assets/css/fonts/Roboto-Slab-Regular.woff +0 -0
  139. data/assets/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  140. data/assets/css/fonts/fontawesome-webfont.eot +0 -0
  141. data/assets/css/fonts/fontawesome-webfont.svg +2671 -0
  142. data/assets/css/fonts/fontawesome-webfont.ttf +0 -0
  143. data/assets/css/fonts/fontawesome-webfont.woff +0 -0
  144. data/assets/css/fonts/fontawesome-webfont.woff2 +0 -0
  145. data/assets/css/fonts/lato-bold-italic.woff +0 -0
  146. data/assets/css/fonts/lato-bold-italic.woff2 +0 -0
  147. data/assets/css/fonts/lato-bold.woff +0 -0
  148. data/assets/css/fonts/lato-bold.woff2 +0 -0
  149. data/assets/css/fonts/lato-normal-italic.woff +0 -0
  150. data/assets/css/fonts/lato-normal-italic.woff2 +0 -0
  151. data/assets/css/fonts/lato-normal.woff +0 -0
  152. data/assets/css/fonts/lato-normal.woff2 +0 -0
  153. data/assets/css/theme.min.css +1 -0
  154. data/assets/css/theme.scss +4 -0
  155. data/assets/data.liquid +6 -0
  156. data/assets/images/apple-touch-icon-300x300.jpg +0 -0
  157. data/assets/images/favicon-16x16.png +0 -0
  158. data/assets/images/favicon-32x32.png +0 -0
  159. data/assets/images/favicon-96x96.png +0 -0
  160. data/assets/images/favicon.liquid +13 -0
  161. data/assets/js/jquery.min.js +2 -0
  162. data/assets/js/mermaid.min.js +31 -0
  163. data/assets/js/theme.js +287 -0
  164. data/assets/js/theme.min.js +1 -0
  165. data/assets/robots.liquid +6 -0
  166. data/assets/search.liquid +12 -0
  167. data/assets/sitemap.liquid +6 -0
  168. data/assets/sw.caches.liquid +8 -0
  169. metadata +224 -0
@@ -0,0 +1,113 @@
1
+ .markdown-body {
2
+ .d-lang {
3
+ position: relative;
4
+
5
+ &:after {
6
+ position: absolute;
7
+ right: 0px;
8
+ top: 0px;
9
+ font-family: $mono-font;
10
+ font-size: $font-size-small;
11
+ content: attr(data-lang);
12
+ padding: 0 5px;
13
+ color: lighten($text-gray-light, 30%);
14
+ }
15
+ }
16
+
17
+ // 400
18
+ font-weight: $font-weight-normal;
19
+
20
+ a {
21
+ color: $theme-link;
22
+
23
+ &:hover {
24
+ color: $theme-link-hover;
25
+ }
26
+
27
+ code,
28
+ tt {
29
+ color: $theme-link;
30
+ }
31
+ }
32
+
33
+ h1,
34
+ h2,
35
+ h3,
36
+ h4,
37
+ h5,
38
+ h6,
39
+ dt {
40
+ font-family: $head-font;
41
+ }
42
+
43
+ table {
44
+ // 14px
45
+ font-size: $body-font-size;
46
+ }
47
+
48
+ // ruby highlight fixed, TODO: line number display
49
+ figure {
50
+ margin: 0;
51
+ }
52
+
53
+ .anchor {
54
+ // overwrite to right
55
+ float: none;
56
+ padding-right: 0;
57
+ margin-left: 3px;
58
+ // rtl
59
+ margin-right: 3px;
60
+ }
61
+
62
+ // improved
63
+ code,
64
+ tt {
65
+ font-size: $font-size-small;
66
+ border: $border;
67
+ color: $theme-code-inline;
68
+ background-color: $theme-code-inline-background;
69
+ }
70
+
71
+ pre {
72
+ > code {
73
+ color: $theme-code;
74
+ }
75
+ }
76
+
77
+ .highlight pre,
78
+ pre {
79
+ font-size: $font-size-small;
80
+ border: $border;
81
+ background-color: $theme-code-background;
82
+ }
83
+
84
+ div.highlighter-rouge {
85
+ @extend .d-lang;
86
+ }
87
+
88
+ // search
89
+ .search-results {
90
+ li {
91
+ list-style: none;
92
+ }
93
+ }
94
+
95
+ // improved checkbox
96
+ .task-list-item-checkbox {
97
+ margin-right: 3px;
98
+ }
99
+
100
+ // mermaid improved
101
+ .mermaid-wrap {
102
+ @extend .d-lang;
103
+ // mdl
104
+ @include shadow-2dp();
105
+
106
+ // .mermaid:not([data-processed="true"])
107
+ .mermaid {
108
+ font-size: $font-size-small;
109
+ font-family: $mono-font;
110
+ white-space: pre;
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,100 @@
1
+ .sidebar {
2
+ color: $theme-white;
3
+ background: $theme-menu-background;
4
+
5
+ a {
6
+ text-decoration: none;
7
+ }
8
+
9
+ li {
10
+ list-style: none;
11
+ }
12
+ .version {
13
+ color: rgba(255, 255, 255, 0.3);
14
+ }
15
+ }
16
+
17
+ .toctree {
18
+ a {
19
+ color: $theme-white;
20
+ padding: 0.5em;
21
+ }
22
+
23
+ .caption {
24
+ color: lighten($theme-blue, 15%);
25
+ font-weight: $font-weight-bold;
26
+ line-height: 32px;
27
+ }
28
+
29
+ .fa {
30
+ margin-right: 2px;
31
+ }
32
+
33
+ > ul {
34
+ // the first level links
35
+ > .toc > a {
36
+ padding-left: $spacer-4 / 2;
37
+ }
38
+
39
+ // the first level links not current
40
+ > .toc:not(.current) > a {
41
+ &:hover {
42
+ background: $theme-mask-white;
43
+ }
44
+ &:active {
45
+ background: $theme-menu-active-background;
46
+ }
47
+ }
48
+
49
+ .toc.current {
50
+ // all expanded links
51
+ a {
52
+ color: #404040;
53
+
54
+ &:hover {
55
+ background: $theme-mask-white;
56
+ }
57
+ &.current {
58
+ font-weight: bold;
59
+ background: $theme-white;
60
+ border-top: 1px solid var(--toc-2);
61
+ border-bottom: 1px solid var(--toc-2);
62
+ }
63
+ }
64
+ // parent links
65
+ > a {
66
+ .fa-plus-square-o {
67
+ @extend .fa-minus-square-o;
68
+ }
69
+ }
70
+ }
71
+ // fixed level-1's hover mask
72
+ > .toc.current {
73
+ background: var(--toc-1);
74
+ }
75
+ }
76
+ }
77
+
78
+ // toc layout
79
+ .toc {
80
+ > ul {
81
+ @extend .d-none;
82
+ }
83
+ @for $level from 1 through 11 {
84
+ &.level-#{$level}.current {
85
+ > a {
86
+ padding-left: $spacer-4 * ($level - 1 + 0.5);
87
+ background: var(--toc-#{$level});
88
+ }
89
+
90
+ > ul {
91
+ @extend .d-block;
92
+ background: var(--toc-#{$level + 1});
93
+ }
94
+
95
+ .level-#{$level + 1} > a {
96
+ padding-left: $spacer-4 * ($level + 0.5);
97
+ }
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,12 @@
1
+ .title {
2
+ // 600
3
+ font-weight: $font-weight-bold;
4
+ color: $theme-white;
5
+
6
+ a {
7
+ color: $theme-white;
8
+ &:hover {
9
+ background: $theme-mask-white;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,53 @@
1
+ .toasts {
2
+ // fixed note
3
+ font-size: $h4-size;
4
+ // mdl
5
+ @include shadow-2dp();
6
+
7
+ .title {
8
+ box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.14);
9
+ }
10
+
11
+ // fixed
12
+ .content {
13
+ :first-child {
14
+ margin-top: 0;
15
+ }
16
+
17
+ :last-child {
18
+ margin-bottom: 0;
19
+ }
20
+ }
21
+
22
+ &.note {
23
+ background-color: lighten($theme-blue, 50%);
24
+
25
+ .title {
26
+ background: lighten($theme-blue, 20%);
27
+ }
28
+ }
29
+
30
+ &.tip {
31
+ background-color: lighten($theme-green, 50%);
32
+
33
+ .title {
34
+ background: lighten($theme-green, 0%);
35
+ }
36
+ }
37
+
38
+ &.warning {
39
+ background-color: lighten($theme-orange, 40%);
40
+
41
+ .title {
42
+ background: lighten($theme-orange, 20%);
43
+ }
44
+ }
45
+
46
+ &.danger {
47
+ background-color: lighten($theme-red, 40%);
48
+
49
+ .title {
50
+ background: lighten($theme-red, 20%);
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,24 @@
1
+ ---
2
+ bundle: "base"
3
+ generated: true
4
+ ---
5
+
6
+ # Primer CSS: `base` bundle
7
+
8
+ ## Usage
9
+
10
+ Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
11
+
12
+ ```scss
13
+ @import "@primer/css/base/index.scss";
14
+ ```
15
+
16
+ ## Build
17
+
18
+ The `@primer/css` npm package includes a standalone CSS build of this module in `dist/base.css`.
19
+
20
+ ## License
21
+
22
+ [MIT](https://github.com/primer/css/blob/master/LICENSE) © [GitHub](https://github.com/)
23
+
24
+ [scss]: https://sass-lang.com/documentation/syntax#scss
@@ -0,0 +1,90 @@
1
+ // stylelint-disable selector-max-type
2
+ * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ input,
7
+ select,
8
+ textarea,
9
+ button {
10
+ font-family: inherit;
11
+ font-size: inherit;
12
+ line-height: inherit;
13
+ }
14
+
15
+ body {
16
+ font-family: $body-font;
17
+ font-size: $body-font-size;
18
+ line-height: $body-line-height;
19
+ color: $text-gray-dark;
20
+ background-color: $bg-white;
21
+ }
22
+
23
+ a {
24
+ color: $text-blue;
25
+ text-decoration: none;
26
+
27
+ &:hover {
28
+ text-decoration: underline;
29
+ }
30
+ }
31
+
32
+ b,
33
+ strong {
34
+ font-weight: $font-weight-bold;
35
+ }
36
+
37
+ // Horizontal lines
38
+ //
39
+ // TODO-MDO: Remove `.rule` from everywhere and replace with `<hr>`s
40
+ hr,
41
+ .rule {
42
+ height: 0;
43
+ // stylelint-disable-next-line primer/spacing
44
+ margin: 15px 0;
45
+ overflow: hidden;
46
+ background: transparent;
47
+ border: 0;
48
+ // stylelint-disable-next-line primer/borders
49
+ border-bottom: $border-width $border-style lighten($gray-300, 5%);
50
+ @include clearfix();
51
+ }
52
+
53
+ //
54
+ // Remove most spacing between table cells.
55
+ //
56
+
57
+ table {
58
+ border-spacing: 0;
59
+ border-collapse: collapse;
60
+ }
61
+
62
+ td,
63
+ th {
64
+ padding: 0;
65
+ }
66
+
67
+ button {
68
+ cursor: pointer;
69
+ // Remove border radius added by Chrome macOS
70
+ border-radius: 0;
71
+ }
72
+
73
+ // increase the selector specificity for [hidden]
74
+ // so that it always overrides utility classes (.d-block, etc.)
75
+ [hidden][hidden] {
76
+ display: none !important;
77
+ }
78
+
79
+ details {
80
+ summary {
81
+ cursor: pointer;
82
+ }
83
+
84
+ &:not([open]) {
85
+ // Set details content hidden by default for browsers that don't do this
86
+ > *:not(summary) {
87
+ display: none !important;
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,6 @@
1
+ @import "../support/index.scss";
2
+
3
+ @import "./normalize.scss";
4
+ @import "./base.scss";
5
+ @import "./kbd.scss";
6
+ @import "./typography-base.scss";
@@ -0,0 +1,21 @@
1
+ // Keyboard shortcuts
2
+ // stylelint-disable selector-max-type
3
+
4
+ kbd {
5
+ display: inline-block;
6
+ // stylelint-disable-next-line primer/spacing
7
+ padding: ($spacer-1 - 1) ($spacer-1 + 1);
8
+ font: 11px $mono-font;
9
+ // stylelint-disable-next-line primer/typography
10
+ line-height: 10px;
11
+ // stylelint-disable-next-line primer/colors
12
+ color: $gray-700;
13
+ vertical-align: middle;
14
+ background-color: $bg-gray-light;
15
+ // stylelint-disable-next-line primer/borders
16
+ border: $border-style $border-width $border-gray-dark;
17
+ border-bottom-color: $border-gray-dark;
18
+ border-radius: $border-radius;
19
+ // stylelint-disable-next-line primer/box-shadow
20
+ box-shadow: inset 0 -1px 0 $border-gray-dark;
21
+ }