truesight-rtd-theme 1.0.0

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.
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,187 @@
1
+ // This file contains reusable animations for github.
2
+
3
+ /* Fade in an element */
4
+ .anim-fade-in {
5
+ animation-name: fade-in;
6
+ animation-duration: 1s;
7
+ animation-timing-function: ease-in-out;
8
+
9
+ &.fast {
10
+ animation-duration: 300ms;
11
+ }
12
+ }
13
+
14
+ @keyframes fade-in {
15
+ 0% {
16
+ opacity: 0;
17
+ }
18
+
19
+ 100% {
20
+ opacity: 1;
21
+ }
22
+ }
23
+
24
+ /* Fade out an element */
25
+ .anim-fade-out {
26
+ animation-name: fade-out;
27
+ animation-duration: 1s;
28
+ animation-timing-function: ease-out;
29
+
30
+ &.fast {
31
+ animation-duration: 0.3s;
32
+ }
33
+ }
34
+
35
+ @keyframes fade-out {
36
+ 0% {
37
+ opacity: 1;
38
+ }
39
+
40
+ 100% {
41
+ opacity: 0;
42
+ }
43
+ }
44
+
45
+ /* Fade in and slide up an element */
46
+ .anim-fade-up {
47
+ opacity: 0;
48
+ animation-name: fade-up;
49
+ animation-duration: 0.3s;
50
+ animation-fill-mode: forwards;
51
+ animation-timing-function: ease-out;
52
+ animation-delay: 1s;
53
+ }
54
+
55
+ @keyframes fade-up {
56
+ 0% {
57
+ opacity: 0.8;
58
+ transform: translateY(100%);
59
+ }
60
+
61
+ 100% {
62
+ opacity: 1;
63
+ transform: translateY(0);
64
+ }
65
+ }
66
+
67
+ /* Fade an element out and slide down */
68
+ .anim-fade-down {
69
+ animation-name: fade-down;
70
+ animation-duration: 0.3s;
71
+ animation-fill-mode: forwards;
72
+ animation-timing-function: ease-in;
73
+ }
74
+
75
+ @keyframes fade-down {
76
+ 0% {
77
+ opacity: 1;
78
+ transform: translateY(0);
79
+ }
80
+
81
+ 100% {
82
+ opacity: 0.5;
83
+ transform: translateY(100%);
84
+ }
85
+ }
86
+
87
+ /* Grow an element width from 0 to 100% */
88
+ .anim-grow-x {
89
+ width: 0%;
90
+ animation-name: grow-x;
91
+ animation-duration: 0.3s;
92
+ animation-fill-mode: forwards;
93
+ animation-timing-function: ease;
94
+ animation-delay: 0.5s;
95
+ }
96
+
97
+ @keyframes grow-x {
98
+ to {
99
+ width: 100%;
100
+ }
101
+ }
102
+
103
+ /* Shrink an element from 100% to 0% */
104
+ .anim-shrink-x {
105
+ animation-name: shrink-x;
106
+ animation-duration: 0.3s;
107
+ animation-fill-mode: forwards;
108
+ animation-timing-function: ease-in-out;
109
+ animation-delay: 0.5s;
110
+ }
111
+
112
+ @keyframes shrink-x {
113
+ to {
114
+ width: 0%;
115
+ }
116
+ }
117
+
118
+ /* Fade in an element and scale it fast */
119
+ .anim-scale-in {
120
+ animation-name: scale-in;
121
+ animation-duration: 0.15s;
122
+ animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
123
+ }
124
+
125
+ @keyframes scale-in {
126
+ 0% {
127
+ opacity: 0;
128
+ transform: scale(0.5);
129
+ }
130
+
131
+ 100% {
132
+ opacity: 1;
133
+ transform: scale(1);
134
+ }
135
+ }
136
+
137
+ /* Pulse an element's opacity */
138
+ .anim-pulse {
139
+ animation-name: pulse;
140
+ animation-duration: 2s;
141
+ animation-timing-function: linear;
142
+ animation-iteration-count: infinite;
143
+ }
144
+
145
+ @keyframes pulse {
146
+ 0% {
147
+ opacity: 0.3;
148
+ }
149
+
150
+ 10% {
151
+ opacity: 1;
152
+ }
153
+
154
+ 100% {
155
+ opacity: 0.3;
156
+ }
157
+ }
158
+
159
+ /* Pulse in an element */
160
+ .anim-pulse-in {
161
+ animation-name: pulse-in;
162
+ animation-duration: 0.5s;
163
+ }
164
+
165
+ @keyframes pulse-in {
166
+ 0% {
167
+ transform: scale3d(1, 1, 1);
168
+ }
169
+
170
+ 50% {
171
+ transform: scale3d(1.1, 1.1, 1.1);
172
+ }
173
+
174
+ 100% {
175
+ transform: scale3d(1, 1, 1);
176
+ }
177
+ }
178
+
179
+ /* Increase scale of an element on hover */
180
+ .hover-grow {
181
+ transition: transform 0.3s;
182
+ backface-visibility: hidden;
183
+
184
+ &:hover {
185
+ transform: scale(1.025);
186
+ }
187
+ }
@@ -0,0 +1,187 @@
1
+ // Core border utilities
2
+ // stylelint-disable block-opening-brace-space-before, comment-empty-line-before
3
+
4
+ /* Add a gray border to the left and right */
5
+ .border-x {
6
+ border-right: $border !important;
7
+ border-left: $border !important;
8
+ }
9
+
10
+ /* Add a gray border to the top and bottom */
11
+ .border-y {
12
+ border-top: $border !important;
13
+ border-bottom: $border !important;
14
+ }
15
+
16
+ /* Responsive gray borders */
17
+ @each $breakpoint, $variant in $responsive-variants {
18
+ @include breakpoint($breakpoint) {
19
+ /* Add a gray border on all sides at/above this breakpoint */
20
+ .border#{$variant} {
21
+ border: $border !important;
22
+ }
23
+ /* Set the border width to 0 on all sides at/above this breakpoint */
24
+ .border#{$variant}-0 {
25
+ border: 0 !important;
26
+ }
27
+
28
+ /* Add a gray border to the top */
29
+ .border#{$variant}-top {
30
+ border-top: $border !important;
31
+ }
32
+ /* Add a gray border to the right */
33
+ .border#{$variant}-right {
34
+ border-right: $border !important;
35
+ }
36
+ /* Add a gray border to the bottom */
37
+ .border#{$variant}-bottom {
38
+ border-bottom: $border !important;
39
+ }
40
+ /* Add a gray border to the left */
41
+ .border#{$variant}-left {
42
+ border-left: $border !important;
43
+ }
44
+
45
+ /* Remove the top border */
46
+ .border#{$variant}-top-0 {
47
+ border-top: 0 !important;
48
+ }
49
+ /* Remove the right border */
50
+ .border#{$variant}-right-0 {
51
+ border-right: 0 !important;
52
+ }
53
+ /* Remove the bottom border */
54
+ .border#{$variant}-bottom-0 {
55
+ border-bottom: 0 !important;
56
+ }
57
+ /* Remove the left border */
58
+ .border#{$variant}-left-0 {
59
+ border-left: 0 !important;
60
+ }
61
+
62
+ // Rounded corners
63
+ .rounded#{$variant} {
64
+ border-radius: $border-radius !important;
65
+ }
66
+ .rounded#{$variant}-0 {
67
+ border-radius: 0 !important;
68
+ }
69
+ .rounded#{$variant}-1 {
70
+ border-radius: $border-radius-1 !important;
71
+ }
72
+ .rounded#{$variant}-2 {
73
+ border-radius: $border-radius-2 !important;
74
+ }
75
+ .rounded#{$variant}-3 {
76
+ border-radius: $border-radius-3 !important;
77
+ }
78
+
79
+ @each $edge, $corners in $edges {
80
+ .rounded#{$variant}-#{$edge}-0 {
81
+ @each $corner in $corners {
82
+ border-#{$corner}-radius: 0 !important;
83
+ }
84
+ }
85
+
86
+ .rounded#{$variant}-#{$edge}-1 {
87
+ @each $corner in $corners {
88
+ border-#{$corner}-radius: $border-radius-1 !important;
89
+ }
90
+ }
91
+
92
+ .rounded#{$variant}-#{$edge}-2 {
93
+ @each $corner in $corners {
94
+ border-#{$corner}-radius: $border-radius-2 !important;
95
+ }
96
+ }
97
+
98
+ .rounded#{$variant}-#{$edge}-3 {
99
+ @each $corner in $corners {
100
+ border-#{$corner}-radius: $border-radius-3 !important;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+
107
+ /* Add a 50% border-radius to make something into a circle */
108
+ .circle {
109
+ border-radius: 50% !important;
110
+ }
111
+
112
+ /* Change the border style to dashed, in conjunction with another utility */
113
+ .border-dashed {
114
+ // stylelint-disable-next-line primer/borders
115
+ border-style: dashed !important;
116
+ }
117
+
118
+ /* Use with .border to turn the border blue */
119
+ .border-blue {
120
+ border-color: $border-blue !important;
121
+ }
122
+ /* Use with .border to turn the border blue-light */
123
+ .border-blue-light {
124
+ border-color: $border-blue-light !important;
125
+ }
126
+ /* Use with .border to turn the border green */
127
+ .border-green {
128
+ border-color: $border-green !important;
129
+ }
130
+ /* Use with .border to turn the border green light */
131
+ .border-green-light {
132
+ border-color: $border-green-light !important;
133
+ }
134
+ /* Use with .border to turn the border red */
135
+ .border-red {
136
+ border-color: $border-red !important;
137
+ }
138
+ /* Use with .border to turn the border red-light */
139
+ .border-red-light {
140
+ border-color: $border-red-light !important;
141
+ }
142
+ /* Use with .border to turn the border purple */
143
+ .border-purple {
144
+ border-color: $border-purple !important;
145
+ }
146
+ /* Use with .border to turn the border yellow */
147
+ .border-yellow {
148
+ border-color: $border-yellow !important;
149
+ }
150
+ /* Use with .border to turn the border gray-light */
151
+ .border-gray-light {
152
+ border-color: $border-gray-light !important;
153
+ }
154
+ /* Use with .border to turn the border gray-dark */
155
+ .border-gray-dark {
156
+ border-color: $border-gray-dark !important;
157
+ }
158
+
159
+ /* Use with .border to turn the border rgba black 0.15 */
160
+ .border-black-fade {
161
+ border-color: $border-black-fade !important;
162
+ }
163
+ /* Use with .border to turn the border rgba white 0.15 */
164
+ .border-white-fade {
165
+ border-color: $border-white-fade !important;
166
+ }
167
+
168
+ /* Use with .border to turn the border white w/varying transparency */
169
+ .border-white-fade-15 {
170
+ border-color: $border-white-fade !important;
171
+ }
172
+ // stylelint-disable-next-line primer/borders
173
+ .border-white-fade-30 {
174
+ border-color: $white-fade-30 !important;
175
+ }
176
+ // stylelint-disable-next-line primer/borders
177
+ .border-white-fade-50 {
178
+ border-color: $white-fade-50 !important;
179
+ }
180
+ // stylelint-disable-next-line primer/borders
181
+ .border-white-fade-70 {
182
+ border-color: $white-fade-70 !important;
183
+ }
184
+ // stylelint-disable-next-line primer/borders
185
+ .border-white-fade-85 {
186
+ border-color: $white-fade-85 !important;
187
+ }
@@ -0,0 +1,25 @@
1
+ // Box shadow utilities
2
+
3
+ // Box shadows
4
+
5
+ .box-shadow {
6
+ box-shadow: $box-shadow !important;
7
+ }
8
+
9
+ .box-shadow-medium {
10
+ box-shadow: $box-shadow-medium !important;
11
+ }
12
+
13
+ .box-shadow-large {
14
+ box-shadow: $box-shadow-large !important;
15
+ }
16
+
17
+ .box-shadow-extra-large {
18
+ box-shadow: $box-shadow-extra-large !important;
19
+ }
20
+
21
+ // Turn off box shadow
22
+
23
+ .box-shadow-none {
24
+ box-shadow: none !important;
25
+ }
@@ -0,0 +1,185 @@
1
+ // Color utilities
2
+ // stylelint-disable block-opening-brace-space-before, comment-empty-line-before
3
+
4
+ // background colors
5
+ /* Set the background to $bg-white */
6
+ .bg-white {
7
+ background-color: $bg-white !important;
8
+ }
9
+ /* Set the background to $bg-blue */
10
+ .bg-blue {
11
+ background-color: $bg-blue !important;
12
+ }
13
+ /* Set the background to $bg-blue-light */
14
+ .bg-blue-light {
15
+ background-color: $bg-blue-light !important;
16
+ }
17
+ /* Set the background to $bg-gray-dark */
18
+ .bg-gray-dark {
19
+ background-color: $bg-gray-dark !important;
20
+ }
21
+ /* Set the background to $bg-gray */
22
+ .bg-gray {
23
+ background-color: $bg-gray !important;
24
+ }
25
+ /* Set the background to $bg-gray-light */
26
+ .bg-gray-light {
27
+ background-color: $bg-gray-light !important;
28
+ }
29
+ /* Set the background to $bg-green */
30
+ .bg-green {
31
+ background-color: $bg-green !important;
32
+ }
33
+ /* Set the background to $bg-green-light */
34
+ .bg-green-light {
35
+ background-color: $bg-green-light !important;
36
+ }
37
+ /* Set the background to $bg-red */
38
+ .bg-red {
39
+ background-color: $bg-red !important;
40
+ }
41
+ /* Set the background to $bg-red-light */
42
+ .bg-red-light {
43
+ background-color: $bg-red-light !important;
44
+ }
45
+ /* Set the background to $bg-yellow */
46
+ .bg-yellow {
47
+ background-color: $bg-yellow !important;
48
+ }
49
+ /* Set the background to $bg-yellow-light */
50
+ .bg-yellow-light {
51
+ background-color: $bg-yellow-light !important;
52
+ }
53
+ /* Set the background to $bg-yellow-dark */
54
+ .bg-yellow-dark {
55
+ background-color: $bg-yellow-dark !important;
56
+ }
57
+ /* Set the background to $bg-purple */
58
+ .bg-purple {
59
+ background-color: $bg-purple !important;
60
+ }
61
+ /* Set the background to $bg-pink */
62
+ .bg-pink {
63
+ background-color: $bg-pink !important;
64
+ }
65
+ /* Set the background to $bg-purple-light */
66
+ .bg-purple-light {
67
+ background-color: $bg-purple-light !important;
68
+ }
69
+ /* Set the background to $bg-orange */
70
+ .bg-orange {
71
+ background-color: $bg-orange !important;
72
+ }
73
+
74
+ // Generate a foreground and background utility for every shade of every hue
75
+ @each $hue, $shades in $hue-maps {
76
+ @each $index, $color in $shades {
77
+ .color-#{$hue}-#{$index} {
78
+ color: $color !important;
79
+ }
80
+ .bg-#{$hue}-#{$index} {
81
+ background-color: $color !important;
82
+ }
83
+ }
84
+ }
85
+
86
+ .bg-shade-gradient {
87
+ background-image: linear-gradient(
88
+ 180deg,
89
+ rgba($black, 0.065),
90
+ rgba($black, 0)
91
+ ) !important;
92
+ background-repeat: no-repeat !important;
93
+ background-size: 100% 200px !important;
94
+ }
95
+
96
+ // text colors
97
+ /* Set the text color to $text-blue */
98
+ .text-blue {
99
+ color: $text-blue !important;
100
+ }
101
+ /* Set the text color to $text-red */
102
+ .text-red {
103
+ color: $text-red !important;
104
+ }
105
+ /* Set the text color to $text-gray-light */
106
+ .text-gray-light {
107
+ color: $text-gray-light !important;
108
+ }
109
+ /* Set the text color to $text-gray */
110
+ .text-gray {
111
+ color: $text-gray !important;
112
+ }
113
+ /* Set the text color to $text-gray-dark */
114
+ .text-gray-dark {
115
+ color: $text-gray-dark !important;
116
+ }
117
+ /* Set the text color to $text-green */
118
+ .text-green {
119
+ color: $text-green !important;
120
+ }
121
+ /* Set the text color to $text-yellow */
122
+ .text-yellow {
123
+ color: $text-yellow !important;
124
+ }
125
+ /* Set the text color to $text-orange */
126
+ .text-orange {
127
+ color: $text-orange !important;
128
+ }
129
+ /* Set the text color to $text-orange-light */
130
+ .text-orange-light {
131
+ color: $text-orange-light !important;
132
+ }
133
+ /* Set the text color to $text-purple */
134
+ .text-purple {
135
+ color: $text-purple !important;
136
+ }
137
+ /* Set the text color to $text-pink */
138
+ .text-pink {
139
+ color: $text-pink !important;
140
+ }
141
+ /* Set the text color to $text-white */
142
+ .text-white {
143
+ color: $text-white !important;
144
+ }
145
+ /* Set the text color to inherit */
146
+ .text-inherit {
147
+ color: inherit !important;
148
+ }
149
+
150
+ // Link colors
151
+ // Sets the links color to $text-gray and $text-blue on hover
152
+ .link-gray {
153
+ color: $text-gray !important;
154
+
155
+ &:hover {
156
+ color: $text-blue !important;
157
+ }
158
+ }
159
+
160
+ // Sets the links color to $text-gray-dark and $text-blue on hover
161
+ .link-gray-dark {
162
+ color: $text-gray-dark !important;
163
+
164
+ &:hover {
165
+ color: $text-blue !important;
166
+ }
167
+ }
168
+
169
+ /* Set the link color to $text-blue on hover
170
+ Useful when you want only part of a link to turn blue on hover */
171
+ .link-hover-blue {
172
+ &:hover {
173
+ color: $text-blue !important;
174
+ }
175
+ }
176
+
177
+ /* Make a link $text-gray, then $text-blue on hover and removes the underline */
178
+ .muted-link {
179
+ color: $text-gray !important;
180
+
181
+ &:hover {
182
+ color: $text-blue !important;
183
+ text-decoration: none;
184
+ }
185
+ }
@@ -0,0 +1,34 @@
1
+ // stylelint-disable selector-max-type
2
+
3
+ .details-overlay[open] > summary::before {
4
+ position: fixed;
5
+ top: 0;
6
+ right: 0;
7
+ bottom: 0;
8
+ left: 0;
9
+ z-index: 80;
10
+ display: block;
11
+ cursor: default;
12
+ content: " ";
13
+ background: transparent;
14
+ }
15
+
16
+ .details-overlay-dark[open] > summary::before {
17
+ z-index: 99;
18
+ background: $bg-black-fade;
19
+ }
20
+
21
+ .details-reset {
22
+ // Remove marker added by the display: list-item browser default
23
+ > summary {
24
+ list-style: none;
25
+ }
26
+ // Remove marker added by details polyfill
27
+ > summary::before {
28
+ display: none;
29
+ }
30
+ // Remove marker added by Chrome
31
+ > summary::-webkit-details-marker {
32
+ display: none;
33
+ }
34
+ }