` styles
30 | background: none;
31 | border: 0;
32 | appearance: none;
33 | opacity: 0.6;
34 |
35 | &:hover {
36 | opacity: 1;
37 | }
38 | }
39 |
40 | // Action button
41 | .flash-action {
42 | float: right;
43 | margin-top: -3px;
44 | margin-left: $spacer-4;
45 | }
46 |
47 | //
48 | // Variations
49 | //
50 |
51 | .flash-warn {
52 | color: $flash-text-yellow;
53 | background-color: $flash-bg-yellow;
54 | border-color: $flash-border-yellow;
55 | }
56 |
57 | .flash-error {
58 | color: $flash-text-red;
59 | background-color: $flash-bg-red;
60 | border-color: $flash-border-red;
61 | }
62 |
63 | .flash-success {
64 | color: $flash-text-green;
65 | background-color: $flash-bg-green;
66 | border-color: $flash-border-green;
67 | }
68 |
69 | .flash-full {
70 | margin-top: -1px;
71 | border-width: 1px 0;
72 | border-radius: 0;
73 | }
74 |
75 | .warning {
76 | padding: 0.5em;
77 | margin-bottom: 0.8em;
78 | font-weight: $font-weight-bold;
79 | background-color: #fffccc;
80 | }
81 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/build/build.css:
--------------------------------------------------------------------------------
1 | .avatar{display:inline-block;overflow:hidden;line-height:1;vertical-align:middle;border-radius:3px}.avatar-small{border-radius:2px}.avatar-link{float:left;line-height:1}.avatar-group-item{display:inline-block;margin-bottom:3px}.avatar-parent-child{position:relative}.avatar-child{position:absolute;right:-15%;bottom:-9%;background-color:#fff;border-radius:2px;box-shadow:-2px -2px 0 rgba(255,255,255,0.8)}.avatar-stack{display:inline-block;white-space:nowrap}.avatar-stack .avatar{position:relative;z-index:2;display:inline-block;width:20px;height:20px;box-sizing:content-box;margin-right:-15px;background-color:#fff;border-right:1px solid #fff;border-radius:2px;-webkit-transition:margin 0.1s ease-in-out;transition:margin 0.1s ease-in-out}.avatar-stack .avatar:first-child{z-index:3}.avatar-stack .avatar:last-child{z-index:1;margin-right:0;border-right:0}.avatar-stack:hover .avatar{margin-right:3px}.avatar-stack:hover .avatar:last-child{margin-right:0}.CircleBadge{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;background-color:#fff;border-radius:50%;box-shadow:0 1px 5px rgba(0,0,0,0.15)}.CircleBadge-icon{max-width:60% !important;height:auto !important;max-height:55% !important}.CircleBadge--small{width:56px;height:56px}.CircleBadge--medium{width:96px;height:96px}.CircleBadge--large{width:128px;height:128px}.DashedConnection{position:relative}.DashedConnection::before{position:absolute;top:50%;left:0;width:100%;content:"";border-bottom:2px dashed #e5e5e5}.DashedConnection .CircleBadge{position:relative}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":1596,"gzipSize":608,"humanizedSize":"2kB","humanizedGzipSize":"608B","rules":{"total":20,"size":{"graph":[5,1,2,2,1,6,2,12,1,3,1,1,9,3,2,2,2,1,6,1],"max":12,"average":3.15}},"selectors":{"total":20,"type":0,"class":20,"id":0,"pseudoClass":4,"pseudoElement":1,"values":[".avatar",".avatar-small",".avatar-link",".avatar-group-item",".avatar-parent-child",".avatar-child",".avatar-stack",".avatar-stack .avatar",".avatar-stack .avatar:first-child",".avatar-stack .avatar:last-child",".avatar-stack:hover .avatar",".avatar-stack:hover .avatar:last-child",".CircleBadge",".CircleBadge-icon",".CircleBadge--small",".CircleBadge--medium",".CircleBadge--large",".DashedConnection",".DashedConnection::before",".DashedConnection .CircleBadge"],"specificity":{"max":40,"average":15.55}},"declarations":{"total":63,"unique":50,"properties":{"display":["inline-block","inline-block","inline-block","inline-block","-webkit-box","flex"],"overflow":["hidden"],"line-height":["1","1"],"vertical-align":["middle"],"border-radius":["3px","2px","2px","2px","50%"],"float":["left"],"margin-bottom":["3px"],"position":["relative","absolute","relative","relative","absolute","relative"],"right":["-15%"],"bottom":["-9%"],"background-color":["#fff","#fff","#fff"],"box-shadow":["-2px -2px 0 rgba(255,255,255,0.8)","0 1px 5px rgba(0,0,0,0.15)"],"white-space":["nowrap"],"z-index":["2","3","1"],"width":["20px","56px","96px","128px","100%"],"height":["20px","auto","56px","96px","128px"],"box-sizing":["content-box"],"margin-right":["-15px","0","3px","0"],"border-right":["1px solid #fff","0"],"-webkit-transition":["margin 0.1s ease-in-out"],"transition":["margin 0.1s ease-in-out"],"-webkit-box-align":["center"],"align-items":["center"],"-webkit-box-pack":["center"],"justify-content":["center"],"max-width":["60%"],"max-height":["55%"],"top":["50%"],"left":["0"],"content":["\"\""],"border-bottom":["2px dashed #e5e5e5"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-avatars/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 |
3 | // Avatars
4 | @import "./lib/avatar.scss";
5 | @import "./lib/avatar-parent-child.scss";
6 | @import "./lib/avatar-stack.scss";
7 | @import "./lib/circle-badge.scss";
8 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/lib/avatar-parent-child.scss:
--------------------------------------------------------------------------------
1 | // .avatar-parent-child is when you see a small avatar at the bottom right
2 | // corner of a larger avatar.
3 | //
4 | // No Styleguide version
5 | .avatar-parent-child {
6 | position: relative;
7 | }
8 |
9 | .avatar-child {
10 | position: absolute;
11 | right: -15%;
12 | bottom: -9%;
13 | background-color: $bg-white; // For transparent backgrounds
14 | border-radius: 2px;
15 | box-shadow: -2px -2px 0 rgba(255, 255, 255, 0.8);
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/lib/avatar-stack.scss:
--------------------------------------------------------------------------------
1 | // Stacked avatars can be used to show who is participating in thread when
2 | // there is limited space available.
3 | //
4 | // No styleguide references
5 | .avatar-stack {
6 | display: inline-block;
7 | white-space: nowrap;
8 |
9 | .avatar {
10 | position: relative;
11 | z-index: 2;
12 | display: inline-block;
13 | width: 20px;
14 | height: 20px;
15 | box-sizing: content-box;
16 | margin-right: -15px;
17 | background-color: #fff;
18 | border-right: 1px solid #fff;
19 | border-radius: 2px;
20 | transition: margin 0.1s ease-in-out;
21 |
22 | &:first-child {
23 | z-index: 3;
24 | }
25 |
26 | &:last-child {
27 | z-index: 1;
28 | margin-right: 0;
29 | border-right: 0;
30 | }
31 | }
32 |
33 | // When more than one avatar, margin-left will animate from -15 to 2, and reveal the stack
34 | &:hover .avatar {
35 | margin-right: 3px;
36 |
37 | &:last-child {
38 | margin-right: 0;
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/lib/avatar.scss:
--------------------------------------------------------------------------------
1 | .avatar {
2 | display: inline-block;
3 | overflow: hidden; // Ensure page layout in Firefox should images fail to load
4 | line-height: 1;
5 | vertical-align: middle;
6 | border-radius: 3px;
7 | }
8 |
9 | .avatar-small { border-radius: 2px; }
10 |
11 | .avatar-link {
12 | float: left;
13 | line-height: 1;
14 | }
15 |
16 | // User for example on /stars and /user for grids of avatars
17 | .avatar-group-item {
18 | display: inline-block;
19 | margin-bottom: 3px;
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/primer-avatars/lib/circle-badge.scss:
--------------------------------------------------------------------------------
1 | // Circle badge icon with drop shadow for icons and logos
2 |
3 | .CircleBadge {
4 | display: flex;
5 | align-items: center;
6 | justify-content: center;
7 | background-color: $white;
8 | border-radius: 50%;
9 | box-shadow: $box-shadow-medium;
10 | }
11 |
12 | .CircleBadge-icon {
13 | max-width: 60% !important;
14 | height: auto !important;
15 | max-height: 55% !important;
16 | }
17 |
18 | // Small badge
19 | .CircleBadge--small {
20 | width: 56px;
21 | height: 56px;
22 | }
23 |
24 | // Medium badge
25 | .CircleBadge--medium {
26 | width: 96px;
27 | height: 96px;
28 | }
29 |
30 | // Large badge
31 | .CircleBadge--large {
32 | width: 128px;
33 | height: 128px;
34 | }
35 |
36 | // Dashed line that connects badges..
37 | // Wrap around 2 or more badges to create a horizonal line:
38 |
39 | .DashedConnection {
40 | position: relative;
41 |
42 | &::before {
43 | position: absolute;
44 | top: 50%;
45 | left: 0;
46 | width: 100%;
47 | content: "";
48 | border-bottom: 2px dashed $border-gray;
49 | }
50 |
51 | .CircleBadge {
52 | position: relative;
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/node_modules/primer-base/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-base/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS Base
2 |
3 | [](https://www.npmjs.org/package/primer-base)
4 | [](https://travis-ci.org/primer/primer-base)
5 |
6 | > GitHub's CSS to reset the browsers default styles. Built on top of normalize.css
7 |
8 | This repository is a module of the full [primer-css][primer-css] repository. And is built off of [normalize.css](https://github.com/necolas/normalize.css/)
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-base` with this command.
13 |
14 | ```
15 | $ npm install --save primer-base
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-base/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 | You can read more about base in the [docs][docs].
39 |
40 | ## License
41 |
42 | [MIT](./LICENSE) © [GitHub](https://github.com/)
43 |
44 | [primer-css]: https://github.com/primer/primer
45 | [docs]: http://primercss.io/
46 | [npm]: https://www.npmjs.com/
47 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
48 | [sass]: http://sass-lang.com/
49 |
--------------------------------------------------------------------------------
/node_modules/primer-base/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 |
3 | @import "./lib/normalize.scss";
4 | @import "./lib/base.scss";
5 | @import "./lib/typography-base.scss";
6 |
--------------------------------------------------------------------------------
/node_modules/primer-base/lib/base.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable selector-no-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 | &:active {
29 | text-decoration: underline;
30 | }
31 | }
32 |
33 | strong {
34 | font-weight: $font-weight-bold;
35 | }
36 |
37 | // Horizontal lines
38 | //
39 | // TODO-MDO: Remove `.rule` from everywhere and replace with ` `s
40 | hr,
41 | .rule {
42 | height: 0;
43 | margin: 15px 0;
44 | overflow: hidden;
45 | background: transparent;
46 | border: 0;
47 | border-bottom: 1px solid #ddd;
48 | @include clearfix();
49 | }
50 |
51 | //
52 | // Remove most spacing between table cells.
53 | //
54 |
55 | table {
56 | border-spacing: 0;
57 | border-collapse: collapse;
58 | }
59 |
60 | td,
61 | th {
62 | padding: 0;
63 | }
64 |
65 | button {
66 | cursor: pointer;
67 | }
68 |
--------------------------------------------------------------------------------
/node_modules/primer-base/lib/typography-base.scss:
--------------------------------------------------------------------------------
1 | // Headings
2 | // --------------------------------------------------
3 | // stylelint-disable selector-no-type
4 | h1,
5 | h2,
6 | h3,
7 | h4,
8 | h5,
9 | h6 {
10 | margin-top: 0;
11 | margin-bottom: 0;
12 | }
13 |
14 | h1 { @include h1; }
15 | h2 { @include h2; }
16 | h3 { @include h3; }
17 | h4 { @include h4; }
18 | h5 { @include h5; }
19 | h6 { @include h6; }
20 |
21 | // Body text
22 | // --------------------------------------------------
23 |
24 | p {
25 | margin-top: 0;
26 | margin-bottom: 10px;
27 | }
28 |
29 | small {
30 | font-size: 90%;
31 | }
32 |
33 | blockquote {
34 | margin: 0;
35 | }
36 |
37 | // Lists
38 | // --------------------------------------------------
39 |
40 | ul,
41 | ol {
42 | padding-left: 0;
43 | margin-top: 0;
44 | margin-bottom: 0;
45 | }
46 |
47 | ol ol,
48 | ul ol {
49 | list-style-type: lower-roman;
50 | }
51 |
52 | ul ul ol,
53 | ul ol ol,
54 | ol ul ol,
55 | ol ol ol {
56 | list-style-type: lower-alpha;
57 | }
58 |
59 | dd {
60 | margin-left: 0;
61 | }
62 |
63 | // Code
64 | // --------------------------------------------------
65 |
66 | tt,
67 | code {
68 | font-family: $mono-font;
69 | font-size: 12px;
70 | }
71 |
72 | pre {
73 | margin-top: 0;
74 | margin-bottom: 0;
75 | font: 12px $mono-font;
76 | }
77 |
78 | // Octicons
79 | // --------------------------------------------------
80 |
81 | // Move this over here as a temporary override to the octicons source repo
82 | // instead of updating that upstream.
83 | .octicon {
84 | vertical-align: text-bottom;
85 | }
86 |
--------------------------------------------------------------------------------
/node_modules/primer-blankslate/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-blankslate/build/build.css:
--------------------------------------------------------------------------------
1 | .blankslate{position:relative;padding:32px;text-align:center;background-color:#fafafa;border:1px solid #e5e5e5;border-radius:3px;box-shadow:inset 0 0 10px rgba(0,0,0,0.05)}.blankslate code{padding:2px 5px 3px;font-size:14px;background:#fff;border:1px solid #eee;border-radius:3px}.blankslate-icon{margin-right:4px;margin-bottom:8px;margin-left:4px;color:#aaa}.blankslate-capped{border-radius:0 0 3px 3px}.blankslate-spacious{padding:80px 40px}.blankslate-narrow{width:485px;margin:0 auto}.blankslate-large h3{margin:16px 0;font-size:20px}.blankslate-large p{font-size:16px}.blankslate-clean-background{background:none;border:0;box-shadow:none}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-blankslate/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":644,"gzipSize":327,"humanizedSize":"644B","humanizedGzipSize":"327B","rules":{"total":9,"size":{"graph":[7,5,4,1,1,2,2,1,3],"max":7,"average":2.888888888888889}},"selectors":{"total":9,"type":3,"class":9,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".blankslate",".blankslate code",".blankslate-icon",".blankslate-capped",".blankslate-spacious",".blankslate-narrow",".blankslate-large h3",".blankslate-large p",".blankslate-clean-background"],"specificity":{"max":11,"average":10.333333333333334}},"declarations":{"total":26,"unique":25,"properties":{"position":["relative"],"padding":["32px","2px 5px 3px","80px 40px"],"text-align":["center"],"background-color":["#fafafa"],"border":["1px solid #e5e5e5","1px solid #eee","0"],"border-radius":["3px","3px","0 0 3px 3px"],"box-shadow":["inset 0 0 10px rgba(0,0,0,0.05)","none"],"font-size":["14px","20px","16px"],"background":["#fff","none"],"margin-right":["4px"],"margin-bottom":["8px"],"margin-left":["4px"],"color":["#aaa"],"width":["485px"],"margin":["0 auto","16px 0"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-blankslate/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 |
3 | @import "./lib/blankslate.scss";
4 |
--------------------------------------------------------------------------------
/node_modules/primer-blankslate/lib/blankslate.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable selector-no-type
2 | .blankslate {
3 | position: relative;
4 | padding: $spacer-5;
5 | text-align: center;
6 | background-color: #fafafa;
7 | border: 1px solid #e5e5e5;
8 | border-radius: 3px;
9 | box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
10 |
11 | code {
12 | padding: 2px 5px 3px;
13 | font-size: 14px;
14 | background: #fff;
15 | border: 1px solid #eee;
16 | border-radius: 3px;
17 | }
18 | }
19 |
20 | .blankslate-icon {
21 | margin-right: $spacer-1;
22 | margin-bottom: $spacer-2;
23 | margin-left: $spacer-1;
24 | color: #aaa;
25 | }
26 |
27 | .blankslate-capped {
28 | border-radius: 0 0 3px 3px;
29 | }
30 |
31 | .blankslate-spacious {
32 | padding: ($spacer-6 * 2) $spacer-6;
33 | }
34 |
35 | .blankslate-narrow {
36 | width: 485px;
37 | margin: 0 auto;
38 | }
39 |
40 | // was .large-format
41 | .blankslate-large {
42 | h3 {
43 | margin: $spacer-3 0;
44 | font-size: $h3-size;
45 | }
46 |
47 | p {
48 | font-size: $h4-size;
49 | }
50 | }
51 |
52 | // was .clean-background
53 | .blankslate-clean-background {
54 | background: none;
55 | border: 0;
56 | box-shadow: none;
57 | }
58 |
--------------------------------------------------------------------------------
/node_modules/primer-box/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-box/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/box.scss";
3 |
--------------------------------------------------------------------------------
/node_modules/primer-breadcrumb/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-breadcrumb/README.md:
--------------------------------------------------------------------------------
1 | # Primer Marketing CSS Breadcrumb Navigation
2 |
3 | [](https://www.npmjs.org/package/primer-breadcrumb)
4 | [](https://travis-ci.org/primer/primer-breadcrumb)
5 |
6 | > Breadcrumb navigation for GitHub's marketing pages with parents / grandparents.
7 |
8 | This repository is a module of the full [primer-css][primer] repository.
9 |
10 | ## Documentation
11 |
12 |
16 |
17 | Breadcrumbs are used to show taxonomical context on pages that are many levels deep in a site’s hierarchy. Breadcrumbs show and link to parent, grandparent, and sometimes great-grandparent pages. Breadcrumbs are most appropriate on pages that:
18 |
19 | - Are many levels deep on a site
20 | - Do not have a section-level navigation
21 | - May need the ability to quickly go back to the previous (parent) page
22 |
23 | #### Usage
24 |
25 | ```html
26 |
27 |
28 | Business
29 | Customers
30 | MailChimp
31 |
32 |
33 | ```
34 |
35 |
36 |
37 | ## License
38 |
39 | MIT © [GitHub](https://github.com/)
40 |
41 | [primer]: https://github.com/primer/primer
42 | [primer-support]: https://github.com/primer/primer-support
43 | [support]: https://github.com/primer/primer-support
44 | [docs]: http://primercss.io/
45 | [npm]: https://www.npmjs.com/
46 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
47 | [sass]: http://sass-lang.com/
48 |
--------------------------------------------------------------------------------
/node_modules/primer-breadcrumb/build/build.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url("/static/fonts/roboto/roboto-light.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url("/static/fonts/roboto/roboto-regular.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url("/static/fonts/roboto/roboto-medium.woff") format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url("/static/fonts/roboto/roboto-italic.woff") format("woff")}.breadcrumb-item{display:inline-block;margin-left:-4px;white-space:nowrap;list-style:none}.breadcrumb-item::after{padding-right:0.5em;padding-left:0.5em;color:#e5e5e5;content:"/"}.breadcrumb-item-selected::after{content:none}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-breadcrumb/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":922,"gzipSize":319,"humanizedSize":"922B","humanizedGzipSize":"319B","rules":{"total":3,"size":{"graph":[4,4,1],"max":4,"average":3}},"selectors":{"total":3,"type":0,"class":3,"id":0,"pseudoClass":0,"pseudoElement":2,"values":[".breadcrumb-item",".breadcrumb-item::after",".breadcrumb-item-selected::after"],"specificity":{"max":11,"average":10.666666666666666}},"declarations":{"total":9,"unique":9,"properties":{"display":["inline-block"],"margin-left":["-4px"],"white-space":["nowrap"],"list-style":["none"],"padding-right":["0.5em"],"padding-left":["0.5em"],"color":["#e5e5e5"],"content":["\"/\"","none"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-breadcrumb/index.scss:
--------------------------------------------------------------------------------
1 | // support files
2 | @import "primer-support/index.scss";
3 | @import "primer-marketing-support/index.scss";
4 | @import "./lib/breadcrumb.scss";
5 |
--------------------------------------------------------------------------------
/node_modules/primer-breadcrumb/lib/breadcrumb.scss:
--------------------------------------------------------------------------------
1 | .breadcrumb-item {
2 | display: inline-block;
3 | margin-left: -4px;
4 | white-space: nowrap;
5 | list-style: none;
6 |
7 | &::after {
8 | padding-right: 0.5em;
9 | padding-left: 0.5em;
10 | color: $border-gray;
11 | content: "/";
12 | }
13 | }
14 |
15 | .breadcrumb-item-selected {
16 | &::after {
17 | content: none;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/node_modules/primer-buttons/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-buttons/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/button.scss";
3 | @import "./lib/button-group.scss";
4 |
--------------------------------------------------------------------------------
/node_modules/primer-buttons/lib/button-group.scss:
--------------------------------------------------------------------------------
1 | // Button group
2 | //
3 | // A button group is a series of buttons laid out next to each other, all part
4 | // of one visual button, but separated by rules to be separate.
5 | .BtnGroup {
6 | display: inline-block;
7 | vertical-align: middle;
8 | @include clearfix();
9 |
10 | // Proper spacing for multiple button groups (a la, gollum editor)
11 | + .BtnGroup,
12 | + .btn {
13 | margin-left: 5px;
14 | }
15 | }
16 |
17 | .BtnGroup-item {
18 | position: relative;
19 | float: left;
20 | border-right-width: 0;
21 | border-radius: 0;
22 |
23 | &:first-child {
24 | border-top-left-radius: 3px;
25 | border-bottom-left-radius: 3px;
26 | }
27 |
28 | &:last-child {
29 | border-right-width: 1px;
30 | border-top-right-radius: 3px;
31 | border-bottom-right-radius: 3px;
32 | }
33 |
34 | &.selected,
35 | &:focus,
36 | &:active,
37 | &:hover {
38 | border-right-width: 1px;
39 |
40 | + .BtnGroup-item,
41 | + .BtnGroup-form .BtnGroup-item {
42 | border-left-width: 0;
43 | }
44 | }
45 | }
46 |
47 | .BtnGroup-form {
48 | float: left;
49 |
50 | &:first-child .BtnGroup-item {
51 | border-top-left-radius: 3px;
52 | border-bottom-left-radius: 3px;
53 | }
54 |
55 | &:last-child .BtnGroup-item {
56 | border-right-width: 1px;
57 | border-top-right-radius: 3px;
58 | border-bottom-right-radius: 3px;
59 | }
60 |
61 | .BtnGroup-item {
62 | border-right-width: 0;
63 | border-radius: 0;
64 | }
65 |
66 | &.selected,
67 | &:focus,
68 | &:active,
69 | &:hover {
70 | .BtnGroup-item {
71 | border-right-width: 1px;
72 | }
73 |
74 | + .BtnGroup-item,
75 | + .BtnGroup-form .BtnGroup-item {
76 | border-left-width: 0;
77 | }
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/node_modules/primer-cards/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # v0.1.1
2 |
3 | * bumping the version - Jon Rohan [github/github@4a72b25](https://github.com/github/github/commit/4a72b25)
4 | * Pointing main js file to build - Jon Rohan [github/github@3575651](https://github.com/github/github/commit/3575651)
5 | * don't change the versions yet - Jon Rohan [github/github@6bebcff](https://github.com/github/github/commit/6bebcff)
6 | * Bumping version - Jon Rohan [github/github@df8b91c](https://github.com/github/github/commit/df8b91c)
7 | * Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571)
8 | * Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d)
9 | * Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1)
10 |
11 | # v0.1.0
12 |
13 | * Rename repository with prefix primer- - Jon Rohan [github/github@ec8774a](https://github.com/github/github/commit/ec8774a)
14 | * Update border radius for cards because it is not the same as box. - Patrick Marsceill [github/github@9dc19b3](https://github.com/github/github/commit/9dc19b3)
15 | * fix a typo - Patrick Marsceill [github/github@24acfeb](https://github.com/github/github/commit/24acfeb)
16 | * Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
17 | * Update pathing on cards README - Patrick Marsceill [github/github@443f2e2](https://github.com/github/github/commit/443f2e2)
18 | * Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
19 | * Fix import path across all scss files - Patrick Marsceill [github/github@a566f31](https://github.com/github/github/commit/a566f31)
20 | * RIP unused styles - Patrick Marsceill [github/github@31dc325](https://github.com/github/github/commit/31dc325)
21 | * fix cards - Patrick Marsceill [github/github@a6beedf](https://github.com/github/github/commit/a6beedf)
22 | * Add cards to docs - Sophie Shepherd [github/github@b421a08](https://github.com/github/github/commit/b421a08)
23 | * Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
24 | * Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
25 | * prefix bc => marketing - Patrick Marsceill [github/github@04d509a](https://github.com/github/github/commit/04d509a)
26 | * Cards - Patrick Marsceill [github/github@306cbfc](https://github.com/github/github/commit/306cbfc)
--------------------------------------------------------------------------------
/node_modules/primer-cards/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-cards/README.md:
--------------------------------------------------------------------------------
1 | # Primer Marketing CSS Cards
2 |
3 | [](https://www.npmjs.org/package/primer-cards)
4 | [](https://travis-ci.org/primer/primer-cards)
5 |
6 | > Card-like containers to group semantically related content together on marketing websites at GitHub.
7 |
8 | This repository is a module of the full [primer-css][primer] repository.
9 |
10 | ## Documentation
11 |
12 |
16 |
17 | Documentation & refactor coming very soon
18 |
19 |
20 |
21 |
22 | ## Install
23 |
24 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-cards` with this command.
25 |
26 | ```
27 | $ npm install --save primer-cards
28 | ```
29 |
30 | ## Usage
31 |
32 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
33 |
34 | ```scss
35 | @import "primer-cards/index.scss";
36 | ```
37 |
38 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
39 |
40 | ## Build
41 |
42 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
43 |
44 | ```
45 | $ npm run build
46 | ```
47 |
48 | ## License
49 |
50 | MIT © [GitHub](https://github.com/)
51 |
52 | [primer]: https://github.com/primer/primer
53 | [primer-support]: https://github.com/primer/primer-support
54 | [support]: https://github.com/primer/primer-support
55 | [docs]: http://primercss.io/
56 | [npm]: https://www.npmjs.com/
57 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
58 | [sass]: http://sass-lang.com/
59 |
--------------------------------------------------------------------------------
/node_modules/primer-cards/build/build.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url("/static/fonts/roboto/roboto-light.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url("/static/fonts/roboto/roboto-regular.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url("/static/fonts/roboto/roboto-medium.woff") format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url("/static/fonts/roboto/roboto-italic.woff") format("woff")}.card{background-color:#fff;border:1px #e5e5e5 solid;border-radius:6px;box-shadow:0 1px 1px rgba(0,0,0,0.1)}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-cards/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":805,"gzipSize":277,"humanizedSize":"805B","humanizedGzipSize":"277B","rules":{"total":1,"size":{"graph":[4],"max":4,"average":4}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".card"],"specificity":{"max":10,"average":10}},"declarations":{"total":4,"unique":4,"properties":{"background-color":["#fff"],"border":["1px #e5e5e5 solid"],"border-radius":["6px"],"box-shadow":["0 1px 1px rgba(0,0,0,0.1)"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-cards/index.scss:
--------------------------------------------------------------------------------
1 | // support files
2 | @import "primer-support/index.scss";
3 | @import "primer-marketing-support/index.scss";
4 | @import "./lib/cards.scss";
5 |
--------------------------------------------------------------------------------
/node_modules/primer-cards/lib/cards.scss:
--------------------------------------------------------------------------------
1 | .card {
2 | background-color: $white;
3 | border: $border;
4 | border-radius: 6px;
5 | box-shadow: $box-shadow;
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/primer-core/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # 1.0.0
2 |
3 | - Grouping primer modules into core
4 |
--------------------------------------------------------------------------------
/node_modules/primer-core/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-core/README.md:
--------------------------------------------------------------------------------
1 | # Primer Core
2 |
3 | [](https://www.npmjs.org/package/primer-core)
4 | [](https://travis-ci.org/primer/primer-core)
5 |
6 | > Primer core is the core modules of the primer framework. Shared between our product and marketing pages.
7 |
8 | This repository is a compilation of [several CSS modules](https://github.com/primer). You can break it down into smaller sections using npm.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-css` with this command. **You must have npm >=3.0 installed to be able to satisfy the dependency paths**
13 |
14 | ```
15 | $ npm install --save primer-core
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-core/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 | You can read more about primer in the [docs][docs].
39 |
40 | ## License
41 |
42 | [MIT](./LICENSE) © [GitHub](https://github.com/)
43 |
44 | [primer]: https://github.com/primer/primer
45 | [docs]: http://primercss.io/
46 | [npm]: https://www.npmjs.com/
47 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
48 | [sass]: http://sass-lang.com/
49 |
--------------------------------------------------------------------------------
/node_modules/primer-core/index.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Primer-core
3 | * http://primercss.io
4 | *
5 | * Released under MIT license. Copyright 2015 GitHub, Inc.
6 | */
7 |
8 | // Primer master file
9 | //
10 | // Imports all Primer files in their intended order for easy mass-inclusion.
11 | // Should you need specific files, you can easily use separate `@import`s.
12 |
13 | // Global requirements
14 | @import "primer-support/index.scss";
15 | @import "primer-base/index.scss";
16 | @import "primer-utilities/index.scss";
17 |
18 | @import "primer-tooltips/index.scss";
19 | @import "primer-box/index.scss";
20 | @import "primer-buttons/index.scss";
21 | @import "primer-forms/index.scss";
22 | @import "primer-layout/index.scss";
23 | @import "primer-navigation/index.scss";
24 | @import "primer-table-object/index.scss";
25 | @import "primer-truncate/index.scss";
26 |
--------------------------------------------------------------------------------
/node_modules/primer-css/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # HEAD
2 |
3 | # 4.4.0
4 |
5 | - Adding primer-marketing module to primer
6 |
7 | # 4.3.0
8 |
9 | - Using primer-core and primer-product modules
10 |
11 | # 4.1.0
12 |
13 | - Added: [primer-markdown](https://github.com/primer/markdown) to the build
14 | - Fixes: Pointing "style" package.json to `build/build.css` file.
15 |
16 | # 4.0.2
17 |
18 | - Added npm build scripts to add `build/build.css` to the npm package
19 |
20 | # 4.0.1
21 |
22 | - Fixed: missing primer-layout from build
23 |
24 | # 4.0.0
25 |
26 | - Whole new npm build system, pulling in the code from separate component repos
27 |
--------------------------------------------------------------------------------
/node_modules/primer-css/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-css/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS
2 |
3 | [](https://www.npmjs.org/package/primer-css)
4 | [](https://travis-ci.org/primer/primer-css)
5 |
6 | > Primer is the CSS toolkit that powers GitHub's front-end design. It's purposefully limited to common components to provide our developers with the most flexibility, and to keep GitHub uniquely *GitHubby*. It's built with SCSS and available via NPM, so it's easy to include all or part of it within your own project.
7 |
8 | This repository is a compilation of [several CSS modules](https://github.com/primer).
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-css` with this command.
13 |
14 | ```
15 | $ npm install --save primer-css
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-css/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 | You can read more about primer in the [docs][docs].
39 |
40 | ## License
41 |
42 | [MIT](./LICENSE) © [GitHub](https://github.com/)
43 |
44 | [primer]: https://github.com/primer/primer
45 | [docs]: http://primercss.io/
46 | [npm]: https://www.npmjs.com/
47 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
48 | [sass]: http://sass-lang.com/
49 |
--------------------------------------------------------------------------------
/node_modules/primer-css/index.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Primer
3 | * http://primercss.io
4 | *
5 | * Released under MIT license. Copyright 2015 GitHub, Inc.
6 | */
7 |
8 | // Primer master file
9 | //
10 | // Imports all Primer files in their intended order for easy mass-inclusion.
11 | // Should you need specific files, you can easily use separate `@import`s.
12 |
13 | // Global requirements
14 | @import "primer-core/index.scss";
15 | @import "primer-product/index.scss";
16 | @import "primer-marketing/index.scss";
17 |
--------------------------------------------------------------------------------
/node_modules/primer-forms/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-forms/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/form-control.scss";
3 | @import "./lib/form-select.scss";
4 | @import "./lib/form-group.scss";
5 | @import "./lib/form-validation.scss";
6 |
--------------------------------------------------------------------------------
/node_modules/primer-forms/lib/form-select.scss:
--------------------------------------------------------------------------------
1 | // Custom select
2 | //
3 | // Apply `.select` to any `` element for custom styles.
4 | .form-select {
5 | display: inline-block;
6 | max-width: 100%;
7 | height: 34px;
8 | // IE9 hacks to reduce padding
9 | padding-right: 24px;
10 | padding-right: 8px \9;
11 | background: $bg-white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC") no-repeat right 8px center;
12 | // IE9 hacks to hide the background-image
13 | background-image: none \9;
14 | background-size: 8px 10px;
15 | appearance: none;
16 |
17 | // Hides the default caret in IE11
18 | &::-ms-expand {
19 | opacity: 0;
20 | }
21 |
22 | &[multiple] {
23 | height: auto;
24 | }
25 | }
26 |
27 | .select-sm {
28 | height: 28px;
29 | min-height: 28px;
30 | padding-top: 3px;
31 | padding-bottom: 3px;
32 | font-size: $font-size-small;
33 |
34 | &[multiple] {
35 | height: auto;
36 | min-height: 0;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/node_modules/primer-layout/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-layout/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/container.scss";
3 | @import "./lib/columns.scss";
4 | @import "./lib/grid.scss";
5 | @import "./lib/grid-offset.scss";
6 |
--------------------------------------------------------------------------------
/node_modules/primer-layout/lib/columns.scss:
--------------------------------------------------------------------------------
1 | // Grid system
2 | //
3 | // Create rows with `.columns` to clear the floated columns and outdent the
4 | // padding on `.column`s with negative margin for alignment.
5 |
6 | .columns {
7 | margin-right: -$grid-gutter;
8 | margin-left: -$grid-gutter;
9 | @include clearfix;
10 | }
11 |
12 | // Base class for every column (requires a column width from below)
13 | .column {
14 | float: left;
15 | padding-right: $grid-gutter;
16 | padding-left: $grid-gutter;
17 | }
18 |
19 | // Column widths
20 | .one-third {
21 | width: 33.333333%;
22 | }
23 |
24 | .two-thirds {
25 | width: 66.666667%;
26 | }
27 |
28 | .one-fourth {
29 | width: 25%;
30 | }
31 |
32 | .one-half {
33 | width: 50%;
34 | }
35 |
36 | .three-fourths {
37 | width: 75%;
38 | }
39 |
40 | .one-fifth {
41 | width: 20%;
42 | }
43 |
44 | .four-fifths {
45 | width: 80%;
46 | }
47 |
48 | // Single column hack
49 | .single-column {
50 | padding-right: $grid-gutter;
51 | padding-left: $grid-gutter;
52 | }
53 |
54 | // Equal width columns via table sorcery.
55 | .table-column {
56 | display: table-cell;
57 | width: 1%;
58 | padding-right: $grid-gutter;
59 | padding-left: $grid-gutter;
60 | vertical-align: top;
61 | }
62 |
63 | // Centers content horizontally. Can be used inside or outside the grid.
64 | .centered {
65 | display: block;
66 | float: none;
67 | margin-right: auto;
68 | margin-left: auto;
69 | }
70 |
--------------------------------------------------------------------------------
/node_modules/primer-layout/lib/container.scss:
--------------------------------------------------------------------------------
1 | // Fixed-width, centered column for site content.
2 | // This will be deprecated and replaced with container-lg in future
3 | .container {
4 | width: $container-width;
5 | margin-right: auto;
6 | margin-left: auto;
7 | @include clearfix;
8 | }
9 |
10 | // Handy container styles that match our breakpoints
11 | // 768px
12 | .container-md {
13 | max-width: $container-md;
14 | margin-right: auto;
15 | margin-left: auto;
16 | @include clearfix;
17 | }
18 |
19 | // 1004px - this matches the current fixed width: 980px + padding: px-3
20 | .container-lg {
21 | max-width: $container-lg;
22 | margin-right: auto;
23 | margin-left: auto;
24 | @include clearfix;
25 | }
26 |
27 | // 1280px
28 | .container-xl {
29 | max-width: $container-xl;
30 | margin-right: auto;
31 | margin-left: auto;
32 | @include clearfix;
33 | }
34 |
--------------------------------------------------------------------------------
/node_modules/primer-layout/lib/grid-offset.scss:
--------------------------------------------------------------------------------
1 | // Optional offset options to work with grid.scss
2 |
3 | // Offset Columns
4 | .offset-1 { margin-left: (1 / 12 * 100%); }
5 | .offset-2 { margin-left: (2 / 12 * 100%); }
6 | .offset-3 { margin-left: (3 / 12 * 100%); }
7 | .offset-4 { margin-left: (4 / 12 * 100%); }
8 | .offset-5 { margin-left: (5 / 12 * 100%); }
9 | .offset-6 { margin-left: (6 / 12 * 100%); }
10 | .offset-7 { margin-left: (7 / 12 * 100%); }
11 | .offset-8 { margin-left: (8 / 12 * 100%); }
12 | .offset-9 { margin-left: (9 / 12 * 100%); }
13 | .offset-10 { margin-left: (10 / 12 * 100%); }
14 | .offset-11 { margin-left: (11 / 12 * 100%); }
15 |
16 | @each $breakpoint in map-keys($breakpoints) {
17 | @include breakpoint($breakpoint) {
18 | .offset-#{$breakpoint}-1 { margin-left: (1 / 12 * 100%); }
19 | .offset-#{$breakpoint}-2 { margin-left: (2 / 12 * 100%); }
20 | .offset-#{$breakpoint}-3 { margin-left: (3 / 12 * 100%); }
21 | .offset-#{$breakpoint}-4 { margin-left: (4 / 12 * 100%); }
22 | .offset-#{$breakpoint}-5 { margin-left: (5 / 12 * 100%); }
23 | .offset-#{$breakpoint}-6 { margin-left: (6 / 12 * 100%); }
24 | .offset-#{$breakpoint}-7 { margin-left: (7 / 12 * 100%); }
25 | .offset-#{$breakpoint}-8 { margin-left: (8 / 12 * 100%); }
26 | .offset-#{$breakpoint}-9 { margin-left: (9 / 12 * 100%); }
27 | .offset-#{$breakpoint}-10 { margin-left: (10 / 12 * 100%); }
28 | .offset-#{$breakpoint}-11 { margin-left: (11 / 12 * 100%); }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/primer-layout/lib/grid.scss:
--------------------------------------------------------------------------------
1 | // GRID
2 |
3 | // Columns
4 | .col-1 { width: (1 / 12 * 100%); }
5 | .col-2 { width: (2 / 12 * 100%); }
6 | .col-3 { width: (3 / 12 * 100%); }
7 | .col-4 { width: (4 / 12 * 100%); }
8 | .col-5 { width: (5 / 12 * 100%); }
9 | .col-6 { width: (6 / 12 * 100%); }
10 | .col-7 { width: (7 / 12 * 100%); }
11 | .col-8 { width: (8 / 12 * 100%); }
12 | .col-9 { width: (9 / 12 * 100%); }
13 | .col-10 { width: (10 / 12 * 100%); }
14 | .col-11 { width: (11 / 12 * 100%); }
15 | .col-12 { width: 100%; }
16 |
17 | @each $breakpoint in map-keys($breakpoints) {
18 | @include breakpoint($breakpoint) {
19 | .col-#{$breakpoint}-1 { width: ( 1 / 12 * 100%); }
20 | .col-#{$breakpoint}-2 { width: ( 2 / 12 * 100%); }
21 | .col-#{$breakpoint}-3 { width: ( 3 / 12 * 100%); }
22 | .col-#{$breakpoint}-4 { width: ( 4 / 12 * 100%); }
23 | .col-#{$breakpoint}-5 { width: ( 5 / 12 * 100%); }
24 | .col-#{$breakpoint}-6 { width: ( 6 / 12 * 100%); }
25 | .col-#{$breakpoint}-7 { width: ( 7 / 12 * 100%); }
26 | .col-#{$breakpoint}-8 { width: ( 8 / 12 * 100%); }
27 | .col-#{$breakpoint}-9 { width: ( 9 / 12 * 100%); }
28 | .col-#{$breakpoint}-10 { width: ( 10 / 12 * 100%); }
29 | .col-#{$breakpoint}-11 { width: ( 11 / 12 * 100%); }
30 | .col-#{$breakpoint}-12 { width: 100%; }
31 | }
32 | }
33 |
34 | // Gutters apply padding and a negative margin to the outside of the container
35 | @mixin gutters ($gutter-width: $spacer3) {
36 | margin-right: -$gutter-width;
37 | margin-left: -$gutter-width;
38 |
39 | > [class*="col-"] {
40 | padding-right: $gutter-width !important;
41 | padding-left: $gutter-width !important;
42 | }
43 | }
44 |
45 | .gut-sm { @include gutters($spacer-2); }
46 | .gut-md { @include gutters($spacer-3); }
47 | .gut-lg { @include gutters($spacer-4); }
48 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/markdown-body.scss";
3 | @import "./lib/headings.scss";
4 | @import "./lib/lists.scss";
5 | @import "./lib/tables.scss";
6 | @import "./lib/images.scss";
7 | @import "./lib/code.scss";
8 | @import "./lib/blob-csv.scss";
9 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/blob-csv.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable selector-no-type
2 | .markdown-body .csv-data {
3 | td,
4 | th {
5 | padding: 5px;
6 | overflow: hidden;
7 | font-size: 12px;
8 | line-height: 1;
9 | text-align: left;
10 | white-space: nowrap;
11 | }
12 |
13 | .blob-num {
14 | padding: 10px 8px 9px;
15 | text-align: right;
16 | background: #fff;
17 | border: 0;
18 | }
19 |
20 | tr { border-top: 0; }
21 |
22 | th {
23 | font-weight: $font-weight-bold;
24 | background: #f8f8f8;
25 | border-top: 0;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/code.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable selector-no-type
2 | .markdown-body {
3 | // Inline code snippets
4 | code,
5 | tt {
6 | padding: 0;
7 | padding-top: 0.2em;
8 | padding-bottom: 0.2em;
9 | margin: 0;
10 | font-size: 85%;
11 | background-color: rgba(0, 0, 0, 0.04);
12 | border-radius: 3px; // don't add padding, gives scrollbars
13 |
14 | &::before,
15 | &::after {
16 | letter-spacing: -0.2em; // this creates padding
17 | content: "\00a0";
18 | }
19 |
20 | br { display: none; }
21 | }
22 |
23 | del code { text-decoration: inherit; }
24 |
25 | pre {
26 | word-wrap: normal;
27 |
28 | // Code tags within code blocks (s)
29 | > code {
30 | padding: 0;
31 | margin: 0;
32 | font-size: 100%;
33 | word-break: normal;
34 | white-space: pre;
35 | background: transparent;
36 | border: 0;
37 | }
38 | }
39 |
40 | .highlight {
41 | margin-bottom: $margin;
42 |
43 | pre {
44 | margin-bottom: 0;
45 | word-break: normal;
46 | }
47 | }
48 |
49 | .highlight pre,
50 | pre {
51 | padding: $margin;
52 | overflow: auto;
53 | font-size: 85%;
54 | line-height: 1.45;
55 | background-color: #f7f7f7;
56 | border-radius: 3px;
57 | }
58 |
59 | pre code,
60 | pre tt {
61 | display: inline;
62 | max-width: auto;
63 | padding: 0;
64 | margin: 0;
65 | overflow: visible;
66 | line-height: inherit;
67 | word-wrap: normal;
68 | background-color: transparent;
69 | border: 0;
70 |
71 | &::before,
72 | &::after {
73 | content: normal;
74 | }
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/headings.scss:
--------------------------------------------------------------------------------
1 | // Needs refactoring
2 | // stylelint-disable selector-max-compound-selectors, selector-max-specificity
3 | // stylelint-disable selector-no-type
4 | .markdown-body {
5 | // Headings
6 | h1,
7 | h2,
8 | h3,
9 | h4,
10 | h5,
11 | h6 {
12 | margin-top: ($margin * 1.5);
13 | margin-bottom: $margin;
14 | font-weight: $font-weight-bold;
15 | line-height: $lh-condensed;
16 |
17 | .octicon-link {
18 | color: #000;
19 | vertical-align: middle;
20 | visibility: hidden;
21 | }
22 |
23 | &:hover .anchor {
24 | text-decoration: none;
25 |
26 | .octicon-link {
27 | visibility: visible;
28 | }
29 | }
30 |
31 | tt,
32 | code {
33 | font-size: inherit;
34 | }
35 | }
36 |
37 | h1 {
38 | padding-bottom: 0.3em;
39 | font-size: 2em;
40 | border-bottom: 1px solid #eee;
41 | }
42 |
43 | h2 {
44 | padding-bottom: 0.3em;
45 | font-size: 1.5em;
46 | border-bottom: 1px solid #eee;
47 | }
48 |
49 | h3 {
50 | font-size: 1.25em;
51 | }
52 |
53 | h4 {
54 | font-size: 1em;
55 | }
56 |
57 | h5 {
58 | font-size: 0.875em;
59 | }
60 |
61 | h6 {
62 | font-size: 0.85em;
63 | color: #777;
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/images.scss:
--------------------------------------------------------------------------------
1 | // Need to target base styles
2 | // stylelint-disable selector-max-compound-selectors, selector-no-qualifying-type, primer/selector-no-utility
3 | // stylelint-disable selector-no-type
4 | .markdown-body {
5 | // Images & Stuff
6 | img {
7 | max-width: 100%;
8 | // because we put padding on the images to hide header lines, and some people
9 | // specify the width of their images in their markdown.
10 | box-sizing: content-box;
11 | background-color: #fff;
12 |
13 | &[align=right] {
14 | padding-left: 20px;
15 | }
16 |
17 | &[align=left] {
18 | padding-right: 20px;
19 | }
20 | }
21 |
22 | .emoji {
23 | max-width: none;
24 | vertical-align: text-top;
25 | // Override ` ` styles so Emjois don't clash with zebra striping in our tables
26 | background-color: transparent;
27 | }
28 |
29 | // Gollum Image Tags
30 |
31 | // Framed
32 | span.frame {
33 | display: block;
34 | overflow: hidden;
35 |
36 | > span {
37 | display: block;
38 | float: left;
39 | width: auto;
40 | padding: 7px;
41 | margin: 13px 0 0;
42 | overflow: hidden;
43 | border: 1px solid #ddd;
44 | }
45 |
46 | span img {
47 | display: block;
48 | float: left;
49 | }
50 |
51 | span span {
52 | display: block;
53 | padding: 5px 0 0;
54 | clear: both;
55 | color: #333;
56 | }
57 | }
58 |
59 | span.align-center {
60 | display: block;
61 | overflow: hidden;
62 | clear: both;
63 |
64 | > span {
65 | display: block;
66 | margin: 13px auto 0;
67 | overflow: hidden;
68 | text-align: center;
69 | }
70 |
71 | span img {
72 | margin: 0 auto;
73 | text-align: center;
74 | }
75 | }
76 |
77 | span.align-right {
78 | display: block;
79 | overflow: hidden;
80 | clear: both;
81 |
82 | > span {
83 | display: block;
84 | margin: 13px 0 0;
85 | overflow: hidden;
86 | text-align: right;
87 | }
88 |
89 | span img {
90 | margin: 0;
91 | text-align: right;
92 | }
93 | }
94 |
95 | span.float-left {
96 | display: block;
97 | float: left;
98 | margin-right: 13px;
99 | overflow: hidden;
100 |
101 | span {
102 | margin: 13px 0 0;
103 | }
104 | }
105 |
106 | span.float-right {
107 | display: block;
108 | float: right;
109 | margin-left: 13px;
110 | overflow: hidden;
111 |
112 | > span {
113 | display: block;
114 | margin: 13px auto 0;
115 | overflow: hidden;
116 | text-align: right;
117 | }
118 | }
119 | }
120 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/lists.scss:
--------------------------------------------------------------------------------
1 | // Base styles
2 | // stylelint-disable selector-no-qualifying-type
3 | // stylelint-disable selector-no-type
4 | .markdown-body {
5 |
6 | // Lists, Blockquotes & Such
7 | ul,
8 | ol {
9 | padding-left: 2em;
10 |
11 | &.no-list {
12 | padding: 0;
13 | list-style-type: none;
14 | }
15 | }
16 |
17 | // Did someone complain about list spacing? Encourage them
18 | // to create the spacing with their markdown formatting.
19 | // List behavior should be controled by the markup, not the css.
20 | //
21 | // For lists with padding between items, use blank
22 | // lines between items. This will generate paragraphs with
23 | // padding to space things out.
24 | //
25 | // - item
26 | //
27 | // - item
28 | //
29 | // - item
30 | //
31 | // For list without padding, don't use blank lines.
32 | //
33 | // - item
34 | // - item
35 | // - item
36 | //
37 | // Modifying the css to emulate these behaviors merely brakes
38 | // one case in the process of solving another. Don't change
39 | // this unless it's really really a bug.
40 | ul ul,
41 | ul ol,
42 | ol ol,
43 | ol ul {
44 | margin-top: 0;
45 | margin-bottom: 0;
46 | }
47 |
48 | li > p {
49 | margin-top: $margin;
50 | }
51 |
52 | li + li {
53 | margin-top: 0.25em;
54 | }
55 |
56 | dl {
57 | padding: 0;
58 |
59 | dt {
60 | padding: 0;
61 | margin-top: $margin;
62 | font-size: 1em;
63 | font-style: italic;
64 | font-weight: $font-weight-bold;
65 | }
66 |
67 | dd {
68 | padding: 0 $margin;
69 | margin-bottom: $margin;
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/markdown-body.scss:
--------------------------------------------------------------------------------
1 | // All of our block level items should have the same margin
2 | // stylelint-disable selector-no-type
3 | $margin: 16px;
4 |
5 | // This is styling for generic markdownized text. Anything you put in a
6 | // container with .markdown-body on it should render generally well. It also
7 | // includes some GitHub Flavored Markdown specific styling (like @mentions)
8 | .markdown-body {
9 | font-family: $body-font;
10 | font-size: 16px;
11 | line-height: $body-line-height;
12 | word-wrap: break-word;
13 |
14 | // Clearfix on the markdown body
15 | &::before {
16 | display: table;
17 | content: "";
18 | }
19 |
20 | &::after {
21 | display: table;
22 | clear: both;
23 | content: "";
24 | }
25 |
26 | > *:first-child {
27 | margin-top: 0 !important;
28 | }
29 |
30 | > *:last-child {
31 | margin-bottom: 0 !important;
32 | }
33 |
34 | // Anchors like . These sometimes end up wrapped around
35 | // text when users mistakenly forget to close the tag or use self-closing tag
36 | // syntax. We don't want them to appear like links.
37 | // FIXME: a:not(:link):not(:visited) would be a little clearer here (and
38 | // possibly faster to match), but it breaks styling of elements due
39 | // to https://bugs.webkit.org/show_bug.cgi?id=142737.
40 | a:not([href]) {
41 | color: inherit;
42 | text-decoration: none;
43 | }
44 |
45 | // Link Colors
46 | .absent {
47 | color: #c00;
48 | }
49 |
50 | .anchor {
51 | float: left;
52 | padding-right: 4px;
53 | margin-left: -20px;
54 | line-height: 1;
55 |
56 | &:focus {
57 | outline: none;
58 | }
59 | }
60 |
61 | p,
62 | blockquote,
63 | ul,
64 | ol,
65 | dl,
66 | table,
67 | pre {
68 | margin-top: 0;
69 | margin-bottom: $margin;
70 | }
71 |
72 | hr {
73 | height: 0.25em;
74 | padding: 0;
75 | margin: ($margin * 1.5) 0;
76 | background-color: #e7e7e7;
77 | border: 0;
78 | }
79 |
80 | blockquote {
81 | padding: 0 1em;
82 | color: #777;
83 | border-left: 0.25em solid #ddd;
84 |
85 | > :first-child {
86 | margin-top: 0;
87 | }
88 |
89 | > :last-child {
90 | margin-bottom: 0;
91 | }
92 | }
93 |
94 | kbd {
95 | display: inline-block;
96 | padding: 3px 5px;
97 | font-size: 11px;
98 | line-height: 10px;
99 | color: #555;
100 | vertical-align: middle;
101 | background-color: #fcfcfc;
102 | border: solid 1px #ccc;
103 | border-bottom-color: #bbb;
104 | border-radius: 3px;
105 | box-shadow: inset 0 -1px 0 #bbb;
106 | }
107 |
108 | .loweralpha {
109 | list-style-type: lower-alpha;
110 | }
111 | }
112 |
--------------------------------------------------------------------------------
/node_modules/primer-markdown/lib/tables.scss:
--------------------------------------------------------------------------------
1 | // Needs refactoring
2 | // stylelint-disable selector-no-type
3 | .markdown-body {
4 | // Tables
5 | table {
6 | display: block;
7 | width: 100%;
8 | overflow: auto;
9 |
10 | th {
11 | font-weight: $font-weight-bold;
12 | }
13 |
14 | th,
15 | td {
16 | padding: 6px 13px;
17 | border: 1px solid #ddd;
18 | }
19 |
20 | tr {
21 | background-color: #fff;
22 | border-top: 1px solid #ccc;
23 |
24 | &:nth-child(2n) {
25 | background-color: #f8f8f8;
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-support/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # v0.1.0
2 |
3 | * Getting rid of as much as possible - Sophie Shepherd [github/github@e2e5de4](https://github.com/github/github/commit/e2e5de4)
4 | * Hella cleanup - Sophie Shepherd [github/github@5e0716b](https://github.com/github/github/commit/5e0716b)
5 | * Clean up more type css - Sophie Shepherd [github/github@cbf356a](https://github.com/github/github/commit/cbf356a)
6 | * Heading & variable cleanup - Sophie Shepherd [github/github@0778b8b](https://github.com/github/github/commit/0778b8b)
7 | * Fix broken paths - Patrick Marsceill [github/github@b5dc395](https://github.com/github/github/commit/b5dc395)
8 | * Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
9 | * Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
10 | * update docs - Patrick Marsceill [github/github@d5ef0e4](https://github.com/github/github/commit/d5ef0e4)
11 | * Add marketing support to docs - Sophie Shepherd [github/github@ed62442](https://github.com/github/github/commit/ed62442)
12 | * Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
13 | * Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
14 | * prefix bc => marketing - Patrick Marsceill [github/github@04d509a](https://github.com/github/github/commit/04d509a)
15 | * Support - Patrick Marsceill [github/github@9bbf59b](https://github.com/github/github/commit/9bbf59b)
--------------------------------------------------------------------------------
/node_modules/primer-marketing-support/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-support/README.md:
--------------------------------------------------------------------------------
1 | # Primer Marketing CSS Support
2 |
3 | [](https://www.npmjs.org/package/primer-marketing-support)
4 | [](https://travis-ci.org/primer/primer-marketing-support)
5 |
6 | > Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.
7 | >
8 | > Most of the time to include these you'll only need to add `@import "./primer-marketing-support";` to the top of your bundle. If you want only a specific partial you can import them separately.
9 |
10 | This repository is a module of the full [primer-css][primer] repository.
11 |
12 | ## Documentation
13 |
14 | You can read more about primer-marketing-support in the [docs][docs].
15 |
16 |
21 |
22 | ### Primer Marketing Support
23 |
24 | Documentation & refactor coming very soon
25 |
26 |
27 |
28 | ## Install
29 |
30 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `support` with this command.
31 |
32 | ```
33 | $ npm install --save support
34 | ```
35 |
36 | ## Usage
37 |
38 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
39 |
40 | ```scss
41 | @import "primer-marketing-support/index.scss";
42 | ```
43 |
44 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
45 |
46 | ## License
47 |
48 | MIT © [GitHub](https://github.com/)
49 |
50 | [primer]: https://github.com/primer/primer
51 | [docs]: http://primercss.io/
52 | [npm]: https://www.npmjs.com/
53 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
54 | [sass]: http://sass-lang.com/
55 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-support/index.scss:
--------------------------------------------------------------------------------
1 | @import "./lib/variables.scss";
2 | @import "./lib/fonts.scss";
3 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-support/lib/fonts.scss:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: Roboto;
3 | font-style: normal;
4 | font-weight: 300;
5 | src: local("Roboto Light"), local("Roboto-Light"), url("/static/fonts/roboto/roboto-light.woff") format("woff");
6 | }
7 |
8 | @font-face {
9 | font-family: Roboto;
10 | font-style: normal;
11 | font-weight: 400;
12 | src: local("Roboto"), local("Roboto-Regular"), url("/static/fonts/roboto/roboto-regular.woff") format("woff");
13 | }
14 |
15 | @font-face {
16 | font-family: Roboto;
17 | font-style: normal;
18 | font-weight: 500;
19 | src: local("Roboto Medium"), local("Roboto-Medium"), url("/static/fonts/roboto/roboto-medium.woff") format("woff");
20 | }
21 |
22 | @font-face {
23 | font-family: Roboto;
24 | font-style: italic;
25 | font-weight: 400;
26 | src: local("Roboto Italic"), local("Roboto-Italic"), url("/static/fonts/roboto/roboto-italic.woff") format("woff");
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-support/lib/variables.scss:
--------------------------------------------------------------------------------
1 | // Type
2 | $alt-body-font: Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif;
3 | $alt-mono-font: Consolas, "Liberation Mono", Menlo, Courier, monospace;
4 | $alt-body-font-size: 16px;
5 |
6 | // Colors
7 | //
8 | // stylelint-disable color-named
9 |
10 | $marketing-colors: (
11 | white: (
12 | base: #fff,
13 | ),
14 | black: (
15 | base: #3c4146,
16 | ),
17 | gray: (
18 | base: #e5e5e5,
19 | light: #f5f5f5,
20 | mid: #aaa,
21 | dark: #767676
22 | ),
23 | purple: (
24 | base: #7a3497,
25 | light: #f7f1f9,
26 | dark: #591e71
27 | ),
28 | orange: (
29 | base: #e8400d,
30 | light: #fdf2ec,
31 | dark: #b83606
32 | ),
33 | blue: (
34 | base: #0079d1,
35 | light: #eef4fc,
36 | dark: #0058a2
37 | )
38 | );
39 |
40 | @function color($color, $tone:"'base") {
41 | @return map-get(map-get($marketing-colors, $color), $tone);
42 | }
43 |
44 | // Oranges
45 | $marketing-orange: color(orange, base);
46 | $marketing-orange-dark: color(orange, dark);
47 | $marketing-orange-light: color(orange, light);
48 |
49 | // Blues
50 | $marketing-blue: color(blue, base);
51 | $marketing-blue-dark: color(blue, dark);
52 | $marketing-blue-light: color(blue, light);
53 |
54 | // Purps
55 | $marketing-purple: color(purple, base);
56 | $marketing-purple-dark: color(purple, dark);
57 | $marketing-purple-light: color(purple, light);
58 | $marketing-blue-purple: mix($marketing-blue, $marketing-purple, 40%);
59 |
60 | // 11 Shades of Gray
61 | $marketing-black: color(black, base);
62 | $marketing-white: color(white, base);
63 | $marketing-gray: color(gray, base);
64 | $marketing-gray-light: color(gray, light);
65 | $marketing-gray-dark: color(gray, dark);
66 | $marketing-gray-mid: color(gray, mid);
67 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-type/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # HEAD
2 |
3 | * Replace spacer values - Patrick Marsceill [github/github@552b98c](https://github.com/github/github/commit/552b98c)
4 | * Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d)
5 | * Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1)
6 |
7 | # v0.1.0
8 |
9 | * Rename repository with prefix primer- - Jon Rohan [github/github@ec8774a](https://github.com/github/github/commit/ec8774a)
10 | * Fix broken path - Sophie Shepherd [github/github@a4cf8a8](https://github.com/github/github/commit/a4cf8a8)
11 | * Rename type.scss to typography.scss - Sophie Shepherd [github/github@9ad895e](https://github.com/github/github/commit/9ad895e)
12 | * Remove wrappers from pages and add to body - Sophie Shepherd [github/github@9a4a84c](https://github.com/github/github/commit/9a4a84c)
13 | * Fix lint errors - Sophie Shepherd [github/github@f340355](https://github.com/github/github/commit/f340355)
14 | * Rename things, write docs, add changelog - Sophie Shepherd [github/github@5c2fb44](https://github.com/github/github/commit/5c2fb44)
15 | * Rename it to typography to match primer file - Sophie Shepherd [github/github@d31c1a5](https://github.com/github/github/commit/d31c1a5)
--------------------------------------------------------------------------------
/node_modules/primer-marketing-type/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-type/build/build.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url("/static/fonts/roboto/roboto-light.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url("/static/fonts/roboto/roboto-regular.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url("/static/fonts/roboto/roboto-medium.woff") format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url("/static/fonts/roboto/roboto-italic.woff") format("woff")}.alt-body-font{font-family:Roboto,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI","Oxygen","Ubuntu","Cantarell","Open Sans",sans-serif;font-size:16px}.alt-mono-font{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:16px}.alt-h1,.alt-h2,.alt-h3,.alt-h4,.alt-h5,.alt-h6,.alt-lead{-webkit-font-smoothing:antialiased;font-family:Roboto,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI","Oxygen","Ubuntu","Cantarell","Open Sans",sans-serif}.alt-h1{font-size:36px;font-weight:300}@media (min-width: 768px){.alt-h1{font-size:48px}}@media (min-width: 1004px){.alt-h1{font-size:54px}}.alt-h2{font-size:28px;font-weight:300}@media (min-width: 768px){.alt-h2{font-size:34px}}@media (min-width: 1004px){.alt-h2{font-size:38px}}.alt-h3{font-size:18px;font-weight:400}@media (min-width: 768px){.alt-h3{font-size:20px}}@media (min-width: 1004px){.alt-h3{font-size:22px}}.alt-h4{font-size:16px;font-weight:500}.alt-h5{font-size:14px;font-weight:500}.alt-h6{font-size:12px;font-weight:500}.alt-lead{-webkit-font-smoothing:antialiased;font-size:21px;font-weight:300}@media (min-width: 768px){.alt-lead{font-size:24px}}@media (min-width: 1004px){.alt-lead{font-size:26px}}.alt-text-small{font-size:14px !important}.pullquote{padding-top:0;padding-bottom:0;padding-left:8px;margin-bottom:24px;font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:16px;line-height:1.4;color:#767676;border-left:3px solid #e5e5e5}@media (min-width: 768px){.pullquote{padding-left:12px;margin-bottom:36px;margin-left:-15px;font-size:18px;line-height:1.5}}
2 |
3 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-type/index.scss:
--------------------------------------------------------------------------------
1 | // support files
2 | @import "primer-support/index.scss";
3 | @import "primer-marketing-support/index.scss";
4 | @import "./lib/typography.scss";
5 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing-type/lib/typography.scss:
--------------------------------------------------------------------------------
1 | // Marketing font utility class
2 |
3 | .alt-body-font {
4 | font-family: $alt-body-font;
5 | font-size: $alt-body-font-size;
6 | }
7 |
8 | .alt-mono-font {
9 | font-family: $alt-mono-font;
10 | font-size: $alt-body-font-size;
11 | }
12 |
13 | //
14 | // Headings
15 | // stylelint-disable selector-no-type
16 |
17 | .alt-h1,
18 | .alt-h2,
19 | .alt-h3,
20 | .alt-h4,
21 | .alt-h5,
22 | .alt-h6,
23 | .alt-lead {
24 | -webkit-font-smoothing: antialiased;
25 | font-family: $alt-body-font;
26 | }
27 |
28 | @mixin alt-h1 {
29 | font-size: 36px;
30 | font-weight: $font-weight-light;
31 | @include breakpoint(md) { font-size: 48px; }
32 | @include breakpoint(lg) { font-size: 54px; }
33 | }
34 |
35 | .alt-h1 {
36 | @include alt-h1;
37 | }
38 |
39 | @mixin alt-h2 {
40 | font-size: 28px;
41 | font-weight: $font-weight-light;
42 | @include breakpoint(md) { font-size: 34px; }
43 | @include breakpoint(lg) { font-size: 38px; }
44 | }
45 |
46 | .alt-h2 {
47 | @include alt-h2;
48 | }
49 |
50 | @mixin alt-h3 {
51 | font-size: 18px;
52 | font-weight: $font-weight-normal;
53 | @include breakpoint(md) { font-size: 20px; }
54 | @include breakpoint(lg) { font-size: 22px; }
55 | }
56 |
57 | .alt-h3 {
58 | @include alt-h3;
59 | }
60 |
61 | .alt-h4 {
62 | font-size: 16px;
63 | font-weight: $font-weight-semibold;
64 | }
65 |
66 | .alt-h5 {
67 | font-size: $h5-size;
68 | font-weight: $font-weight-semibold;
69 | }
70 |
71 | .alt-h6 {
72 | font-size: $h6-size;
73 | font-weight: $font-weight-semibold;
74 | }
75 |
76 | // Big opening paragraphs
77 | @mixin alt-lead {
78 | -webkit-font-smoothing: antialiased;
79 | font-size: 21px;
80 | font-weight: $font-weight-light;
81 | @include breakpoint(md) { font-size: 24px; }
82 | @include breakpoint(lg) { font-size: 26px; }
83 | }
84 |
85 | .alt-lead {
86 | @include alt-lead;
87 | }
88 |
89 | // For small text
90 |
91 | .alt-text-small {
92 | font-size: 14px !important;
93 | }
94 |
95 | // Pullquote
96 |
97 | @mixin pullquote {
98 | padding-top: 0;
99 | padding-bottom: 0;
100 | padding-left: $spacer;
101 | margin-bottom: $spacer-4;
102 | font-family: $alt-mono-font;
103 | font-size: $alt-body-font-size;
104 | line-height: 1.4;
105 | color: $text-gray;
106 | border-left: 3px solid $border-color;
107 |
108 | @include breakpoint(md) {
109 | padding-left: $spacer * 1.5;
110 | margin-bottom: $spacer-5;
111 | margin-left: (-$spacer * 1.5) - 3px;
112 | font-size: 18px;
113 | line-height: 1.5;
114 | }
115 | }
116 |
117 | .pullquote {
118 | @include pullquote;
119 | }
120 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # 1.0.0
2 |
3 | - Grouping primer modules into marketing
4 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing/README.md:
--------------------------------------------------------------------------------
1 | # Primer marketing
2 |
3 | [](https://www.npmjs.org/package/primer-marketing)
4 | [](https://travis-ci.org/primer/primer-marketing)
5 |
6 | > Primer marketing is the marketing based modules of the primer framework.
7 |
8 | This repository is a compilation of [several CSS modules](https://github.com/primer). You can break it down into smaller sections using npm.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-css` with this command. **You must have npm >=3.0 installed to be able to satisfy the dependency paths**
13 |
14 | ```
15 | $ npm install --save primer-marketing
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-marketing/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 | You can read more about primer in the [docs][docs].
39 |
40 | ## License
41 |
42 | [MIT](./LICENSE) © [GitHub](https://github.com/)
43 |
44 | [primer]: https://github.com/primer/primer
45 | [docs]: http://primercss.io/
46 | [npm]: https://www.npmjs.com/
47 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
48 | [sass]: http://sass-lang.com/
49 |
--------------------------------------------------------------------------------
/node_modules/primer-marketing/index.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Primer-marketing
3 | * http://primercss.io
4 | *
5 | * Released under MIT license. Copyright 2015 GitHub, Inc.
6 | */
7 |
8 | // Primer master file
9 | //
10 | // Imports all Primer files in their intended order for easy mass-inclusion.
11 | // Should you need specific files, you can easily use separate `@import`s.
12 |
13 | // Global requirements
14 | @import "primer-marketing-support/index.scss";
15 |
16 | // marketing specific css modules
17 | @import "primer-marketing-type/index.scss";
18 | @import "primer-breadcrumb/index.scss";
19 | @import "primer-cards/index.scss";
20 | @import "primer-page-headers/index.scss";
21 | @import "primer-page-sections/index.scss";
22 | @import "primer-tables/index.scss";
23 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | // Navigation
3 | @import "./lib/counter.scss";
4 | @import "./lib/menu.scss";
5 | @import "./lib/tabnav.scss";
6 | @import "./lib/filter-list.scss";
7 | @import "./lib/subnav.scss";
8 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/lib/counter.scss:
--------------------------------------------------------------------------------
1 | // Counters are rounded-corner badges for numbers
2 | // Default counter style - class name syntax to be updated
3 | .counter {
4 | display: inline-block;
5 | padding: 2px 5px;
6 | font-size: $font-size-small;
7 | font-weight: $font-weight-bold;
8 | line-height: 1;
9 | color: #666;
10 | background-color: #eee;
11 | border-radius: 20px;
12 | }
13 |
14 | .Counter--gray-light {
15 | color: $text-gray-dark;
16 | background-color: #ccc;
17 | }
18 |
19 | .Counter--gray {
20 | color: $white;
21 | background-color: $gray;
22 | }
23 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/lib/filter-list.scss:
--------------------------------------------------------------------------------
1 | // Filters list
2 | //
3 | // A vertical list of filters.
4 | .filter-list {
5 | list-style-type: none;
6 |
7 | &.small .filter-item {
8 | padding: 4px 10px;
9 | margin: 0 0 2px;
10 | font-size: 12px;
11 | }
12 |
13 | &.pjax-active .filter-item {
14 | color: $text-gray;
15 | background-color: transparent;
16 |
17 | &.pjax-active {
18 | color: $text-white;
19 | background-color: $bg-blue;
20 | }
21 | }
22 | }
23 |
24 | .filter-item {
25 | position: relative;
26 | display: block;
27 | padding: 8px 10px;
28 | margin-bottom: 5px;
29 | overflow: hidden;
30 | font-size: 14px;
31 | color: $text-gray;
32 | text-decoration: none;
33 | text-overflow: ellipsis;
34 | white-space: nowrap;
35 | cursor: pointer;
36 | border-radius: 3px;
37 |
38 | &:hover {
39 | text-decoration: none;
40 | background-color: #eee;
41 | }
42 |
43 | &.selected {
44 | color: $text-white;
45 | background-color: $bg-blue;
46 | }
47 |
48 | .count {
49 | float: right;
50 | font-weight: $font-weight-bold;
51 | }
52 |
53 | .bar {
54 | position: absolute;
55 | top: 2px;
56 | right: 0;
57 | bottom: 2px;
58 | z-index: -1;
59 | display: inline-block;
60 | background-color: #f1f1f1;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/lib/menu.scss:
--------------------------------------------------------------------------------
1 | // Side menu
2 | //
3 | // A menu on the side of a page, defaults to left side. e.g. github.com/about
4 |
5 | .menu {
6 | margin-bottom: 15px;
7 | list-style: none;
8 | background-color: $bg-white;
9 | border: 1px solid #d8d8d8;
10 | border-radius: 3px;
11 | }
12 |
13 | .menu-item {
14 | position: relative;
15 | display: block;
16 | padding: 8px 10px;
17 | border-bottom: 1px solid #eee;
18 |
19 | &:first-child {
20 | border-top: 0;
21 | border-top-left-radius: 2px;
22 | border-top-right-radius: 2px;
23 |
24 | &::before { border-top-left-radius: 2px; }
25 | }
26 |
27 | &:last-child {
28 | border-bottom: 0;
29 | border-bottom-right-radius: 2px;
30 | border-bottom-left-radius: 2px;
31 |
32 | &::before { border-bottom-left-radius: 2px; }
33 | }
34 |
35 | &:hover {
36 | text-decoration: none;
37 | background-color: #f9f9f9;
38 | }
39 |
40 | &.selected {
41 | font-weight: $font-weight-bold;
42 | color: #222;
43 | cursor: default;
44 | background-color: $bg-white;
45 |
46 | &::before {
47 | position: absolute;
48 | top: 0;
49 | bottom: 0;
50 | left: 0;
51 | width: 2px;
52 | content: "";
53 | background-color: #d26911;
54 | }
55 | }
56 |
57 | .octicon {
58 | width: 16px;
59 | margin-right: 5px;
60 | color: $text-gray-dark;
61 | text-align: center;
62 | }
63 |
64 | .counter {
65 | float: right;
66 | margin-left: 5px;
67 | }
68 |
69 | .menu-warning {
70 | float: right;
71 | color: #d26911;
72 | }
73 |
74 | .avatar {
75 | float: left;
76 | margin-right: 5px;
77 | }
78 |
79 | &.alert {
80 | .counter {
81 | color: $text-red;
82 | }
83 | }
84 | }
85 |
86 | .menu-heading {
87 | display: block;
88 | padding: 8px 10px;
89 | margin-top: 0;
90 | margin-bottom: 0;
91 | font-size: 13px;
92 | font-weight: $font-weight-bold;
93 | line-height: 20px;
94 | color: #555;
95 | background-color: #f7f7f7;
96 | border-bottom: 1px solid #eee;
97 |
98 | &:hover {
99 | text-decoration: none;
100 | }
101 |
102 | &:first-child {
103 | border-top-left-radius: 2px;
104 | border-top-right-radius: 2px;
105 | }
106 |
107 | &:last-child {
108 | border-bottom: 0;
109 | border-bottom-right-radius: 2px;
110 | border-bottom-left-radius: 2px;
111 | }
112 | }
113 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/lib/subnav.scss:
--------------------------------------------------------------------------------
1 | // Needs refactoring
2 | // Sub nav
3 | .subnav {
4 | margin-bottom: 20px;
5 |
6 | @include clearfix();
7 | }
8 |
9 | .subnav-bordered {
10 | padding-bottom: 20px;
11 | border-bottom: 1px solid #eee;
12 | }
13 |
14 | .subnav-flush {
15 | margin-bottom: 0;
16 | }
17 |
18 | .subnav-item {
19 | position: relative;
20 | float: left;
21 | padding: 6px 14px;
22 | font-weight: $font-weight-bold;
23 | line-height: 20px;
24 | color: #666;
25 | border: 1px solid #e5e5e5;
26 |
27 | + .subnav-item {
28 | margin-left: -1px;
29 | }
30 |
31 | &:hover,
32 | &:focus {
33 | text-decoration: none;
34 | background-color: #f5f5f5;
35 | }
36 |
37 | &.selected,
38 | &.selected:hover,
39 | &.selected:focus {
40 | z-index: 2;
41 | color: #fff;
42 | background-color: $bg-blue;
43 | border-color: $blue;
44 | }
45 |
46 | &:first-child {
47 | border-top-left-radius: 3px;
48 | border-bottom-left-radius: 3px;
49 | }
50 |
51 | &:last-child {
52 | border-top-right-radius: 3px;
53 | border-bottom-right-radius: 3px;
54 | }
55 | }
56 |
57 | .subnav-search {
58 | position: relative;
59 | margin-left: 10px;
60 | }
61 |
62 | .subnav-search-input {
63 | width: 320px;
64 | padding-left: 30px;
65 | color: $text-gray;
66 | border-color: #d5d5d5;
67 | }
68 |
69 | .subnav-search-input-wide {
70 | width: 500px;
71 | }
72 |
73 | .subnav-search-icon {
74 | position: absolute;
75 | top: 9px;
76 | left: 8px;
77 | display: block;
78 | color: #ccc;
79 | text-align: center;
80 | pointer-events: none;
81 | }
82 |
83 | .subnav-search-context {
84 | .btn {
85 | color: #555;
86 | border-top-right-radius: 0;
87 | border-bottom-right-radius: 0;
88 |
89 | &:hover,
90 | &:focus,
91 | &:active,
92 | &.selected {
93 | z-index: 2;
94 | }
95 | }
96 |
97 | + .subnav-search {
98 | margin-left: -1px;
99 |
100 | .subnav-search-input {
101 | border-top-left-radius: 0;
102 | border-bottom-left-radius: 0;
103 | }
104 | }
105 |
106 | .select-menu-modal-holder {
107 | z-index: 30;
108 | }
109 |
110 | .select-menu-modal {
111 | width: 220px;
112 | }
113 |
114 | .select-menu-item-icon {
115 | color: inherit;
116 | }
117 | }
118 |
119 | .subnav-spacer-right {
120 | padding-right: 10px;
121 | }
122 |
--------------------------------------------------------------------------------
/node_modules/primer-navigation/lib/tabnav.scss:
--------------------------------------------------------------------------------
1 | // Outer wrapper
2 | // stylelint-disable selector-no-type
3 | .tabnav {
4 | margin-top: 0;
5 | margin-bottom: 15px;
6 | border-bottom: 1px solid #ddd;
7 |
8 | .counter {
9 | margin-left: 5px;
10 | }
11 | }
12 |
13 | .tabnav-tabs {
14 | margin-bottom: -1px;
15 | }
16 |
17 | .tabnav-tab {
18 | display: inline-block;
19 | padding: 8px 12px;
20 | font-size: 14px;
21 | line-height: 20px;
22 | color: #666;
23 | text-decoration: none;
24 | background-color: transparent;
25 | border: 1px solid transparent;
26 | border-bottom: 0;
27 |
28 | &.selected {
29 | color: $text-gray-dark;
30 | background-color: $bg-white;
31 | border-color: #ddd;
32 | border-radius: 3px 3px 0 0;
33 | }
34 |
35 | &:hover,
36 | &:focus {
37 | text-decoration: none;
38 | }
39 | }
40 |
41 | // Tabnav extras
42 | //
43 | // Tabnav extras are non-tab elements that sit in the tabnav. Usually they're
44 | // inline text or links.
45 |
46 | .tabnav-extra {
47 | display: inline-block;
48 | padding-top: 10px;
49 | margin-left: 10px;
50 | font-size: 12px;
51 | color: #666;
52 |
53 | > .octicon {
54 | margin-right: 2px;
55 | }
56 | }
57 |
58 | // When tabnav-extra are anchors
59 | // stylelint-disable selector-no-qualifying-type
60 | a.tabnav-extra:hover {
61 | color: $text-blue;
62 | text-decoration: none;
63 | }
64 | // stylelint-enable selector-no-qualifying-type
65 |
66 | // Tabnav buttons
67 | //
68 | // For when there are multiple buttons, space them out appropriately. Requires
69 | // the buttons to be floated or inline-block.
70 |
71 | .tabnav-btn {
72 | margin-left: 10px;
73 | }
74 |
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # v0.1.1
2 |
3 | * bumping the version - Jon Rohan [github/github@4a72b25](https://github.com/github/github/commit/4a72b25)
4 | * Pointing main js file to build - Jon Rohan [github/github@3575651](https://github.com/github/github/commit/3575651)
5 | * don't change the versions yet - Jon Rohan [github/github@6bebcff](https://github.com/github/github/commit/6bebcff)
6 | * Bumping version - Jon Rohan [github/github@df8b91c](https://github.com/github/github/commit/df8b91c)
7 | * Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571)
8 | * Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d)
9 | * Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1)
10 |
11 | # v0.1.0
12 |
13 | * Rename repository with prefix primer- - Jon Rohan [github/github@ec8774a](https://github.com/github/github/commit/ec8774a)
14 | * Getting rid of as much as possible - Sophie Shepherd [github/github@e2e5de4](https://github.com/github/github/commit/e2e5de4)
15 | * Clean up more type css - Sophie Shepherd [github/github@cbf356a](https://github.com/github/github/commit/cbf356a)
16 | * Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
17 | * Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
18 | * Fix import path across all scss files - Patrick Marsceill [github/github@a566f31](https://github.com/github/github/commit/a566f31)
19 | * Add page headers section - Sophie Shepherd [github/github@6b6ff9d](https://github.com/github/github/commit/6b6ff9d)
20 | * Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
21 | * Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
22 | * prefix bc => marketing - Patrick Marsceill [github/github@04d509a](https://github.com/github/github/commit/04d509a)
23 | * pull in ye olde basecoat files from branch - Patrick Marsceill [github/github@09d47e9](https://github.com/github/github/commit/09d47e9)
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/README.md:
--------------------------------------------------------------------------------
1 | # Primer Marketing CSS Page Headers
2 |
3 | [](https://www.npmjs.org/package/primer-page-headers)
4 | [](https://travis-ci.org/primer/primer-page-headers)
5 |
6 | > Jumbotrons, heroes, and featured content sections for marketing websites at GitHub.
7 |
8 | This repository is a module of the full [primer-css][primer] repository.
9 |
10 | ## Documentation
11 |
12 |
16 |
17 | Documentation & refactor coming very soon
18 |
19 |
20 |
21 |
22 | ## Install
23 |
24 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-page-headers` with this command.
25 |
26 | ```
27 | $ npm install --save primer-page-headers
28 | ```
29 |
30 | ## Usage
31 |
32 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
33 |
34 | ```scss
35 | @import "primer-page-headers/index.scss";
36 | ```
37 |
38 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
39 |
40 | ## Build
41 |
42 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
43 |
44 | ```
45 | $ npm run build
46 | ```
47 |
48 | ## License
49 |
50 | MIT © [GitHub](https://github.com/)
51 |
52 | [primer]: https://github.com/primer/primer
53 | [primer-support]: https://github.com/primer/primer-support
54 | [support]: https://github.com/primer/primer-support
55 | [docs]: http://primercss.io/
56 | [npm]: https://www.npmjs.com/
57 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
58 | [sass]: http://sass-lang.com/
59 |
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/build/build.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url("/static/fonts/roboto/roboto-light.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url("/static/fonts/roboto/roboto-regular.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url("/static/fonts/roboto/roboto-medium.woff") format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url("/static/fonts/roboto/roboto-italic.woff") format("woff")}.jumbotron{position:relative;padding-top:40px;padding-bottom:40px}@media (min-width: 544px){.jumbotron{padding-top:60px;padding-bottom:60px}}@media (min-width: 1280px){.jumbotron{padding-top:120px;padding-bottom:120px}}@media (min-width: 1012px){.jumbotron-supertron{height:45vw;min-height:590px;max-height:55vh;padding-top:80px;padding-bottom:80px}}.jumbotron-minitron{padding-top:24px;padding-bottom:24px}@media (min-width: 544px){.jumbotron-minitron{padding-top:32px;padding-bottom:32px}}.jumbotron-shadow::after{position:absolute;bottom:0;left:0;width:100%;height:30px;content:" ";background-color:transparent;background-image:-webkit-linear-gradient(transparent, rgba(0,0,0,0.05));background-image:linear-gradient(transparent, rgba(0,0,0,0.05));background-repeat:repeat-x;box-shadow:inset 0 -1px 0 rgba(0,0,0,0.05)}.jumbotron-photo{position:relative;background-color:#333;background-size:cover}.jumbotron-photo::before{position:absolute;bottom:0;left:0;display:block;width:100%;height:100%;content:"";background-color:rgba(0,0,0,0.25)}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":1737,"gzipSize":544,"humanizedSize":"2kB","humanizedGzipSize":"544B","rules":{"total":9,"size":{"graph":[3,2,2,5,2,2,11,3,8],"max":11,"average":4.222222222222222}},"selectors":{"total":9,"type":0,"class":9,"id":0,"pseudoClass":0,"pseudoElement":2,"values":[".jumbotron",".jumbotron",".jumbotron",".jumbotron-supertron",".jumbotron-minitron",".jumbotron-minitron",".jumbotron-shadow::after",".jumbotron-photo",".jumbotron-photo::before"],"specificity":{"max":11,"average":10.222222222222221}},"declarations":{"total":38,"unique":33,"properties":{"position":["relative","absolute","relative","absolute"],"padding-top":["40px","60px","120px","80px","24px","32px"],"padding-bottom":["40px","60px","120px","80px","24px","32px"],"height":["45vw","30px","100%"],"min-height":["590px"],"max-height":["55vh"],"bottom":["0","0"],"left":["0","0"],"width":["100%","100%"],"content":["\" \"","\"\""],"background-color":["transparent","#333","rgba(0,0,0,0.25)"],"background-image":["-webkit-linear-gradient(transparent, rgba(0,0,0,0.05))","linear-gradient(transparent, rgba(0,0,0,0.05))"],"background-repeat":["repeat-x"],"box-shadow":["inset 0 -1px 0 rgba(0,0,0,0.05)"],"background-size":["cover"],"display":["block"]}},"mediaQueries":{"total":4,"unique":3,"values":["(min-width: 544px)","(min-width: 1280px)","(min-width: 1012px)","(min-width: 544px)"],"contents":[{"value":"(min-width: 544px)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron"],"specificity":{"max":10,"average":10}},"declarations":{"total":2,"unique":2,"properties":{"padding-top":["60px"],"padding-bottom":["60px"]}}},{"value":"(min-width: 1280px)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron"],"specificity":{"max":10,"average":10}},"declarations":{"total":2,"unique":2,"properties":{"padding-top":["120px"],"padding-bottom":["120px"]}}},{"value":"(min-width: 1012px)","rules":{"total":1,"size":{"graph":[5],"max":5,"average":5}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron-supertron"],"specificity":{"max":10,"average":10}},"declarations":{"total":5,"unique":5,"properties":{"height":["45vw"],"min-height":["590px"],"max-height":["55vh"],"padding-top":["80px"],"padding-bottom":["80px"]}}},{"value":"(min-width: 544px)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".jumbotron-minitron"],"specificity":{"max":10,"average":10}},"declarations":{"total":2,"unique":2,"properties":{"padding-top":["32px"],"padding-bottom":["32px"]}}}]}}}
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/index.scss:
--------------------------------------------------------------------------------
1 | // support files
2 | @import "primer-support/index.scss";
3 | @import "primer-marketing-support/index.scss";
4 | @import "./lib/headers.scss";
5 |
--------------------------------------------------------------------------------
/node_modules/primer-page-headers/lib/headers.scss:
--------------------------------------------------------------------------------
1 | .jumbotron {
2 | position: relative;
3 | padding-top: $spacer-6;
4 | padding-bottom: $spacer-6;
5 |
6 | @include breakpoint(sm) {
7 | padding-top: $spacer-6 * 1.5;
8 | padding-bottom: $spacer-6 * 1.5;
9 | }
10 |
11 | @include breakpoint(xl) {
12 | padding-top: $spacer-6 * 3;
13 | padding-bottom: $spacer-6 * 3;
14 | }
15 | }
16 |
17 | .jumbotron-supertron {
18 | @include breakpoint(lg) {
19 | height: 45vw;
20 | min-height: 590px;
21 | max-height: 55vh;
22 | padding-top: $spacer-6 + $spacer-6;
23 | padding-bottom: $spacer-6 + $spacer-6;
24 | }
25 | }
26 |
27 | .jumbotron-minitron {
28 | padding-top: $spacer-4;
29 | padding-bottom: $spacer-4;
30 |
31 | @include breakpoint(sm) {
32 | padding-top: $spacer-5;
33 | padding-bottom: $spacer-5;
34 | }
35 | }
36 |
37 | .jumbotron-shadow {
38 | // Shadow
39 | &::after {
40 | position: absolute;
41 | bottom: 0;
42 | left: 0;
43 | width: 100%;
44 | height: 30px;
45 | content: " ";
46 | background-color: transparent;
47 | background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
48 | background-repeat: repeat-x;
49 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
50 | }
51 | }
52 |
53 | .jumbotron-photo {
54 | position: relative;
55 | background-color: $gray-dark;
56 | background-size: cover;
57 |
58 | &::before {
59 | position: absolute;
60 | bottom: 0;
61 | left: 0;
62 | display: block;
63 | width: 100%;
64 | height: 100%;
65 | content: "";
66 | background-color: rgba(0, 0, 0, 0.25);
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # v0.1.1
2 |
3 | * bumping the version - Jon Rohan [github/github@4a72b25](https://github.com/github/github/commit/4a72b25)
4 | * Pointing main js file to build - Jon Rohan [github/github@3575651](https://github.com/github/github/commit/3575651)
5 | * don't change the versions yet - Jon Rohan [github/github@6bebcff](https://github.com/github/github/commit/6bebcff)
6 | * Bumping version - Jon Rohan [github/github@df8b91c](https://github.com/github/github/commit/df8b91c)
7 | * Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571)
8 | * Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d)
9 | * Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1)
10 |
11 | # v0.1.0
12 |
13 | * Rename repository with prefix primer- - Jon Rohan [github/github@ec8774a](https://github.com/github/github/commit/ec8774a)
14 | * Fix broken paths - Patrick Marsceill [github/github@b5dc395](https://github.com/github/github/commit/b5dc395)
15 | * Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
16 | * Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
17 | * Fix import path across all scss files - Patrick Marsceill [github/github@a566f31](https://github.com/github/github/commit/a566f31)
18 | * Add page sections to docs - Sophie Shepherd [github/github@667d1e7](https://github.com/github/github/commit/667d1e7)
19 | * Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
20 | * Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
21 | * section => page-section - Patrick Marsceill [github/github@a789873](https://github.com/github/github/commit/a789873)
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS Page Sections
2 |
3 | [](https://www.npmjs.org/package/primer-page-sections)
4 | [](https://travis-ci.org/primer/primer-page-sections)
5 |
6 | > Flash messages, or alerts, inform users of successful or pending actions. Use them sparingly. Don’t show more than one at a time.
7 |
8 | This repository is a module of the full [primer-css][primer] repository.
9 |
10 | ## Documentation
11 |
12 |
16 |
17 | Documentation & refactor coming very soon
18 |
19 |
20 |
21 | ## Install
22 |
23 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-page-sections` with this command.
24 |
25 | ```
26 | $ npm install --save primer-page-sections
27 | ```
28 |
29 | ## Usage
30 |
31 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
32 |
33 | ```scss
34 | @import "primer-page-sections/index.scss";
35 | ```
36 |
37 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
38 |
39 | ## Build
40 |
41 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
42 |
43 | ```
44 | $ npm run build
45 | ```
46 |
47 | ## License
48 |
49 | MIT © [GitHub](https://github.com/)
50 |
51 | [primer]: https://github.com/primer/primer
52 | [primer-support]: https://github.com/primer/primer-support
53 | [support]: https://github.com/primer/primer-support
54 | [docs]: http://primercss.io/
55 | [npm]: https://www.npmjs.com/
56 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
57 | [sass]: http://sass-lang.com/
58 |
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/build/build.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url("/static/fonts/roboto/roboto-light.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url("/static/fonts/roboto/roboto-regular.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url("/static/fonts/roboto/roboto-medium.woff") format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url("/static/fonts/roboto/roboto-italic.woff") format("woff")}.page-section{padding:32px 0;margin-top:0}@media (min-width: 768px){.page-section{padding:56px 0}}.page-section-jumplink:target{padding-top:112px}@media (min-width: 768px){.page-section-jumplink:target{padding-top:80px}}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":917,"gzipSize":294,"humanizedSize":"917B","humanizedGzipSize":"294B","rules":{"total":4,"size":{"graph":[2,1,1,1],"max":2,"average":1.25}},"selectors":{"total":4,"type":0,"class":4,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".page-section",".page-section",".page-section-jumplink:target",".page-section-jumplink:target"],"specificity":{"max":20,"average":15}},"declarations":{"total":5,"unique":5,"properties":{"padding":["32px 0","56px 0"],"margin-top":["0"],"padding-top":["112px","80px"]}},"mediaQueries":{"total":2,"unique":1,"values":["(min-width: 768px)","(min-width: 768px)"],"contents":[{"value":"(min-width: 768px)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".page-section"],"specificity":{"max":10,"average":10}},"declarations":{"total":1,"unique":1,"properties":{"padding":["56px 0"]}}},{"value":"(min-width: 768px)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1}},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":1,"pseudoElement":0,"values":[".page-section-jumplink:target"],"specificity":{"max":20,"average":20}},"declarations":{"total":1,"unique":1,"properties":{"padding-top":["80px"]}}}]}}}
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/index.scss:
--------------------------------------------------------------------------------
1 | // support files
2 | @import "primer-support/index.scss";
3 | @import "primer-marketing-support/index.scss";
4 | @import "./lib/page-section.scss";
5 |
--------------------------------------------------------------------------------
/node_modules/primer-page-sections/lib/page-section.scss:
--------------------------------------------------------------------------------
1 | // Styles for page sections
2 | .page-section {
3 | padding: $spacer-5 0;
4 | margin-top: 0;
5 |
6 | @include breakpoint(md) {
7 | padding: $spacer-6 + $spacer-3 0;
8 | }
9 | }
10 |
11 | // Adds a little extra headroom for sections linked to via in-page anchor links
12 | .page-section-jumplink:target {
13 | padding-top: ($spacer-6 * 2) + $spacer-5;
14 |
15 | @include breakpoint(md) {
16 | padding-top: $spacer-6 * 2;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/node_modules/primer-product/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # 1.0.0
2 |
3 | - Grouping primer modules into product
4 |
--------------------------------------------------------------------------------
/node_modules/primer-product/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-product/README.md:
--------------------------------------------------------------------------------
1 | # Primer product
2 |
3 | [](https://www.npmjs.org/package/primer-product)
4 | [](https://travis-ci.org/primer/primer-product)
5 |
6 | > Primer product is the product based modules of the primer framework. Shared between our product and marketing pages.
7 |
8 | This repository is a compilation of [several CSS modules](https://github.com/primer). You can break it down into smaller sections using npm.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-css` with this command. **You must have npm >=3.0 installed to be able to satisfy the dependency paths**
13 |
14 | ```
15 | $ npm install --save primer-core
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-core/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 | You can read more about primer in the [docs][docs].
39 |
40 | ## License
41 |
42 | [MIT](./LICENSE) © [GitHub](https://github.com/)
43 |
44 | [primer]: https://github.com/primer/primer
45 | [docs]: http://primercss.io/
46 | [npm]: https://www.npmjs.com/
47 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
48 | [sass]: http://sass-lang.com/
49 |
--------------------------------------------------------------------------------
/node_modules/primer-product/index.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Primer-product
3 | * http://primercss.io
4 | *
5 | * Released under MIT license. Copyright 2015 GitHub, Inc.
6 | */
7 |
8 | // Primer master file
9 | //
10 | // Imports all Primer files in their intended order for easy mass-inclusion.
11 | // Should you need specific files, you can easily use separate `@import`s.
12 |
13 | // Global requirements
14 | @import "primer-support/index.scss";
15 | @import "primer-alerts/index.scss";
16 | @import "primer-avatars/index.scss";
17 | @import "primer-blankslate/index.scss";
18 | @import "primer-markdown/index.scss";
19 | @import "primer-states/index.scss";
20 |
--------------------------------------------------------------------------------
/node_modules/primer-states/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-states/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS States
2 |
3 | [](https://www.npmjs.org/package/primer-states)
4 | [](https://travis-ci.org/primer/states)
5 |
6 | > States, or state indicators, inform users of the current status of a particular item. Included common states are Open, Closed, or Merged, each requiring it’s own modifier class.
7 |
8 | This repository is a module of the full [primer-css][primer-css] repository.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-states` with this command.
13 |
14 | ```
15 | $ npm install --save primer-states
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-states/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 |
42 |
43 | States, or state indicators, inform users of the current status of a particular item. Included common states are Open, Closed, or Merged, each requiring it's own modifier class.
44 |
45 | #### Open (green)
46 |
47 | ```html
48 | Open
49 | Open
50 | Open
51 | ```
52 |
53 | #### Closed (red)
54 |
55 | ```html
56 | Closed
57 | ```
58 |
59 | #### Merged (purple)
60 |
61 | ```html
62 | Merged
63 | ```
64 |
65 |
66 |
67 | ## License
68 |
69 | [MIT](./LICENSE) © [GitHub](https://github.com/)
70 |
71 | [primer-css]: https://github.com/primer/primer
72 | [docs]: http://primercss.io/
73 | [npm]: https://www.npmjs.com/
74 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
75 | [sass]: http://sass-lang.com/
76 |
--------------------------------------------------------------------------------
/node_modules/primer-states/build/build.css:
--------------------------------------------------------------------------------
1 | .state{display:inline-block;padding:4px 8px;font-weight:600;line-height:20px;color:#fff;text-align:center;background-color:#999;border-radius:3px}.state-open,.state-proposed,.state-reopened{background-color:#6cc644}.state-merged{background-color:#6e5494}.state-closed{background-color:#bd2c00}.state-renamed{background-color:#fffa5d}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-states/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":334,"gzipSize":201,"humanizedSize":"334B","humanizedGzipSize":"201B","rules":{"total":5,"size":{"graph":[8,1,1,1,1],"max":8,"average":2.4}},"selectors":{"total":7,"type":0,"class":7,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".state",".state-open",".state-proposed",".state-reopened",".state-merged",".state-closed",".state-renamed"],"specificity":{"max":10,"average":10}},"declarations":{"total":12,"unique":12,"properties":{"display":["inline-block"],"padding":["4px 8px"],"font-weight":["600"],"line-height":["20px"],"color":["#fff"],"text-align":["center"],"background-color":["#999","#6cc644","#6e5494","#bd2c00","#fffa5d"],"border-radius":["3px"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-states/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/states.scss";
3 |
--------------------------------------------------------------------------------
/node_modules/primer-states/lib/states.scss:
--------------------------------------------------------------------------------
1 | // A rounded corner box containing a label "open" or "closed"
2 | // Without a state it is grey.
3 | //
4 | // open - $green background
5 | // reopened - $green background
6 | // closed - $red background
7 | // merged - $purple background
8 | // renamed - $orange background
9 | //
10 | // No styleguide reference
11 | .state {
12 | display: inline-block;
13 | padding: 4px 8px;
14 | font-weight: $font-weight-bold;
15 | line-height: 20px;
16 | color: $text-white;
17 | text-align: center;
18 | background-color: $gray-light;
19 | border-radius: 3px;
20 | }
21 |
22 | .state-open,
23 | .state-proposed,
24 | .state-reopened {
25 | background-color: $bg-green;
26 | }
27 |
28 | .state-merged { background-color: $bg-purple; }
29 |
30 | .state-closed { background-color: $bg-red; }
31 |
32 | .state-renamed { background-color: $status-renamed; }
33 |
--------------------------------------------------------------------------------
/node_modules/primer-support/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-support/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS Support
2 |
3 | [](https://www.npmjs.org/package/primer-support)
4 | [](https://travis-ci.org/primer/support)
5 |
6 | > Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.
7 | >
8 | > Most of the time to include these you'll only need to add `@import "support/support";` to the top of your bundle. If you want only a specific partial you can import them separately.
9 |
10 | This repository is a module of the full [primer-css][primer] repository.
11 |
12 | ## Install
13 |
14 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-support` with this command.
15 |
16 | ```
17 | $ npm install --save primer-support
18 | ```
19 |
20 | ## Usage
21 |
22 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
23 |
24 | ```scss
25 | @import "primer-support/index.scss";
26 | ```
27 |
28 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
29 |
30 | ## Documentation
31 |
32 | You can read more about support in the [docs][docs].
33 |
34 | ## License
35 |
36 | [MIT](./LICENSE) © [GitHub](https://github.com/)
37 |
38 | [primer]: https://github.com/primer/primer
39 | [docs]: http://primercss.io/
40 | [npm]: https://www.npmjs.com/
41 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
42 | [sass]: http://sass-lang.com/
43 |
--------------------------------------------------------------------------------
/node_modules/primer-support/index.scss:
--------------------------------------------------------------------------------
1 | // variables
2 | @import "./lib/variables.scss";
3 |
4 | // mixins
5 | @import "./lib/mixins/typography.scss";
6 | @import "./lib/mixins/layout.scss";
7 | @import "./lib/mixins/buttons.scss";
8 | @import "./lib/mixins/misc.scss";
9 |
--------------------------------------------------------------------------------
/node_modules/primer-support/lib/mixins/layout.scss:
--------------------------------------------------------------------------------
1 | // Responsive media queries
2 |
3 | @mixin breakpoint($breakpoint) {
4 | // Retrieves the value from the key
5 | $value: map-get($breakpoints, $breakpoint);
6 |
7 | // If the key exists in the map
8 | @if $value != null {
9 | // Prints a media query based on the value
10 | @media (min-width: $value) {
11 | @content;
12 | }
13 | }
14 |
15 | // If the key doesn't exist in the map
16 | @else {
17 | @warn "Unfortunately, no value could be retrieved from `#{$breakpoint}`. "
18 | + "Please make sure it is defined in `$breakpoints` map.";
19 | }
20 | }
21 |
22 | // Retina media query
23 |
24 | @mixin retina-media-query {
25 | @media
26 | only screen and (-webkit-min-device-pixel-ratio: 2),
27 | only screen and (min--moz-device-pixel-ratio: 2),
28 | only screen and (-moz-min-device-pixel-ratio: 2),
29 | only screen and (-o-min-device-pixel-ratio: 2/1),
30 | only screen and (min-device-pixel-ratio: 2),
31 | only screen and (min-resolution: 192dpi),
32 | only screen and (min-resolution: 2dppx) {
33 | @content;
34 | }
35 | }
36 |
37 | // Clearfix
38 | //
39 | // Clears floats via mixin.
40 |
41 | @mixin clearfix {
42 | &::before {
43 | display: table;
44 | content: "";
45 | }
46 |
47 | &::after {
48 | display: table;
49 | clear: both;
50 | content: "";
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/node_modules/primer-support/lib/mixins/misc.scss:
--------------------------------------------------------------------------------
1 | // Generate a two-color caret for any element.
2 | @mixin double-caret($foreground: #fff, $background: #ddd) {
3 | &::after,
4 | &::before {
5 | position: absolute;
6 | top: 11px;
7 | right: 100%;
8 | left: -16px;
9 | display: block;
10 | width: 0;
11 | height: 0;
12 | pointer-events: none;
13 | content: " ";
14 | border-color: transparent;
15 | border-style: solid solid outset;
16 | }
17 |
18 | &::after {
19 | margin-top: 1px;
20 | margin-left: 2px;
21 | border-width: 7px;
22 | border-right-color: $foreground;
23 | }
24 |
25 | &::before {
26 | border-width: 8px;
27 | border-right-color: $background;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/node_modules/primer-support/lib/mixins/typography.scss:
--------------------------------------------------------------------------------
1 | // Text hiding for image based text replacement.
2 | // Higher performance than -9999px because it only renders
3 | // the size of the actual text, not a full 9999px box.
4 | @mixin hide-text() {
5 | overflow: hidden;
6 | text-indent: 100%;
7 | white-space: nowrap;
8 | }
9 |
10 | // Heading mixins for use within components
11 | // These match heading utilities in utilities/typography
12 | @mixin h1 {
13 | font-size: $h1-size;
14 | font-weight: $font-weight-bold;
15 | }
16 |
17 | @mixin h2 {
18 | font-size: $h2-size;
19 | font-weight: $font-weight-bold;
20 | }
21 |
22 | @mixin h3 {
23 | font-size: $h3-size;
24 | font-weight: $font-weight-bold;
25 | }
26 |
27 | @mixin h4 {
28 | font-size: $h4-size;
29 | font-weight: $font-weight-bold;
30 | }
31 |
32 | @mixin h5 {
33 | font-size: $h5-size;
34 | font-weight: $font-weight-bold;
35 | }
36 |
37 | @mixin h6 {
38 | font-size: $h6-size;
39 | font-weight: $font-weight-bold;
40 | }
41 |
42 | // Responsive heading mixins
43 | // There are no responsive mixins for h5 and h6 because they are small
44 | // and don't need to be smaller on mobile.
45 | @mixin h1-reponsive {
46 | font-size: 26px;
47 | font-weight: $font-weight-bold;
48 |
49 | // Up to 32px in future
50 | @include breakpoint(md) { font-size: 30px; }
51 |
52 | }
53 |
54 | @mixin h2-responsive {
55 | font-size: 20px;
56 | font-weight: $font-weight-bold;
57 |
58 | // Up to 22px or 24px in future
59 | @include breakpoint(md) { font-size: 21px; }
60 | }
61 |
62 | @mixin h3-responsive {
63 | font-size: 14px;
64 | font-weight: $font-weight-bold;
65 |
66 | @include breakpoint(md) { font-size: 16px; }
67 |
68 | }
69 |
70 | @mixin h4-responsive {
71 | font-size: 13px;
72 | font-weight: $font-weight-bold;
73 |
74 | @include breakpoint(md) { font-size: 14px; }
75 |
76 | }
77 |
--------------------------------------------------------------------------------
/node_modules/primer-table-object/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-table-object/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS table object
2 |
3 | [](https://www.npmjs.org/package/primer-table-object)
4 | [](https://travis-ci.org/primer/table-object)
5 |
6 | > Table object is a module for creating dynamically resizable elements that always sit on the same horizontal line (e.g., they never break to a new line). Using table styles in our CSS means it’s cross browser friendly back to at least IE9.
7 |
8 | This repository is a module of the full [primer-css][primer-css] repository.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-table-object` with this command.
13 |
14 | ```
15 | $ npm install --save primer-table-object
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-table-object/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 |
43 |
44 | The table object is a module for creating dynamically resizable elements that always sit on the same horizontal line (e.g., they never break to a new line). Using table styles in our CSS means it's cross browser friendly back to at least IE9.
45 |
46 | Additional `margin` or `padding` may be required to properly space content.
47 |
48 | ```html
49 |
50 |
51 |
52 |
53 |
54 | Button
55 |
56 |
57 | ```
58 |
59 |
60 |
61 | ## License
62 |
63 | [MIT](./LICENSE) © [GitHub](https://github.com/)
64 |
65 | [primer-css]: https://github.com/primer/primer
66 | [docs]: http://primercss.io/
67 | [npm]: https://www.npmjs.com/
68 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
69 | [sass]: http://sass-lang.com/
70 |
--------------------------------------------------------------------------------
/node_modules/primer-table-object/build/build.css:
--------------------------------------------------------------------------------
1 | .TableObject{display:table}.TableObject-item{display:table-cell;width:1%;white-space:nowrap;vertical-align:middle}.TableObject-item--primary{width:99%}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-table-object/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":152,"gzipSize":123,"humanizedSize":"152B","humanizedGzipSize":"123B","rules":{"total":3,"size":{"graph":[1,4,1],"max":4,"average":2}},"selectors":{"total":3,"type":0,"class":3,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".TableObject",".TableObject-item",".TableObject-item--primary"],"specificity":{"max":10,"average":10}},"declarations":{"total":6,"unique":6,"properties":{"display":["table","table-cell"],"width":["1%","99%"],"white-space":["nowrap"],"vertical-align":["middle"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-table-object/index.scss:
--------------------------------------------------------------------------------
1 | @import "./lib/table-object.scss";
2 |
--------------------------------------------------------------------------------
/node_modules/primer-table-object/lib/table-object.scss:
--------------------------------------------------------------------------------
1 | // TableObject is a module for creating dynamically resizable elements that
2 | // always sit on the same horizontal line (e.g., they never wrap). Using
3 | // tables means it's cross browser friendly.
4 |
5 | .TableObject {
6 | display: table;
7 | }
8 |
9 | // Place this on every "cell"
10 | .TableObject-item {
11 | display: table-cell;
12 | width: 1%;
13 | white-space: nowrap;
14 | vertical-align: middle;
15 | }
16 |
17 | // Place this on the largest or most important "cell"
18 | .TableObject-item--primary {
19 | width: 99%;
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/primer-tables/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # v0.1.1
2 |
3 | * bumping the version - Jon Rohan [github/github@4a72b25](https://github.com/github/github/commit/4a72b25)
4 | * Pointing main js file to build - Jon Rohan [github/github@3575651](https://github.com/github/github/commit/3575651)
5 | * don't change the versions yet - Jon Rohan [github/github@6bebcff](https://github.com/github/github/commit/6bebcff)
6 | * Bumping version - Jon Rohan [github/github@df8b91c](https://github.com/github/github/commit/df8b91c)
7 | * Cleaning up devDependencies versions and simplifying npm scripts - Jon Rohan [github/github@2c42571](https://github.com/github/github/commit/2c42571)
8 | * Sorting and table objects. We also don't need homepage - Jon Rohan [github/github@798629d](https://github.com/github/github/commit/798629d)
9 | * Removing duplicate headers - Jon Rohan [github/github@225cee1](https://github.com/github/github/commit/225cee1)
10 |
11 | # v0.1.0
12 |
13 | * Rename repository with prefix primer- - Jon Rohan [github/github@ec8774a](https://github.com/github/github/commit/ec8774a)
14 | * Fix broken paths - Patrick Marsceill [github/github@b5dc395](https://github.com/github/github/commit/b5dc395)
15 | * Update the names in the README files - Patrick Marsceill [github/github@75fed58](https://github.com/github/github/commit/75fed58)
16 | * Update names for npm publising - Patrick Marsceill [github/github@451f97a](https://github.com/github/github/commit/451f97a)
17 | * Fix import path across all scss files - Patrick Marsceill [github/github@a566f31](https://github.com/github/github/commit/a566f31)
18 | * Linting - Patrick Marsceill [github/github@987f2ad](https://github.com/github/github/commit/987f2ad)
19 | * Add type & tables to docs - Sophie Shepherd [github/github@31ff53f](https://github.com/github/github/commit/31ff53f)
20 | * Fix variable collisions and add basecoat to site to test sass compilation errors - Patrick Marsceill [github/github@c73eee3](https://github.com/github/github/commit/c73eee3)
21 | * Remove basecoat - Patrick Marsceill [github/github@1b1503d](https://github.com/github/github/commit/1b1503d)
22 | * prefix bc => marketing - Patrick Marsceill [github/github@04d509a](https://github.com/github/github/commit/04d509a)
23 | * pull in ye olde basecoat files from branch - Patrick Marsceill [github/github@09d47e9](https://github.com/github/github/commit/09d47e9)
--------------------------------------------------------------------------------
/node_modules/primer-tables/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-tables/README.md:
--------------------------------------------------------------------------------
1 | # Primer Marketing CSS Tables
2 |
3 | [](https://www.npmjs.org/package/primer-tables)
4 | [](https://travis-ci.org/primer/primer-tables)
5 |
6 | > Styles to display tabular data for marketing websites at GitHub.
7 |
8 | This repository is a module of the full [primer-css][primer] repository.
9 |
10 | ## Documentation
11 |
12 |
16 |
17 | Documentation & refactor coming very soon
18 |
19 |
20 |
21 | ## Install
22 |
23 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-tables` with this command.
24 |
25 | ```
26 | $ npm install --save primer-tables
27 | ```
28 |
29 | ## Usage
30 |
31 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
32 |
33 | ```scss
34 | @import "primer-tables/index.scss";
35 | ```
36 |
37 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
38 |
39 | ## Build
40 |
41 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
42 |
43 | ```
44 | $ npm run build
45 | ```
46 |
47 | ## License
48 |
49 | MIT © [GitHub](https://github.com/)
50 |
51 | [primer]: https://github.com/primer/primer
52 | [primer-support]: https://github.com/primer/primer-support
53 | [support]: https://github.com/primer/primer-support
54 | [docs]: http://primercss.io/
55 | [npm]: https://www.npmjs.com/
56 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
57 | [sass]: http://sass-lang.com/
58 |
--------------------------------------------------------------------------------
/node_modules/primer-tables/build/build.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url("/static/fonts/roboto/roboto-light.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url("/static/fonts/roboto/roboto-regular.woff") format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url("/static/fonts/roboto/roboto-medium.woff") format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url("/static/fonts/roboto/roboto-italic.woff") format("woff")}.data-table{width:100%;margin-top:16px;border-collapse:collapse;border:1px #e5e5e5 solid;box-shadow:0 1px 1px rgba(0,0,0,0.05)}.data-table th{font-weight:400;text-align:left}.data-table td,.data-table th{padding:16px;border-right:1px #e5e5e5 solid;border-bottom:1px #e5e5e5 solid}.data-table tbody th{width:25%}.data-table tbody th,.data-table tbody td{border-bottom-color:#f5f5f5}.data-table tbody tr:last-child th,.data-table tbody tr:last-child td{border-bottom:1px #e5e5e5 solid}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-tables/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":1180,"gzipSize":372,"humanizedSize":"1kB","humanizedGzipSize":"372B","rules":{"total":6,"size":{"graph":[5,2,3,1,1,1],"max":5,"average":2.1666666666666665}},"selectors":{"total":9,"type":8,"class":9,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".data-table",".data-table th",".data-table td",".data-table th",".data-table tbody th",".data-table tbody th",".data-table tbody td",".data-table tbody tr:last-child th",".data-table tbody tr:last-child td"],"specificity":{"max":23,"average":13.88888888888889}},"declarations":{"total":13,"unique":12,"properties":{"width":["100%","25%"],"margin-top":["16px"],"border-collapse":["collapse"],"border":["1px #e5e5e5 solid"],"box-shadow":["0 1px 1px rgba(0,0,0,0.05)"],"font-weight":["400"],"text-align":["left"],"padding":["16px"],"border-right":["1px #e5e5e5 solid"],"border-bottom":["1px #e5e5e5 solid","1px #e5e5e5 solid"],"border-bottom-color":["#f5f5f5"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-tables/index.scss:
--------------------------------------------------------------------------------
1 | // support files
2 | @import "primer-support/index.scss";
3 | @import "primer-marketing-support/index.scss";
4 | @import "./lib/tables.scss";
5 |
--------------------------------------------------------------------------------
/node_modules/primer-tables/lib/tables.scss:
--------------------------------------------------------------------------------
1 | // stylelint-disable selector-no-type, selector-max-compound-selectors
2 |
3 | .data-table {
4 | width: 100%;
5 | margin-top: $spacer-3;
6 | border-collapse: collapse;
7 | border: $border;
8 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
9 |
10 | th {
11 | font-weight: 400;
12 | text-align: left;
13 | }
14 |
15 | td,
16 | th {
17 | padding: $spacer-3;
18 | border-right: $border;
19 | border-bottom: $border;
20 | }
21 |
22 | tbody {
23 | th {
24 | width: 25%;
25 | }
26 |
27 | th,
28 | td {
29 | border-bottom-color: $marketing-gray-light;
30 | }
31 |
32 | tr:last-child {
33 | th,
34 | td {
35 | border-bottom: $border;
36 | }
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/node_modules/primer-tooltips/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-tooltips/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | @import "./lib/tooltips.scss";
3 |
--------------------------------------------------------------------------------
/node_modules/primer-truncate/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-truncate/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS Truncate
2 |
3 | [](https://www.npmjs.org/package/primer-truncate)
4 | [](https://travis-ci.org/primer/truncate)
5 |
6 | > .css-truncate will shorten text with an ellipsis. The maximum width of the truncated text can be changed by overriding the max-width of the .css-truncate-target.
7 |
8 | This repository is a module of the full [primer-css][primer-css] repository.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-truncate` with this command.
13 |
14 | ```
15 | $ npm install --save primer-truncate
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-truncate/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 |
42 |
43 | `.css-truncate` will shorten text with an ellipsis. The maximum width of the truncated text can be changed by overriding the max-width of `.css-truncate-target`. Unless the full text is so long that it affects performace, always add `title` to the truncated element so the full text can still be seen.
44 |
45 | ```html
46 |
47 | really-long-branch-name
48 |
49 | ```
50 |
51 | You can reveal the entire string on hover with the addition of `.expandable`.
52 |
53 | ```html
54 |
55 | this-is-a-really-long-branch-name
56 |
57 | ```
58 |
59 |
60 | ## License
61 |
62 | [MIT](./LICENSE) © [GitHub](https://github.com/)
63 |
64 | [primer-css]: https://github.com/primer/primer
65 | [docs]: http://primercss.io/
66 | [npm]: https://www.npmjs.com/
67 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
68 | [sass]: http://sass-lang.com/
69 |
--------------------------------------------------------------------------------
/node_modules/primer-truncate/build/build.css:
--------------------------------------------------------------------------------
1 | .css-truncate.css-truncate-target,.css-truncate .css-truncate-target{display:inline-block;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable:hover.css-truncate-target{max-width:10000px !important}
2 |
--------------------------------------------------------------------------------
/node_modules/primer-truncate/build/index.js:
--------------------------------------------------------------------------------
1 | module.exports = {"cssstats":{"size":453,"gzipSize":196,"humanizedSize":"453B","humanizedGzipSize":"196B","rules":{"total":2,"size":{"graph":[6,1],"max":6,"average":3.5}},"selectors":{"total":6,"type":0,"class":6,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".css-truncate.css-truncate-target",".css-truncate .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",".css-truncate.expandable:hover .css-truncate-target",".css-truncate.expandable:hover.css-truncate-target"],"specificity":{"max":40,"average":33.333333333333336}},"declarations":{"total":7,"unique":7,"properties":{"display":["inline-block"],"max-width":["125px","10000px"],"overflow":["hidden"],"text-overflow":["ellipsis"],"white-space":["nowrap"],"vertical-align":["top"]}},"mediaQueries":{"total":0,"unique":0,"values":[],"contents":[]}}}
--------------------------------------------------------------------------------
/node_modules/primer-truncate/index.scss:
--------------------------------------------------------------------------------
1 | @import "./lib/truncate.scss";
2 |
--------------------------------------------------------------------------------
/node_modules/primer-truncate/lib/truncate.scss:
--------------------------------------------------------------------------------
1 | // Truncate
2 | //
3 | // css-truncate will shorten text with an ellipsis.
4 |
5 | .css-truncate {
6 | // Truncate double target
7 | //
8 | // css-truncate will shorten text with an ellipsis. The maximum width
9 | // of the truncated text can be changed by overriding the max-width
10 | // of the .css-truncate-target
11 | &.css-truncate-target,
12 | .css-truncate-target {
13 | display: inline-block;
14 | max-width: 125px;
15 | overflow: hidden;
16 | text-overflow: ellipsis;
17 | white-space: nowrap;
18 | vertical-align: top;
19 | }
20 |
21 | &.expandable.zeroclipboard-is-hover .css-truncate-target,
22 | &.expandable.zeroclipboard-is-hover.css-truncate-target,
23 | &.expandable:hover .css-truncate-target,
24 | &.expandable:hover.css-truncate-target {
25 | max-width: 10000px !important;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/node_modules/primer-utilities/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 GitHub Inc.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/node_modules/primer-utilities/README.md:
--------------------------------------------------------------------------------
1 | # Primer CSS Utilities
2 |
3 | [](https://www.npmjs.org/package/primer-utilities)
4 | [](https://travis-ci.org/primer/utilities)
5 |
6 | > There are a handful of utilities in Primer for quick behaviors, floats, colors, alignment, and more.
7 |
8 | This repository is a module of the full [primer-css][primer-css] repository.
9 |
10 | ## Install
11 |
12 | This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-utilities` with this command.
13 |
14 | ```
15 | $ npm install --save primer-utilities
16 | ```
17 |
18 | ## Usage
19 |
20 | The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
21 |
22 | ```scss
23 | @import "primer-utilities/index.scss";
24 | ```
25 |
26 | You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
27 |
28 | ## Build
29 |
30 | For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.
31 |
32 | ```
33 | $ npm run build
34 | ```
35 |
36 | ## Documentation
37 |
38 | You can read more about utilities in the [docs folder](./docs/).
39 |
40 | ## License
41 |
42 | [MIT](./LICENSE) © [GitHub](https://github.com/)
43 |
44 | [primer-css]: https://github.com/primer/primer
45 | [docs]: http://primercss.io/
46 | [npm]: https://www.npmjs.com/
47 | [install-npm]: https://docs.npmjs.com/getting-started/installing-node
48 | [sass]: http://sass-lang.com/
49 |
--------------------------------------------------------------------------------
/node_modules/primer-utilities/index.scss:
--------------------------------------------------------------------------------
1 | @import "primer-support/index.scss";
2 | // utilities
3 | @import "./lib/animations.scss";
4 | @import "./lib/borders.scss";
5 | @import "./lib/box-shadow.scss";
6 | @import "./lib/colors.scss";
7 | @import "./lib/flexbox.scss";
8 | @import "./lib/layout.scss";
9 | @import "./lib/margin.scss";
10 | @import "./lib/padding.scss";
11 | @import "./lib/typography.scss";
12 | // Visibility and display should always come last in the imports so that they override other utilities with !important
13 | @import "./lib/visibility-display.scss";
14 |
--------------------------------------------------------------------------------
/node_modules/primer-utilities/lib/borders.scss:
--------------------------------------------------------------------------------
1 | // Border utilities
2 | // stylelint-disable block-opening-brace-space-before, primer/selector-no-utility, comment-empty-line-before
3 |
4 | /* Add a gray border */
5 | .border { border: $border !important; }
6 | /* Add a gray border to the top */
7 | .border-top { border-top: $border !important; }
8 | /* Add a gray border to the right */
9 | .border-right { border-right: $border !important; }
10 | /* Add a gray border to the bottom */
11 | .border-bottom { border-bottom: $border !important; }
12 | /* Add a gray border to the left */
13 | .border-left { border-left: $border !important; }
14 | /* Add a gray border to the left and right */
15 | .border-y {
16 | border-top: $border !important;
17 | border-bottom: $border !important;
18 | }
19 |
20 | .border-dashed { border-style: dashed !important; }
21 |
22 | /* Use with .border to turn the border blue */
23 | .border-blue { border-color: $border-blue !important; }
24 | /* Use with .border to turn the border blue */
25 | .border-blue-dark { border-color: $border-blue-dark !important; }
26 | /* Use with .border to turn the border red */
27 | .border-red { border-color: $border-red !important; }
28 | /* Use with .border to turn the border red */
29 | .border-red-dark { border-color: $border-red-dark !important; }
30 | /* Use with .border to turn the border gray-light */
31 | .border-gray-light { border-color: $border-gray-light !important; }
32 | /* Use with .border to turn the border gray-dark */
33 | .border-gray-dark { border-color: $border-gray-dark !important; }
34 |
35 | // Without borders
36 | /* Remove all borders */
37 | .border-0 { border: 0 !important; }
38 | /* Remove the top border */
39 | .border-top-0 { border-top: 0 !important; }
40 | /* Remove the right border */
41 | .border-right-0 { border-right: 0 !important; }
42 | /* Remove the bottom border */
43 | .border-bottom-0 { border-bottom: 0 !important; }
44 | /* Remove the left border */
45 | .border-left-0 { border-left: 0 !important; }
46 |
47 | // Rounded corners
48 | /* Remove the border-radius */
49 | .rounded-0 { border-radius: 0 !important; }
50 | /* Add a border-radius to all corners */
51 | .rounded-1 { border-radius: $border-radius !important; }
52 | /* Add a 2x border-radius to all corners */
53 | .rounded-2 { border-radius: $border-radius * 2 !important; }
54 |
--------------------------------------------------------------------------------
/node_modules/primer-utilities/lib/box-shadow.scss:
--------------------------------------------------------------------------------
1 | // Box shadow utilities
2 | // stylelint-disable primer/selector-no-utility
3 |
4 | // Box shadows
5 |
6 | .box-shadow {
7 | box-shadow: $box-shadow !important;
8 | }
9 |
10 | .box-shadow-medium {
11 | box-shadow: $box-shadow-medium !important;
12 | }
13 |
14 | .box-shadow-large {
15 | box-shadow: $box-shadow-large !important;
16 | }
17 |
18 | // Turn off box shadow
19 |
20 | .box-shadow-none {
21 | box-shadow: none !important;
22 | }
23 |
--------------------------------------------------------------------------------
/node_modules/primer-utilities/lib/visibility-display.scss:
--------------------------------------------------------------------------------
1 | // Visibility and display utilities
2 | // stylelint-disable block-opening-brace-space-after, block-opening-brace-space-before, primer/selector-no-utility
3 | // stylelint-disable comment-empty-line-before
4 |
5 | // Visibility utilities
6 | /* Visibility hidden */
7 | .v-hidden { visibility: hidden !important; }
8 | /* Visibility visible */
9 | .v-visible { visibility: visible !important; }
10 |
11 | // Display utilites
12 | /* Set the display to table */
13 | .d-table { display: table !important; }
14 | /* Set the display to table-cell */
15 | .d-table-cell { display: table-cell !important; }
16 | /* Set the table-layout to fixed */
17 | .table-fixed { table-layout: fixed !important; }
18 |
19 | /* Set the display to block */
20 | .d-block { display: block !important; }
21 | /* Set the display to inline */
22 | .d-inline { display: inline !important; }
23 | /* Set the display to inline-block */
24 | .d-inline-block { display: inline-block !important; }
25 | /* Set the display to none */
26 | .d-none { display: none !important; }
27 |
28 | // Responsive display utlities
29 | // .d-sm-none, .d-lg-inline, ...
30 | @each $breakpoint in map-keys($breakpoints) {
31 | @include breakpoint($breakpoint) {
32 | /* Set the display to table at the #{$breakpoint} breakpoint */
33 | .d-#{$breakpoint}-table { display: table !important; }
34 | /* Set the display to table cell at the #{$breakpoint} breakpoint */
35 | .d-#{$breakpoint}-table-cell { display: table-cell !important; }
36 | /* Set the display to block at the #{$breakpoint} breakpoint */
37 | .d-#{$breakpoint}-block { display: block !important; }
38 | /* Set the display to inline at the #{$breakpoint} breakpoint */
39 | .d-#{$breakpoint}-inline { display: inline !important; }
40 | /* Set the display to inline block at the #{$breakpoint} breakpoint */
41 | .d-#{$breakpoint}-inline-block { display: inline-block !important; }
42 | /* Set the display to none at the #{$breakpoint} breakpoint */
43 | .d-#{$breakpoint}-none { display: none !important; }
44 | }
45 | }
46 |
47 | // Hide utilities for each breakpoint
48 | // Each hide utility only applies to one breakpoint range.
49 | @media (max-width: $width-sm) {
50 | .hide-sm {
51 | display: none !important;
52 | }
53 | }
54 |
55 | @media (min-width: $width-sm) and (max-width: $width-md) {
56 | .hide-md {
57 | display: none !important;
58 | }
59 | }
60 |
61 | @media (min-width: $width-md) and (max-width: $width-lg) {
62 | .hide-lg {
63 | display: none !important;
64 | }
65 | }
66 |
67 | @media (min-width: $width-lg) {
68 | .hide-xl {
69 | display: none !important;
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "open-source-guide",
3 | "private": true,
4 | "scripts": {
5 | "test": "script/test"
6 | },
7 | "devDependencies": {
8 | "async": "^2.0.0",
9 | "glob": "^7.0.5",
10 | "ignore": "^3.1.3",
11 | "js-yaml": "^3.6.1",
12 | "remark-lint": "^5.0.0",
13 | "remark-parse": "^2.0.0",
14 | "remark-retext": "^2.0.0",
15 | "remark-stringify": "^2.0.0",
16 | "retext-english": "^2.0.0",
17 | "retext-equality": "^2.3.2",
18 | "retext-quotes": "^1.0.0",
19 | "retext-readability": "^3.0.0",
20 | "retext-repeated-words": "^1.0.0",
21 | "retext-sentence-spacing": "^1.0.0",
22 | "retext-simplify": "^3.0.0",
23 | "retext-words": "bkeepers/retext-words",
24 | "to-vfile": "^2.1.0",
25 | "unified": "^5.0.0",
26 | "vfile-reporter": "^3.0.0",
27 | "vfile-statistics": "^1.0.0"
28 | },
29 | "dependencies": {
30 | "primer-css": "^4.7.0"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/script/bootstrap:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 | export CC=gcc
5 |
6 | echo "==> Installing gem dependencies…"
7 | bundle check --path vendor/gems 2>&1 > /dev/null || {
8 | time bundle install --binstubs bin --path vendor/gems
9 | }
10 |
11 | echo "==> Installing node dependencies…"
12 | npm install
13 |
--------------------------------------------------------------------------------
/script/build:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | echo "==> Building the site…"
3 | bundle exec jekyll build $@
4 |
--------------------------------------------------------------------------------
/script/html-proofer:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | require "bundler/setup"
4 | require "html-proofer"
5 |
6 | url_ignores = [
7 | 'https://karissa.github.io/post/okf-de',
8 | 'https://this-week-in-rust.org/',
9 | 'https://www.vagrantup.com/'
10 | ]
11 |
12 | HTMLProofer::Runner.new(["_site"],
13 | :type => :directory,
14 | :url_ignore => url_ignores,
15 | :verbose => !!ENV["VERBOSE"],
16 | :check_html => true
17 | ).run
18 |
--------------------------------------------------------------------------------
/script/server:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | bundle exec jekyll serve --watch --incremental --baseurl ''
6 |
--------------------------------------------------------------------------------
/script/test:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | script/build --config _config.yml,test/_config.yml
6 | bundle exec rake
7 | script/html-proofer
8 | script/test-prose
9 |
--------------------------------------------------------------------------------
/search.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/test/_config.yml:
--------------------------------------------------------------------------------
1 | # Override config for tests
2 | baseurl: ""
3 |
4 | collections:
5 | articles:
6 | output: true
7 | permalink: /:path/
8 |
--------------------------------------------------------------------------------
/test/helper.rb:
--------------------------------------------------------------------------------
1 | require "minitest/autorun"
2 | require "jekyll"
3 |
4 | module Helper
5 | class << self
6 | attr_accessor :config, :site
7 | end
8 | end
9 |
10 | def source
11 | File.expand_path('../', File.dirname(__FILE__))
12 | end
13 |
14 | def config
15 | Helper.config ||= Jekyll.configuration("source" => source)
16 | end
17 |
18 | def docs
19 | (site.pages + site.collections["articles"].docs)
20 | end
21 |
22 | def pages
23 | docs.map { |doc| doc.to_liquid }
24 | end
25 |
26 | def site
27 | Helper.site ||= begin
28 | site = Jekyll::Site.new(config)
29 | site.reset
30 | site.read
31 | site
32 | end
33 | end
34 |
--------------------------------------------------------------------------------
/test/lint_test.rb:
--------------------------------------------------------------------------------
1 | require_relative "./helper"
2 |
3 | describe "lint test" do
4 |
5 | pages.each do |page|
6 | next unless page["path"].match(/\.md$/)
7 |
8 | describe page["path"] do
9 |
10 | describe "frontmatter" do
11 |
12 | before do
13 | # Load raw metadata to skip defaults
14 | @data = SafeYAML.load_file(page["path"])
15 | end
16 |
17 | it "has valid fields" do
18 | assert_valid_fields @data, site.data["fields"]
19 | end
20 | end
21 | end
22 | end
23 |
24 | def assert_valid_fields(data, fields)
25 | extra_fields = data.keys - fields.keys
26 | assert extra_fields.empty?, "Unexpected metadata: #{extra_fields.inspect}"
27 |
28 | fields.each do |name, attrs|
29 | if attrs["required"]
30 | assert data.key?(name), "#{name} is required"
31 | end
32 |
33 | if attrs["type"] && @data[name]
34 | assert_kind_of Kernel.const_get(attrs["type"]), @data[name]
35 | end
36 |
37 | # Check subfields
38 | if attrs["fields"] && @data[name]
39 | @data[name].each do |d|
40 | assert_valid_fields(d, attrs["fields"])
41 | end
42 | end
43 | end
44 | end
45 | end
46 |
--------------------------------------------------------------------------------