diff --git a/app/frontend/static/assets/css/crafty.css b/app/frontend/static/assets/css/crafty.css index ad373446..a66632f7 100644 --- a/app/frontend/static/assets/css/crafty.css +++ b/app/frontend/static/assets/css/crafty.css @@ -30,6 +30,30 @@ body.sidebar-icon-only .navbar-toggler .mdi-chevron-double-left { text-transform: none; } +.mw-25 { + max-width: 25% !important; +} + +.mh-25 { + max-height: 25% !important; +} + +.mw-50 { + max-width: 50% !important; +} + +.mh-50 { + max-height: 50% !important; +} + +.mw-75 { + max-width: 75% !important; +} + +.mh-75 { + max-height: 75% !important; +} + /**************************************************************/ /**************************************************************/ diff --git a/app/frontend/static/assets/css/partial/crafty-terminal.css b/app/frontend/static/assets/css/partial/crafty-terminal.css new file mode 100644 index 00000000..24a43672 --- /dev/null +++ b/app/frontend/static/assets/css/partial/crafty-terminal.css @@ -0,0 +1,38 @@ +#virt_console::-webkit-scrollbar { + display: none; +} + +/* Hide scrollbar for IE, Edge and Firefox */ +#virt_console { + -ms-overflow-style: none; + /* IE and Edge */ + scrollbar-width: none; + /* Firefox */ + font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; + white-space: pre-wrap; + width: 100%; + font-size: .8em; + padding: 5px 10px; + border: 1px solid var(--outline); + background-color: var(--card-banner-bg); + height: 500px; + overflow: scroll; +} + +#to-bottom { + visibility: hidden; + float: right; +} + +.term-btn { + max-width: 12rem; + white-space: nowrap; +} + +div.server_command { + gap: 0.5rem; +} + +input.server_command { + min-width: 10rem; +} \ No newline at end of file diff --git a/app/frontend/static/assets/css/partial/crafty-wizard.css b/app/frontend/static/assets/css/partial/crafty-wizard.css index b27f9c40..b5135b25 100644 --- a/app/frontend/static/assets/css/partial/crafty-wizard.css +++ b/app/frontend/static/assets/css/partial/crafty-wizard.css @@ -1,6 +1,6 @@ -#creation_wizard { +/*#creation_wizard { -webkit-filter: grayscale(1); -} +}*/ .api-alert { position: absolute; diff --git a/app/frontend/templates/panel/server_backup.html b/app/frontend/templates/panel/server_backup.html index 599f26d4..4dce1bd7 100644 --- a/app/frontend/templates/panel/server_backup.html +++ b/app/frontend/templates/panel/server_backup.html @@ -171,7 +171,7 @@ - + {% end %} diff --git a/app/frontend/templates/panel/server_backup_edit.html b/app/frontend/templates/panel/server_backup_edit.html index b8ae102c..4ce6846f 100644 --- a/app/frontend/templates/panel/server_backup_edit.html +++ b/app/frontend/templates/panel/server_backup_edit.html @@ -242,7 +242,7 @@ - + {% end %} diff --git a/app/frontend/templates/panel/server_term.html b/app/frontend/templates/panel/server_term.html index 7467781a..cd0b9a1a 100644 --- a/app/frontend/templates/panel/server_term.html +++ b/app/frontend/templates/panel/server_term.html @@ -41,96 +41,66 @@