This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. Policy Dashboard | |
├── 1.0 Layout styles | |
├── 1.1 Card lists | |
├── 1.2 Card titles | |
├── 1.3 Empty states | |
└── 1.4 Loading state | |
*/ | |
/*---------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
/* Adjust font size */ | |
font-size: 100%; | |
-webkit-text-size-adjust: 100%; | |
/* Font varient */ | |
font-variant-ligatures: none; | |
-webkit-font-variant-ligatures: none; | |
/* Smoothing */ | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacer: 8px !default; | |
$spacers: ( | |
0, | |
round($spacer / 2), | |
$spacer, | |
$spacer * 2, | |
$spacer * 3, | |
$spacer * 4, | |
$spacer * 5 | |
) !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. Basic Styles | |
├── 1.0 Layout | |
└── 1.1 Grid | |
/*---------------------------------------------------------------------------- | |
1. Basic Styles | |
----------------------------------------------------------------------------*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"plugins": [ | |
"stylelint-no-unsupported-browser-features", | |
"stylelint-order", | |
"stylelint-selector-no-utility", | |
"stylelint-scss", | |
], | |
"rules": { | |
"at-rule-blacklist": ["extend"], | |
"at-rule-name-case": "lower", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"incidents":[ | |
{ | |
"summery":"Example summery triggered", | |
"time": "January 5, 2018", | |
"user": "Erica Romaguera", | |
"details": "Someone is in the hospital." | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Policies":[ | |
{ | |
"template":"Tag checker policy", | |
"description": "Find and report/alert on Missing or invalid tags" | |
}, | |
{ | |
"template":"Scheduler", | |
"description": "nill" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require('lodash') | |
var fs = require('fs') | |
var module = require('./package.json') | |
// Read external file | |
var srcCSS = fs.readFileSync('./'+module.name+'.css', 'utf8') | |
// Read template | |
var template = fs.readFileSync('./templates/README.md', 'utf8') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.flex { display: flex; } | |
.inline-flex { display: inline-flex; } | |
.flex-auto { | |
flex: 1 1 auto; | |
min-width: 0; | |
min-height: 0; | |
} | |
.flex-none { flex: none; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
function createEl(template) { | |
var el = document.createElement('div'); | |
el.innerHTML = template.trim(); | |
return el.firstChild; | |
} | |
function createSvgEl(template) { | |
var el = createEl('\n <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' + template.trim() + '</svg>\n '); |