diff --git a/dist/favicon-16x16.png b/dist/favicon-16x16.png index 0f7e13b0..240e663f 100644 Binary files a/dist/favicon-16x16.png and b/dist/favicon-16x16.png differ diff --git a/dist/favicon-32x32.png b/dist/favicon-32x32.png index b0a3352f..6db3b761 100644 Binary files a/dist/favicon-32x32.png and b/dist/favicon-32x32.png differ diff --git a/make-webpack-config.js b/make-webpack-config.js index 004cf196..27c6cef0 100644 --- a/make-webpack-config.js +++ b/make-webpack-config.js @@ -37,7 +37,7 @@ var commonRules = [ { test: /\.(txt|yaml)(\?.*)?$/, loader: "raw-loader" }, { test: /\.(png|jpg|jpeg|gif|svg)(\?.*)?$/, - loader: "url-loader?limit=10000" }, + loader: "url-loader" }, { test: /\.(woff|woff2)(\?.*)?$/, loader: "url-loader?limit=100000" }, { test: /\.(ttf|eot)(\?.*)?$/, diff --git a/src/img/logo_small.png b/src/img/logo_small.png index 9c3c4b8e..b7ba2c97 100644 Binary files a/src/img/logo_small.png and b/src/img/logo_small.png differ diff --git a/src/plugins/topbar/logo_small.png b/src/plugins/topbar/logo_small.png deleted file mode 100644 index 9c3c4b8e..00000000 Binary files a/src/plugins/topbar/logo_small.png and /dev/null differ diff --git a/src/plugins/topbar/logo_small.svg b/src/plugins/topbar/logo_small.svg new file mode 100644 index 00000000..454542f3 --- /dev/null +++ b/src/plugins/topbar/logo_small.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/topbar/topbar.jsx b/src/plugins/topbar/topbar.jsx index 680232a9..ca43a3a8 100644 --- a/src/plugins/topbar/topbar.jsx +++ b/src/plugins/topbar/topbar.jsx @@ -2,7 +2,7 @@ import React, { cloneElement } from "react" import PropTypes from "prop-types" //import "./topbar.less" -import Logo from "./logo_small.png" +import Logo from "./logo_small.svg" import {parseSearch, serializeSearch} from "../../core/utils" export default class Topbar extends React.Component { @@ -134,8 +134,7 @@ export default class Topbar extends React.Component {
- Swagger UI - swagger + Swagger UI
{control.map((el, i) => cloneElement(el, { key: i }))} diff --git a/src/style/_topbar.scss b/src/style/_topbar.scss index f9f5bfbf..c4b0fe9f 100644 --- a/src/style/_topbar.scss +++ b/src/style/_topbar.scss @@ -1,6 +1,6 @@ .topbar { - padding: 8px 0; + padding: 10px 0; background-color: $topbar-background-color; .topbar-wrapper diff --git a/src/style/_variables.scss b/src/style/_variables.scss index c3b458a3..3ef325cd 100644 --- a/src/style/_variables.scss +++ b/src/style/_variables.scss @@ -201,13 +201,13 @@ $table-parameter-deprecated-font-color: $color-danger !default; // Topbar -$topbar-background-color: $color-primary !default; +$topbar-background-color: #1b1b1b !default; $topbar-link-font-color: $white !default; -$topbar-download-url-wrapper-element-border-color: #547f00 !default; +$topbar-download-url-wrapper-element-border-color: #62A03F !default; -$topbar-download-url-button-background-color: #547f00 !default; +$topbar-download-url-button-background-color: #62A03F !default; $topbar-download-url-button-font-color: $white !default; // Type