diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..89897b8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 4 + +# why +[*.{html,css}] +indent_style = space + +# WHY +[*.css] +indent_size = 2 \ No newline at end of file diff --git a/Config.ts b/Config.ts index 65f8d7f..867d94c 100644 --- a/Config.ts +++ b/Config.ts @@ -15,4 +15,4 @@ export const Config = { Enabled: false, APIEndpoint: "http://127.0.0.1:5858" } -} \ No newline at end of file +} diff --git a/src/css/style.css b/src/css/style.css index 900d225..0b1fcd6 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -133,128 +133,128 @@ tr.user-waiting > td { /* Start OSK */ .osk-container { -display: flex; -justify-content: center; -width: 1024px; -margin: 0 auto; -margin-bottom: 10px; -border-radius: 5px; + display: flex; + justify-content: center; + width: 1024px; + margin: 0 auto; + margin-bottom: 10px; + border-radius: 5px; } .simple-keyboard.hg-theme-default { -display: inline-block; + display: inline-block; } .osk-main.simple-keyboard { -width: 640px; -min-width: 640px; -background: none; + width: 640px; + min-width: 640px; + background: none; } .osk-main.simple-keyboard .hg-row:first-child { -margin-bottom: 8.51px; + margin-bottom: 8.51px; /* wtf? */ } .osk-arrows.simple-keyboard { -align-self: flex-end; -background: none; + align-self: flex-end; + background: none; } .simple-keyboard .hg-button.selectedButton { -background: rgba(5, 25, 70, 0.53); -color: white; + background: rgba(5, 25, 70, 0.53); + color: white; } .simple-keyboard .hg-button.emptySpace { -pointer-events: none; -background: none; -border: none; -box-shadow: none; + pointer-events: none; + background: none; + border: none; + box-shadow: none; } .osk-arrows .hg-row { -justify-content: center; + justify-content: center; } .osk-arrows .hg-button { -width: 50px; -flex-grow: 0 !important; -justify-content: center !important; -display: flex !important; -align-items: center !important; + width: 50px; + flex-grow: 0 !important; + justify-content: center !important; + display: flex !important; + align-items: center !important; } .controlArrows { -display: flex; -align-items: center; -justify-content: space-between; -flex-flow: column; + display: flex; + align-items: center; + justify-content: space-between; + flex-flow: column; } .osk-control.simple-keyboard { -background: none; + background: none; } .osk-control.simple-keyboard .hg-row:first-child { -margin-bottom: 8.51px; + margin-bottom: 8.51px; } .osk-control .hg-button { -width: 50px; -flex-grow: 0 !important; -justify-content: center !important; -display: flex !important; -align-items: center !important; + width: 50px; + flex-grow: 0 !important; + justify-content: center !important; + display: flex !important; + align-items: center !important; } .numPad { -display: flex; -align-items: flex-end; + display: flex; + align-items: flex-end; } .osk-numpad.simple-keyboard { -background: none; + background: none; } .osk-numpad.simple-keyboard { -width: 160px; + width: 160px; } .osk-numpad.simple-keyboard .hg-button { -width: 50px; -justify-content: center; -display: flex; -align-items: center; + width: 50px; + justify-content: center; + display: flex; + align-items: center; } .osk-numpadEnd.simple-keyboard { -width: 50px; -background: none; -margin: 0; -padding: 5px 5px 5px 0; + width: 50px; + background: none; + margin: 0; + padding: 5px 5px 5px 0; } .osk-numpadEnd.simple-keyboard .hg-button { -align-items: center; -justify-content: center; -display: flex; + align-items: center; + justify-content: center; + display: flex; } .osk-numpadEnd .hg-button.hg-standardBtn.hg-button-plus { -height: 85px; + height: 85px; } .osk-numpadEnd.simple-keyboard .hg-button.hg-button-enter { -height: 85px; + height: 85px; } .simple-keyboard.hg-theme-default .hg-button.hg-selectedButton { -background: rgba(5, 25, 70, 0.53); -color: white; + background: rgba(5, 25, 70, 0.53); + color: white; } .hg-button.hg-functionBtn.hg-button-space { -width: 350px; + width: 350px; } /* @@ -262,28 +262,28 @@ Theme: cvmDark */ .simple-keyboard.cvmDark .hg-button { -border-bottom: none; -background: rgba(0, 0, 0, 0.5); -color: white; + border-bottom: none; + background: rgba(0, 0, 0, 0.5); + color: white; } .simple-keyboard.cvmDark .hg-button:active { -background: #1c4995; -color: white; + background: #1c4995; + color: white; } #root .simple-keyboard.cvmDark + .simple-keyboard-preview { -background: #1c4995; + background: #1c4995; } /* Theme: cvmDisabled */ .simple-keyboard.cvmDisabled .hg-button { -border-bottom: none; -pointer-events: none; -background: gray; -color: white; + border-bottom: none; + pointer-events: none; + background: gray; + color: white; } /* End OSK */ diff --git a/src/html/index.html b/src/html/index.html index 1398fd5..d36ba6a 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -1,5 +1,5 @@ - +