@@ -108,7 +108,6 @@ | |||||
"karma-sourcemap-loader": "^0.3.7", | "karma-sourcemap-loader": "^0.3.7", | ||||
"karma-webpack": "2.0.3", | "karma-webpack": "2.0.3", | ||||
"less": "2.7.2", | "less": "2.7.2", | ||||
"less-loader": "4.0.4", | |||||
"license-checker": "^11.0.0", | "license-checker": "^11.0.0", | ||||
"mocha": "^3.4.2", | "mocha": "^3.4.2", | ||||
"node-sass": "^4.5.0", | "node-sass": "^4.5.0", | ||||
@@ -1,7 +1,6 @@ | |||||
import React from "react" | import React from "react" | ||||
import PropTypes from "prop-types" | import PropTypes from "prop-types" | ||||
import SplitPane from "react-split-pane" | import SplitPane from "react-split-pane" | ||||
import "./split-pane-mode.less" | |||||
const MODE_KEY = ["split-pane-mode"] | const MODE_KEY = ["split-pane-mode"] | ||||
const MODE_LEFT = "left" | const MODE_LEFT = "left" | ||||
@@ -1,5 +0,0 @@ | |||||
.swagger-ui { | |||||
.Resizer.vertical.disabled { | |||||
display: none; | |||||
} | |||||
} |
@@ -1,52 +0,0 @@ | |||||
.swagger-ui { | |||||
.topbar { | |||||
background-color: #89bf04; | |||||
} | |||||
.topbar-wrapper { | |||||
padding: 0.7em; | |||||
} | |||||
.topbar-logo__img { | |||||
float: left; | |||||
} | |||||
.topbar-logo__title { | |||||
display: inline-block; | |||||
color: #fff; | |||||
font-size: 1.5em; | |||||
font-weight: bold; | |||||
margin: 0.15em 0 0 0.5em; | |||||
} | |||||
.download-url-wrapper { | |||||
text-align: right; | |||||
float: right; | |||||
} | |||||
.topbar .download-url__text { | |||||
width: 28em; | |||||
height: 2em; | |||||
margin-right: 0.5em; | |||||
} | |||||
.download-url__btn { | |||||
background-color: #547f00; | |||||
border-color: #547f00; | |||||
text-decoration: none; | |||||
font-weight: bold; | |||||
padding: 0.2em 0.3em; | |||||
color: white; | |||||
border-radius: 0.1em; | |||||
&:hover { | |||||
&:extend(.download-url__btn); | |||||
} | |||||
} | |||||
.center-700 { | |||||
display: block; | |||||
margin: 0 auto; | |||||
width: 45em; | |||||
} | |||||
} |
@@ -1,6 +1,4 @@ | |||||
import StandaloneLayout from "./layout" | import StandaloneLayout from "./layout" | ||||
import "../style/main.scss" | |||||
import TopbarPlugin from "plugins/topbar" | import TopbarPlugin from "plugins/topbar" | ||||
import ConfigsPlugin from "plugins/configs" | import ConfigsPlugin from "plugins/configs" | ||||
@@ -0,0 +1,3 @@ | |||||
.Resizer.vertical.disabled { | |||||
display: none; | |||||
} |
@@ -14,4 +14,5 @@ | |||||
@import 'information'; | @import 'information'; | ||||
@import 'authorize'; | @import 'authorize'; | ||||
@import 'errors'; | @import 'errors'; | ||||
@import 'split-pane-mode'; | |||||
} | } |
@@ -15,7 +15,6 @@ let rules = [ | |||||
] | ] | ||||
} | } | ||||
] | ] | ||||
rules = rules.concat(styleRules) | |||||
module.exports = require("./make-webpack-config.js")(rules, { | module.exports = require("./make-webpack-config.js")(rules, { | ||||
_special: { | _special: { | ||||
@@ -15,7 +15,6 @@ let rules = [ | |||||
] | ] | ||||
} | } | ||||
] | ] | ||||
rules = rules.concat(styleRules) | |||||
module.exports = require("./make-webpack-config.js")(rules, { | module.exports = require("./make-webpack-config.js")(rules, { | ||||
_special: { | _special: { | ||||
@@ -41,16 +41,6 @@ const rules = [ | |||||
} | } | ||||
} | } | ||||
] | ] | ||||
}, | |||||
{ test: /\.(less)(\?.*)?$/, | |||||
use: [ | |||||
"style-loader", | |||||
"css-loader", | |||||
{ | |||||
loader: "postcss-loader", | |||||
}, | |||||
"less-loader" | |||||
] | |||||
} | } | ||||
] | ] | ||||
@@ -31,15 +31,4 @@ module.exports = [{ | |||||
} | } | ||||
] | ] | ||||
}) | }) | ||||
}, | |||||
{ test: /\.(less)(\?.*)?$/, | |||||
use: ExtractTextPlugin.extract({ | |||||
fallback: "style-loader", | |||||
use: ["css-loader", | |||||
{ | |||||
loader: "postcss-loader", | |||||
}, | |||||
"less-loader" | |||||
] | |||||
}) | |||||
}] | }] |