├── .devcontainer └── devcontainer.json ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ └── tests.yml ├── .gitignore ├── .node-version ├── .rubocop.yml ├── .ruby-version ├── CNAME ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── _articles ├── ar │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── bg │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── bn │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── businesses.html ├── de │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── es │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── fa │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── fr │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── index.html ├── it │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── ja │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── ko │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── maintainers.html ├── pl │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── pt │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── ru │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── tr │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── uk │ ├── businesses.html │ ├── index.html │ └── maintainers.html └── zh │ ├── businesses.html │ ├── index.html │ └── maintainers.html ├── _config.yml ├── _data └── locales │ ├── ar.yml │ ├── bg.yml │ ├── bn.yml │ ├── de.yml │ ├── en.yml │ ├── es.yml │ ├── fa.yml │ ├── fr.yml │ ├── hi.yml │ ├── it.yml │ ├── ja.yml │ ├── ko.yml │ ├── pl.yml │ ├── pt.yml │ ├── ru.yml │ ├── tr.yml │ ├── uk.yml │ └── zh.yml ├── _includes ├── chevron-right.html ├── footer.html ├── head.html └── nav.html ├── _layouts ├── businesses.html ├── default.html ├── index.html └── maintainers.html ├── apple-touch-icon.png ├── assets ├── css │ ├── custom.scss │ └── index.scss ├── images │ ├── attract-talent.svg │ ├── automation.svg │ ├── beginners.svg │ ├── best-practices.svg │ ├── building.svg │ ├── contribute.svg │ ├── document-everything.svg │ ├── finding.svg │ ├── get-help.svg │ ├── improve-technology.svg │ ├── leadership.svg │ ├── legal.svg │ ├── logos │ │ ├── comcast.png │ │ ├── facebook.png │ │ ├── github.png │ │ ├── google.png │ │ ├── ibm.png │ │ ├── microsoft.png │ │ ├── salesforce.png │ │ ├── thoughtbot.png │ │ └── travisci.png │ ├── maintainers.svg │ ├── make-habit.svg │ ├── oss-bike.svg │ ├── promote-work.svg │ ├── reduce-overhead.svg │ ├── reduce-workload.svg │ ├── set-aside-time.svg │ ├── set-boundaries.svg │ ├── social-graphic.jpg │ ├── twitter.svg │ └── work-better.svg └── js │ ├── index.js │ ├── jquery.min.js │ └── locale.js ├── favicon.ico ├── hi ├── businesses.html ├── index.html └── maintainers.html ├── index.html ├── node_modules ├── .package-lock.json ├── primer-base │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ ├── base.scss │ │ ├── normalize.scss │ │ └── typography-base.scss │ └── package.json ├── primer-box │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── box.scss │ └── package.json ├── primer-breadcrumb │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── breadcrumb.scss │ └── package.json ├── primer-buttons │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ ├── button-group.scss │ │ └── button.scss │ └── package.json ├── primer-core │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ └── package.json ├── primer-forms │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ ├── form-control.scss │ │ ├── form-group.scss │ │ ├── form-select.scss │ │ ├── form-validation.scss │ │ └── input-group.scss │ └── package.json ├── primer-layout │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── docs │ │ └── grid.md │ ├── index.scss │ ├── lib │ │ ├── columns.scss │ │ ├── container.scss │ │ ├── grid-offset.scss │ │ └── grid.scss │ └── package.json ├── primer-marketing-buttons │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── button.scss │ └── package.json ├── primer-marketing-support │ ├── LICENSE │ ├── README.md │ ├── index.scss │ ├── lib │ │ └── variables.scss │ └── package.json ├── primer-marketing-type │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── typography.scss │ └── package.json ├── primer-marketing-utilities │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── docs │ │ ├── borders.md │ │ ├── filters.md │ │ ├── layout.md │ │ ├── margin.md │ │ └── padding.md │ ├── index.scss │ ├── lib │ │ ├── borders.scss │ │ ├── filters.scss │ │ ├── layout.scss │ │ ├── margin.scss │ │ └── padding.scss │ └── package.json ├── primer-marketing │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ └── package.json ├── primer-navigation │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ ├── filter-list.scss │ │ ├── menu.scss │ │ ├── subnav.scss │ │ ├── tabnav.scss │ │ └── underline-nav.scss │ └── package.json ├── primer-page-headers │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── headers.scss │ └── package.json ├── primer-page-sections │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── page-section.scss │ └── package.json ├── primer-support │ ├── LICENSE │ ├── README.md │ ├── docs │ │ ├── breakpoints.md │ │ ├── color-system.md │ │ ├── spacing.md │ │ └── typography.md │ ├── index.scss │ ├── lib │ │ ├── mixins │ │ │ ├── buttons.scss │ │ │ ├── layout.scss │ │ │ ├── misc.scss │ │ │ └── typography.scss │ │ └── variables │ │ │ ├── color-system.scss │ │ │ ├── colors.scss │ │ │ ├── layout.scss │ │ │ ├── misc.scss │ │ │ └── typography.scss │ └── package.json ├── primer-table-object │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── table-object.scss │ └── package.json ├── primer-tables │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── tables.scss │ └── package.json ├── primer-tooltips │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── tooltips.scss │ └── package.json ├── primer-truncate │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.css │ │ └── index.js │ ├── index.scss │ ├── lib │ │ └── truncate.scss │ └── package.json └── primer-utilities │ ├── LICENSE │ ├── README.md │ ├── build │ ├── build.css │ └── index.js │ ├── docs │ ├── animations.md │ ├── borders.md │ ├── box-shadow.md │ ├── colors.md │ ├── flexbox.md │ ├── layout.md │ ├── margin.md │ ├── padding.md │ └── typography.md │ ├── index.scss │ ├── lib │ ├── animations.scss │ ├── borders.scss │ ├── box-shadow.scss │ ├── colors.scss │ ├── flexbox.scss │ ├── layout.scss │ ├── margin.scss │ ├── padding.scss │ ├── typography.scss │ └── visibility-display.scss │ └── package.json ├── package-lock.json ├── package.json └── script ├── bootstrap ├── build ├── html-proofer ├── server └── test /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "opensource friday", 3 | "image": "mcr.microsoft.com/vscode/devcontainers/jekyll", 4 | "features": { 5 | "ghcr.io/devcontainers/features/node:1": { 6 | "version": "23.3.0" 7 | }, 8 | "ghcr.io/devcontainers/features/ruby:1": { 9 | "version": "3.3.6" 10 | } 11 | }, 12 | "forwardPorts": [4000], 13 | "postCreateCommand": "bundle exec jekyll serve --watch --incremental --baseurl ''" 14 | } 15 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | - [ ] Have you followed the [contributing guidelines](https://github.com/github/opensourcefriday/blob/HEAD/CONTRIBUTING.md)? 2 | - [ ] Have you explained what your changes do, and why they add value? 3 | 4 | **Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.** 5 | 6 | ----- 7 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: npm 4 | directory: "/" 5 | schedule: 6 | interval: weekly 7 | commit-message: 8 | prefix: "chore(deps)" 9 | open-pull-requests-limit: 99 10 | rebase-strategy: disabled 11 | groups: 12 | dependencies: 13 | applies-to: version-updates 14 | update-types: 15 | - "minor" 16 | - "patch" 17 | - package-ecosystem: "github-actions" 18 | directory: "/" 19 | schedule: 20 | interval: weekly 21 | commit-message: 22 | prefix: "chore(deps)" 23 | open-pull-requests-limit: 99 24 | groups: 25 | dependencies: 26 | applies-to: version-updates 27 | update-types: 28 | - "minor" 29 | - "patch" 30 | -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- 1 | name: GitHub Actions CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | 9 | permissions: 10 | contents: read 11 | 12 | jobs: 13 | tests: 14 | runs-on: ubuntu-latest 15 | steps: 16 | - name: Set up Git repository 17 | uses: actions/checkout@v4.2.2 18 | 19 | - name: Set up Ruby 20 | uses: ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb 21 | 22 | - name: Get NodeJS version 23 | run: echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_OUTPUT 24 | id: node_version 25 | 26 | - name: Set up NodeJS 27 | uses: actions/setup-node@v4.4.0 28 | with: 29 | node-version: "${{ steps.node_version.outputs.NODE_VERSION }}" 30 | 31 | - name: Bootstrap 32 | run: script/bootstrap 33 | 34 | - name: Check for uncommitted or incorrect NodeJS modules 35 | run: | 36 | git diff --stat --exit-code node_modules || { 37 | echo '\n\nError: you must commit all NodeJS modules!' 38 | exit 1 39 | } 40 | grep -qr alt-h0 node_modules || { 41 | echo 'Error: Primer NodeJS modules must contain alt-h0!' 42 | exit 1 43 | } 44 | 45 | - name: Run tests 46 | run: script/test 47 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | _site/ 3 | vendor/ 4 | .DS_Store 5 | .bundle 6 | Brewfile.lock.json 7 | Gemfile.lock 8 | .jekyll-metadata 9 | .vscode 10 | .tool-versions 11 | -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 23.3.0 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- 1 | require: 2 | - rubocop-performance 3 | - rubocop-rails 4 | 5 | AllCops: 6 | TargetRubyVersion: 2.7 7 | NewCops: enable 8 | Exclude: 9 | - "**/bin/**/*" 10 | - "**/db/**/*" 11 | - "**/script/setup" 12 | - "**/vendor/**/*" 13 | 14 | Lint/AssignmentInCondition: 15 | Enabled: false 16 | 17 | Metrics/AbcSize: 18 | Enabled: false 19 | 20 | Metrics/ClassLength: 21 | Enabled: false 22 | 23 | Metrics/CyclomaticComplexity: 24 | Enabled: false 25 | 26 | Layout/LineLength: 27 | Max: 80 28 | IgnoredPatterns: ['\A\s*#'] 29 | 30 | Metrics/MethodLength: 31 | Enabled: false 32 | 33 | Metrics/PerceivedComplexity: 34 | Enabled: false 35 | 36 | Style/ClassAndModuleChildren: 37 | Enabled: false 38 | 39 | Style/Documentation: 40 | Enabled: false 41 | 42 | Style/FrozenStringLiteralComment: 43 | Enabled: false 44 | 45 | Style/StringLiterals: 46 | EnforcedStyle: double_quotes 47 | 48 | Style/TrailingCommaInArrayLiteral: 49 | EnforcedStyleForMultiline: consistent_comma 50 | 51 | Style/TrailingCommaInHashLiteral: 52 | EnforcedStyleForMultiline: consistent_comma 53 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 3.3.6 2 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | opensourcefriday.com -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @github/communities-oss-reviewers 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Open Source Friday 2 | 3 | Want to contribute to Open Source Friday? That's great! Here are a couple of guidelines that will help you contribute. Before we get started: Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md) to ensure that this project is a welcoming place for **everyone** to contribute to. By participating in this project you agree to abide by its terms. 4 | 5 | ## Contribution workflow 6 | 7 | * Fork the project. 8 | * Make your feature addition or bug fix. 9 | * Send a pull request. Bonus points for topic branches. 10 | 11 | ## Setup instructions 12 | 13 | You can find instructions to get setup in our [README](README.md#getting-started). 14 | 15 | ## Translation 16 | 17 | * Fork the project. 18 | * Clone your fork to your machine. 19 | * Create a new branch for your translation work. 20 | * Copy `_data/locales/en.yml` to target locale file e.g. `_data/locales/es.yml`. 21 | * Create a new folder in the repository root e.g. `es/`. 22 | * Copy `businesses.html`, `index.html` and `maintainers.html` from the repository root into the new folder e.g. `es/businesses.html` etc. 23 | * Edit the `lang: en` to be the correct language in the new `businesses.html`, `index.html` and `maintainers.html` files e.g. `lang: es` 24 | * Translate messages in new locale file and use `script/server` to verify they are displayed correctly. 25 | * Send a pull request. 26 | 27 | ## Reporting a bug 28 | 29 | So you've found a bug, and want to help us fix it? Before filing a bug report, please double-check the bug hasn't already been reported. You can do so [on our issue tracker](https://github.com/github/opensourcefriday/issues?q=is%3Aissue+is%3Aopen+label%3Abug). If something hasn't been raised, you can go ahead and create a new issue with the following information: 30 | 31 | * On which page did the error happen? 32 | * How can the error be reproduced? 33 | * If possible, please also provide an error message or a screenshot to illustrate the problem 34 | 35 | If you want to be really thorough, there is a great overview on Stack Overflow of [what you should consider when reporting a bug](http://stackoverflow.com/questions/240323/how-to-report-bugs-the-smart-way). 36 | 37 | It goes without saying that you're welcome to help investigate further and/or find a fix for the bug. If you want to do so, just mention it in your bug report and offer your help! 38 | 39 | ## Additional info 40 | 41 | Especially if you're a newcomer to Open Source and you've found some little bumps along the way while contributing, we recommend you write about them. [Here](https://medium.freecodecamp.com/new-contributors-to-open-source-please-blog-more-920af14cffd)'s a great article about why writing about your experience is important; this will encourage other beginners to try their luck at Open Source, too! 42 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "github-pages", "~> 232", group: :jekyll_plugins 4 | 5 | group :development do 6 | gem "webrick" 7 | end 8 | 9 | group :test do 10 | gem "html-proofer" 11 | gem "rake" 12 | end 13 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Open Source Friday contributors 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Open Source Friday 2 | 3 | Open source is made by people just like you. This Friday, invest a few hours contributing to the software you use and love. 4 | 5 | ## What this is 6 | 7 | This repository is the source code for . 8 | 9 | Open Source Friday is a movement to encourage people, companies, and maintainers to contribute a few hours to open source software every Friday. 10 | 11 | Open Source Software (OSS) is the backbone of most software, tools, apps, electronics and more that we use every day. Not only is Open Source Friday about encouraging people to contribute, but it's about encouraging businesses to give back to the software they use by setting aside time for our colleagues to work on OSS on the clock. 12 | 13 | On the website you'll find a number of guides on getting started with open source and being a good maintainer. 14 | 15 | ## Translation 16 | 17 | See [CONTRIBUTING.md#Translation](CONTRIBUTING.md#Translation). 18 | 19 | ## Development 20 | 21 | Source hosted at [GitHub](https://github.com/github/opensourcefriday). 22 | Report issues/feature requests on [GitHub Issues](https://github.com/github/opensourcefriday/issues). 23 | 24 | ### Getting Started 25 | 26 | #### Bootstrapping the Application 27 | 28 | To install all dependencies run: 29 | 30 | ```console 31 | ./script/bootstrap 32 | ``` 33 | 34 | To start up the local Jekyll server run: 35 | 36 | ```console 37 | ./script/server 38 | ``` 39 | 40 | Now point your browser to to view the site. 41 | 42 | ### Devcontainer 43 | 44 | This project includes a `.devcontainer` folder with a `Dockerfile` and `devcontainer.json` to use with [Visual Studio Code Remote - Containers](https://code.visualstudio.com/docs/remote/containers). This will set up a development environment with all the necessary dependencies. 45 | 46 | ### Note on Patches/Pull Requests 47 | 48 | * Fork the project. 49 | * Clone your fork to your machine. 50 | * Create a new branch for your feature/fix. 51 | * Make your feature addition or bug fix. 52 | * Submit a pull request. 53 | 54 | ### Code of Conduct 55 | 56 | Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. 57 | 58 | ## Copyright 59 | 60 | Copyright (c) Open Source Friday contributors. See [LICENSE](https://github.com/github/opensourcefriday/blob/HEAD/LICENSE.txt) for details. 61 | -------------------------------------------------------------------------------- /_articles/ar/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: ar 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ar/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: ar 4 | permalink: /ar/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/ar/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: ar 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/bg/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: bg 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/bg/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: bg 4 | permalink: /bg/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/bg/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: bg 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/bn/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: bn 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/bn/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: bn 4 | permalink: /bn/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/bn/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: bn 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: en 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/de/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: de 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/de/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: de 4 | permalink: /de/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/de/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: de 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/es/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: es 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/es/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: es 4 | permalink: /es/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/es/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: es 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/fa/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: fa 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/fa/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: fa 4 | permalink: /fa/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/fa/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: fa 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/fr/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: fr 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/fr/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: fr 4 | permalink: /fr/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/fr/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: fr 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: en 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/it/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: it 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/it/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: it 4 | permalink: /it/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/it/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: it 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ja/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: ja 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ja/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: ja 4 | permalink: /ja/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/ja/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: ja 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ko/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: ko 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ko/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: ko 4 | permalink: /ko/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/ko/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: ko 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: en 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/pl/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: pl 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/pl/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: pl 4 | permalink: /pl/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/pl/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: pl 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/pt/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: pt 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/pt/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: pt 4 | permalink: /pt/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/pt/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: pt 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ru/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: ru 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/ru/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: ru 4 | permalink: /ru/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/ru/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: ru 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/tr/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: tr 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/tr/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: tr 4 | permalink: /tr/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/tr/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: tr 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/uk/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: uk 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/uk/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: uk 4 | permalink: /uk/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/uk/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: uk 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/zh/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: businesses 3 | lang: zh 4 | --- 5 | -------------------------------------------------------------------------------- /_articles/zh/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: zh 4 | permalink: /zh/ 5 | --- 6 | -------------------------------------------------------------------------------- /_articles/zh/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: zh 4 | --- 5 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | title: Open Source Friday 2 | description: This Friday, invest a few hours contributing to the software you use and love. 3 | 4 | exclude: 5 | - bin 6 | - CNAME 7 | - CODE_OF_CONDUCT.md 8 | - CONTRIBUTING.md 9 | - docs 10 | - Gemfile* 11 | - node_modules 12 | - package.json 13 | - package-lock.json 14 | - Rakefile 15 | - README.md 16 | - script 17 | - test 18 | - vendor 19 | 20 | permalink: "/:path/" 21 | 22 | collections: 23 | articles: 24 | output: true 25 | permalink: "/:path/" 26 | 27 | defaults: 28 | - scope: 29 | path: "" 30 | values: 31 | image: /assets/images/social-graphic.jpg 32 | - scope: 33 | path: "" 34 | type: articles 35 | values: 36 | layout: default 37 | 38 | plugins: 39 | - jekyll-redirect-from 40 | - jekyll-seo-tag 41 | - jekyll-sitemap 42 | 43 | sass: 44 | sass_dir: assets/css/ 45 | style: compressed 46 | load_paths: 47 | - node_modules 48 | 49 | logo: /assets/images/social-graphic.jpg 50 | 51 | github: 52 | repository_nwo: github/opensourcefriday 53 | 54 | twitter: 55 | username: github 56 | 57 | facebook: 58 | publisher: https://www.facebook.com/GitHub/ 59 | -------------------------------------------------------------------------------- /_includes/chevron-right.html: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | {% seo %} 10 | {% if page.lang and page.untranslated != true and site.data.locales.size > 1 %} 11 | {% assign locales = site.data.locales | sort %} 12 | {% for locale in locales %} 13 | {% assign lang = locale[0] %} 14 | {% assign page_lang_slash = page.lang | append: '/' | prepend: '/' %} 15 | {% assign default_url = page.url | replace: page_lang_slash, '/' %} 16 | {% if lang == "en" %} 17 | 18 | 19 | {% else %} 20 | 21 | {% endif %} 22 | {% endfor %} 23 | {% endif %} 24 | 25 | -------------------------------------------------------------------------------- /_includes/nav.html: -------------------------------------------------------------------------------- 1 | {% assign t = site.data.locales[page.lang][page.lang] %} 2 | 3 | {% if page.lang and page.lang != "en" %} 4 | {% assign lang_dir = page.lang | prepend: "/" %} 5 | {% endif %} 6 | 7 | 55 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | {% assign t = site.data.locales[page.lang][page.lang] %} 2 | 3 | 4 | 5 | 6 | {% include head.html %} 7 | 8 | {% if page.lang and page.lang != "en" %} 9 | {% assign lang_dir = page.lang | prepend: "/" %} 10 | {% endif %} 11 | 12 | 13 |
14 |
15 |
16 |

17 | 18 | {{ t.OpenSourceFriday }} 19 | 20 |

21 | 22 | {% include nav.html %} 23 |
24 |
25 |
26 | 27 | {{ content }} 28 | 29 | 30 | 31 | 32 | {% include footer.html %} 33 | 34 | 35 | -------------------------------------------------------------------------------- /apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/apple-touch-icon.png -------------------------------------------------------------------------------- /assets/css/custom.scss: -------------------------------------------------------------------------------- 1 | .alt-h1 { 2 | line-height: 1.25; 3 | } 4 | 5 | img.img-responsive { 6 | max-width: 100%; 7 | } 8 | 9 | // Tweet button based on GitHub.com's About page 10 | .icon-twitter { 11 | fill: #1da1f2 !important; //Twitter brand blue 12 | position: relative; 13 | top: 2px; 14 | } 15 | 16 | .btn-twitter:hover, 17 | .btn-twitter:active { 18 | .icon-twitter { 19 | fill: #fff; 20 | } 21 | } 22 | 23 | // Pullquote stylings from opensource.guide 24 | .pquote-container { 25 | flex-direction: column; 26 | padding: $spacer-6; 27 | 28 | @include breakpoint(md) { 29 | flex-direction: row; 30 | padding: 0; 31 | } 32 | } 33 | 34 | .pquote { 35 | border: $border; 36 | border-radius: $border-radius * 2; 37 | box-shadow: $box-shadow; 38 | padding: $spacer-3; 39 | margin-top: $spacer-3; 40 | margin-bottom: $spacer-3; 41 | text-align: center; 42 | 43 | @include breakpoint(md) { 44 | color: $gray-600; 45 | padding: $spacer-6; 46 | } 47 | } 48 | 49 | img.pquote-avatar { 50 | border-radius: 50px; 51 | border: 3px solid $gray-200; 52 | height: 90px; 53 | width: 90px; 54 | display: block; 55 | margin: 0 auto $spacer-2; 56 | 57 | @include breakpoint(md) { 58 | margin: 0 auto $spacer-4; 59 | } 60 | } 61 | 62 | .pquote-credit { 63 | margin-top: $spacer-3; 64 | font-size: 14px; 65 | } 66 | 67 | @keyframes bikeIn { 68 | 0% { 69 | transform: translateX(-100%); 70 | } 71 | 72 | 100% { 73 | transform: translateX(0); 74 | } 75 | } 76 | 77 | .bike-animate-in { 78 | animation: 2.5s ease-out 0s 1 bikeIn; 79 | } 80 | 81 | @media screen and (prefers-reduced-motion: reduce) { 82 | .bike-animate-in { 83 | animation: none; 84 | } 85 | } 86 | 87 | .company-logo { 88 | display: inline-block; 89 | max-height: 60px; 90 | max-width: 160px; 91 | margin: 15px; 92 | vertical-align: middle; 93 | 94 | &.smaller { 95 | max-height: 45px; 96 | max-width: 145px; 97 | } 98 | } 99 | 100 | .desaturate { 101 | filter: grayscale(100%); 102 | opacity: 0.7; 103 | 104 | &:hover { 105 | opacity: 1; 106 | filter: none; 107 | transition: opacity 0.3s, filter 0.3s; 108 | } 109 | } 110 | 111 | .octicon { 112 | display: inline-block; 113 | vertical-align: text-top; 114 | fill: currentColor; 115 | } 116 | 117 | #locale-form { 118 | display: inline-block; 119 | } 120 | 121 | .form-select { 122 | -webkit-appearance: none; 123 | } 124 | -------------------------------------------------------------------------------- /assets/css/index.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | @import "primer-core/index.scss"; 4 | @import "primer-marketing/index.scss"; 5 | @import "custom.scss"; 6 | -------------------------------------------------------------------------------- /assets/images/logos/comcast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/comcast.png -------------------------------------------------------------------------------- /assets/images/logos/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/facebook.png -------------------------------------------------------------------------------- /assets/images/logos/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/github.png -------------------------------------------------------------------------------- /assets/images/logos/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/google.png -------------------------------------------------------------------------------- /assets/images/logos/ibm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/ibm.png -------------------------------------------------------------------------------- /assets/images/logos/microsoft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/microsoft.png -------------------------------------------------------------------------------- /assets/images/logos/salesforce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/salesforce.png -------------------------------------------------------------------------------- /assets/images/logos/thoughtbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/thoughtbot.png -------------------------------------------------------------------------------- /assets/images/logos/travisci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/logos/travisci.png -------------------------------------------------------------------------------- /assets/images/make-habit.svg: -------------------------------------------------------------------------------- 1 | make-habit -------------------------------------------------------------------------------- /assets/images/promote-work.svg: -------------------------------------------------------------------------------- 1 | promote-work -------------------------------------------------------------------------------- /assets/images/set-boundaries.svg: -------------------------------------------------------------------------------- 1 | set-boundaries -------------------------------------------------------------------------------- /assets/images/social-graphic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/assets/images/social-graphic.jpg -------------------------------------------------------------------------------- /assets/images/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /assets/js/index.js: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | {% include_relative jquery.min.js %} 4 | {% include_relative locale.js %} 5 | -------------------------------------------------------------------------------- /assets/js/locale.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('#language').change(function() { 3 | loadLanguage($('#language option:selected').val()); 4 | }); 5 | }); 6 | 7 | function loadLanguage(lang) { 8 | base_pathname = window.location.pathname.replace(/\/[a-z]+([_-][a-z]+)?\//, "/") 9 | if (lang === "en") { 10 | url = base_pathname 11 | } else { 12 | url = "/" + lang + base_pathname 13 | } 14 | window.location.assign(url); 15 | } 16 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/opensourcefriday/7cc9f25bc9d5d12e56bfca88bd558bc5d1b1c1a8/favicon.ico -------------------------------------------------------------------------------- /hi/businesses.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: business 3 | lang: hi 4 | --- 5 | -------------------------------------------------------------------------------- /hi/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: hi 4 | --- 5 | -------------------------------------------------------------------------------- /hi/maintainers.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: maintainers 3 | lang: hi 4 | --- 5 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: index 3 | lang: en 4 | --- 5 | -------------------------------------------------------------------------------- /node_modules/primer-base/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 Base 2 | 3 | [![npm version](https://img.shields.io/npm/v/primer-base.svg)](https://www.npmjs.org/package/primer-base) 4 | [![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) 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][primer] 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]: https://github.com/primer/primer 45 | [docs]: http://primer.github.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-max-type 2 | * { 3 | box-sizing: border-box; 4 | } 5 | 6 | input, 7 | select, 8 | textarea, 9 | button { 10 | font-family: inherit; 11 | font-size: inherit; 12 | line-height: inherit; 13 | } 14 | 15 | body { 16 | font-family: $body-font; 17 | font-size: $body-font-size; 18 | line-height: $body-line-height; 19 | color: $text-gray-dark; 20 | background-color: $bg-white; 21 | } 22 | 23 | a { 24 | color: $text-blue; 25 | text-decoration: none; 26 | 27 | &:hover { 28 | text-decoration: underline; 29 | } 30 | } 31 | 32 | b, 33 | strong { 34 | font-weight: $font-weight-bold; 35 | } 36 | 37 | // Horizontal lines 38 | // 39 | // TODO-MDO: Remove `.rule` from everywhere and replace with `
`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 lighten($gray-300, 5%); 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 | // Remove border radius added by Chroma macOS 68 | border-radius: 0; 69 | } 70 | 71 | details { 72 | summary { cursor: pointer; } 73 | 74 | &:not([open]) { 75 | // Set details content hidden by default for browsers that don't do this 76 | > *:not(summary) { display: none; } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /node_modules/primer-base/lib/typography-base.scss: -------------------------------------------------------------------------------- 1 | // Headings 2 | // -------------------------------------------------- 3 | // stylelint-disable selector-max-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: $font-size-small; 70 | } 71 | 72 | pre { 73 | margin-top: 0; 74 | margin-bottom: 0; 75 | font-family: $mono-font; 76 | font-size: $font-size-small; 77 | } 78 | 79 | // Octicons 80 | // -------------------------------------------------- 81 | 82 | // Move this over here as a temporary override to the octicons source repo 83 | // instead of updating that upstream. 84 | .octicon { 85 | vertical-align: text-bottom; 86 | } 87 | -------------------------------------------------------------------------------- /node_modules/primer-base/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.6.3", 3 | "name": "primer-base", 4 | "description": "CSS to reset the browsers default styles", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "support" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-base", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "build": "../../script/npm-run primer-module-build index.scss", 26 | "prepare": "npm run build", 27 | "lint": "../../script/lint-scss", 28 | "test": "../../script/npm-run-all build lint" 29 | }, 30 | "dependencies": { 31 | "primer-support": "4.5.2" 32 | }, 33 | "keywords": [ 34 | "primer", 35 | "css", 36 | "github", 37 | "design-system", 38 | "base", 39 | "reset", 40 | "normalize" 41 | ] 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/primer-box/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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/build/build.css: -------------------------------------------------------------------------------- 1 | .Box{background-color:#fff;border:1px solid #d1d5da;border-radius:3px}.Box--condensed{line-height:1.25}.Box--condensed .Box-header{padding:8px 16px}.Box--condensed .Box-body{padding:8px 16px}.Box--condensed .Box-footer{padding:8px 16px}.Box--condensed .Box-btn-octicon.btn-octicon{padding:8px 16px;margin:-8px -16px;line-height:1.25}.Box--condensed .Box-row{padding:8px 16px}.Box--spacious .Box-header{padding:24px;line-height:1.25}.Box--spacious .Box-title{font-size:20px}.Box--spacious .Box-body{padding:24px}.Box--spacious .Box-footer{padding:24px}.Box--spacious .Box-btn-octicon.btn-octicon{padding:24px;margin:-24px -24px}.Box--spacious .Box-row{padding:24px}.Box-header{padding:16px;margin:-1px -1px 0 -1px;background-color:#f6f8fa;border-color:#d1d5da;border-style:solid;border-width:1px;border-top-left-radius:3px;border-top-right-radius:3px}.Box-title{font-size:14px;font-weight:600}.Box-body{padding:16px;border-bottom:1px solid #e1e4e8}.Box-body:last-of-type{margin-bottom:-1px;border-bottom-right-radius:2px;border-bottom-left-radius:2px}.Box-row{padding:16px;margin-top:-1px;list-style-type:none;border-top:1px solid #e1e4e8}.Box-row:first-of-type{border-top-color:transparent;border-top-left-radius:2px;border-top-right-radius:2px}.Box-row:last-of-type{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.Box-row.Box-row--unread,.Box-row.unread{box-shadow:2px 0 0 #0366d6 inset}.Box-row.navigation-focus .Box-row--drag-button{color:#0366d6;cursor:-webkit-grab;cursor:grab;opacity:100}.Box-row.navigation-focus.is-dragging .Box-row--drag-button{cursor:-webkit-grabbing;cursor:grabbing}.Box-row.navigation-focus.sortable-chosen{background-color:#fafbfc}.Box-row.navigation-focus.sortable-ghost{background-color:#f6f8fa}.Box-row.navigation-focus.sortable-ghost .Box-row--drag-hide{opacity:0}.Box-row--focus-gray.navigation-focus{background-color:#f6f8fa}.Box-row--focus-blue.navigation-focus{background-color:#f1f8ff}.Box-row--hover-gray:hover{background-color:#f6f8fa}.Box-row--hover-blue:hover{background-color:#f1f8ff}@media (min-width: 768px){.Box-row-link{color:#24292e;text-decoration:none}.Box-row-link:hover{color:#0366d6;text-decoration:none}}.Box-row--drag-button{opacity:0}.Box-footer{padding:16px;margin-top:-1px;border-top:1px solid #e1e4e8}.Box--scrollable{max-height:324px;overflow:scroll}.Box--blue{border-color:#c8e1ff}.Box--blue .Box-header{background-color:#f1f8ff;border-color:#c8e1ff}.Box--blue .Box-body{border-color:#c8e1ff}.Box--blue .Box-row{border-color:#c8e1ff}.Box--blue .Box-footer{border-color:#c8e1ff}.Box--danger{border-color:#d73a49}.Box--danger .Box-row:first-of-type{border-color:#d73a49}.Box--danger .Box-body:last-of-type{border-color:#d73a49}.Box-header--blue{background-color:#f1f8ff;border-color:#c8e1ff}.Box-row--yellow{background-color:#fffbdd}.Box-row--blue{background-color:#f1f8ff}.Box-row--gray{background-color:#f6f8fa}.Box-btn-octicon.btn-octicon{padding:16px 16px;margin:-16px -16px;line-height:1.5} 2 | -------------------------------------------------------------------------------- /node_modules/primer-box/index.scss: -------------------------------------------------------------------------------- 1 | @import "primer-support/index.scss"; 2 | @import "./lib/box.scss"; 3 | -------------------------------------------------------------------------------- /node_modules/primer-box/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.5.5", 3 | "name": "primer-box", 4 | "description": "A module for creating rounded-corner boxes with options for headers, lists, and footers.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "components" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-box", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "build": "../../script/npm-run primer-module-build index.scss", 26 | "prepare": "npm run build", 27 | "lint": "../../script/lint-scss", 28 | "test": "../../script/npm-run-all build lint" 29 | }, 30 | "dependencies": { 31 | "primer-support": "4.5.2" 32 | }, 33 | "keywords": [ 34 | "primer", 35 | "css", 36 | "github", 37 | "design-system" 38 | ] 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/primer-breadcrumb/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 Breadcrumb Navigation 2 | 3 | [![npm version](https://img.shields.io/npm/v/primer-breadcrumb.svg)](https://www.npmjs.org/package/primer-breadcrumb) 4 | [![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) 5 | 6 | > Breadcrumb navigation for GitHub's pages with parents / grandparents. 7 | 8 | This repository is a module of the full [primer][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 title="Breadcrumb" 26 | 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://primer.github.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 | .breadcrumb-item{display:inline-block;margin-left:-0.35em;white-space:nowrap;list-style:none}.breadcrumb-item::after{padding-right:.5em;padding-left:.5em;color:#e1e4e8;content:"/"}.breadcrumb-item:first-child{margin-left:0}.breadcrumb-item-selected::after{content:none} 2 | -------------------------------------------------------------------------------- /node_modules/primer-breadcrumb/build/index.js: -------------------------------------------------------------------------------- 1 | module.exports = {"cssstats":{"size":270,"gzipSize":178,"humanizedSize":"270B","humanizedGzipSize":"178B","rules":{"total":4,"size":{"graph":[4,4,1,1],"max":4,"average":2.5}},"selectors":{"total":4,"type":0,"class":4,"id":0,"pseudoClass":1,"pseudoElement":2,"values":[".breadcrumb-item",".breadcrumb-item::after",".breadcrumb-item:first-child",".breadcrumb-item-selected::after"],"specificity":{"max":20,"average":13}},"declarations":{"total":10,"unique":10,"properties":{"display":["inline-block"],"margin-left":["-0.35em","0"],"white-space":["nowrap"],"list-style":["none"],"padding-right":[".5em"],"padding-left":[".5em"],"color":["#e1e4e8"],"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 "./lib/breadcrumb.scss"; 4 | -------------------------------------------------------------------------------- /node_modules/primer-breadcrumb/lib/breadcrumb.scss: -------------------------------------------------------------------------------- 1 | .breadcrumb-item { 2 | display: inline-block; 3 | margin-left: -0.35em; 4 | white-space: nowrap; 5 | list-style: none; 6 | 7 | &::after { 8 | padding-right: $em-spacer-5; 9 | padding-left: $em-spacer-5; 10 | color: $border-gray; 11 | content: "/"; 12 | } 13 | 14 | &:first-child { 15 | margin-left: 0; 16 | } 17 | } 18 | 19 | .breadcrumb-item-selected { 20 | &::after { 21 | content: none; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/primer-breadcrumb/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.5.1", 3 | "name": "primer-breadcrumb", 4 | "description": "Breadcrumb navigation for pages with parents / grandparents.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "components" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-breadcrumb", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "test-docs": "../../script/test-docs", 26 | "build": "../../script/npm-run primer-module-build index.scss", 27 | "prepare": "npm run build", 28 | "lint": "../../script/lint-scss", 29 | "test": "../../script/npm-run-all build lint test-docs" 30 | }, 31 | "dependencies": { 32 | "primer-support": "4.5.2" 33 | }, 34 | "keywords": [ 35 | "breadcrumb", 36 | "css", 37 | "github", 38 | "navigation", 39 | "primer", 40 | "design-system", 41 | "style" 42 | ] 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/primer-buttons/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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-buttons/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.5.3", 3 | "name": "primer-buttons", 4 | "description": "A collection of buttons used for primary and secondary actions.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "components" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-buttons", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "build": "../../script/npm-run primer-module-build index.scss", 26 | "prepare": "npm run build", 27 | "lint": "../../script/lint-scss", 28 | "test": "../../script/npm-run-all build lint" 29 | }, 30 | "dependencies": { 31 | "primer-support": "4.5.2" 32 | }, 33 | "keywords": [ 34 | "primer", 35 | "css", 36 | "github", 37 | "design-system", 38 | "buttons", 39 | "styles" 40 | ] 41 | } 42 | -------------------------------------------------------------------------------- /node_modules/primer-core/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 | [![npm version](https://img.shields.io/npm/v/primer-core.svg)](https://www.npmjs.org/package/primer-core) 4 | [![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) 5 | 6 | > Primer core is one of 3 meta-packages that belong to the Primer framework. Primer core contains packages that are shared between GitHub product and marketing websites. 7 | 8 | This repository is a compilation of [several CSS packages](https://github.com/primer/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` 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, an 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://primer.github.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://primer.github.io 4 | * 5 | * Released under MIT license. Copyright (c) 2018 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 | 16 | // Core modules 17 | @import "primer-base/index.scss"; 18 | @import "primer-box/index.scss"; 19 | @import "primer-breadcrumb/index.scss"; 20 | @import "primer-buttons/index.scss"; 21 | @import "primer-table-object/index.scss"; 22 | @import "primer-forms/index.scss"; 23 | @import "primer-layout/index.scss"; 24 | @import "primer-navigation/index.scss"; 25 | @import "primer-tooltips/index.scss"; 26 | @import "primer-truncate/index.scss"; 27 | 28 | // Utilities always go last so that they can override components 29 | @import "primer-utilities/index.scss"; 30 | -------------------------------------------------------------------------------- /node_modules/primer-core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "6.7.0", 3 | "name": "primer-core", 4 | "description": "Primer's core modules", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "meta" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "build" 18 | ], 19 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-core", 20 | "bugs": { 21 | "url": "https://github.com/primer/primer/issues" 22 | }, 23 | "scripts": { 24 | "build": "../../script/npm-run primer-module-build index.scss", 25 | "prepare": "npm run build", 26 | "test": "npm run build", 27 | "lint": "../../script/lint-scss" 28 | }, 29 | "dependencies": { 30 | "primer-base": "1.6.3", 31 | "primer-box": "2.5.5", 32 | "primer-breadcrumb": "1.5.1", 33 | "primer-buttons": "2.5.3", 34 | "primer-forms": "2.1.0", 35 | "primer-layout": "1.4.5", 36 | "primer-navigation": "1.5.3", 37 | "primer-support": "4.5.2", 38 | "primer-table-object": "1.4.5", 39 | "primer-tooltips": "1.5.2", 40 | "primer-truncate": "1.4.5", 41 | "primer-utilities": "4.8.5" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/primer-forms/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 | @import "./lib/input-group.scss"; 7 | -------------------------------------------------------------------------------- /node_modules/primer-forms/lib/form-select.scss: -------------------------------------------------------------------------------- 1 | // Custom select 2 | // 3 | // Apply `.select` to any ` 52 | 53 |
54 | 55 |
56 | 57 | ``` 58 | 59 | 60 | 61 | ## License 62 | 63 | [MIT](./LICENSE) © [GitHub](https://github.com/) 64 | 65 | [primer]: https://github.com/primer/primer 66 | [docs]: http://primer.github.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-table-object/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.4.5", 3 | "name": "primer-table-object", 4 | "description": "A module for creating dynamically resizable elements that always sit on the same horizontal line.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "objects" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-table-object", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "test-docs": "../../script/test-docs", 26 | "build": "../../script/npm-run primer-module-build index.scss", 27 | "prepare": "npm run build", 28 | "lint": "../../script/lint-scss", 29 | "test": "../../script/npm-run-all build lint test-docs" 30 | }, 31 | "dependencies": { 32 | "primer-support": "4.5.2" 33 | }, 34 | "keywords": [ 35 | "primer", 36 | "css", 37 | "github", 38 | "design-system" 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /node_modules/primer-tables/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 | [![npm version](https://img.shields.io/npm/v/primer-tables.svg)](https://www.npmjs.org/package/primer-tables) 4 | [![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) 5 | 6 | > Styles to display tabular data for marketing websites at GitHub. 7 | 8 | This repository is a module of the full [primer][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://primer.github.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 | .data-table{width:100%;margin-top:16px;border-collapse:collapse;border:1px #e1e4e8 solid;box-shadow:0 1px 1px rgba(27,31,35,0.05)}.data-table th{font-weight:400;text-align:left}.data-table td,.data-table th{padding:16px;border-right:1px #e1e4e8 solid;border-bottom:1px #e1e4e8 solid}.data-table tbody th{width:25%}.data-table tbody th,.data-table tbody td{border-bottom-color:#e1e4e8}.data-table tbody tr:last-child th,.data-table tbody tr:last-child td{border-bottom:1px #e1e4e8 solid} 2 | -------------------------------------------------------------------------------- /node_modules/primer-tables/build/index.js: -------------------------------------------------------------------------------- 1 | module.exports = {"cssstats":{"size":487,"gzipSize":232,"humanizedSize":"487B","humanizedGzipSize":"232B","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 #e1e4e8 solid"],"box-shadow":["0 1px 1px rgba(27,31,35,0.05)"],"font-weight":["400"],"text-align":["left"],"padding":["16px"],"border-right":["1px #e1e4e8 solid"],"border-bottom":["1px #e1e4e8 solid","1px #e1e4e8 solid"],"border-bottom-color":["#e1e4e8"]}},"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-max-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($black, 0.05); 9 | 10 | th { 11 | font-weight: $font-weight-normal; 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: $border-gray; 30 | } 31 | 32 | tr:last-child { 33 | th, 34 | td { 35 | border-bottom: $border; 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /node_modules/primer-tables/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.4.5", 3 | "name": "primer-tables", 4 | "description": "Styles to display tabular data for marketing websites at GitHub.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "marketing", 13 | "module_type": "components" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-tables", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "build": "../../script/npm-run primer-module-build index.scss", 26 | "prepare": "npm run build", 27 | "lint": "../../script/lint-scss", 28 | "test": "../../script/npm-run-all build lint" 29 | }, 30 | "dependencies": { 31 | "primer-marketing-support": "1.5.0", 32 | "primer-support": "4.5.2" 33 | }, 34 | "keywords": [ 35 | "css", 36 | "github", 37 | "primer", 38 | "design-system", 39 | "style", 40 | "tables" 41 | ] 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/primer-tooltips/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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-tooltips/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.5.2", 3 | "name": "primer-tooltips", 4 | "description": "Add tooltips built entirely in CSS to nearly any element.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "components" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-tooltips", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "test-docs": "../../script/test-docs", 26 | "build": "../../script/npm-run primer-module-build index.scss", 27 | "prepare": "npm run build", 28 | "lint": "../../script/lint-scss", 29 | "test": "../../script/npm-run-all build lint test-docs" 30 | }, 31 | "dependencies": { 32 | "primer-support": "4.5.2" 33 | }, 34 | "keywords": [ 35 | "primer", 36 | "css", 37 | "github", 38 | "design-system" 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /node_modules/primer-truncate/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 Truncate 2 | 3 | [![npm version](https://img.shields.io/npm/v/primer-truncate.svg)](https://www.npmjs.org/package/primer-truncate) 4 | [![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) 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][primer] 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 title="Truncate" 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 title="Truncate Expandable" 54 | 57 | ``` 58 | 59 | 60 | ## License 61 | 62 | [MIT](./LICENSE) © [GitHub](https://github.com/) 63 | 64 | [primer]: https://github.com/primer/primer 65 | [docs]: http://primer.github.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-truncate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.4.5", 3 | "name": "primer-truncate", 4 | "description": "Shorten text with an ellipsis.", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "components" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build" 19 | ], 20 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-truncate", 21 | "bugs": { 22 | "url": "https://github.com/primer/primer/issues" 23 | }, 24 | "scripts": { 25 | "test-docs": "../../script/test-docs", 26 | "build": "../../script/npm-run primer-module-build index.scss", 27 | "prepare": "npm run build", 28 | "lint": "../../script/lint-scss", 29 | "test": "../../script/npm-run-all build lint test-docs" 30 | }, 31 | "dependencies": { 32 | "primer-support": "4.5.2" 33 | }, 34 | "keywords": [ 35 | "primer", 36 | "css", 37 | "github", 38 | "design-system", 39 | "truncate", 40 | "ellipsis", 41 | "text" 42 | ] 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/primer-utilities/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018 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 Utilities 2 | 3 | [![npm version](https://img.shields.io/npm/v/primer-utilities.svg)](https://www.npmjs.org/package/primer-utilities) 4 | [![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer) 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][primer] 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]: https://github.com/primer/primer 45 | [docs]: http://primer.github.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/docs/animations.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Animations 3 | example_layout: toggle 4 | status: Stable 5 | --- 6 | 7 | Animations are reusable animation classes that you can use to emphasize an element. All of these animations will animate if you toggle their visibility using the "Toggle" button. 8 | 9 | {:toc} 10 | 11 | ## Fade In 12 | 13 | The `.anim-fade-in` class is used to fade in an element on the page. This will run once when the element is revealed. 14 | 15 | ```html 16 | <%= octicon("mark-github", :height => 32, :class => "v-align-middle mr-2") %> Hello from GitHub! 17 | ``` 18 | 19 | ## Fade Out 20 | 21 | The `.anim-fade-out` class is used to fade out an element on the page. This will run once when the element is revealed. 22 | 23 | ```html 24 | <%= octicon("mark-github", :height => 32, :class => "v-align-middle mr-2") %> Hello from GitHub! 25 | ``` 26 | 27 | ## Fade Up 28 | 29 | The `.anim-fade-up` class is used to reveal an element on the page by sliding it up from below the fold. You should use this in a container with `overflow: hidden;` or on the bottom of the page. 30 | 31 | ```html 32 |
<%= octicon("mark-github", :height => 32, :class => "v-align-middle mr-2") %> Hello from GitHub!
33 | ``` 34 | 35 | ## Fade Down 36 | 37 | The `.anim-fade-down` class is used to slide an element down hiding it. You should use this in a container with `overflow: hidden;` or on the bottom of the page. 38 | 39 | ```html 40 |
<%= octicon("mark-github", :height => 32, :class => "v-align-middle mr-2") %> Hello from GitHub!
41 | ``` 42 | 43 | ## Scale In 44 | 45 | The `.anim-scale-in` class will scale the element in. This is useful on menus when you want them to appear more friendly. 46 | 47 | ```html 48 |
<%= octicon("mark-github") %>
49 | ``` 50 | 51 | ## Grow X 52 | 53 | The `.anim-grow-x` class will grow an element width from 0-:100: real quick. 54 | 55 | ```html 56 |
57 | ``` 58 | 59 | ## Pulse 60 | 61 | The `.anim-pulse` class will pulse an element infinitely. 62 | 63 | ```html 64 | <%= octicon("mark-github", :class => "anim-pulse") %> 65 | ``` 66 | 67 | ## Hover animation 68 | 69 | The `.hover-grow` class will increase the scale of the element upon hover. 70 | 71 | ```html 72 |
73 | <%= octicon("mark-github", :height => 32) %> 74 |
75 | ``` 76 | -------------------------------------------------------------------------------- /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/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 | .box-shadow-extra-large { 19 | box-shadow: $box-shadow-extra-large !important; 20 | } 21 | 22 | // Turn off box shadow 23 | 24 | .box-shadow-none { 25 | box-shadow: none !important; 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/primer-utilities/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "4.8.5", 3 | "name": "primer-utilities", 4 | "description": "Immutable, atomic CSS classes to rapidly build product", 5 | "homepage": "http://primer.github.io/", 6 | "author": "GitHub, Inc.", 7 | "license": "MIT", 8 | "style": "build/build.css", 9 | "sass": "index.scss", 10 | "main": "build/index.js", 11 | "primer": { 12 | "category": "core", 13 | "module_type": "utilities" 14 | }, 15 | "files": [ 16 | "index.scss", 17 | "lib", 18 | "build", 19 | "docs" 20 | ], 21 | "repository": "https://github.com/primer/primer/tree/master/modules/primer-utilities", 22 | "bugs": { 23 | "url": "https://github.com/primer/primer/issues" 24 | }, 25 | "scripts": { 26 | "build": "../../script/npm-run primer-module-build index.scss", 27 | "prepare": "npm run build", 28 | "lint": "../../script/lint-scss", 29 | "test": "../../script/npm-run-all build lint" 30 | }, 31 | "dependencies": { 32 | "primer-support": "4.5.2" 33 | }, 34 | "keywords": [ 35 | "primer", 36 | "css", 37 | "github", 38 | "design-system" 39 | ] 40 | } 41 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "dependencies": { 4 | "primer-core": "6.7.0", 5 | "primer-marketing": "6.2.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /script/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | cd "$(dirname "$0")/.." 6 | 7 | echo "==> Installing gem dependencies…" 8 | bundle check --path vendor/gems &>/dev/null || { 9 | time bundle config set path 'vendor/gems' 10 | time bundle install 11 | time bundle binstubs --all 12 | } 13 | 14 | echo "==> Installing node dependencies…" 15 | npm install 16 | -------------------------------------------------------------------------------- /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 | require "html-proofer" 3 | 4 | url_ignores = [ 5 | "http://comcast.com", 6 | ] 7 | 8 | HTMLProofer.check_directories( 9 | ["_site"], 10 | enforce_https: false, 11 | ignore_status_codes: [429], 12 | ignore_urls: url_ignores, 13 | only_4xx: true, 14 | ).run 15 | -------------------------------------------------------------------------------- /script/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | bundle exec jekyll serve --watch --incremental --baseurl '' 6 | -------------------------------------------------------------------------------- /script/test: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | script/build 6 | bundle exec script/html-proofer 7 | --------------------------------------------------------------------------------