mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Make header more compact
- Remove title bar - File -> mitmproxy - ultimately our logo can go here
This commit is contained in:
parent
4506bafddc
commit
866a408120
@ -128,12 +128,9 @@ body,
|
|||||||
margin: 1px 0 0px;
|
margin: 1px 0 0px;
|
||||||
}
|
}
|
||||||
header {
|
header {
|
||||||
|
padding-top: 0.5em;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
header .title-bar {
|
|
||||||
line-height: 25px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
header .menu {
|
header .menu {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-bottom: solid #a6a6a6 1px;
|
border-bottom: solid #a6a6a6 1px;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,15 +2,9 @@
|
|||||||
@import (reference) '../../node_modules/bootstrap/less/mixins/grid.less';
|
@import (reference) '../../node_modules/bootstrap/less/mixins/grid.less';
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
padding-top: 0.5em;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
||||||
.title-bar {
|
|
||||||
line-height: 25px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
@separator-color: lighten(grey, 15%);
|
@separator-color: lighten(grey, 15%);
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-bottom: solid @separator-color 1px;
|
border-bottom: solid @separator-color 1px;
|
||||||
|
@ -292,7 +292,7 @@ var FileMenu = React.createClass({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={fileMenuClass}>
|
<div className={fileMenuClass}>
|
||||||
<a href="#" className="special" onClick={this.handleFileClick}> File </a>
|
<a href="#" className="special" onClick={this.handleFileClick}> mitmproxy </a>
|
||||||
<ul className="dropdown-menu" role="menu">
|
<ul className="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="#" onClick={this.handleNewClick}>
|
<a href="#" onClick={this.handleNewClick}>
|
||||||
@ -368,9 +368,6 @@ var Header = React.createClass({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<div className="title-bar">
|
|
||||||
mitmproxy { this.props.settings.version }
|
|
||||||
</div>
|
|
||||||
<nav className="nav-tabs nav-tabs-lg">
|
<nav className="nav-tabs nav-tabs-lg">
|
||||||
<FileMenu/>
|
<FileMenu/>
|
||||||
{header}
|
{header}
|
||||||
|
Loading…
Reference in New Issue
Block a user