diff --git a/src/dat/controllers/NumberControllerSlider.js b/src/dat/controllers/NumberControllerSlider.js index d38c179..ec1b669 100644 --- a/src/dat/controllers/NumberControllerSlider.js +++ b/src/dat/controllers/NumberControllerSlider.js @@ -13,8 +13,6 @@ import NumberController from './NumberController'; import dom from '../dom/dom'; -import css from '../utils/css'; -import styleSheet from '!css!sass!./NumberControllerSlider.scss'; function map(v, i1, i2, o1, o2) { return o1 + (o2 - o1) * ((v - i1) / (i2 - i1)); @@ -95,11 +93,4 @@ class NumberControllerSlider extends NumberController { } } -/** - * Injects default stylesheet for slider elements. - */ -NumberControllerSlider.useDefaultStyles = function() { - css.inject(styleSheet.toString()); -}; - export default NumberControllerSlider; diff --git a/src/dat/controllers/NumberControllerSlider.scss b/src/dat/controllers/NumberControllerSlider.scss deleted file mode 100644 index 0cae8f6..0000000 --- a/src/dat/controllers/NumberControllerSlider.scss +++ /dev/null @@ -1,39 +0,0 @@ -/** - * dat-gui JavaScript Controller Library - * http://code.google.com/p/dat-gui - * - * Copyright 2011 Data Arts Team, Google Creative Lab - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ - -.slider { - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); - height: 1em; - border-radius: 1em 0 0 1em; - background-color: #eee; -} - -.slider-fg { - background-color: #aaa; - height: 1em; - margin-left: -0.5em; - border-radius: 1em 0 0 1em; -} - -.slider-fg:after { - display: inline-block; - border-radius: 1em; - background-color: #fff; - border: 1px solid #aaa; - content: ''; - float: right; - margin-right: -0.5em; - margin-top: 3px; - height: 0.9em; - width: 0.9em; -} \ No newline at end of file