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

aio-interface: adjust design for nc30 #5007

Merged
merged 3 commits into from
Aug 16, 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
Binary file added php/public/img/Background_Light.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed php/public/img/background.png
Binary file not shown.
72 changes: 45 additions & 27 deletions php/public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,23 @@ a {

a.button,
input[type="submit"] {
padding: 6px 16px;
padding: 8px 16px;
width: auto;
min-height: 34px;
height: 34px;
cursor: pointer;
background-color: #0082c9;
font-weight: bold;
border-radius: 100px;
border-radius: 8px;
margin: 3px 3px 3px 0;
font-size: 13px;
font-size: 14px;
color: white;
border: 1px solid black;
border: .5px solid black;
outline: none;
}

a.button:focus,
input[type="submit"]:focus {
color: black;
border: 2px solid black;
border: 1px solid black;
}

summary {
Expand Down Expand Up @@ -97,7 +96,7 @@ div.toast {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 16px;
border-radius: 12px;
}

.login > .monospace {
Expand All @@ -109,14 +108,32 @@ form {
margin: 0;
}

input {
padding: 10px;
margin-top: 15px;
input[type="text"],
input[type="password"],
select {
padding-left: 8px;
padding-right: 8px;
height: 34px;
margin-bottom: 15px;
border-radius: 8px;
border: .5px solid black;
}

textarea {
border-radius: 8px;
border: .5px solid black;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border: 1px solid black;
}

.login > form > input[type="password"],
.login > form > input[type="text"] {
.login > form > input[type="text"],
.login > form > input[type="submit"] {
width: 100%;
}

Expand All @@ -126,28 +143,25 @@ input {
display: block;
}

.login > a.button ,
.login > input[type="submit"] {
.login a.button,
.login input[type="submit"] {
margin-left: auto;
margin-right: auto;
display: block;
text-align: center;
line-height: 33px;
margin-top: 20px;
}

.login-wrapper {
height: 100%;
width: 100%;
background-color: #0082c9;
background-image: linear-gradient(
40deg
, #0082c9 0%, #30b6ff 100%);
background-size: contain;
background-image: url('/img/background.png'), linear-gradient(
40deg
, #0082c9 0%, #30b6ff 100%);
position: relative;
min-height: 100dvh;
min-width: 100vw;
position: fixed;
width: 100vw;
height: auto;
background-image: url("img/Background_Light.jpg");

background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

main {
Expand Down Expand Up @@ -181,6 +195,10 @@ header {
display: flex;
}

header > form {
margin: 0 8px;
}

.loading {
color: grey;
}
Expand Down