diff --git a/dist/favicon-16x16.png b/dist/favicon-16x16.png index 0f7e13b0d99..240e663fa3f 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 b0a3352ffd3..6db3b761005 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 004cf196e21..27c6cef09b5 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 9c3c4b8e01a..b7ba2c97f40 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 9c3c4b8e01a..00000000000 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 00000000000..454542f3141 --- /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 680232a990c..ca43a3a864e 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 f9f5bfbfb51..c4b0fe9fb88 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 c3b458a3755..3ef325cd566 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