Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
added window controls and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
juaneth committed Jun 10, 2022
1 parent a2dcd14 commit 1f56128
Show file tree
Hide file tree
Showing 10 changed files with 187 additions and 130 deletions.
161 changes: 40 additions & 121 deletions dist/output.css
Expand Up @@ -502,18 +502,13 @@ Ensure the default browser behavior of the `hidden` attribute.
margin: 1.25rem;
}

.m-0{
margin: 0px;
}

.mx-5{
margin-left: 1.25rem;
margin-right: 1.25rem;
}

.mx-4{
margin-left: 1rem;
margin-right: 1rem;
.mr-3{
margin-right: 0.75rem;
}

.mb-5{
Expand Down Expand Up @@ -556,22 +551,6 @@ Ensure the default browser behavior of the `hidden` attribute.
margin-top: 0.75rem;
}

.mr-4{
margin-right: 1rem;
}

.mr-5{
margin-right: 1.25rem;
}

.mr-3{
margin-right: 0.75rem;
}

.mr-2{
margin-right: 0.5rem;
}

.block{
display: block;
}
Expand All @@ -596,28 +575,8 @@ Ensure the default browser behavior of the `hidden` attribute.
height: 4rem;
}

.h-7{
height: 1.75rem;
}

.h-1{
height: 0.25rem;
}

.h-10{
height: 2.5rem;
}

.h-6{
height: 1.5rem;
}

.h-full{
height: 100%;
}

.w-screen{
width: 100vw;
.h-\[32px\]{
height: 32px;
}

.w-72{
Expand All @@ -636,18 +595,6 @@ Ensure the default browser behavior of the `hidden` attribute.
width: 16rem;
}

.w-1{
width: 0.25rem;
}

.w-10{
width: 2.5rem;
}

.w-6{
width: 1.5rem;
}

.max-w-lg{
max-width: 32rem;
}
Expand Down Expand Up @@ -688,10 +635,6 @@ Ensure the default browser behavior of the `hidden` attribute.
align-items: center;
}

.justify-center{
justify-content: center;
}

.gap-4{
gap: 1rem;
}
Expand All @@ -708,12 +651,6 @@ Ensure the default browser behavior of the `hidden` attribute.
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-3 > :not([hidden]) ~ :not([hidden]){
--tw-space-x-reverse: 0;
margin-right: calc(0.75rem * var(--tw-space-x-reverse));
margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}

.rounded-md{
border-radius: 0.375rem;
}
Expand All @@ -726,14 +663,6 @@ Ensure the default browser behavior of the `hidden` attribute.
border-radius: 0.25rem;
}

.rounded-xl{
border-radius: 0.75rem;
}

.rounded-full{
border-radius: 9999px;
}

.border{
border-width: 1px;
}
Expand All @@ -742,14 +671,6 @@ Ensure the default browser behavior of the `hidden` attribute.
border-width: 2px;
}

.border-b{
border-bottom-width: 1px;
}

.border-solid{
border-style: solid;
}

.border-borderPrimary{
--tw-border-opacity: 1;
border-color: rgba(var(--color-borderPrimary), var(--tw-border-opacity));
Expand Down Expand Up @@ -795,6 +716,10 @@ Ensure the default browser behavior of the `hidden` attribute.
background-color: rgba(var(--color-backgroundError), var(--tw-bg-opacity));
}

.p-1{
padding: 0.25rem;
}

.p-3{
padding: 0.75rem;
}
Expand All @@ -819,14 +744,6 @@ Ensure the default browser behavior of the `hidden` attribute.
padding: 0.625rem;
}

.p-1{
padding: 0.25rem;
}

.p-0{
padding: 0px;
}

.px-3{
padding-left: 0.75rem;
padding-right: 0.75rem;
Expand All @@ -847,16 +764,6 @@ Ensure the default browser behavior of the `hidden` attribute.
padding-bottom: 0.75rem;
}

.px-4{
padding-left: 1rem;
padding-right: 1rem;
}

.px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
}

.pt-6{
padding-top: 1.5rem;
}
Expand All @@ -869,26 +776,6 @@ Ensure the default browser behavior of the `hidden` attribute.
padding-top: 0px;
}

.pt-3{
padding-top: 0.75rem;
}

.pt-2{
padding-top: 0.5rem;
}

.pb-2{
padding-bottom: 0.5rem;
}

.pb-1{
padding-bottom: 0.25rem;
}

.pr-3{
padding-right: 0.75rem;
}

.text-center{
text-align: center;
}
Expand Down Expand Up @@ -942,6 +829,18 @@ Ensure the default browser behavior of the `hidden` attribute.
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md{
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xl{
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.drop-shadow-xl{
--tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
Expand Down Expand Up @@ -993,6 +892,26 @@ Ensure the default browser behavior of the `hidden` attribute.
--color-backgroundError: 255, 156, 156;
}

[data-theme="midnight"] {
--color-background: 1, 2, 11;
--color-panel: 1, 10, 20;
--color-darker: 0, 0, 22;
--color-textPrimary: 255, 255, 255;
--color-textSecondary: 212, 212, 214;
--color-textTertiary: 145, 144, 144;
--color-textHint: 145, 144, 144;
--color-shadowPrimary: 0, 3, 150;
--color-shadowSuccess: 71, 214, 102;
--color-shadowError: 214, 71, 71;
--color-borderPrimary: 51, 73, 107;
--color-borderGray: 48, 55, 64;
--color-borderSuccess: 129, 222, 132;
--color-borderError: 227, 136, 136;
--color-backgroundPrimary: 2, 2, 41;
--color-backgroundSuccess: 174, 255, 156;
--color-backgroundError: 255, 156, 156;
}

.draggable {
-webkit-app-region: drag;
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "omnipetal",
"productName": "omnipetal",
"version": "0.0.18",
"version": "0.0.19",
"description": "Manage and create minecraft severs remotely using Docker",
"main": "src/index.js",
"icon": "src/icon.ico",
Expand Down Expand Up @@ -32,8 +32,7 @@
"executableName": "Omnipetal",
"icon": "src/icon.ico"
},
"makers": [
{
"makers": [{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "Omnipetal",
Expand Down Expand Up @@ -90,4 +89,4 @@
"electron": "18.0.3",
"tailwindcss": "^3.0.24"
}
}
}
20 changes: 20 additions & 0 deletions src/create-server/index.html
Expand Up @@ -31,6 +31,26 @@

<div class="draggable p-4r" style="flex-grow: 1;"></div>
</div>

<div class="flex space-x-2 mr-3 h-[32px]">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="../windowControls.js"></script>

<a id="min" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">
remove
</span>
</a>
<a id="max" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">
check_box_outline_blank
</span>
</a>

<a id="close" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">close</span>
</a>
</div>
</nav>
<div class="main-content grid place-items-center text-textPrimary">
<div class="grid place-items-center">
Expand Down
20 changes: 20 additions & 0 deletions src/index.html
Expand Up @@ -29,6 +29,26 @@

<div class="draggable" style="flex-grow: 1;"></div>
</div>

<div class="flex space-x-2 mr-3 h-[32px]">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="./windowControls.js"></script>

<a id="min" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">
remove
</span>
</a>
<a id="max" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">
check_box_outline_blank
</span>
</a>

<a id="close" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">close</span>
</a>
</div>
</nav>

<div class="main-content grid place-items-center">
Expand Down
20 changes: 20 additions & 0 deletions src/manage-remotes/index.html
Expand Up @@ -33,6 +33,26 @@

<div class="draggable p-4" style="flex-grow: 1;"></div>
</div>

<div class="flex space-x-2 mr-3 h-[32px]">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="../windowControls.js"></script>

<a id="min" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">
remove
</span>
</a>
<a id="max" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">
check_box_outline_blank
</span>
</a>

<a id="close" class="bg-darker shadow-xl text-textSecondary hover:bg-background hover:text-textPrimary p-1 rounded-md text-sm font-medium transition-all">
<span class="material-icons">close</span>
</a>
</div>
</nav>

<div class="main-content grid place-items-center">
Expand Down

0 comments on commit 1f56128

Please sign in to comment.