From f66a11c3cbf79fd6fb1b0c9a7c70de15561e598c Mon Sep 17 00:00:00 2001 From: Matt Pilott Date: Thu, 24 Oct 2019 14:57:02 +0100 Subject: [PATCH] Added cursor pointer to buttons and moved from node sass to sass --- package.json | 8 ++++---- reboot.css | 2 +- reboot.scss | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0c39896..cead1c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@creativelittledots/reboot", - "version": "1.7.0", + "version": "1.8.0", "license": "MIT", "description": "The Creative Little Reboot is an opionated style reset supporting modern browsers and IE11 😒", "repository": { @@ -17,12 +17,12 @@ }, "devDependencies": { "autoprefixer": "^9.4.7", - "node-sass": "^4.11.0", "onchange": "6.0.0", - "postcss-cli": "^6.1.1" + "postcss-cli": "^6.1.1", + "sass": "^1.23.1" }, "scripts": { - "scss": "node-sass --omit-source-map-url --output-style compressed reboot.scss reboot.css", + "scss": "sass --no-source-map -s compressed reboot.scss reboot.css", "autoprefixer": "postcss --use autoprefixer --replace ./reboot.css --no-map", "build": "npm run scss --silent && npm run autoprefixer --silent", "watch": "onchange './*.scss' -- npm run build --silent", diff --git a/reboot.css b/reboot.css index 55f6eeb..7996f6f 100644 --- a/reboot.css +++ b/reboot.css @@ -1 +1 @@ -*{background-size:cover}*,::before,::after{background-repeat:no-repeat;background-position:center;box-sizing:border-box;position:relative}::before,::after{text-decoration:inherit;vertical-align:inherit}html{cursor:default;line-height:1.5;-moz-tab-size:3;-o-tab-size:3;tab-size:3;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%;word-break:break-word}body{margin:0}main,details{display:block}dialog{background-color:white;border:solid;color:black;display:block;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}template{display:none}h1{font-size:2em;margin:0.6875em 0}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}hr{height:0;overflow:visible}b,strong{font-weight:bolder}progress{vertical-align:baseline}small{font-size:83.3333%}sub,sup{font-size:83.3333%;line-height:0;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}::-moz-selection,::-moz-selection{background-color:#b3d4fc;color:#000000;text-shadow:none}::-moz-selection,::selection{background-color:#b3d4fc;color:#000000;text-shadow:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}img,picture,svg{display:block;max-width:100%}img,iframe{border-style:none}img{height:auto}figure{margin:0}svg{fill:currentColor}table{border-collapse:collapse}::-moz-focus-inner{border-style:none;padding:0}fieldset{border:1px solid #c0c0c0;padding:0.35em 0.75em 0.625em}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto;resize:vertical}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:0.5}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}a,area,button,input,label,select,textarea,[tabindex]{touch-action:manipulation}button,input,select,textarea{background-color:transparent;border-style:none;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[aria-busy="true"]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled],[disabled]{cursor:default}a:hover{outline-width:0}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}nav ol,nav ul{list-style:none;padding:0}dl dl,dl ol,dl ul,ol dl,ul dl,ol ol,ol ul,ul ol,ul ul{margin:0}[aria-hidden="false"][hidden]{display:initial}[aria-hidden="false"][hidden]:not(:focus){clip:rect(0, 0, 0, 0);position:absolute} +*{background-size:cover}*,::before,::after{background-repeat:no-repeat;background-position:center;box-sizing:border-box;position:relative}::before,::after{text-decoration:inherit;vertical-align:inherit}html{cursor:default;line-height:1.5;-moz-tab-size:3;-o-tab-size:3;tab-size:3;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%;word-break:break-word}body{margin:0}main,details{display:block}dialog{background-color:#fff;border:solid;color:#000;display:block;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}template{display:none}h1{font-size:2em;margin:.6875em 0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{height:0;overflow:visible}b,strong{font-weight:bolder}progress{vertical-align:baseline}small{font-size:83.3333%}sub,sup{font-size:83.3333%;line-height:0;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection,::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}img,picture,svg{display:block;max-width:100%}img,iframe{border-style:none}img{height:auto}figure{margin:0}svg{fill:currentColor}table{border-collapse:collapse}::-moz-focus-inner{border-style:none;padding:0}fieldset{border:1px solid silver;padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto;resize:vertical}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.5}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}a,area,button,input,label,select,textarea,[tabindex]{touch-action:manipulation}button,input,select,textarea{background-color:transparent;border-style:none;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{cursor:pointer;-webkit-appearance:button}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled],[disabled]{cursor:default}a:hover{outline-width:0}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}nav ol,nav ul{list-style:none;padding:0}dl dl,dl ol,dl ul,ol dl,ul dl,ol ol,ol ul,ul ol,ul ul{margin:0}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0, 0, 0, 0);position:absolute} diff --git a/reboot.scss b/reboot.scss index 0580cdf..a58e2b0 100644 --- a/reboot.scss +++ b/reboot.scss @@ -494,6 +494,7 @@ button, [type="button"], [type="reset"], [type="submit"] { + cursor: pointer; -webkit-appearance: button; }