Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete bootstrap from signin.css and rename it to connect.css #340

Merged
merged 1 commit into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions html5/connect.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet" />
<!-- Custom styles for this template -->
<link href="css/signin.css" rel="stylesheet" />
<link href="css/connect.css" rel="stylesheet" />
<title>Xpra HTML5 Client</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
Expand Down
309 changes: 309 additions & 0 deletions html5/css/connect.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
/* Screenreader-only */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: none;
}

body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

color: #333;
}

.form-signin-heading {
font-weight: 500;
font-size: 30px;
}

/* Version number */
h5 {
margin-top: 10px;
margin-bottom: 10px;

font-weight: 500;
}

/* Forms for ports, passwords, etc... */
.form-control::placeholder {
color: #999;
opacity: 1;
}

.form-control {
display: inline-block;
vertical-align: middle;

height: 34px;
padding: 6px 12px;

color: #555;

box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

border: 1px solid #ccc;
border-radius: 4px;

transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

/* Checkbox labels */
#ssl-span,
#webtransport-span,
#encryption-span {
font-size: 14px;
}

/* Radio button labels */
label {
margin-bottom: 5px;
font-weight: bold;

font-size: 14px;
}

/* Start session text boxes */
#action_connect_group,
#action_start_group,
#action_start_desktop_group,
#action_shadow_group {
max-height: 34px;
}

#action_connect_group>.form-control,
#action_start_group>.form-control,
#action_start_desktop_group>.form-control,
#action_shadow_group>.form-control {
position: relative;
top: 0px;
}

.list-style-none.action {
margin: 0px;
}

.panel-group .list-style-none.action {
margin-bottom: 40px;
}

/* Connect buttons */
.form-group {
margin-bottom: 30px;
}

.btn {
border: 1px solid transparent;

cursor: pointer;
}

.btn-lg {
padding: 10px 16px;

border-radius: 6px;

font-size: 18px;
}

.btn-success {
color: white;
background-color: #5cb85c;
border-color: #4cac4c;
}

.btn-success:hover {
color: white;
background-color: #449d44;
border-color: #398439;
}

/* Advanced options */
.panel.panel-default {
font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.panel-group .panel {
margin-bottom: 0;

border-radius: 4px;
border: 1px solid #ddd;
}

#expandopts {
color: #333;
background-color: #f5f5f5;

padding: 10px 15px;

border-color: #ddd;
border-radius: 3px 3px 0 0;
}

.panel-title {
margin-top: 0;
margin-bottom: 0;

font-size: 16px;
font-weight: 500;

color: #333;
}

.list-group {
position: relative;
top: -16px;
padding: 0px;
}

.list-group-item {
display: block;
list-style-type: none;

padding: 6px 10px;
line-height: 1.4;
padding: 0px;
margin-bottom: -1px;

background-color: white;

border: 1px solid #ddd;
border-left: none;
border-right: none;

font-size: 14px;
}

.list-group-item>select {
padding: 4px 1px 4px 5px;
}

.list-group-item>.form-control {
display: block;
}

/* Background */
div.bg-image {
position: fixed;
height: 100%;
width: 100%;
padding: 0;
margin: 0;
top: 0;
left: 0;
background-image: url(../background.png);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
opacity: 0.3;
z-index: -1000;
}

div.container {
margin-top: 40px;
margin-bottom: 40px;
}

.form-signin {
max-width: 530px;
padding: 15px;
margin: 0 auto;
}

.form-or-heading {
text-align: center;
}

.form-signin h5 {
padding-left: 8em;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}

.form-signin .checkbox,
.form-signin .radiobox {
font-weight: normal;
}

.form-signin .form-control {
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 16px;
max-width: 16em;
}

.form-signin .form-control.command {
margin-left: 1.6em;
}

.form-signin .form-control:focus {
z-index: 2;
}

.form-signin .panel-group {
padding-top: 8px;
}

.form-signin .security-box {
padding-left: 5em;
}

.form-signin .security-box #key {
font-size: 12px;
padding: 0px 10px;
height: 20px;
}

.form-signin .list-group-item {
padding: 6px 10px;
}

.form-signin .list-style-none {
list-style-type: none;
margin-bottom: 5px;
}

.form-signin .action input {
font-size: 12px;
padding: 2px;
}

.form-signin img.command-icon {
object-fit: scale-down;
max-width: 32px;
max-height: 32px;
}

.form-signin span.warning {
color: red;
font-size: smaller;
padding-left: 10px;
}

.form-signin span.disabled {
color: grey;
}

.form-signin img.field-icon {
margin-left: -32px;
position: relative;
z-index: 2;
font-family: bootstrap-icons;
width: 1.2em;
height: 1.2em;
}

.form-signin span#server-info {
padding-left: 20px;
font-size: 11px;
font-style: italic;
}
Loading
Loading