mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Minor layout adjustments
This commit is contained in:
@@ -56,27 +56,29 @@
|
|||||||
|
|
||||||
<!-- Streamer.bot Connect Dialog -->
|
<!-- Streamer.bot Connect Dialog -->
|
||||||
<div id="sb-connect-dialog" class="dialog">
|
<div id="sb-connect-dialog" class="dialog">
|
||||||
|
|
||||||
|
<button class="dialog-nav-button" onclick="ClosenConnectDialog()">×</button>
|
||||||
|
|
||||||
<hr class="divider">
|
<div style="display: flex; flex-direction: row; align-items: center; gap: 1em">
|
||||||
|
<img src="../../resources/streamer.bot.png" style="height: 40px;" />
|
||||||
|
<label class="title">Streamer.bot</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div style="display: flex; flex-direction: row; gap: 1em">
|
<div style="display: flex; flex-direction: row; gap: 1em">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="sb-address">Address *</label>
|
<label for="sb-address">Address <span style="color: var(--mandatory-field-color);">*</span></label>
|
||||||
<input type="text" id="sb-address" name="sb-address" placeholder="127.0.0.1" value="127.0.0.1">
|
<input type="text" id="sb-address" name="sb-address" placeholder="127.0.0.1" value="127.0.0.1">
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="sb-port">Port *</label>
|
<label for="sb-port">Port <span style="color: var(--mandatory-field-color);">*</span></label>
|
||||||
<input type="text" id="sb-port" name="sb-port" placeholder="8080" value="8080">
|
<input type="text" id="sb-port" name="sb-port" placeholder="8080" value="8080">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="sb-password">Password</label>
|
<label for="sb-password">Password</label>
|
||||||
<label class="setting-description" for="sb-password">(Optional)</label>
|
|
||||||
<input type="password" id="sb-password" name="sb-password">
|
<input type="password" id="sb-password" name="sb-password">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="divider">
|
|
||||||
|
|
||||||
<label id="sb-error-label"></label>
|
<label id="sb-error-label"></label>
|
||||||
|
|
||||||
<button id="sb-connect-button" onclick="Connect()">Connect</button>
|
<button id="sb-connect-button" onclick="Connect()">Connect</button>
|
||||||
|
|||||||
@@ -260,6 +260,11 @@ function OpenConnectDialog() {
|
|||||||
blurLayer.style.display = "block";
|
blurLayer.style.display = "block";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ClosenConnectDialog() {
|
||||||
|
sbConnectDialog.style.display = "none";
|
||||||
|
blurLayer.style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
function OpenRequiredActionsDialog() {
|
function OpenRequiredActionsDialog() {
|
||||||
sbRequiredActionsDialog.style.display = "flex";
|
sbRequiredActionsDialog.style.display = "flex";
|
||||||
blurLayer.style.display = "block";
|
blurLayer.style.display = "block";
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1em;
|
padding: 0em 1em;
|
||||||
gap: 1em;
|
gap: 1em;
|
||||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
|
||||||
}
|
}
|
||||||
@@ -52,14 +52,10 @@ body {
|
|||||||
|
|
||||||
#blur-layer {
|
#blur-layer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0; /* top:0; left:0; bottom:0; right:0 */
|
||||||
/* top:0; left:0; bottom:0; right:0 */
|
backdrop-filter: blur(10px); /* blur the content behind */
|
||||||
backdrop-filter: blur(5px);
|
-webkit-backdrop-filter: blur(10px); /* Safari support */
|
||||||
/* blur the content behind */
|
z-index: 1; /* behind the modal */
|
||||||
-webkit-backdrop-filter: blur(5px);
|
|
||||||
/* Safari support */
|
|
||||||
z-index: 1;
|
|
||||||
/* behind the modal */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -78,10 +74,10 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#sb-error-label {
|
#sb-error-label {
|
||||||
background: #a82d2e33;
|
background: var(--error-background);
|
||||||
border-radius: 0.5em;
|
border-radius: 0.5em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
color: #c65e5e;
|
color: var(--error-color);
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -10,6 +10,9 @@
|
|||||||
--button-color: #2e2e2e;
|
--button-color: #2e2e2e;
|
||||||
--dialog-background: #1d1d1d;
|
--dialog-background: #1d1d1d;
|
||||||
--callout-background: #181818;
|
--callout-background: #181818;
|
||||||
|
--error-background: #a82d2e33;
|
||||||
|
--error-color: #c65e5e;
|
||||||
|
--mandatory-field-color: #c93f3f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -32,7 +35,7 @@ body {
|
|||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 1.5em;
|
font-size: 1.2em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user