fix sidebar width

This commit is contained in:
idk
2020-01-14 18:43:55 -05:00
parent 518e04a40b
commit 0e1f5921d6
5 changed files with 30 additions and 38 deletions

View File

@@ -238,11 +238,13 @@ fmt:
cleancss -O1 all -O2 all --format beautify home.css -o .home.css && mv .home.css home.css
cleancss -O1 all -O2 all --format beautify info.css -o .info.css && mv .info.css info.css
cleancss -O1 all -O2 all --format beautify search.css -o .search.css && mv .search.css search.css
cleancss -O1 all -O2 all --format beautify sidebar.css -o .sidebar.css && mv .sidebar.css sidebar.css
cleancss -O1 all -O2 all --format beautify options/options.css -o options/.options.css && mv options/.options.css options/options.css
tidy --as-xhtml --drop-empty-elements no --input-xml --tidy-mark no -indent --indent-spaces 4 -wrap 0 --new-blocklevel-tags article,header,footer --new-inline-tags video,audio,canvas,ruby,rt,rp --break-before-br yes --sort-attributes alpha --vertical-space yes index.html > .index.html; mv .index.html index.html
tidy --as-xhtml --drop-empty-elements no --input-xml --tidy-mark no -indent --indent-spaces 4 -wrap 0 --new-blocklevel-tags article,header,footer --new-inline-tags video,audio,canvas,ruby,rt,rp --break-before-br yes --sort-attributes alpha --vertical-space yes window.html > .window.html; mv .window.html window.html
tidy --as-xhtml --drop-empty-elements no --input-xml --tidy-mark no -indent --indent-spaces 4 -wrap 0 --new-blocklevel-tags article,header,footer --new-inline-tags video,audio,canvas,ruby,rt,rp --break-before-br yes --sort-attributes alpha --vertical-space yes home.html > .home.html; mv .home.html home.html
tidy --as-xhtml --drop-empty-elements no --input-xml --tidy-mark no -indent --indent-spaces 4 -wrap 0 --new-blocklevel-tags article,header,footer --new-inline-tags video,audio,canvas,ruby,rt,rp --break-before-br yes --sort-attributes alpha --vertical-space yes toopie.html > .toopie.html; mv .toopie.html toopie.html
tidy --as-xhtml --drop-empty-elements no --input-xml --tidy-mark no -indent --indent-spaces 4 -wrap 0 --new-blocklevel-tags article,header,footer --new-inline-tags video,audio,canvas,ruby,rt,rp --break-before-br yes --sort-attributes alpha --vertical-space yes options/options.html > options/.options.html; mv options/.options.html options/options.html
tidy --as-xhtml --drop-empty-elements no --input-xml --tidy-mark no -indent --indent-spaces 4 -wrap 0 --new-blocklevel-tags article,header,footer --new-inline-tags video,audio,canvas,ruby,rt,rp --break-before-br yes --sort-attributes alpha --vertical-space yes options/options.html > options/.options.html; mv options/.options.html options/options.html
find . -path ./node_modules -prune -o -name '*.js' -exec prettier --write {} \;
find . -path ./node_modules -prune -o -name '*.json' -exec prettier --write {} \;

View File

@@ -1,66 +1,51 @@
body {
width: 25em;
font-family: "Open Sans Light", sans-serif;
font-family: "Open Sans Light",sans-serif;
font-size: 0.9em;
font-weight: 300;
font-weight: 300
}
section.scheme-options {
padding: 0.5em 0;
margin: 1em 0;
margin: 1em 0
}
#clear-button {
margin: 0 1.3em 1em 0;
margin: 0 1.3em 1em 0
}
#clear-button,
section.scheme-options input,
section.scheme-options>select,
#clear-button {
float: right;
section.scheme-options>select {
float: right
}
label {
display: block;
margin-top: 1em;
margin-top: 1em
}
label:hover {
background-color: #EAEFF2;
background-color: #eaeff2
}
.title {
font-size: 1.2em;
margin-bottom: 0.5em;
margin-bottom: 0.5em
}
html, body {
width: 350px;
body,
html {
width: 350px
}
a {
margin: 10px;
display: inline-block;
display: inline-block
}
.panel {
margin: 5px;
margin: 5px
}
span.identity {
width: 100px;
display: inline-block;
margin-left: 1em;
margin-left: 1em
}
/*.control-options {
display: none;
}*/
.identity-options {
display: none;
display: none
}
input {
display: inline;
display: inline
}

View File

@@ -57,7 +57,7 @@
<br>
<label id="rpcHostText">Control Port:</label> <input data="rpcport" id="rpcport" type="text" value="7657">
<br>
<label id="rpcPathText">Control Path:</label> <input data="rpcport" id="rpcport" type="text" value="jsonrpc">
<label id="rpcPathText">Control Path:</label> <input data="rpcpath" id="rpcpath" type="text" value="jsonrpc">
</section>
<section class="scheme-options control-options">
@@ -67,11 +67,11 @@
</div>
<p id="rpcHelpText">Configure your Bittorrent options here.</p>
<label id="rpcPortText">Torrent RPC Host:</label> <input data="rpchost" id="rpchost" type="text" value="127.0.0.1">
<label id="btRpcPortText">Torrent RPC Host:</label> <input data="btrpchost" id="btrpchost" type="text" value="127.0.0.1">
<br>
<label id="rpcHostText">Torrent RPC Port:</label> <input data="rpcport" id="rpcport" type="text" value="7657">
<label id="btRpcHostText">Torrent RPC Port:</label> <input data="btrpcport" id="btrpcport" type="text" value="7657">
<br>
<label id="rpcPathText">Torrent RPC Path:</label> <input data="rpcport" id="rpcport" type="text" value="transmission/rpc">
<label id="btRpcPathText">Torrent RPC Path:</label> <input data="btrpcpath" id="btrpcpath" type="text" value="transmission/rpc">
</div>
</section>
<input id="save-button" type="button" value="Save preferences">

4
sidebar.css Normal file
View File

@@ -0,0 +1,4 @@
li {
width: 90%;
margin-left: 0
}

View File

@@ -3,6 +3,7 @@
<head>
<title>I2P Router Information</title>
<link href="home.css" rel="stylesheet" type="text/css">
<link href="sidebar.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>I2P Router Information</h1>