View autocomplete.js
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
function completely(c,f){f=f||{};f.fontSize=f.fontSize||"16px";f.fontFamily=f.fontFamily||"sans-serif";f.promptInnerHTML=f.promptInnerHTML||"";f.color=f.color||"#333";f.hintColor=f.hintColor||"#aaa";f.backgroundColor=f.backgroundColor||"#fff";f.dropDownBorderColor=f.dropDownBorderColor||"#aaa";f.dropDownZIndex=f.dropDownZIndex||"100";f.dropDownOnHoverBackgroundColor=f.dropDownOnHoverBackgroundColor||"#ddd";var l=document.createElement("input");l.type="text";l.spellcheck=false;l.style.fontSize=f.fontSize;l.style.fontFamily=f.fontFamily;l.style.color=f.color;l.style.backgroundColor=f.backgroundColor;l.style.width="100%";l.style.outline="0";l.style.border="0";l.style.margin="0";l.style.padding="0";var k=l.cloneNode();k.disabled="";k.style.position="absolute";k.style.top="0";k.style.left="0";k.style.borderColor="transparent";k.style.boxShadow="none";k.style.color=f.hintColor;l.style.backgroundColor="transparent";l.style.verticalAlign="top";l.style.position="relative";var b=document.createElement("div");b.style.po |
View 48px-colored_i-switcher.html
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
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"> | |
<title>Switcher</title> | |
<g class="nc-interact_switcher-c-48"> | |
<rect x="2" y="11" width="44" height="26" rx="13" ry="13" fill="#d1d1d1"/> | |
<rect class="nc-switcher-background" x="2" y="11" width="44" height="26" rx="13" ry="13" fill="#72C472" opacity="0"/> | |
<circle cx="15" cy="24" r="11" fill="#fff"/> | |
</g> | |
<script> | |
(function() { |
View layout_01_grid-mixin.scss
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
$gap-horizontal: 10px; | |
$gap-vertical: $gap-horizontal; | |
@mixin grid { | |
@supports(grid-area: auto) { | |
display: grid; | |
grid-column-gap: $gap-horizontal; | |
grid-row-gap: $gap-vertical; | |
} | |
} |
View layout_02_gridAuto-mixin.scss
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
@mixin gridAuto($min-width) { | |
@supports(grid-area: auto) { | |
grid-template-columns: repeat(auto-fit, minmax($min-width, 1fr)); | |
} | |
} |
View layout_03_grid-mixin-fallback.scss
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
$gap-horizontal: 10px; | |
$gap-vertical: $gap-horizontal; | |
@mixin grid { | |
// fallback for IE | |
&::before, &::after { | |
content: ''; | |
display: table; | |
} | |
View layout_04_gridAuto-mixin-fallback.scss
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
@mixin gridAuto($min-width, $fallback: 3) { | |
> * { | |
float: left; | |
width: calc(100%/#{$fallback} - #{$gap-horizontal}); | |
&:nth-child(#{$fallback}n + 1) { | |
clear: both; | |
} | |
} |
OlderNewer