Moved split-pane-mode.less file into a .scss file. Removed remaining unused .less files. Removed reference to less file in webpack config. Removed dependency on less-loader. Updated standalone and bundle builds to no longer compile any styles.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React from "react"
|
||||
import PropTypes from "prop-types"
|
||||
import SplitPane from "react-split-pane"
|
||||
import "./split-pane-mode.less"
|
||||
|
||||
const MODE_KEY = ["split-pane-mode"]
|
||||
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 "../style/main.scss"
|
||||
|
||||
import TopbarPlugin from "plugins/topbar"
|
||||
import ConfigsPlugin from "plugins/configs"
|
||||
|
||||
|
||||
3
src/style/_split-pane-mode.scss
Normal file
3
src/style/_split-pane-mode.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.Resizer.vertical.disabled {
|
||||
display: none;
|
||||
}
|
||||
@@ -14,4 +14,5 @@
|
||||
@import 'information';
|
||||
@import 'authorize';
|
||||
@import 'errors';
|
||||
@import 'split-pane-mode';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user