Skip to content
Snippets Groups Projects
Commit e7a7a898 authored by khawkins98's avatar khawkins98
Browse files

Initial KSS CSS documentation integration

parent 18171d4f
No related branches found
No related tags found
No related merge requests found
<a class="button" href="#">Button</a>
......@@ -304,7 +304,15 @@
// mono-space fonts are fat
code { font-size: .95rem; }
// buttons
// Button
//
// Your standard button suitable for clicking.
//
// :hover - Highlights when hovering.
//
// Markup: documentation/button.html
//
// Style guide: components.button
.button:focus,
.button:hover,
.button.hover { opacity: .8;}
......
......@@ -38,6 +38,7 @@
"foundation-update": "npm install foundation-sites && echo \"Latest version of foundation downloaded, you'll need to run 'npm run scss' and 'npm run js' to build\"",
"motion-ui-update": "wget https://github.com/zurb/motion-ui/archive/v1.2.2.zip -d ./libraries/motion-ui.zip && del ./libraries/motion-ui && extract-zip ./libraries/motion-ui.zip ./libraries/motion-ui/ && del ./libraries/motion-ui.zip && echo \"Copying Motion UI files one level up as they've moved...\" && ncp ./libraries/motion-ui/motion-ui-1.2.2/ ./libraries/motion-ui/ && del ./libraries/motion-ui/motion-ui-master/ && echo \"Latest version of Motion UI downloaded, you'll need to run 'npm run scss' to build\"",
"documentation": " ./node_modules/documentation/bin/documentation.js build ./js/** -f md -o js/documenation.md -g && echo \"Updated JS docs.\"",
"kss": "kss --source ./css --destination ./css/styleguide --css https://wwwdev.ebi.ac.uk/web_guidelines/EBI-Framework/v1.3/css/ebi-global.css",
"message_finished": "echo \"All done\""
},
"description": "Homed here are the various assets that make the EBI Visual Framework (CSS, JS, and a few images and build scripts).",
......@@ -56,6 +57,7 @@
"documentation": "^5.3.0",
"extract-zip": "1.6.0",
"foundation-sites": "^6.4.2",
"kss": "^3.0.0-beta.18",
"mve": "^0.1.2",
"ncp": "^2.0.0",
"node-sass": "^3.4.2",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment