mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
When pure browser P2P is enabled, the IPFS gateway and pubsub provider fields no longer apply, so hide them and toggle their visibility reactively from the now-controlled pure P2P checkbox. Rename "Node RPC" to "Full node WebSocket RPC", add a placeholder, and drop the old info toggle. Give the WebSocket RPC text input the same content-box width, border, and padding as the textareas above it so all field right edges align.
92 lines
1.3 KiB
CSS
92 lines
1.3 KiB
CSS
.content {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.category {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.settingTitle {
|
|
text-transform: capitalize;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.categoryTitle {
|
|
text-transform: capitalize;
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.ipfsGatewaysSettings textarea {
|
|
height: unset;
|
|
}
|
|
|
|
.pubsubProvidersSettings textarea {
|
|
height: unset;
|
|
}
|
|
|
|
.httpRoutersSettings textarea {
|
|
height: unset;
|
|
}
|
|
|
|
.blockchainProvidersSettings textarea {
|
|
height: unset;
|
|
}
|
|
|
|
.content button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.saveOptions {
|
|
display: block;
|
|
margin: 15px auto 15px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.content textarea {
|
|
display: block;
|
|
outline: none;
|
|
border: 1px solid #aaa;
|
|
margin: 0 2px 0 0;
|
|
padding: 2px 4px 3px;
|
|
width: 95%;
|
|
font-size: 13px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.content input[type='text'] {
|
|
outline: none;
|
|
width: 55%;
|
|
font-size: 13px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.settingTip {
|
|
display: block;
|
|
font-size: 0.85em;
|
|
margin: 10px 0 0 0;
|
|
padding-left: 1px;
|
|
}
|
|
|
|
.pureP2PSettings {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.pureP2PSettings .settingTip {
|
|
margin: 2px 0 5px 0;
|
|
padding-left: 19px;
|
|
}
|
|
|
|
.pureP2PCheckbox {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.p2pRPCSettings input[type='text'] {
|
|
display: block;
|
|
box-sizing: content-box;
|
|
border: 1px solid #aaa;
|
|
width: 95%;
|
|
margin: 0 2px 0 0;
|
|
padding: 2px 4px 3px;
|
|
}
|