├── .editorconfig ├── .gitignore ├── .npmignore ├── .sass-lint.yml ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE.md ├── LICENSE ├── README.md ├── deploy.js ├── package-lock.json ├── package.json └── src ├── index.pug └── scss ├── custom ├── _colors.scss └── components │ └── _footer.scss ├── demo.scss ├── mofo-bootstrap.scss └── overrides ├── _list-group.scss ├── _mixins.scss ├── _normalize.scss ├── _type.scss └── _variables.scss /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig : http://EditorConfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | indent_size = 2 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | demo/ 3 | dest/ 4 | node_modules/ 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /* 2 | !dest/ 3 | !src/ 4 | -------------------------------------------------------------------------------- /.sass-lint.yml: -------------------------------------------------------------------------------- 1 | options: 2 | config-file: node_modules/mofo-style/.sass-lint.yml 3 | files: 4 | ignore: 'src/scss/overrides/_mixins.scss' 5 | rules: 6 | single-line-per-selector: 1 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "stable" 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Community Participation Guidelines 2 | 3 | This repository is governed by Mozilla's code of conduct and etiquette guidelines. 4 | For more details, please read the 5 | [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). 6 | 7 | ## How to Report 8 | For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page. 9 | 10 | 16 | -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | *OS:* ALL 2 | *Browser:* ALL 3 | *Screenshot:* 4 | 5 | **Repro Steps:** 6 | 1. STEP 7 | 2. STEP 8 | 3. STEP 9 | 10 | **Expected:** EXPECTED_RESULTS 11 | **Actual:** ACTUAL_RESULTS 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Mozilla Public License Version 2.0 2 | ================================== 3 | 4 | 1. Definitions 5 | -------------- 6 | 7 | 1.1. "Contributor" 8 | means each individual or legal entity that creates, contributes to 9 | the creation of, or owns Covered Software. 10 | 11 | 1.2. "Contributor Version" 12 | means the combination of the Contributions of others (if any) used 13 | by a Contributor and that particular Contributor's Contribution. 14 | 15 | 1.3. "Contribution" 16 | means Covered Software of a particular Contributor. 17 | 18 | 1.4. "Covered Software" 19 | means Source Code Form to which the initial Contributor has attached 20 | the notice in Exhibit A, the Executable Form of such Source Code 21 | Form, and Modifications of such Source Code Form, in each case 22 | including portions thereof. 23 | 24 | 1.5. "Incompatible With Secondary Licenses" 25 | means 26 | 27 | (a) that the initial Contributor has attached the notice described 28 | in Exhibit B to the Covered Software; or 29 | 30 | (b) that the Covered Software was made available under the terms of 31 | version 1.1 or earlier of the License, but not also under the 32 | terms of a Secondary License. 33 | 34 | 1.6. "Executable Form" 35 | means any form of the work other than Source Code Form. 36 | 37 | 1.7. "Larger Work" 38 | means a work that combines Covered Software with other material, in 39 | a separate file or files, that is not Covered Software. 40 | 41 | 1.8. "License" 42 | means this document. 43 | 44 | 1.9. "Licensable" 45 | means having the right to grant, to the maximum extent possible, 46 | whether at the time of the initial grant or subsequently, any and 47 | all of the rights conveyed by this License. 48 | 49 | 1.10. "Modifications" 50 | means any of the following: 51 | 52 | (a) any file in Source Code Form that results from an addition to, 53 | deletion from, or modification of the contents of Covered 54 | Software; or 55 | 56 | (b) any new file in Source Code Form that contains any Covered 57 | Software. 58 | 59 | 1.11. "Patent Claims" of a Contributor 60 | means any patent claim(s), including without limitation, method, 61 | process, and apparatus claims, in any patent Licensable by such 62 | Contributor that would be infringed, but for the grant of the 63 | License, by the making, using, selling, offering for sale, having 64 | made, import, or transfer of either its Contributions or its 65 | Contributor Version. 66 | 67 | 1.12. "Secondary License" 68 | means either the GNU General Public License, Version 2.0, the GNU 69 | Lesser General Public License, Version 2.1, the GNU Affero General 70 | Public License, Version 3.0, or any later versions of those 71 | licenses. 72 | 73 | 1.13. "Source Code Form" 74 | means the form of the work preferred for making modifications. 75 | 76 | 1.14. "You" (or "Your") 77 | means an individual or a legal entity exercising rights under this 78 | License. For legal entities, "You" includes any entity that 79 | controls, is controlled by, or is under common control with You. For 80 | purposes of this definition, "control" means (a) the power, direct 81 | or indirect, to cause the direction or management of such entity, 82 | whether by contract or otherwise, or (b) ownership of more than 83 | fifty percent (50%) of the outstanding shares or beneficial 84 | ownership of such entity. 85 | 86 | 2. License Grants and Conditions 87 | -------------------------------- 88 | 89 | 2.1. Grants 90 | 91 | Each Contributor hereby grants You a world-wide, royalty-free, 92 | non-exclusive license: 93 | 94 | (a) under intellectual property rights (other than patent or trademark) 95 | Licensable by such Contributor to use, reproduce, make available, 96 | modify, display, perform, distribute, and otherwise exploit its 97 | Contributions, either on an unmodified basis, with Modifications, or 98 | as part of a Larger Work; and 99 | 100 | (b) under Patent Claims of such Contributor to make, use, sell, offer 101 | for sale, have made, import, and otherwise transfer either its 102 | Contributions or its Contributor Version. 103 | 104 | 2.2. Effective Date 105 | 106 | The licenses granted in Section 2.1 with respect to any Contribution 107 | become effective for each Contribution on the date the Contributor first 108 | distributes such Contribution. 109 | 110 | 2.3. Limitations on Grant Scope 111 | 112 | The licenses granted in this Section 2 are the only rights granted under 113 | this License. No additional rights or licenses will be implied from the 114 | distribution or licensing of Covered Software under this License. 115 | Notwithstanding Section 2.1(b) above, no patent license is granted by a 116 | Contributor: 117 | 118 | (a) for any code that a Contributor has removed from Covered Software; 119 | or 120 | 121 | (b) for infringements caused by: (i) Your and any other third party's 122 | modifications of Covered Software, or (ii) the combination of its 123 | Contributions with other software (except as part of its Contributor 124 | Version); or 125 | 126 | (c) under Patent Claims infringed by Covered Software in the absence of 127 | its Contributions. 128 | 129 | This License does not grant any rights in the trademarks, service marks, 130 | or logos of any Contributor (except as may be necessary to comply with 131 | the notice requirements in Section 3.4). 132 | 133 | 2.4. Subsequent Licenses 134 | 135 | No Contributor makes additional grants as a result of Your choice to 136 | distribute the Covered Software under a subsequent version of this 137 | License (see Section 10.2) or under the terms of a Secondary License (if 138 | permitted under the terms of Section 3.3). 139 | 140 | 2.5. Representation 141 | 142 | Each Contributor represents that the Contributor believes its 143 | Contributions are its original creation(s) or it has sufficient rights 144 | to grant the rights to its Contributions conveyed by this License. 145 | 146 | 2.6. Fair Use 147 | 148 | This License is not intended to limit any rights You have under 149 | applicable copyright doctrines of fair use, fair dealing, or other 150 | equivalents. 151 | 152 | 2.7. Conditions 153 | 154 | Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted 155 | in Section 2.1. 156 | 157 | 3. Responsibilities 158 | ------------------- 159 | 160 | 3.1. Distribution of Source Form 161 | 162 | All distribution of Covered Software in Source Code Form, including any 163 | Modifications that You create or to which You contribute, must be under 164 | the terms of this License. You must inform recipients that the Source 165 | Code Form of the Covered Software is governed by the terms of this 166 | License, and how they can obtain a copy of this License. You may not 167 | attempt to alter or restrict the recipients' rights in the Source Code 168 | Form. 169 | 170 | 3.2. Distribution of Executable Form 171 | 172 | If You distribute Covered Software in Executable Form then: 173 | 174 | (a) such Covered Software must also be made available in Source Code 175 | Form, as described in Section 3.1, and You must inform recipients of 176 | the Executable Form how they can obtain a copy of such Source Code 177 | Form by reasonable means in a timely manner, at a charge no more 178 | than the cost of distribution to the recipient; and 179 | 180 | (b) You may distribute such Executable Form under the terms of this 181 | License, or sublicense it under different terms, provided that the 182 | license for the Executable Form does not attempt to limit or alter 183 | the recipients' rights in the Source Code Form under this License. 184 | 185 | 3.3. Distribution of a Larger Work 186 | 187 | You may create and distribute a Larger Work under terms of Your choice, 188 | provided that You also comply with the requirements of this License for 189 | the Covered Software. If the Larger Work is a combination of Covered 190 | Software with a work governed by one or more Secondary Licenses, and the 191 | Covered Software is not Incompatible With Secondary Licenses, this 192 | License permits You to additionally distribute such Covered Software 193 | under the terms of such Secondary License(s), so that the recipient of 194 | the Larger Work may, at their option, further distribute the Covered 195 | Software under the terms of either this License or such Secondary 196 | License(s). 197 | 198 | 3.4. Notices 199 | 200 | You may not remove or alter the substance of any license notices 201 | (including copyright notices, patent notices, disclaimers of warranty, 202 | or limitations of liability) contained within the Source Code Form of 203 | the Covered Software, except that You may alter any license notices to 204 | the extent required to remedy known factual inaccuracies. 205 | 206 | 3.5. Application of Additional Terms 207 | 208 | You may choose to offer, and to charge a fee for, warranty, support, 209 | indemnity or liability obligations to one or more recipients of Covered 210 | Software. However, You may do so only on Your own behalf, and not on 211 | behalf of any Contributor. You must make it absolutely clear that any 212 | such warranty, support, indemnity, or liability obligation is offered by 213 | You alone, and You hereby agree to indemnify every Contributor for any 214 | liability incurred by such Contributor as a result of warranty, support, 215 | indemnity or liability terms You offer. You may include additional 216 | disclaimers of warranty and limitations of liability specific to any 217 | jurisdiction. 218 | 219 | 4. Inability to Comply Due to Statute or Regulation 220 | --------------------------------------------------- 221 | 222 | If it is impossible for You to comply with any of the terms of this 223 | License with respect to some or all of the Covered Software due to 224 | statute, judicial order, or regulation then You must: (a) comply with 225 | the terms of this License to the maximum extent possible; and (b) 226 | describe the limitations and the code they affect. Such description must 227 | be placed in a text file included with all distributions of the Covered 228 | Software under this License. Except to the extent prohibited by statute 229 | or regulation, such description must be sufficiently detailed for a 230 | recipient of ordinary skill to be able to understand it. 231 | 232 | 5. Termination 233 | -------------- 234 | 235 | 5.1. The rights granted under this License will terminate automatically 236 | if You fail to comply with any of its terms. However, if You become 237 | compliant, then the rights granted under this License from a particular 238 | Contributor are reinstated (a) provisionally, unless and until such 239 | Contributor explicitly and finally terminates Your grants, and (b) on an 240 | ongoing basis, if such Contributor fails to notify You of the 241 | non-compliance by some reasonable means prior to 60 days after You have 242 | come back into compliance. Moreover, Your grants from a particular 243 | Contributor are reinstated on an ongoing basis if such Contributor 244 | notifies You of the non-compliance by some reasonable means, this is the 245 | first time You have received notice of non-compliance with this License 246 | from such Contributor, and You become compliant prior to 30 days after 247 | Your receipt of the notice. 248 | 249 | 5.2. If You initiate litigation against any entity by asserting a patent 250 | infringement claim (excluding declaratory judgment actions, 251 | counter-claims, and cross-claims) alleging that a Contributor Version 252 | directly or indirectly infringes any patent, then the rights granted to 253 | You by any and all Contributors for the Covered Software under Section 254 | 2.1 of this License shall terminate. 255 | 256 | 5.3. In the event of termination under Sections 5.1 or 5.2 above, all 257 | end user license agreements (excluding distributors and resellers) which 258 | have been validly granted by You or Your distributors under this License 259 | prior to termination shall survive termination. 260 | 261 | ************************************************************************ 262 | * * 263 | * 6. Disclaimer of Warranty * 264 | * ------------------------- * 265 | * * 266 | * Covered Software is provided under this License on an "as is" * 267 | * basis, without warranty of any kind, either expressed, implied, or * 268 | * statutory, including, without limitation, warranties that the * 269 | * Covered Software is free of defects, merchantable, fit for a * 270 | * particular purpose or non-infringing. The entire risk as to the * 271 | * quality and performance of the Covered Software is with You. * 272 | * Should any Covered Software prove defective in any respect, You * 273 | * (not any Contributor) assume the cost of any necessary servicing, * 274 | * repair, or correction. This disclaimer of warranty constitutes an * 275 | * essential part of this License. No use of any Covered Software is * 276 | * authorized under this License except under this disclaimer. * 277 | * * 278 | ************************************************************************ 279 | 280 | ************************************************************************ 281 | * * 282 | * 7. Limitation of Liability * 283 | * -------------------------- * 284 | * * 285 | * Under no circumstances and under no legal theory, whether tort * 286 | * (including negligence), contract, or otherwise, shall any * 287 | * Contributor, or anyone who distributes Covered Software as * 288 | * permitted above, be liable to You for any direct, indirect, * 289 | * special, incidental, or consequential damages of any character * 290 | * including, without limitation, damages for lost profits, loss of * 291 | * goodwill, work stoppage, computer failure or malfunction, or any * 292 | * and all other commercial damages or losses, even if such party * 293 | * shall have been informed of the possibility of such damages. This * 294 | * limitation of liability shall not apply to liability for death or * 295 | * personal injury resulting from such party's negligence to the * 296 | * extent applicable law prohibits such limitation. Some * 297 | * jurisdictions do not allow the exclusion or limitation of * 298 | * incidental or consequential damages, so this exclusion and * 299 | * limitation may not apply to You. * 300 | * * 301 | ************************************************************************ 302 | 303 | 8. Litigation 304 | ------------- 305 | 306 | Any litigation relating to this License may be brought only in the 307 | courts of a jurisdiction where the defendant maintains its principal 308 | place of business and such litigation shall be governed by laws of that 309 | jurisdiction, without reference to its conflict-of-law provisions. 310 | Nothing in this Section shall prevent a party's ability to bring 311 | cross-claims or counter-claims. 312 | 313 | 9. Miscellaneous 314 | ---------------- 315 | 316 | This License represents the complete agreement concerning the subject 317 | matter hereof. If any provision of this License is held to be 318 | unenforceable, such provision shall be reformed only to the extent 319 | necessary to make it enforceable. Any law or regulation which provides 320 | that the language of a contract shall be construed against the drafter 321 | shall not be used to construe this License against a Contributor. 322 | 323 | 10. Versions of the License 324 | --------------------------- 325 | 326 | 10.1. New Versions 327 | 328 | Mozilla Foundation is the license steward. Except as provided in Section 329 | 10.3, no one other than the license steward has the right to modify or 330 | publish new versions of this License. Each version will be given a 331 | distinguishing version number. 332 | 333 | 10.2. Effect of New Versions 334 | 335 | You may distribute the Covered Software under the terms of the version 336 | of the License under which You originally received the Covered Software, 337 | or under the terms of any subsequent version published by the license 338 | steward. 339 | 340 | 10.3. Modified Versions 341 | 342 | If you create software not governed by this License, and you want to 343 | create a new license for such software, you may create and use a 344 | modified version of this License if you rename the license and remove 345 | any references to the name of the license steward (except to note that 346 | such modified license differs from this License). 347 | 348 | 10.4. Distributing Source Code Form that is Incompatible With Secondary 349 | Licenses 350 | 351 | If You choose to distribute Source Code Form that is Incompatible With 352 | Secondary Licenses under the terms of this version of the License, the 353 | notice described in Exhibit B of this License must be attached. 354 | 355 | Exhibit A - Source Code Form License Notice 356 | ------------------------------------------- 357 | 358 | This Source Code Form is subject to the terms of the Mozilla Public 359 | License, v. 2.0. If a copy of the MPL was not distributed with this 360 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 361 | 362 | If it is not possible or desirable to put the notice in a particular 363 | file, then You may include the notice in a location (such as a LICENSE 364 | file in a relevant directory) where a recipient would be likely to look 365 | for such a notice. 366 | 367 | You may add additional accurate notices of copyright ownership. 368 | 369 | Exhibit B - "Incompatible With Secondary Licenses" Notice 370 | --------------------------------------------------------- 371 | 372 | This Source Code Form is "Incompatible With Secondary Licenses", as 373 | defined by the Mozilla Public License, v. 2.0. 374 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Uses Mofo Standards](https://MozillaFoundation.github.io/mofo-standards/badge.svg)](https://github.com/MozillaFoundation/mofo-standards) 2 | [![Build Status](https://travis-ci.org/mozilla/mofo-bootstrap.svg?branch=master)](https://travis-ci.org/mozilla/mofo-bootstrap) 3 | [![dependency Status](https://img.shields.io/david/mozilla/mofo-bootstrap.svg)](https://david-dm.org/mozilla/mofo-bootstrap#info=dependencies) 4 | [![devDependency Status](https://img.shields.io/david/dev/mozilla/mofo-bootstrap.svg)](https://david-dm.org/mozilla/mofo-bootstrap#info=devDependencies) 5 | 6 | # mofo-bootstrap 7 | 8 | **Mozilla Foundation Bootstrap 4 theme.** 9 | 10 | ## Usage 11 | 12 | For the moment it's recommended that you use one of two methods to include the compiled mofo-bootstrap CSS in your project: 13 | 14 | 1. Include the library in your `package.json` for an npm-managed project by running `npm install mofo-bootstrap --save`. You can then point your build system at the compiled CSS which resides at `node_modules/mofo-bootstrap/dest/css/mofo-bootstrap.css`. This is the preferred method. 15 | 2. Hotlink to the raw compiled CSS file on Github at `http://mozilla.github.io/mofo-bootstrap/dest/css/mofo-bootstrap.css` from your HTML. This is *not* recommended for production, but is OK for prototyping or test purposes. Eventually we will put the CSS on a proper CDN. 16 | 17 | It's not currently advisable that you extend and compile the mofo-bootstrap SCSS in your project. SCSS doesn't ([currently](https://github.com/sass/sass/issues/739)) allow for dynamic import paths, which complicates things when mofo-bootstrap becomes a module. We're working on a reasonable approach for allowing this... 18 | 19 | ## Setup for Development 20 | 21 | Run the following commands in your terminal: 22 | 23 | 1. `git clone https://github.com/mozilla/mofo-bootstrap.git && cd mofo-bootstrap` 24 | 2. `npm i` 25 | 3. `npm start` 26 | 27 | ## File Structure 28 | 29 | ``` 30 | dest/ <- Contains compiled code. Don't edit anything in this folder! 31 | src/ 32 | ├── index.pug <- Template for demo page (Creates: dest/index.html) 33 | └── scss/ 34 | ├── custom/ <- SCSS for non-Bootstrap modules. 35 | | └── components/ <- SCSS for custom components. 36 | ├── overrides/ <- SCSS modules that override or extend Bootstrap components. 37 | ├── demo.scss <- SCSS specific to the demo page. 38 | └── mofo-bootstrap.scss <- Primary entry point that defines all imports. 39 | ``` 40 | 41 | ## File Naming Conventions 42 | 43 | - All files should be named in `hyphenated-lowercase` 44 | - SCSS modules/partials should be prefixed with an underscore (`_`) 45 | - Bootstrap overrides should be named after their sibling. (For example: `/src/scss/overrides/_type.scss` and `bootstrap/scss/_type.scss`) 46 | 47 | ## Linting 48 | 49 | To lint your Sass code, run `npm run test:sass` 50 | 51 | [Travis](https://travis-ci.org/mozilla/mofo-bootstrap) is connected to this task and your pull requests will fail if this test doesn't pass locally. 52 | 53 | ## Deploying 54 | 55 | Deployment is run automatically after `npm version` is invoked as part of the `postversion` script. 56 | 57 | The `npm run deploy` command will deploy a demo page and compiled CSS for the library to the `gh-pages` branch of the `origin` remote. It will use the latest code on the `master` branch of the `origin` remote. It's not recommended to run it on its own, because doing so can result in the deployed [demo](https://mozilla.github.io/mofo-bootstrap/demo/) and [library](https://mozilla.github.io/mofo-bootstrap/dest/css/mofo-bootstrap.css) not matching the latest published package in npm. 58 | -------------------------------------------------------------------------------- /deploy.js: -------------------------------------------------------------------------------- 1 | var shell = require(`shelljs`); 2 | 3 | shell.echo(`Running deployment now...`); 4 | 5 | shell.exec(`git checkout master`); 6 | shell.exec(`git pull origin master`); 7 | 8 | shell.rm(`-rf`,`node_modules`); 9 | 10 | shell.exec(`npm i`); 11 | shell.exec(`npm run build`); 12 | 13 | shell.exec(`git branch -D gh-pages`); 14 | shell.exec(`git checkout --orphan gh-pages`); 15 | 16 | shell.rm(`.gitignore`); 17 | 18 | shell.echo(`/*\n`).toEnd(`.gitignore`); 19 | shell.echo(`!demo\n`).toEnd(`.gitignore`); 20 | shell.echo(`!dest\n`).toEnd(`.gitignore`); 21 | shell.echo(`!last-built.txt\n`).toEnd(`.gitignore`); 22 | 23 | shell.echo(new Date).to(`last-built.txt`); 24 | 25 | shell.exec(`git reset`); 26 | shell.exec(`git add .`); 27 | shell.exec(`git commit -m 'deploy.js-ified'`); 28 | shell.exec(`git push origin gh-pages -f`); 29 | 30 | shell.echo(`Finished deploying!`); 31 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mofo-bootstrap", 3 | "version": "4.1.0", 4 | "homepage": "https://github.com/mozilla/mofo-bootstrap", 5 | "engines": { 6 | "node": "^6.0.0", 7 | "npm": "^3.0.0" 8 | }, 9 | "bugs": "https://github.com/mozilla/mofo-bootstrap/issues", 10 | "description": "Mozilla Foundation's Bootstrap 4 theme.", 11 | "keywords": [ 12 | "bootstrap", 13 | "mozilla", 14 | "css", 15 | "sass", 16 | "theme" 17 | ], 18 | "repository": "https://github.com/mozilla/mofo-bootstrap", 19 | "scripts": { 20 | "preversion": "git checkout master && git pull origin master && npm test", 21 | "version": "npm run build", 22 | "postversion": "npm publish && git push origin master --tags && npm run deploy", 23 | "start": "npm run build && run-p server watch:**", 24 | "build": "shx mkdir -p dest/css/ && run-p build:**", 25 | "build:pug": "pug src/index.pug -o demo", 26 | "build:scss": "node-sass src/scss/mofo-bootstrap.scss dest/css/mofo-bootstrap.css && node-sass src/scss/demo.scss demo/css/demo.css", 27 | "server": "live-server ./demo --port=1979", 28 | "watch:pug": "chokidar 'src/index.pug' -c 'npm run build:pug'", 29 | "watch:scss": "chokidar 'src/scss/**/*.scss' -c 'npm run build:scss'", 30 | "test": "npm run test:sass", 31 | "test:sass": "sass-lint -c .sass-lint.yml --verbose --no-exit src/scss/**/*.scss", 32 | "deploy": "node deploy.js" 33 | }, 34 | "author": "Mozilla", 35 | "license": "MPL-2.0", 36 | "dependencies": { 37 | "bootstrap": "v4.0.0-alpha.6" 38 | }, 39 | "devDependencies": { 40 | "chokidar": "^1.4.2", 41 | "chokidar-cli": "^1.2.0", 42 | "live-server": "^1.0.0", 43 | "mofo-style": "^2.3.0", 44 | "node-sass": "^4.5.0", 45 | "npm-run-all": "^4.0.1", 46 | "pug-cli": "^1.0.0-alpha6", 47 | "sass-lint": "^1.5.0", 48 | "shelljs": "^0.7.0", 49 | "shx": "^0.2.0" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/index.pug: -------------------------------------------------------------------------------- 1 | doctype html 2 | html 3 | head 4 | meta(charset='utf-8') 5 | meta(name='viewport', content='width=device-width, initial-scale=1, shrink-to-fit=no') 6 | link(rel='stylesheet', href='//code.cdn.mozilla.net/fonts/zilla-slab.css') 7 | link(rel='stylesheet', href='css/demo.css') 8 | title mofo-bootstrap – Demo 9 | body 10 | header 11 | .container 12 | .jumbotron 13 | h1.display-3 mofo-bootstrap 14 | p.lead Mozilla Foundation Bootstrap 4 theme 15 | 16 | h2.display-4 Color 17 | 18 | mixin color-block(color, value) 19 | div(class=`color-block color-block-${color}`) 20 | .swatch.darker-15 21 | .swatch.regular 22 | .swatch.lighter-15 23 | .swatch.lighter-40 24 | 25 | .meta 26 | p.name 27 | strong=color 28 | p.value=value 29 | 30 | mixin text-block(weight, value) 31 | div(class=`text-block text-block-${weight}`) 32 | h6 Zilla Slab #{value} 33 | h5 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 34 | 35 | p.lead Primary Palette 36 | 37 | .color-blocks 38 | .color-block 39 | .swatch 15% darker 40 | .swatch.regular(style=`color:#4d4f53`) Base color 41 | .swatch 15% lighter 42 | .swatch 40% lighter 43 | +color-block('dino-red', '#d24735') 44 | +color-block('firefox-orange', '#f26c23') 45 | +color-block('market-orange', '#f89c24') 46 | +color-block('flame-yellow', '#ffcd02') 47 | +color-block('gecko-green', '#7dc14c') 48 | +color-block('summit-teal', '#3bba99') 49 | 50 | .color-blocks 51 | .color-block 52 | .swatch 15% darker 53 | .swatch.regular(style=`color:#4d4f53`) Base color 54 | .swatch 15% lighter 55 | .swatch 40% lighter 56 | +color-block('mobile-blue', '#16afe5') 57 | +color-block('developer-blue', '#4383bf') 58 | +color-block('nightly-blue', '#5a6ba4') 59 | +color-block('aurora-purple', '#ab5da4') 60 | +color-block('bikeshed-magenta', '#e14164') 61 | 62 | .color-blocks 63 | .color-block 64 | .swatch.gray-darkest gray-darkest 65 | .swatch.gray-darker gray-darker 66 | .swatch.gray-dark gray-dark 67 | .swatch.gray gray 68 | .color-block 69 | .swatch.gray-light gray-light 70 | .swatch.gray-lighter gray-lighter 71 | .swatch.gray-lightest gray-lightest 72 | .swatch.off-white off-white 73 | 74 | hr 75 | h2.display-4 Buttons 76 | 77 | .button-demo 78 | 79 | h3.h5 .btn.btn-primary 80 | button.btn.btn-primary Click Me 81 | 82 | h3.h5 .btn.btn-secondary 83 | button.btn.btn-secondary Click Me 84 | 85 | h3.h5 .btn.btn-success 86 | button.btn.btn-success Click Me 87 | 88 | h3.h5 .btn.btn-info 89 | button.btn.btn-info Click Me 90 | 91 | h3.h5 .btn.btn-warning 92 | button.btn.btn-warning Click Me 93 | 94 | h3.h5 .btn.btn-danger 95 | button.btn.btn-danger Click Me 96 | 97 | h3.h5 .btn.btn-link 98 | button.btn.btn-link Click Me 99 | 100 | h2.display-4 Outline Buttons 101 | 102 | .button-demo 103 | 104 | h3.h5 .btn.btn-outline-primary 105 | button.btn.btn-outline-primary Click Me 106 | 107 | h3.h5 .btn.btn-outline-secondary 108 | button.btn.btn-outline-secondary Click Me 109 | 110 | h3.h5 .btn.btn-outline-success 111 | button.btn.btn-outline-success Click Me 112 | 113 | h3.h5 .btn.btn-outline-info 114 | button.btn.btn-outline-info Click Me 115 | 116 | h3.h5 .btn.btn-outline-warning 117 | button.btn.btn-outline-warning Click Me 118 | 119 | h3.h5 .btn.btn-outline-danger 120 | button.btn.btn-outline-danger Click Me 121 | 122 | hr 123 | h2.display-4 Typography 124 | 125 | .text-blocks 126 | +text-block('600', 'Extra Bold') 127 | +text-block('500', 'Bold') 128 | +text-block('400', 'SemiBold') 129 | +text-block('300', 'Medium') 130 | +text-block('200', 'Regular') 131 | +text-block('100', 'Light') 132 | 133 | hr 134 | h2.display-4 Headings 135 | 136 | .typography 137 | .jumbotron 138 | h1.display-1 Display headings 139 | h2.display-2 in a Jumbotron 140 | 141 | .type-unit 142 | h1 Headline 1 143 | p.meta 3.8rem, Zilla Slab 400 144 | 145 | .type-unit 146 | h2 Headline 2 147 | p.meta 3.5rem, Zilla Slab 200 148 | 149 | .type-unit 150 | h3 Headline 3 151 | p.meta 2.6rem, Zilla Slab 300 152 | 153 | .type-unit 154 | h4 Headline 4 155 | p.meta 1.8rem, Zilla Slab 400 156 | 157 | .type-unit 158 | p Body Copy Text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed quae tandem ista ratio est? Quid enim de amicitia statueris utilitatis causa expetenda vides. Non igitur de improbo, sed de callido improbo quaerimus, qualis Q. Verum tamen cum de rebus grandioribus dicas, ipsae res verba rapiunt; Duo Reges: constructio interrete. Tecum optime, deinde etiam cum mediocri amico. Negare non possum. Quamquam haec quidem praeposita recte et reiecta dicere licebit. Solum praeterea formosum, solum liberum, solum civem, stultost; Te enim iudicem aequum puto, modo quae dicat ille bene noris. 159 | p.meta paragraph default, 1.1rem, Zilla Slab Medium 160 | 161 | .type-unit 162 | a(href="#") Link Text 163 | p.meta Inherits font from parent 164 | 165 | .type-unit 166 | p.small Small copy for notes and additional descriptive details 167 | p.meta .small, .8em, Zilla Slab Medium 168 | 169 | .type-unit 170 | p.intro This is introductory text for a new section of content near the top of the page. Teach how to read, write, and participate on the Web. 171 | p.meta .intro, 1.6rem, 200 172 | 173 | .type-unit 174 | p.lead Make a paragraph stand out by adding .lead. 175 | p.meta .lead 176 | 177 | .type-unit 178 | blockquote.blockquote Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. 179 | p.meta .blockquote 180 | 181 | h2.display-4 Lists 182 | 183 | h5 Regular List, no classes 184 | 185 | ul 186 | li Item 1 187 | li Item 2 188 | li Item 3 which is a bit longer to show what text would look like if we had a list of long items that requires the content to wrap to another line 189 | li Item 4 190 | ul 191 | li Nested item 1 192 | li Nested item 2 193 | li Item 5 194 | 195 | 196 | h5 Unstyled List (ul.list-unstyled) 197 | 198 | ul.list-unstyled 199 | li Item 1 200 | li Item 2 201 | li Item 3 202 | li Item 4 203 | li Item 5 204 | 205 | h5 Inline List (ul.list-inline) 206 | 207 | ul.list-inline 208 | li.list-inline-item Item 1 209 | li.list-inline-item Item 2 210 | li.list-inline-item Item 3 211 | li.list-inline-item Item 4 212 | li.list-inline-item Item 5 213 | 214 | h5 List Group (ul.list-group) 215 | 216 | ul.list-group 217 | li.list-group-item Hello, I'm a list item. 218 | li.list-group-item Hello, I'm a list item. 219 | li.list-group-item Hello, I'm a list item. 220 | 221 | footer.mofo-footer 222 | .container 223 | ul.list-unstyled.footer-links.row.justify-content-center 224 | li.col-auto 225 | a(href="#" class="footer-link-info") Info 226 | li.col-auto 227 | a(href="#" class="footer-link-email") Email 228 | li.col-auto 229 | a(href="#" class="footer-link-github") GitHub 230 | li.col-auto 231 | a(href="#" class="footer-link-chat") IRC 232 | li.col-auto 233 | a(href="#" class="footer-link-twitter") Twitter 234 | li.col-auto 235 | a(href="#" class="footer-link-facebook") Facebook 236 | li.col-auto 237 | a(href="#" class="footer-link-cc-license") License 238 | li.col-auto 239 | a(href="https://www.mozilla.org/about/governance/policies/participation/" class="footer-link-participation-guidelines") Participation Guidelines 240 | li.col-auto 241 | a(href="https://www.mozilla.org/privacy/websites/#cookies" class="footer-link-cookies") Cookies 242 | li.col-auto 243 | a(href="#" class="footer-link-legal") Legal 244 | li.col-auto 245 | a(href="#" class="footer-link-privacy") Privacy 246 | li.col-auto 247 | a(href="#" class="footer-link-donate") Donate 248 | .org-info.mozilla 249 | div.logo-container 250 | a.logo(href="https://mozilla.org") 251 | p Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at #[a(href="https://mozilla.org") mozilla.org]. 252 | -------------------------------------------------------------------------------- /src/scss/custom/_colors.scss: -------------------------------------------------------------------------------- 1 | $charcoal: #4d4f53; //Deprecated, to be removed with next major version 2 | 3 | $white: #fff; 4 | $black: #000; 5 | 6 | $gray: #7a7a7f; 7 | $gray-light: lighten($gray, 20%); 8 | $gray-lighter: lighten($gray, 30%); 9 | $gray-lightest: lighten($gray, 40%); 10 | $gray-dark: darken($gray, 20%); 11 | $gray-darker: darken($gray, 30%); 12 | $gray-darkest: darken($gray, 40%); 13 | $off-white: lighten($gray, 46%); 14 | 15 | $dino-red: #d24735; 16 | $firefox-orange: #f26c23; 17 | $market-orange: #f89c24; 18 | $flame-yellow: #ffcd02; 19 | $gecko-green: #7dc14c; 20 | $summit-teal: #3bba99; 21 | $mobile-blue: #16afe5; 22 | $developer-blue: #4383bf; 23 | $nightly-blue: #5a6ba4; 24 | $aurora-purple: #ab5da4; 25 | $bikeshed-magenta: #e14164; 26 | -------------------------------------------------------------------------------- /src/scss/custom/components/_footer.scss: -------------------------------------------------------------------------------- 1 | .mofo-footer { 2 | font-size: 0.875rem; 3 | background: $black; 4 | color: transparentize($white,0.5); 5 | padding-top: 50px; 6 | padding-bottom: 50px; 7 | 8 | .footer-links { 9 | li { 10 | margin: 0 1rem 1rem; 11 | a { 12 | display: inline-block; 13 | position: relative; 14 | padding-left: 1.5rem; 15 | color: $white; 16 | text-decoration: none; 17 | opacity: 0.5; 18 | 19 | &:hover, 20 | &:active, 21 | &:focus { 22 | opacity: 1; 23 | } 24 | 25 | &::before { 26 | position: absolute; 27 | content: ' '; 28 | width: 19px; 29 | height: 19px; 30 | top: 0; 31 | left: 0; 32 | background-repeat: no-repeat; 33 | background-position: left center; 34 | background-size: auto 100%; 35 | } 36 | 37 | &.footer-link-info::before { 38 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EFill-1%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22info-i%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9%2C0%20C4.02944122%2C0%200%2C4.02944122%200%2C9%20C0%2C13.9705588%204.02944122%2C18%209%2C18%20C13.9705588%2C18%2018%2C13.9705588%2018%2C9%20C18%2C4.02944122%2013.9705588%2C0%209%2C0%20L9%2C0%20Z%20M8.77839027%2C1.99063832%20C9.61712519%2C1.99063832%2010.297088%2C2.67060118%2010.297088%2C3.50933609%20C10.297088%2C4.348071%209.61712519%2C5.02803386%208.77839027%2C5.02803386%20C7.93965536%2C5.02803386%207.2596925%2C4.348071%207.2596925%2C3.50933609%20C7.2596925%2C2.67060118%207.93965536%2C1.99063832%208.77839027%2C1.99063832%20L8.77839027%2C1.99063832%20Z%20M11.3772381%2C15.6422054%20L6.58239448%2C15.6422054%20L6.58239448%2C14.2041439%20L7.27156915%2C14.1455831%20C7.64908869%2C14.1064658%207.88267376%2C13.8983777%207.88267376%2C13.520595%20L7.88267376%2C8.09132116%20C7.88267376%2C7.87007333%207.82595536%2C7.72024989%207.75456386%2C7.64211404%20C7.68281048%2C7.56401108%207.53732975%2C7.52499251%207.35516629%2C7.52499251%20L6.66365577%2C7.48587523%20L6.66365577%2C5.88999569%20L10.1581872%2C5.88999569%20L10.1581872%2C8.09339382%20L10.1581872%2C8.52463792%20L10.1581872%2C13.5226676%20C10.1581872%2C13.9004504%2010.3511745%2C14.1085714%2010.7286611%2C14.1476557%20L11.3772381%2C14.2062494%20L11.3772381%2C15.6422054%20Z%22%20id%3D%22Fill-1%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 39 | } 40 | 41 | &.footer-link-email::before { 42 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EOval-1%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22email%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9%2C18%20C13.9705627%2C18%2018%2C13.9705627%2018%2C9%20C18%2C4.02943725%2013.9705627%2C0%209%2C0%20C4.02943725%2C0%200%2C4.02943725%200%2C9%20C0%2C13.9705627%204.02943725%2C18%209%2C18%20Z%20M14.6842173%2C7.41400187%20C14.4938976%2C7.62335362%2014.2782018%2C7.80732941%2014.0498181%2C7.96592922%20C12.9903713%2C8.68280037%2011.9245806%2C9.40601552%2010.8905098%2C10.1546067%20C10.3576144%2C10.5479342%209.69783916%2C11.0300776%209.006344%2C11.0300776%20L9%2C11.0300776%20L8.993656%2C11.0300776%20C8.30216082%2C11.0300776%207.6423856%2C10.5479342%207.10949023%2C10.1546067%20C6.07541945%2C9.39967153%205.0096287%2C8.68280037%203.95652594%2C7.96592922%20C3.72179822%2C7.80732941%203.50610247%2C7.62335362%203.3157827%2C7.41400187%20L3.3157827%2C12.4511319%20C3.3157827%2C13.0094033%203.77255016%2C13.4661707%204.33082151%2C13.4661707%20L13.6691785%2C13.4661707%20C14.2274498%2C13.4661707%2014.6842173%2C13.0094033%2014.6842173%2C12.4511319%20L14.6842173%2C7.41400187%20Z%20M14.6842173%2C5.54886806%20C14.6842173%2C4.99059673%2014.2211059%2C4.53382927%2013.6691785%2C4.53382927%20L4.33082151%2C4.53382927%20C3.6520143%2C4.53382927%203.3157827%2C5.06672464%203.3157827%2C5.6884359%20C3.3157827%2C6.26573923%203.95652594%2C6.98261038%204.40694941%2C7.28712202%20C5.39026825%2C7.97227321%206.38627508%2C8.65742441%207.36959393%2C9.34891959%20C7.78195343%2C9.63439929%208.47979261%2C10.2180465%208.993656%2C10.2180465%20L9%2C10.2180465%20L9.006344%2C10.2180465%20C9.52020739%2C10.2180465%2010.2180465%2C9.63439929%2010.6304061%2C9.34891959%20C11.613725%2C8.65742441%2012.6097317%2C7.97227321%2013.5993946%2C7.28712202%20C14.1576659%2C6.90013847%2014.6842173%2C6.25939523%2014.6842173%2C5.54886806%20Z%22%20id%3D%22Oval-1%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 43 | } 44 | 45 | &.footer-link-github::before { 46 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EFill%201%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22github%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.8470507%2C17.9850526%20C11.3901108%2C18.0691589%2011.2384334%2C17.7816328%2011.2384334%2C17.5400717%20L11.2384334%2C15.0061255%20C11.2384334%2C14.1406132%2010.9570194%2C13.5880545%2010.6288622%2C13.2995503%20C12.632148%2C13.071681%2014.7422757%2C12.290275%2014.7422757%2C8.74607535%20C14.7422757%2C7.73679997%2014.3902698%2C6.90845089%2013.8169484%2C6.27178589%20C13.9104351%2C6.03120281%2014.2147438%2C5.09429794%2013.7215539%2C3.82096795%20C12.9717526%2C3.58038487%2011.2498808%2C4.76960858%2011.2498808%2C4.76960858%20C10.5353755%2C4.56618873%209.76077164%2C4.45763295%208.99952303%2C4.45763295%20C8.23827442%2C4.45763295%207.46462452%2C4.56618873%206.75011924%2C4.76960858%20C6.75011924%2C4.76960858%205.02729344%2C3.58038487%204.26509089%2C3.82096795%20C3.78525624%2C5.09429794%204.08956489%2C6.03120281%204.18305157%2C6.27178589%20C3.60973025%2C6.90845089%203.25772431%2C7.73679997%203.25772431%2C8.74607535%20C3.25772431%2C12.2785392%205.35545074%2C13.071681%207.3596905%2C13.2995503%20C7.10117123%2C13.5401334%206.86745456%2C13.9371933%206.78541523%2C14.5376731%20C6.26933065%2C14.7772782%204.95670147%2C15.1860738%204.17160422%2C13.7680028%20C3.67936828%2C12.8917327%202.78933701%2C12.8193622%202.78933701%2C12.8193622%20C1.91075309%2C12.8076264%202.73114632%2C13.3836566%202.73114632%2C13.3836566%20C3.31686894%2C13.660425%203.72611161%2C14.7293571%203.72611161%2C14.7293571%20C4.25364354%2C16.3752975%206.76156659%2C15.8227388%206.76156659%2C15.8227388%20C6.76156659%2C16.5914311%206.77396788%2C17.3239381%206.77396788%2C17.5400717%20C6.77396788%2C17.7816328%206.60988924%2C18.0691589%206.15294928%2C17.9850526%20C2.57851502%2C16.7596437%200%2C13.2995503%200%2C9.22724153%20C0%2C4.13294358%204.03137421%2C1.42108547e-14%208.99952303%2C1.42108547e-14%20C13.9686258%2C1.42108547e-14%2018%2C4.13294358%2018%2C9.22724153%20C18%2C13.2995503%2015.421485%2C16.7596437%2011.8470507%2C17.9850526%22%20id%3D%22Fill-1%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 47 | } 48 | 49 | &.footer-link-chat::before { 50 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EGroup%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22speech-bubble%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9%2C0%20C4%2C0%200%2C4%200%2C9%20C0%2C14%204%2C18%209%2C18%20C14%2C18%2018%2C14%2018%2C9%20C18%2C4%2014%2C0%209%2C0%20L9%2C0%20Z%20M13.4%2C10.4%20C12.9%2C11%2012.3%2C11.4%2011.5%2C11.7%20C10.7%2C12%209.9%2C12.2%208.9%2C12.2%20C8.5%2C12.2%208.1%2C12.2%207.6%2C12.1%20C7%2C12.5%206.3%2C12.8%205.6%2C13%20C5.4%2C13%205.2%2C13.1%205%2C13.1%20L5%2C13.1%20C4.9%2C13.1%204.9%2C13.1%204.9%2C13%20C4.9%2C13%204.8%2C12.9%204.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20L4.8%2C12.8%20C4.8%2C12.8%204.9%2C12.7%205%2C12.6%20C5.1%2C12.5%205.1%2C12.4%205.2%2C12.4%20C5.2%2C12.3%205.3%2C12.3%205.4%2C12.2%20C5.5%2C12.1%205.5%2C12%205.6%2C11.9%20C5.7%2C11.8%205.7%2C11.7%205.7%2C11.6%20C5.1%2C11.3%204.6%2C10.8%204.3%2C10.3%20C4%2C9.8%203.8%2C9.3%203.8%2C8.7%20C3.8%2C8%204%2C7.4%204.5%2C6.8%20C5%2C6.2%205.6%2C5.8%206.4%2C5.5%20C7.2%2C5%208.1%2C4.8%209%2C4.8%20C9.9%2C4.8%2010.8%2C5%2011.6%2C5.3%20C12.4%2C5.6%2013%2C6.1%2013.5%2C6.6%20C14%2C7.2%2014.2%2C7.8%2014.2%2C8.5%20C14.2%2C9.2%2013.9%2C9.8%2013.4%2C10.4%20L13.4%2C10.4%20Z%22%20id%3D%22Shape%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 51 | } 52 | 53 | &.footer-link-twitter::before { 54 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EFill%201%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22twitter%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M13.0506037%2C7.11306681%20C13.0573652%2C7.2038637%2013.0573652%2C7.29369466%2013.0573652%2C7.38449155%20C13.0573652%2C10.1480011%2010.9545479%2C13.3307218%207.11113496%2C13.3307218%20C5.92691173%2C13.3307218%204.82672391%2C12.9887845%203.90136839%2C12.3928092%20C4.06943923%2C12.4121277%204.23171452%2C12.4188892%204.40654682%2C12.4188892%20C5.38406225%2C12.4188892%206.28237188%2C12.0885431%207.00005366%2C11.5254092%20C6.08145962%2C11.5060907%205.31161792%2C10.9043198%205.04695466%2C10.0765227%20C5.17638852%2C10.0958412%205.30485645%2C10.1093641%205.44105178%2C10.1093641%20C5.62844111%2C10.1093641%205.81679635%2C10.0832841%205.99066273%2C10.0378857%20C5.03343171%2C9.84373491%204.31574993%2C9.00241481%204.31574993%2C7.98626241%20L4.31574993%2C7.96018245%20C4.59393614%2C8.11666219%204.91752079%2C8.21325463%205.26042393%2C8.22581164%20C4.69825597%2C7.851033%204.32927287%2C7.21062517%204.32927287%2C6.48618192%20C4.32927287%2C6.09691441%204.43166085%2C5.74145425%204.61325463%2C5.43042662%20C5.64196405%2C6.69868527%207.18840891%2C7.52744835%208.92320902%2C7.61727931%20C8.88940166%2C7.46273142%208.8710491%2C7.30045613%208.8710491%2C7.13914677%20C8.8710491%2C5.98679903%209.80316609%2C5.0488865%2010.9603434%2C5.0488865%20C11.5621143%2C5.0488865%2012.1059297%2C5.30195868%2012.4874698%2C5.70861283%20C12.9598068%2C5.61878186%2013.4128253%2C5.44394956%2013.8136839%2C5.20440032%20C13.659136%2C5.68929434%2013.3287899%2C6.09691441%2012.8950899%2C6.35578213%20C13.315267%2C6.31038369%2013.722887%2C6.19447277%2014.0986316%2C6.03219748%20C13.8136839%2C6.44657902%2013.4582238%2C6.81556211%2013.0506037%2C7.11306681%20M9.00048296%2C0%20C4.02983633%2C0%200%2C4.02983633%200%2C9.00048296%20C0%2C13.9701637%204.02983633%2C18%209.00048296%2C18%20C13.9711296%2C18%2018%2C13.9701637%2018%2C9.00048296%20C18%2C4.02983633%2013.9711296%2C0%209.00048296%2C0%22%20id%3D%22Fill-1%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 55 | } 56 | 57 | &.footer-link-facebook::before { 58 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EShape%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22facebook%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10.6645263%2C17.9087356%20C14.8395789%2C17.1253829%2018%2C13.4481884%2018%2C9.03137213%20C18%2C4.0432027%2013.9708421%2C0%209%2C0%20C4.02915789%2C0%200%2C4.0432027%200%2C9.03137213%20C0%2C13.6554347%203.46357895%2C17.4685751%207.92947368%2C18%20L7.92947368%2C11.5240308%20L5.64347368%2C11.5240308%20L5.64347368%2C8.86690609%20L7.92947368%2C8.86690609%20L7.92947368%2C6.90662301%20C7.92947368%2C4.63261857%209.31452632%2C3.39389458%2011.3362105%2C3.39389458%20C12.3044211%2C3.39389458%2013.1362105%2C3.46614556%2013.3796842%2C3.49846836%20L13.3796842%2C5.87514524%20L11.9775789%2C5.87514524%20C10.8786316%2C5.87514524%2010.6645263%2C6.40086617%2010.6645263%2C7.1699588%20L10.6645263%2C8.86690609%20L13.2868421%2C8.86690609%20L12.9457895%2C11.5240308%20L10.6645263%2C11.5240308%20L10.6645263%2C17.9087356%20Z%22%20id%3D%22Shape%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 59 | } 60 | 61 | &.footer-link-cc-license::before { 62 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3ELicense%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22creative-commons-solid%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9%2C0%20C4.073684%2C0%200%2C4.0736842%200%2C9%20C0%2C13.9263158%204.073684%2C18%209%2C18%20C13.926316%2C18%2018%2C13.9263158%2018%2C9%20C18%2C4.0736842%2013.926316%2C0%209%2C0%20L9%2C0%20Z%20M7.863158%2C11.6526316%20C7.389474%2C11.9368421%206.915789%2C12.0315789%206.347368%2C12.0315789%20C5.494737%2C12.0315789%204.736842%2C11.7473684%204.168421%2C11.2736842%20C3.6%2C10.7052632%203.315789%2C9.9473684%203.315789%2C9%20C3.315789%2C8.0526316%203.6%2C7.2947368%204.168421%2C6.8210526%20C4.736842%2C6.2526316%205.4%2C5.9684211%206.252632%2C5.9684211%20C7.484211%2C5.9684211%208.431579%2C6.4421053%208.905263%2C7.3894737%20L7.578947%2C8.0526316%20C7.484211%2C7.7684211%207.294737%2C7.5789474%207.105263%2C7.4842105%20C6.915789%2C7.2947368%206.726316%2C7.2947368%206.536842%2C7.2947368%20C5.684211%2C7.2947368%205.210526%2C7.8631579%205.210526%2C9%20C5.210526%2C9.5684211%205.305263%2C9.9473684%205.589474%2C10.2315789%20C5.778947%2C10.5157895%206.157895%2C10.7052632%206.631579%2C10.7052632%20C7.2%2C10.7052632%207.673684%2C10.4210526%207.863158%2C9.8526316%20L9.094737%2C10.4210526%20C8.715789%2C10.9894737%208.336842%2C11.3684211%207.863158%2C11.6526316%20L7.863158%2C11.6526316%20Z%20M13.547368%2C11.6526316%20C13.073684%2C11.9368421%2012.6%2C12.0315789%2012.031579%2C12.0315789%20C11.084211%2C12.0315789%2010.421053%2C11.7473684%209.852632%2C11.2736842%20C9.284211%2C10.7052632%209%2C9.9473684%209%2C9%20C9%2C8.0526316%209.284211%2C7.2947368%209.852632%2C6.8210526%20C10.421053%2C6.2526316%2011.084211%2C5.9684211%2011.936842%2C5.9684211%20C13.168421%2C5.9684211%2014.115789%2C6.4421053%2014.589474%2C7.3894737%20L13.263158%2C8.0526316%20C13.073684%2C7.7684211%2012.978947%2C7.5789474%2012.694737%2C7.4842105%20C12.505263%2C7.3894737%2012.315789%2C7.2947368%2012.126316%2C7.2947368%20C11.273684%2C7.2947368%2010.8%2C7.8631579%2010.8%2C9%20C10.8%2C9.5684211%2010.894737%2C9.9473684%2011.178947%2C10.2315789%20C11.368421%2C10.5157895%2011.747368%2C10.7052632%2012.221053%2C10.7052632%20C12.789474%2C10.7052632%2013.263158%2C10.4210526%2013.452632%2C9.8526316%20L14.684211%2C10.4210526%20C14.4%2C10.9894737%2014.021053%2C11.3684211%2013.547368%2C11.6526316%20L13.547368%2C11.6526316%20Z%22%20id%3D%22License%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 63 | } 64 | 65 | &.footer-link-participation-guidelines::before { 66 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EShape%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22community%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9%2C0%20C4%2C0%200%2C4%200%2C9%20C0%2C14%204%2C18%209%2C18%20C14%2C18%2018%2C14%2018%2C9%20C18%2C4%2014%2C0%209%2C0%20L9%2C0%20Z%20M6.3%2C5.6%20C7%2C5.6%207.6%2C6.2%207.6%2C6.9%20C7.6%2C7.6%207%2C8.2%206.3%2C8.2%20C5.6%2C8.2%205%2C7.7%205%2C7%20C5%2C6.2%205.6%2C5.6%206.3%2C5.6%20L6.3%2C5.6%20Z%20M12.8%2C11.5%20C12.3%2C13.2%2010.7%2C14.3%209%2C14.3%20C7.2%2C14.3%205.7%2C13.2%205.2%2C11.5%20C5.1%2C11.1%205.3%2C10.8%205.6%2C10.7%20C5.9%2C10.6%206.3%2C10.8%206.4%2C11.1%20C6.8%2C12.2%207.8%2C13%209%2C13%20C10.2%2C13%2011.2%2C12.2%2011.5%2C11.1%20C11.6%2C10.7%2012%2C10.5%2012.3%2C10.7%20C12.7%2C10.8%2012.9%2C11.1%2012.8%2C11.5%20L12.8%2C11.5%20Z%20M11.7%2C8.3%20C11%2C8.3%2010.4%2C7.7%2010.4%2C7%20C10.4%2C6.3%2011%2C5.7%2011.7%2C5.7%20C12.4%2C5.7%2013%2C6.2%2013%2C7%20C13%2C7.7%2012.4%2C8.3%2011.7%2C8.3%20L11.7%2C8.3%20Z%22%20id%3D%22Shape%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 67 | } 68 | 69 | &.footer-link-cookies::before { 70 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EPage%201%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%2218%2017.99982%2018%200%200.000135%200%200.000135%2017.99982%2018%2017.99982%22%3E%3C/polygon%3E%0A%20%20%20%20%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22NSF-Challenge%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20opacity%3D%221%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-Copy-2%22%20transform%3D%22translate%28-651.000000%2C%20-3745.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Footer%22%20transform%3D%22translate%281.000000%2C%203695.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Links-Copy%22%20transform%3D%22translate%28449.000000%2C%2050.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%28201.000000%2C%200.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C/use%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/mask%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Clip-2%22%3E%3C/g%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.740085%2C9.52632%20C12.080835%2C9.52632%2011.546235%2C8.99172%2011.546235%2C8.33247%20C11.546235%2C7.67322%2012.080835%2C7.13907%2012.740085%2C7.13907%20C13.399335%2C7.13907%2013.933935%2C7.67322%2013.933935%2C8.33247%20C13.933935%2C8.99172%2013.399335%2C9.52632%2012.740085%2C9.52632%20M12.127635%2C12.95082%20C11.630835%2C12.95082%2011.228085%2C12.54807%2011.228085%2C12.05127%20C11.228085%2C11.55447%2011.630835%2C11.15172%2012.127635%2C11.15172%20C12.624435%2C11.15172%2013.027185%2C11.55447%2013.027185%2C12.05127%20C13.027185%2C12.54807%2012.624435%2C12.95082%2012.127635%2C12.95082%20M9.899685%2C5.42457%20C9.402885%2C5.42457%209.000135%2C5.02182%209.000135%2C4.52547%20C9.000135%2C4.02867%209.402885%2C3.62592%209.899685%2C3.62592%20C10.396035%2C3.62592%2010.798785%2C4.02867%2010.798785%2C4.52547%20C10.798785%2C5.02182%2010.396035%2C5.42457%209.899685%2C5.42457%20M8.329185%2C10.72017%20C7.669935%2C10.72017%207.135785%2C10.18557%207.135785%2C9.52632%20C7.135785%2C8.86707%207.669935%2C8.33247%208.329185%2C8.33247%20C8.988435%2C8.33247%209.523035%2C8.86707%209.523035%2C9.52632%20C9.523035%2C10.18557%208.988435%2C10.72017%208.329185%2C10.72017%20M8.398935%2C14.13297%20C7.902135%2C14.13297%207.499385%2C13.73022%207.499385%2C13.23342%20C7.499385%2C12.73707%207.902135%2C12.33432%208.398935%2C12.33432%20C8.895735%2C12.33432%209.298485%2C12.73707%209.298485%2C13.23342%20C9.298485%2C13.73022%208.895735%2C14.13297%208.398935%2C14.13297%20M4.919085%2C8.70777%20C4.259835%2C8.70777%203.725235%2C8.17362%203.725235%2C7.51437%20C3.725235%2C6.85512%204.259835%2C6.32052%204.919085%2C6.32052%20C5.578335%2C6.32052%206.112485%2C6.85512%206.112485%2C7.51437%20C6.112485%2C8.17362%205.578335%2C8.70777%204.919085%2C8.70777%20M9.000135%2C-0.00018%20C4.029435%2C-0.00018%200.000135%2C4.02957%200.000135%2C8.99982%20C0.000135%2C13.97052%204.029435%2C17.99982%209.000135%2C17.99982%20C13.970385%2C17.99982%2018.000135%2C13.97052%2018.000135%2C8.99982%20C18.000135%2C4.02957%2013.970385%2C-0.00018%209.000135%2C-0.00018%22%20id%3D%22Fill-1%22%20fill%3D%22%23FEFEFE%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 71 | } 72 | 73 | &.footer-link-legal::before { 74 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EFill%201%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22checkmark-circle%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M14.2790598%2C6.03219748%20L8.07362885%2C13.4282801%20C8.04175164%2C13.4649852%207.99635076%2C13.4823719%207.95094988%2C13.4785082%20C7.92197059%2C13.4756104%207.89395728%2C13.4649852%207.86980788%2C13.4447008%20L3.73832779%2C9.97799839%20C3.67747129%2C9.92777032%203.66974348%2C9.83793936%203.71997424%2C9.77708613%20L4.99796072%2C8.25478937%20C5.04819148%2C8.19490207%205.13802726%2C8.18717467%205.19888376%2C8.23836866%20L7.70076205%2C10.3382882%20L12.5393367%2C4.57268581%20C12.5895675%2C4.51183257%2012.6794032%2C4.50410518%2012.7392938%2C4.55433324%20L14.2616722%2C5.83225114%20C14.3225287%2C5.88247921%2014.3302565%2C5.97231017%2014.2790598%2C6.03219748%20M9%2C0%20C4.02908662%2C0%200%2C4.02983633%200%2C8.99951704%20C0%2C13.9701637%204.02908662%2C18%209%2C18%20C13.9709134%2C18%2018%2C13.9701637%2018%2C8.99951704%20C18%2C4.02983633%2013.9709134%2C0%209%2C0%22%20id%3D%22Fill-1%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 75 | } 76 | 77 | &.footer-link-privacy::before { 78 | background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EGroup%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20fill%3D%22%23FFFFFF%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9%2C5.2%20C8.1%2C5.2%207.4%2C5.9%207.4%2C6.8%20L7.4%2C7.9%20L10.6%2C7.9%20L10.6%2C6.8%20C10.6%2C5.9%209.9%2C5.2%209%2C5.2%22%20id%3D%22Fill-1%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.9%2C13.7%20L5.1%2C13.7%20L5.1%2C7.9%20L6.1%2C7.9%20L6.1%2C6.8%20C6.1%2C5.2%207.4%2C3.9%209%2C3.9%20C10.6%2C3.9%2011.9%2C5.2%2011.9%2C6.8%20L11.9%2C7.9%20L12.9%2C7.9%20L12.9%2C13.7%20Z%20M9%2C0%20C4%2C0%200%2C4%200%2C9%20C0%2C14%204%2C18%209%2C18%20C14%2C18%2018%2C14%2018%2C9%20C18%2C4%2014%2C0%209%2C0%20L9%2C0%20Z%22%20id%3D%22Fill-3%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 79 | } 80 | 81 | &.footer-link-donate::before { 82 | height: 76%; 83 | top: 7%; 84 | background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2018%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3EHeart%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22All%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22heart%22%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%20fill%3D%22%23ffffff%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.8309883%2C10.7489656%20L9.53457252%2C16.7437024%20C9.44462372%2C16.8331761%209.26472612%2C16.9226498%209.08482853%2C16.9226498%20C8.90493094%2C16.9226498%208.72503334%2C16.8331761%208.63508454%2C16.7437024%20L2.33866873%2C10.7489656%20C2.24871993%2C10.6594919%200%2C8.69107086%200%2C6.27528139%20C0%2C3.32264981%201.79897595%2C1.62264981%204.76728626%2C1.62264981%20C6.5662622%2C1.62264981%208.18534056%2C2.96475507%208.99487973%2C3.77001823%20C9.80441891%2C2.96475507%2011.4234973%2C1.62264981%2013.2224732%2C1.62264981%20C16.1907835%2C1.62264981%2017.9897595%2C3.41212349%2017.9897595%2C6.27528139%20C18.1696571%2C8.69107086%2015.9209371%2C10.6594919%2015.8309883%2C10.7489656%22%20id%3D%22Heart%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 85 | } 86 | 87 | 88 | } 89 | } 90 | } 91 | 92 | .org-info { 93 | display: flex; 94 | flex-direction: column; 95 | align-items: center; 96 | max-width: 35rem; 97 | margin-top: .5rem; 98 | margin-right: auto; 99 | margin-left: auto; 100 | 101 | &:not(:last-child) { 102 | margin-bottom: 2rem; 103 | } 104 | 105 | @include media-breakpoint-up(md) { 106 | flex-direction: row; 107 | } 108 | 109 | .logo-container { 110 | width: 100px; 111 | } 112 | 113 | .logo { 114 | display: block; 115 | background-repeat: no-repeat; 116 | background-position: left center; 117 | background-size: 100% auto; 118 | margin: 0 auto; 119 | } 120 | 121 | .logo-container + p { 122 | position: relative; 123 | margin-bottom: 0; 124 | margin-top: 1.5rem; 125 | padding-top: 1.5rem; 126 | text-align: center; 127 | 128 | &::before { 129 | position: absolute; 130 | content: ""; 131 | width: 5rem; 132 | height: 0; 133 | border-bottom: 1px solid transparentize($white,0.5); 134 | top: 0%; 135 | left: calc( (100% - 5rem) / 2 ); 136 | } 137 | 138 | @include media-breakpoint-up(md) { 139 | padding-top: 0; 140 | margin-top: 0; 141 | padding-left: 1.5rem; 142 | margin-left: 1.5rem; 143 | text-align: left; 144 | 145 | &::before { 146 | width: 0; 147 | height: 70%; 148 | border-top: 0; 149 | border-left: 1px solid transparentize($white,0.5); 150 | top: 15%; 151 | left: 0; 152 | } 153 | } 154 | 155 | a { 156 | color: $white; 157 | } 158 | } 159 | 160 | &.mozilla { 161 | .logo { 162 | height: 30px; 163 | width: 93px; 164 | background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%0A%3Csvg%20width%3D%2296px%22%20height%3D%2231px%22%20viewBox%3D%220%200%2096%2031%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%0A%20%20%20%20%3C%21--%20Generator%3A%20Sketch%2041.2%20%2835397%29%20-%20http%3A//www.bohemiancoding.com/sketch%20--%3E%0A%20%20%20%20%3Ctitle%3Elogo%3C/title%3E%0A%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C/desc%3E%0A%20%20%20%20%3Cdefs%3E%3C/defs%3E%0A%20%20%20%20%3Cg%20id%3D%22NSF-Challenge%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-Comp%22%20transform%3D%22translate%28-324.000000%2C%20-4115.000000%29%22%20fill%3D%22%23FFFFFF%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Footer%22%20transform%3D%22translate%280.000000%2C%203995.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Mozilla-Copy%22%20transform%3D%22translate%28324.000000%2C%20103.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22logo%22%20transform%3D%22translate%280.000000%2C%2017.000000%29%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M83.4818653%2C19.222864%20C83.4818653%2C20.0297618%2083.8748187%2C20.6693759%2084.9740933%2C20.6693759%20C86.2673575%2C20.6693759%2087.6451813%2C19.7509557%2087.7280829%2C17.6664697%20C87.124628%2C17.5707462%2086.515262%2C17.5159505%2085.9042487%2C17.5024661%20C84.6060104%2C17.500826%2083.4818653%2C17.861634%2083.4818653%2C19.222864%20L83.4818653%2C19.222864%20Z%22%20id%3D%22Shape%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M0%2C0%20L0%2C30.4292312%20L95.9253886%2C30.4292312%20L95.9253886%2C0%20L0%2C0%20Z%20M27.1552332%2C22.9490262%20L21.8495337%2C22.9490262%20L21.8495337%2C15.8870304%20C21.8495337%2C13.7189026%2021.118342%2C12.8841242%2019.6858031%2C12.8841242%20C17.9432124%2C12.8841242%2017.2402073%2C14.1075912%2017.2402073%2C15.8591498%20L17.2402073%2C20.2282062%20L18.9181347%2C20.2282062%20L18.9181347%2C22.9523063%20L13.6124352%2C22.9523063%20L13.6124352%2C15.8870304%20C13.6124352%2C13.7189026%2012.8829016%2C12.8841242%2011.4487047%2C12.8841242%20C9.70611399%2C12.8841242%209.00310881%2C14.1075912%209.00310881%2C15.8591498%20L9.00310881%2C20.2282062%20L11.413886%2C20.2282062%20L11.413886%2C22.9523063%20L3.68414508%2C22.9523063%20L3.68414508%2C20.2282062%20L5.37036269%2C20.2282062%20L5.37036269%2C13.1350497%20L3.5465285%2C13.1350497%20L3.5465285%2C10.4109497%20L8.99647668%2C10.4109497%20L8.99647668%2C12.3002713%20C9.75585492%2C10.9669219%2011.0773057%2C10.1600241%2012.8464249%2C10.1600241%20C14.6702591%2C10.1600241%2016.3597927%2C11.0226831%2016.9782383%2C12.8578836%20C17.6812435%2C11.1899668%2019.1137824%2C10.1600241%2021.1100518%2C10.1600241%20C23.3865285%2C10.1600241%2025.4673575%2C11.5228942%2025.4673575%2C14.4979198%20L25.4673575%2C20.2282062%20L27.1535751%2C20.2282062%20L27.1552332%2C22.9490262%20Z%20M35.2215544%2C23.2261923%20C31.3152332%2C23.2261923%2028.6159585%2C20.8629002%2028.6159585%2C16.8595719%20C28.6159585%2C13.1891709%2030.8642487%2C10.1583841%2035.413886%2C10.1583841%20C39.9635233%2C10.1583841%2042.188601%2C13.1891709%2042.188601%2C16.6922882%20C42.1919171%2C20.6972566%2039.2688083%2C23.2278324%2035.2215544%2C23.2278324%20L35.2215544%2C23.2261923%20Z%20M55.4031088%2C22.9490262%20L44.3274611%2C22.9490262%20L43.9626943%2C21.0580645%20L50.9264249%2C13.1334097%20L46.9637306%2C13.1334097%20L46.401658%2C15.0801326%20L43.786943%2C14.8029665%20L44.2362694%2C10.4093096%20L55.3782383%2C10.4093096%20L55.6584456%2C12.3002713%20L48.6283938%2C20.2282062%20L52.7253886%2C20.2282062%20L53.3156477%2C18.2814833%20L56.1823834%2C18.5586494%20L55.4031088%2C22.9490262%20Z%20M62.2607254%2C22.9490262%20L58.4654922%2C22.9490262%20L58.4654922%2C18.4454869%20L62.2607254%2C18.4454869%20L62.2607254%2C22.9490262%20Z%20M62.2607254%2C14.912849%20L58.4654922%2C14.912849%20L58.4654922%2C10.4109497%20L62.2607254%2C10.4109497%20L62.2607254%2C14.912849%20Z%20M64.2503627%2C22.9490262%20L69.7367876%2C3.82784444%20L73.3065285%2C3.82784444%20L67.8250777%2C22.9490262%20L64.2503627%2C22.9490262%20Z%20M71.6153368%2C22.9490262%20L77.0984456%2C3.82784444%20L80.6681865%2C3.82784444%20L75.1900518%2C22.9490262%20L71.6153368%2C22.9490262%20Z%20M90.5036269%2C23.2261923%20C88.8174093%2C23.2261923%2087.8905699%2C22.2520109%2087.7214508%2C20.7234971%20C86.9902591%2C22.0027254%2085.6969948%2C23.2261923%2083.6460104%2C23.2261923%20C81.8221762%2C23.2261923%2079.7396891%2C22.2520109%2079.7396891%2C19.6394332%20C79.7396891%2C16.5528851%2082.7473575%2C15.8312692%2085.6422798%2C15.8312692%20C86.3375651%2C15.8253486%2087.0325408%2C15.8625959%2087.7231088%2C15.9427917%20L87.7231088%2C15.5262225%20C87.7231088%2C14.2469943%2087.6949223%2C12.7184806%2085.6422798%2C12.7184806%20C84.8829016%2C12.7184806%2084.2926425%2C12.7742418%2083.7023834%2C13.0792885%20L83.2331606%2C14.8587278%20L80.3382383%2C14.552041%20L80.9003109%2C11.2998493%20C83.1204145%2C10.4093096%2084.2445596%2C10.1518239%2086.3253886%2C10.1518239%20C89.0528497%2C10.1518239%2091.357513%2C11.5425746%2091.357513%2C14.4060778%20L91.357513%2C19.855918%20C91.357513%2C20.579174%2091.6377202%2C20.8300995%2092.2296373%2C20.8300995%20C92.4107119%2C20.8274384%2092.5904799%2C20.7992749%2092.7635233%2C20.7464576%20L92.7917098%2C22.6374194%20C92.0906217%2C23.0151559%2091.306884%2C23.2178309%2090.508601%2C23.2278324%20L90.5036269%2C23.2261923%20Z%22%20id%3D%22Shape%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.360829%2C12.9120048%20C33.5054922%2C12.9120048%2032.3531606%2C14.2732349%2032.3531606%2C16.638167%20C32.3531606%2C18.8062948%2033.3645596%2C20.4742116%2035.3376166%2C20.4742116%20C37.2211399%2C20.4742116%2038.4580311%2C18.9735785%2038.4580311%2C16.5824058%20C38.453057%2C14.05183%2037.0768912%2C12.9120048%2035.360829%2C12.9120048%20L35.360829%2C12.9120048%20Z%22%20id%3D%22Shape%22%3E%3C/path%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%20%20%20%20%3C/g%3E%0A%20%20%20%20%3C/g%3E%0A%3C/svg%3E'); 165 | } 166 | } 167 | } 168 | } 169 | -------------------------------------------------------------------------------- /src/scss/demo.scss: -------------------------------------------------------------------------------- 1 | // This file is for Sass that applies only to the demo page 2 | 3 | @import 'mofo-bootstrap'; 4 | 5 | .jumbotron { 6 | background: $charcoal; 7 | color: $white; 8 | } 9 | 10 | .color-blocks { 11 | display: flex; 12 | margin-bottom: 2rem; 13 | } 14 | 15 | .color-block { 16 | flex: 1; 17 | margin: 10px; 18 | 19 | &:first-child { 20 | margin-left: 0; 21 | } 22 | 23 | &:last-child { 24 | margin-right: 0; 25 | } 26 | 27 | .swatch { 28 | min-height: 50px; 29 | display: flex; 30 | align-items: center; 31 | justify-content: center; 32 | flex-direction: column; 33 | } 34 | 35 | [class *= "darker"], .swatch[class*="gray"] { 36 | color: $white; 37 | } 38 | 39 | .regular { 40 | min-height: 100px; 41 | color: $white; 42 | } 43 | } 44 | 45 | .meta { 46 | > * { 47 | padding: 10px 0 0; 48 | margin: 0; 49 | } 50 | 51 | .value { 52 | color: lighten($charcoal, 20%); 53 | } 54 | } 55 | 56 | .text-block { 57 | margin: 2rem 0; 58 | text-align: left; 59 | 60 | h1 { 61 | font-size: 5rem; 62 | letter-spacing: -0.15rem; 63 | } 64 | 65 | h5 { 66 | font-size: 1.45rem; 67 | line-height: 1rem; 68 | } 69 | 70 | .meta { 71 | text-align: left; 72 | } 73 | } 74 | 75 | .button-demo { 76 | .h5 { 77 | margin-bottom: 0; 78 | } 79 | .btn { 80 | margin-bottom: 2rem; 81 | } 82 | } 83 | 84 | .hero-unit { 85 | padding: 1rem; 86 | margin: 2rem 0; 87 | width: 60vw; 88 | background: transparentize($black, 0.8); 89 | } 90 | 91 | .typography { 92 | text-align: left; 93 | 94 | > * { 95 | margin: 30px 0; 96 | } 97 | 98 | .meta { 99 | color: lighten($charcoal, 35%); 100 | } 101 | } 102 | 103 | .important-links { 104 | li { 105 | background: lighten($dino-red, 40%); 106 | 107 | a { 108 | color: darken($dino-red, 10%); 109 | 110 | &:hover { 111 | background: lighten($dino-red, 30%); 112 | } 113 | } 114 | } 115 | } 116 | 117 | .color-box { 118 | 119 | .btn { 120 | background: $dino-red; 121 | box-shadow: 0 2px 0 darken($dino-red, 10%); 122 | color: $white; 123 | transition: background 0.2s ease-in-out; 124 | 125 | &:hover { 126 | background: darken($dino-red, 10%); 127 | } 128 | } 129 | } 130 | 131 | @mixin colorBlockChildren($color, $lighten...) { 132 | @each $brightness in $lighten { 133 | @if($brightness < 0) { 134 | $brightness: $brightness * -1; 135 | .darker-#{$brightness} { 136 | background: darken($color, $brightness); 137 | &:before{ 138 | content: '#{darken($color, $brightness)}'; 139 | } 140 | } 141 | } @else { 142 | .lighter-#{$brightness} { 143 | background: lighten($color, $brightness); 144 | &:before{ 145 | content: '#{lighten($color, $brightness)}'; 146 | } 147 | } 148 | } 149 | } 150 | .regular { 151 | background: $color; 152 | &:before { 153 | content: '#{$color}'; 154 | } 155 | } 156 | } 157 | 158 | $mofo-colors: ( 159 | dino-red: $dino-red, 160 | firefox-orange: $firefox-orange, 161 | market-orange: $market-orange, 162 | flame-yellow: $flame-yellow, 163 | gecko-green: $gecko-green, 164 | summit-teal: $summit-teal, 165 | mobile-blue: $mobile-blue, 166 | developer-blue: $developer-blue, 167 | nightly-blue: $nightly-blue, 168 | aurora-purple: $aurora-purple, 169 | bikeshed-magenta: $bikeshed-magenta 170 | ); 171 | 172 | $mofo-grays:( 173 | gray-darkest: $gray-darkest, 174 | gray-darker: $gray-darker, 175 | gray-dark: $gray-dark, 176 | gray: $gray, 177 | gray-light: $gray-light, 178 | gray-lighter: $gray-lighter, 179 | gray-lightest: $gray-lightest, 180 | off-white: $off-white 181 | ); 182 | 183 | @each $colorName, $colorVar in $mofo-colors{ 184 | .color-block-#{$colorName} { 185 | @include colorBlockChildren($colorVar, -15, 15, 40); 186 | } 187 | } 188 | 189 | @each $grayName, $grayVar in $mofo-grays{ 190 | .swatch.#{$grayName} { 191 | background: $grayVar; 192 | &:before{ 193 | content: '#{$grayVar}'; 194 | } 195 | } 196 | } 197 | 198 | @mixin textBlock($weight) { 199 | .text-block-#{$weight} { 200 | h1, 201 | h5 { 202 | font-weight: $weight; 203 | } 204 | } 205 | } 206 | 207 | @include textBlock(600); 208 | @include textBlock(500); 209 | @include textBlock(400); 210 | @include textBlock(300); 211 | @include textBlock(200); 212 | @include textBlock(100); 213 | -------------------------------------------------------------------------------- /src/scss/mofo-bootstrap.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v4.0.0-alpha.6 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // Non-Bootstrap Modules 8 | // These are modules that contain code that isn't standard in Bootstrap 9 | @import 'custom/colors'; 10 | 11 | // Core variables and mixins 12 | @import '../../node_modules/bootstrap/scss/variables'; 13 | @import './overrides/variables'; 14 | @import '../../node_modules/bootstrap/scss/mixins'; 15 | @import './overrides/mixins'; 16 | 17 | // Reset and dependencies 18 | @import '../../node_modules/bootstrap/scss/normalize'; 19 | @import './overrides/normalize'; 20 | @import '../../node_modules/bootstrap/scss/print'; 21 | 22 | // Core CSS 23 | @import '../../node_modules/bootstrap/scss/reboot'; 24 | @import '../../node_modules/bootstrap/scss/type'; 25 | @import './overrides/type'; 26 | @import '../../node_modules/bootstrap/scss/images'; 27 | @import '../../node_modules/bootstrap/scss/code'; 28 | @import '../../node_modules/bootstrap/scss/grid'; 29 | @import '../../node_modules/bootstrap/scss/tables'; 30 | @import '../../node_modules/bootstrap/scss/forms'; 31 | @import '../../node_modules/bootstrap/scss/buttons'; 32 | 33 | // Components 34 | @import '../../node_modules/bootstrap/scss/transitions'; 35 | @import '../../node_modules/bootstrap/scss/dropdown'; 36 | @import '../../node_modules/bootstrap/scss/button-group'; 37 | @import '../../node_modules/bootstrap/scss/input-group'; 38 | @import '../../node_modules/bootstrap/scss/custom-forms'; 39 | @import '../../node_modules/bootstrap/scss/nav'; 40 | @import '../../node_modules/bootstrap/scss/navbar'; 41 | @import '../../node_modules/bootstrap/scss/card'; 42 | @import '../../node_modules/bootstrap/scss/breadcrumb'; 43 | @import '../../node_modules/bootstrap/scss/pagination'; 44 | @import '../../node_modules/bootstrap/scss/badge'; 45 | @import '../../node_modules/bootstrap/scss/jumbotron'; 46 | @import '../../node_modules/bootstrap/scss/alert'; 47 | @import '../../node_modules/bootstrap/scss/progress'; 48 | @import '../../node_modules/bootstrap/scss/media'; 49 | @import '../../node_modules/bootstrap/scss/list-group'; 50 | @import './overrides/list-group'; 51 | @import '../../node_modules/bootstrap/scss/responsive-embed'; 52 | @import '../../node_modules/bootstrap/scss/close'; 53 | 54 | // Components w/ JavaScript 55 | @import '../../node_modules/bootstrap/scss/modal'; 56 | @import '../../node_modules/bootstrap/scss/tooltip'; 57 | @import '../../node_modules/bootstrap/scss/popover'; 58 | @import '../../node_modules/bootstrap/scss/carousel'; 59 | 60 | // Utility classes 61 | @import '../../node_modules/bootstrap/scss/utilities'; 62 | 63 | // Additional non-Bootstrap components 64 | @import 'custom/components/footer'; 65 | -------------------------------------------------------------------------------- /src/scss/overrides/_list-group.scss: -------------------------------------------------------------------------------- 1 | .list-group { 2 | .list-group-item { 3 | border-left-style: none; 4 | border-right-style: none; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/scss/overrides/_mixins.scss: -------------------------------------------------------------------------------- 1 | //Copied from bootstrap v4.alpha4 source to change some of the border/backgroudn behavior. Compare to buttons mixin file for integrating changes, as this overloads the standard bootstrap button mixin 2 | 3 | // Button variants 4 | // 5 | // Easily pump out default styles, as well as :hover, :focus, :active, 6 | // and disabled options for all buttons 7 | 8 | @mixin button-variant($color, $background, $border) { 9 | $active-background: darken($background, 10%); 10 | $active-border: darken($border, 12%); 11 | 12 | color: $color; 13 | background-color: $background; 14 | border-color: $border; 15 | @include box-shadow($btn-box-shadow); 16 | 17 | @include hover { 18 | color: $color; 19 | background-color: $active-background; 20 | border-color: $active-border; 21 | } 22 | 23 | &:focus, 24 | &.focus { 25 | color: $color; 26 | background-color: $active-background; 27 | border-color: $active-border; 28 | } 29 | 30 | &:active, 31 | &.active, 32 | .open > &.dropdown-toggle { 33 | color: $color; 34 | background-color: $active-background; 35 | border-color: $active-border; 36 | // Remove the gradient for the pressed/active state 37 | background-image: none; 38 | @include box-shadow($btn-active-box-shadow); 39 | 40 | &:hover, 41 | &:focus, 42 | &.focus { 43 | color: $color; 44 | background-color: darken($background, 17%); 45 | border-color: darken($border, 25%); 46 | } 47 | } 48 | 49 | &.disabled, 50 | &:disabled { 51 | &:focus, 52 | &.focus { 53 | background-color: $background; 54 | border-color: $border; 55 | } 56 | @include hover { 57 | background-color: $background; 58 | border-color: $border; 59 | } 60 | } 61 | } 62 | 63 | @mixin button-outline-variant($color) { 64 | color: $color; 65 | background-image: none; 66 | background-color: transparent; 67 | border-color: $color; 68 | 69 | @include hover { 70 | color: #fff; 71 | background-color: $color; 72 | border-color: darken($color, 10%); 73 | } 74 | 75 | &:focus, 76 | &.focus { 77 | color: #fff; 78 | background-color: $color; 79 | border-color: darken($color, 10%); 80 | } 81 | 82 | &:active, 83 | &.active, 84 | .open > &.dropdown-toggle { 85 | color: #fff; 86 | background-color: $color; 87 | border-color: $color; 88 | 89 | &:hover, 90 | &:focus, 91 | &.focus { 92 | color: #fff; 93 | background-color: darken($color, 17%); 94 | border-color: darken($color, 25%); 95 | } 96 | } 97 | 98 | &.disabled, 99 | &:disabled { 100 | &:focus, 101 | &.focus { 102 | border-color: lighten($color, 20%); 103 | } 104 | @include hover { 105 | border-color: lighten($color, 20%); 106 | } 107 | } 108 | } 109 | 110 | // Button sizes 111 | @mixin button-size($padding-y, $padding-x, $font-size, $border-radius) { 112 | padding: $padding-y $padding-x; 113 | font-size: $font-size; 114 | @include border-radius($border-radius); 115 | } 116 | -------------------------------------------------------------------------------- /src/scss/overrides/_normalize.scss: -------------------------------------------------------------------------------- 1 | //This undoes setting of these elements' font to sans-serif by normalize 2 | input, 3 | optgroup, 4 | select, 5 | textarea { 6 | font-family: inherit; 7 | } 8 | 9 | // Mozilla's brand guide says UI controls should use Open Sans instead of Zilla 10 | .btn, 11 | button { 12 | font-family: 'Open Sans', X-LocaleSpecific, sans-serif; 13 | &:hover { cursor: pointer; } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/scss/overrides/_type.scss: -------------------------------------------------------------------------------- 1 | // sass-lint:disable single-line-per-selector 2 | // Because that rule just doesn't make sense for this file 3 | 4 | h1, h2, h3, h4, h5, h6, 5 | .h1, .h2, .h3, .h4, .h5, .h6 { 6 | @include media-breakpoint-up(sm) { 7 | line-height: 1.2; 8 | } 9 | } 10 | 11 | h2, .h2 { 12 | font-weight: 200; 13 | } 14 | 15 | h3, .h3 { 16 | font-weight: 300; 17 | } 18 | 19 | .intro { 20 | font-weight: 200; 21 | font-size: 1.6rem; 22 | } 23 | 24 | .display-1, .display-2 { 25 | text-shadow: 1px 3px transparentize($black, .6); 26 | } 27 | 28 | .display-2 { 29 | font-weight: 100; 30 | } 31 | 32 | .jumbotron { 33 | h1, h2, h3, h4, h5, h6, 34 | .h1, .h2, .h3, .h4, .h5, .h6 { 35 | color: $white; 36 | } 37 | 38 | h4, .h4 { 39 | opacity: 0.6; 40 | } 41 | } 42 | 43 | li { 44 | margin-bottom: $list-item-vertical-margin; 45 | 46 | ol, ul { 47 | margin-top: $list-item-vertical-margin; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/scss/overrides/_variables.scss: -------------------------------------------------------------------------------- 1 | html { 2 | font-weight: 300; 3 | } 4 | 5 | $list-item-vertical-margin: 0.25em; 6 | 7 | 8 | $font-family-sans-serif: 'Zilla Slab', 'Open Sans', X-LocaleSpecific, sans-serif; 9 | $font-family-base: $font-family-sans-serif; 10 | $link-color: $developer-blue; 11 | 12 | $enable-flex: true; // Turn on Flexbox support 13 | $enable-transitions: true; 14 | 15 | $font-size-h1: 3.8rem; 16 | $font-size-h2: 3.5rem; 17 | $font-size-h3: 2.6rem; 18 | $font-size-h4: 1.8rem; 19 | $font-size-h5: 1.25rem; 20 | $font-size-h6: 1rem; 21 | 22 | $body-color: $charcoal; 23 | $headings-color: $charcoal; 24 | $headings-line-height: 1; 25 | $headings-font-weight: 400; 26 | $headings-margin-bottom: 1.25rem; 27 | 28 | $display1-size: 4.5rem; 29 | $display1-weight: 600; 30 | $display2-size: 2.6rem; 31 | $display2-weight: 200; 32 | 33 | $btn-border-radius: 0; 34 | $btn-border-radius-sm: 0; 35 | $btn-border-radius-lg: 0; 36 | 37 | $btn-font-weight: 300; 38 | $btn-primary-bg: $nightly-blue; 39 | $btn-primary-border: darken($btn-primary-bg, 10%); 40 | $btn-secondary-bg: $aurora-purple; 41 | $btn-secondary-border: darken($btn-secondary-bg, 10%); 42 | $btn-secondary-color: $white; 43 | $btn-success-bg: $gecko-green; 44 | $btn-success-border: darken($btn-success-bg, 10%); 45 | $btn-info-bg: $mobile-blue; 46 | $btn-info-border: darken($btn-info-bg, 10%); 47 | $btn-warning-bg: $market-orange; 48 | $btn-warning-border: darken($btn-warning-bg, 10%); 49 | $btn-danger-bg: $dino-red; 50 | $btn-danger-border: darken($btn-danger-bg, 10%); 51 | 52 | $list-group-bg: transparent; 53 | $list-group-item-padding-x: 0; 54 | $list-group-border-radius: 0; 55 | $list-group-border-color: #ddd; 56 | --------------------------------------------------------------------------------