From 5bb50af0f686818f4a4ee17135468862a7cae095 Mon Sep 17 00:00:00 2001 From: stacyk Date: Mon, 5 Jun 2017 13:20:58 -0500 Subject: [PATCH] fix for safari transparent issue for the gradient on code blocks --- dist/css/main.css | 2 +- scss/previews/_highlight.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/css/main.css b/dist/css/main.css index 80ef5d9c..3ff99a13 100644 --- a/dist/css/main.css +++ b/dist/css/main.css @@ -1,3 +1,3 @@ -html{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}main{display:block}details{display:block}pre{overflow:auto}progress{display:inline-block}summary{display:block}template{display:none}*,::before,::after{border-style:solid;border-width:0;-webkit-box-sizing:border-box;box-sizing:border-box}*{font-size:inherit;line-height:inherit;margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}audio :not([controls]){display:none}[aria-busy='true']{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}[hidden]{display:none}button{overflow:visible}input{border-radius:0;line-height:normal}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button;-moz-appearance:button;appearance:button;cursor:pointer}button::-moz-focus-inner,[type='button']::-moz-focus-inner,[type='reset']::-moz-focus-inner,[type='submit']::-moz-focus-inner{border:0 none !important;padding:0 !important}[type='checkbox'],[type='radio']{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type='number']{width:auto}[type='search']{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}button,input,select,textarea{background-color:transparent;color:inherit;font-family:inherit;font-style:inherit;font-weight:inherit}textarea{overflow:auto;resize:vertical}img{border:0}svg:not(:root){overflow:hidden}audio,canvas,iframe,img,svg,video{max-width:100%;vertical-align:middle}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}code,kbd,pre,samp{font-family:monospace;font-size:inherit}dfn{font-style:italic}nav ol,nav ul{list-style:none}small{font-size:0.75em}sub,sup{font-size:0.75em;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}html,body{overflow-x:hidden}ol,ul{margin:.7rem 1.4rem 1.4rem}[data-sassdoc-region]{width:100%}[data-sassdoc-region='app']{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;margin:0 auto;min-height:100vh;padding:0}[data-sassdoc-region='container']{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}[data-sassdoc-region='container']:after{clear:both;content:' ';display:block}@media (min-width: 56.25em){[data-sassdoc-region='container']{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}[data-nav-menu]{background-color:#0d7fa5;color:#fff;z-index:3;margin:0;padding:1.4rem;white-space:nowrap}[data-sassdoc-region='breadcrumb']{background:#cfe5ed;padding:.7rem calc(.7rem + 2.5vw)}@media (max-width: 35.99em){[data-sassdoc-region='breadcrumb']{padding-top:calc(.7rem + 2.5vw)}}[data-sassdoc-region='breadcrumb'] a,[data-sassdoc-region='breadcrumb'] span,[data-sassdoc-region='breadcrumb'] strong{display:inline-block}[role='main']{z-index:2;width:100%}@media (min-width: 56.25em){[role='main']{overflow:hidden}}[data-sassdoc-region='main']{padding:1.4rem calc(.7rem + 2.5vw);position:relative}[data-sassdoc='color-palette']{margin:1.4rem 0}[data-sassdoc-color]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:.7rem 0;position:relative}[data-sassdoc='color-swatch']{border:1px solid #555b5e;-webkit-box-flex:1;-ms-flex:1 1 5.6rem;flex:1 1 5.6rem;min-height:5.6rem;min-width:2.8rem;position:relative}[data-sassdoc='transparency-grid'],[data-sassdoc='color-overlay']{bottom:0;left:0;position:absolute;right:0;top:0}[data-sassdoc='transparency-grid']{background:url('data:image/svg+xml;utf8,') center repeat scroll;background-size:0.5em 0.5em;left:50%}[data-sassdoc='color-info']{-webkit-box-flex:100;-ms-flex:100 0 auto;flex:100 0 auto;padding:.35rem}[data-sassdoc='color-name']{display:block}[data-sassdoc='color-value']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;color:#555b5e;font-size:calc(.88889rem + .25vw)}.example-tabs{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:calc(.88889rem + .25vw);font-weight:bold;letter-spacing:0.02rem}.example-tabs [aria-controls]{margin-right:1px;padding:.35rem .7rem}.example-tabs [aria-controls]:link,.example-tabs [aria-controls]:visited{background-color:#dedede;color:#3b4042}.example-tabs [aria-controls]:hover,.example-tabs [aria-controls]:focus,.example-tabs [aria-controls]:active{background-color:#0d7fa5;color:#fff;text-decoration:none}.example-tabs [aria-selected='true']:link,.example-tabs [aria-selected='true']:visited{background-color:#cfe5ed;color:#3b4042}.example-tabs [aria-selected='true']:hover,.example-tabs [aria-selected='true']:focus,.example-tabs [aria-selected='true']:active{background-color:#0d7fa5;color:#fff}.example-panel{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border:1px solid #cfe5ed;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:1.4rem;overflow:hidden}.example-panel [data-sassdoc='hljs']{margin-bottom:0}.example-panel[aria-hidden='true']{display:none}.code-block{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 40%;flex:1 1 40%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:16.8rem;max-width:100%;min-width:20em;overflow:auto}.code-block+.code-block{border-left:1px solid #cfe5ed}.code-header{background-color:#cfe5ed;color:#3b4042;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:calc(.88889rem + .25vw);padding:0 .7rem}.code-header+[data-sassdoc='hljs']{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.code-description{font-size:calc(.88889rem + .25vw)}.code-description:before{content:" – "}[data-sassdoc-font]{margin:4.2rem 0 1.4rem}[data-sassdoc='font-type']{font-size:calc(1rem + 1.5vw);font-weight:bold}[data-sassdoc='font-stack']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:calc(.88889rem + .25vw)}[data-specimen-face]{margin:.7rem 0}[data-specimen='sample']{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[data-specimen='aa'],[data-specimen='lorem']{padding:0 .7rem}[data-specimen='aa']{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;font-size:4.2rem}[data-specimen='lorem']{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[data-specimen='lorem'] span{display:block}[data-sassdoc='hljs'],[data-sassdoc-page='index'] pre{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;background-color:#fcfcfc;color:#587f8d;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:1.4rem;position:relative}[data-sassdoc='hljs'] code,[data-sassdoc-page='index'] pre code{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;overflow-x:auto;padding:.7rem;padding-right:1.4rem}[data-sassdoc='hljs']:before,[data-sassdoc-page='index'] pre:before{content:" ";bottom:0;left:0;position:absolute;right:0;top:0;background:-webkit-gradient(linear, left bottom, left top, color-stop(.175rem, #fcfcfc), color-stop(.7rem, transparent)),-webkit-gradient(linear, left top, right top, color-stop(.175rem, #fcfcfc), color-stop(.7rem, transparent)),-webkit-gradient(linear, left top, left bottom, color-stop(.175rem, #fcfcfc), color-stop(.7rem, transparent)),-webkit-gradient(linear, right top, left top, color-stop(.35rem, #fcfcfc), color-stop(2.1rem, transparent)) no-repeat scroll;background:linear-gradient(to top, #fcfcfc .175rem, transparent .7rem),linear-gradient(to right, #fcfcfc .175rem, transparent .7rem),linear-gradient(to bottom, #fcfcfc .175rem, transparent .7rem),linear-gradient(to left, #fcfcfc .35rem, transparent 2.1rem) no-repeat scroll;-webkit-box-shadow:0 0 .35rem rgba(88,127,141,0.2) inset;box-shadow:0 0 .35rem rgba(88,127,141,0.2) inset;pointer-events:none}.hljs-comment,.hljs-quote{color:#93a1a1}.hljs-keyword,.hljs-selector-tag,.hljs-addition{color:#859900}.hljs-number,.hljs-string,.hljs-meta .hljs-meta-string,.hljs-literal,.hljs-doctag,.hljs-regexp{color:#2aa198}.hljs-title,.hljs-section,.hljs-name,.hljs-selector-id,.hljs-selector-class{color:#268bd2}.hljs-attribute,.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-class .hljs-title,.hljs-type{color:#b58900}.hljs-symbol,.hljs-bullet,.hljs-subst,.hljs-meta,.hljs-meta .hljs-keyword,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-link{color:#cb4b16}.hljs-built_in,.hljs-deletion{color:#dc322f}.hljs-formula{background:#eee8d5}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}[data-sassdoc='icon-preview']{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:1.4rem -.7rem}[data-sassdoc-icon]{color:#555b5e;-webkit-box-flex:1;-ms-flex:1 1 15%;flex:1 1 15%;margin:1.4rem .7rem;min-width:7rem}[data-sassdoc-icon] [data-icon]{height:calc(1rem + 2.5vw);width:calc(1rem + 2.5vw)}[data-sassdoc='icon-info']{font-size:calc(.88889rem + .25vw);padding:.35rem 0;white-space:nowrap}[data-sassdoc='icon-name']{color:#3b4042;font-weight:bold;text-transform:uppercase}[data-sassdoc='icon-path']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif}[data-sassdoc='ratio-demos']{line-height:1.2;overflow-x:auto;padding:.35rem;white-space:nowrap}[data-sassdoc='size-demos']{margin-bottom:1.4rem}[data-sassdoc='size-details']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:calc(.88889rem + .25vw)}[data-sassdoc='size-value']{color:#555b5e}[data-size-demo]{margin-bottom:.7rem}[data-size-demo='text']{overflow:hidden;padding:.35rem;white-space:nowrap}[data-size-demo='ruler']{background:-webkit-gradient(linear, left top, right top, color-stop(50%, currentColor), color-stop(50%, transparent));background:linear-gradient(to right, currentColor 50%, transparent 50%);background-size:2em auto;height:1em} +html{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}main{display:block}details{display:block}pre{overflow:auto}progress{display:inline-block}summary{display:block}template{display:none}*,::before,::after{border-style:solid;border-width:0;-webkit-box-sizing:border-box;box-sizing:border-box}*{font-size:inherit;line-height:inherit;margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}audio :not([controls]){display:none}[aria-busy='true']{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}[hidden]{display:none}button{overflow:visible}input{border-radius:0;line-height:normal}button,[type='button'],[type='reset'],[type='submit']{-webkit-appearance:button;-moz-appearance:button;appearance:button;cursor:pointer}button::-moz-focus-inner,[type='button']::-moz-focus-inner,[type='reset']::-moz-focus-inner,[type='submit']::-moz-focus-inner{border:0 none !important;padding:0 !important}[type='checkbox'],[type='radio']{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type='number']{width:auto}[type='search']{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}button,input,select,textarea{background-color:transparent;color:inherit;font-family:inherit;font-style:inherit;font-weight:inherit}textarea{overflow:auto;resize:vertical}img{border:0}svg:not(:root){overflow:hidden}audio,canvas,iframe,img,svg,video{max-width:100%;vertical-align:middle}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}code,kbd,pre,samp{font-family:monospace;font-size:inherit}dfn{font-style:italic}nav ol,nav ul{list-style:none}small{font-size:0.75em}sub,sup{font-size:0.75em;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}html,body{overflow-x:hidden}ol,ul{margin:.7rem 1.4rem 1.4rem}[data-sassdoc-region]{width:100%}[data-sassdoc-region='app']{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;margin:0 auto;min-height:100vh;padding:0}[data-sassdoc-region='container']{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;position:relative}[data-sassdoc-region='container']:after{clear:both;content:' ';display:block}@media (min-width: 56.25em){[data-sassdoc-region='container']{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}[data-nav-menu]{background-color:#0d7fa5;color:#fff;z-index:3;margin:0;padding:1.4rem;white-space:nowrap}[data-sassdoc-region='breadcrumb']{background:#cfe5ed;padding:.7rem calc(.7rem + 2.5vw)}@media (max-width: 35.99em){[data-sassdoc-region='breadcrumb']{padding-top:calc(.7rem + 2.5vw)}}[data-sassdoc-region='breadcrumb'] a,[data-sassdoc-region='breadcrumb'] span,[data-sassdoc-region='breadcrumb'] strong{display:inline-block}[role='main']{z-index:2;width:100%}@media (min-width: 56.25em){[role='main']{overflow:hidden}}[data-sassdoc-region='main']{padding:1.4rem calc(.7rem + 2.5vw);position:relative}[data-sassdoc='color-palette']{margin:1.4rem 0}[data-sassdoc-color]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:.7rem 0;position:relative}[data-sassdoc='color-swatch']{border:1px solid #555b5e;-webkit-box-flex:1;-ms-flex:1 1 5.6rem;flex:1 1 5.6rem;min-height:5.6rem;min-width:2.8rem;position:relative}[data-sassdoc='transparency-grid'],[data-sassdoc='color-overlay']{bottom:0;left:0;position:absolute;right:0;top:0}[data-sassdoc='transparency-grid']{background:url('data:image/svg+xml;utf8,') center repeat scroll;background-size:0.5em 0.5em;left:50%}[data-sassdoc='color-info']{-webkit-box-flex:100;-ms-flex:100 0 auto;flex:100 0 auto;padding:.35rem}[data-sassdoc='color-name']{display:block}[data-sassdoc='color-value']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;color:#555b5e;font-size:calc(.88889rem + .25vw)}.example-tabs{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:calc(.88889rem + .25vw);font-weight:bold;letter-spacing:0.02rem}.example-tabs [aria-controls]{margin-right:1px;padding:.35rem .7rem}.example-tabs [aria-controls]:link,.example-tabs [aria-controls]:visited{background-color:#dedede;color:#3b4042}.example-tabs [aria-controls]:hover,.example-tabs [aria-controls]:focus,.example-tabs [aria-controls]:active{background-color:#0d7fa5;color:#fff;text-decoration:none}.example-tabs [aria-selected='true']:link,.example-tabs [aria-selected='true']:visited{background-color:#cfe5ed;color:#3b4042}.example-tabs [aria-selected='true']:hover,.example-tabs [aria-selected='true']:focus,.example-tabs [aria-selected='true']:active{background-color:#0d7fa5;color:#fff}.example-panel{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border:1px solid #cfe5ed;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:1.4rem;overflow:hidden}.example-panel [data-sassdoc='hljs']{margin-bottom:0}.example-panel[aria-hidden='true']{display:none}.code-block{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 40%;flex:1 1 40%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:16.8rem;max-width:100%;min-width:20em;overflow:auto}.code-block+.code-block{border-left:1px solid #cfe5ed}.code-header{background-color:#cfe5ed;color:#3b4042;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;font-size:calc(.88889rem + .25vw);padding:0 .7rem}.code-header+[data-sassdoc='hljs']{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.code-description{font-size:calc(.88889rem + .25vw)}.code-description:before{content:" – "}[data-sassdoc-font]{margin:4.2rem 0 1.4rem}[data-sassdoc='font-type']{font-size:calc(1rem + 1.5vw);font-weight:bold}[data-sassdoc='font-stack']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:calc(.88889rem + .25vw)}[data-specimen-face]{margin:.7rem 0}[data-specimen='sample']{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[data-specimen='aa'],[data-specimen='lorem']{padding:0 .7rem}[data-specimen='aa']{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;font-size:4.2rem}[data-specimen='lorem']{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[data-specimen='lorem'] span{display:block}[data-sassdoc='hljs'],[data-sassdoc-page='index'] pre{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;background-color:#fcfcfc;color:#587f8d;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:1.4rem;position:relative}[data-sassdoc='hljs'] code,[data-sassdoc-page='index'] pre code{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;overflow-x:auto;padding:.7rem;padding-right:1.4rem}[data-sassdoc='hljs']:before,[data-sassdoc-page='index'] pre:before{content:" ";bottom:0;left:0;position:absolute;right:0;top:0;background:-webkit-gradient(linear, left bottom, left top, color-stop(.175rem, #fcfcfc), color-stop(.7rem, rgba(252,252,252,0))),-webkit-gradient(linear, left top, right top, color-stop(.175rem, #fcfcfc), color-stop(.7rem, rgba(252,252,252,0))),-webkit-gradient(linear, left top, left bottom, color-stop(.175rem, #fcfcfc), color-stop(.7rem, rgba(252,252,252,0))),-webkit-gradient(linear, right top, left top, color-stop(.35rem, #fcfcfc), color-stop(2.1rem, rgba(252,252,252,0))) no-repeat scroll;background:linear-gradient(to top, #fcfcfc .175rem, rgba(252,252,252,0) .7rem),linear-gradient(to right, #fcfcfc .175rem, rgba(252,252,252,0) .7rem),linear-gradient(to bottom, #fcfcfc .175rem, rgba(252,252,252,0) .7rem),linear-gradient(to left, #fcfcfc .35rem, rgba(252,252,252,0) 2.1rem) no-repeat scroll;-webkit-box-shadow:0 0 .35rem rgba(88,127,141,0.2) inset;box-shadow:0 0 .35rem rgba(88,127,141,0.2) inset;pointer-events:none}.hljs-comment,.hljs-quote{color:#93a1a1}.hljs-keyword,.hljs-selector-tag,.hljs-addition{color:#859900}.hljs-number,.hljs-string,.hljs-meta .hljs-meta-string,.hljs-literal,.hljs-doctag,.hljs-regexp{color:#2aa198}.hljs-title,.hljs-section,.hljs-name,.hljs-selector-id,.hljs-selector-class{color:#268bd2}.hljs-attribute,.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-class .hljs-title,.hljs-type{color:#b58900}.hljs-symbol,.hljs-bullet,.hljs-subst,.hljs-meta,.hljs-meta .hljs-keyword,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-link{color:#cb4b16}.hljs-built_in,.hljs-deletion{color:#dc322f}.hljs-formula{background:#eee8d5}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}[data-sassdoc='icon-preview']{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:1.4rem -.7rem}[data-sassdoc-icon]{color:#555b5e;-webkit-box-flex:1;-ms-flex:1 1 15%;flex:1 1 15%;margin:1.4rem .7rem;min-width:7rem}[data-sassdoc-icon] [data-icon]{height:calc(1rem + 2.5vw);width:calc(1rem + 2.5vw)}[data-sassdoc='icon-info']{font-size:calc(.88889rem + .25vw);padding:.35rem 0;white-space:nowrap}[data-sassdoc='icon-name']{color:#3b4042;font-weight:bold;text-transform:uppercase}[data-sassdoc='icon-path']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif}[data-sassdoc='ratio-demos']{line-height:1.2;overflow-x:auto;padding:.35rem;white-space:nowrap}[data-sassdoc='size-demos']{margin-bottom:1.4rem}[data-sassdoc='size-details']{font-family:"Source Code Pro","Consolas","Menlo","Monaco","Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:calc(.88889rem + .25vw)}[data-sassdoc='size-value']{color:#555b5e}[data-size-demo]{margin-bottom:.7rem}[data-size-demo='text']{overflow:hidden;padding:.35rem;white-space:nowrap}[data-size-demo='ruler']{background:-webkit-gradient(linear, left top, right top, color-stop(50%, currentColor), color-stop(50%, transparent));background:linear-gradient(to right, currentColor 50%, transparent 50%);background-size:2em auto;height:1em} /*# sourceMappingURL=main.css.map */ diff --git a/scss/previews/_highlight.scss b/scss/previews/_highlight.scss index 988cea2e..3972f99b 100644 --- a/scss/previews/_highlight.scss +++ b/scss/previews/_highlight.scss @@ -51,7 +51,7 @@ $hljs-colors: ( $first: if($small, size('quarter-shim'), size('half-shim')); $second: if($small, size('shim'), size('gutter') + size('shim')); - @return linear-gradient($dir, $color $first, transparent $second); + @return linear-gradient($dir, $color $first, rgba($color, 0) $second); }