cleanup. added fallback mechanism for IE11 and unsupported browsers.

This commit is contained in:
Henry Jameson 2018-04-01 05:28:20 +03:00
parent aa0564406a
commit acdb5e5c7a
22 changed files with 464 additions and 385 deletions

View file

@ -47,6 +47,7 @@
<script src="./style_switcher.js"></script>
<style lang="scss">
@import '../../_variables.scss';
.style-switcher {
margin-right: 1em;
}
@ -65,14 +66,20 @@
margin: 5px 6px 5px 0;
label {
color: var(--faint);
color: var(--faint, $fallback--faint);
}
}
.theme-color-cl {
border: 0;
box-shadow: none;
background: transparent;
}
.theme-color-cl,
.theme-color-in {
margin-left: 4px;
border-radius: 2px;
border: 0;
}
.theme-color-in {