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

Playground CSS improvements #109

Merged
merged 2 commits into from
Jul 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 20 additions & 17 deletions example/z-playground/client/playground.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ body {
}



header {
height: 64px;
aantron marked this conversation as resolved.
Show resolved Hide resolved
display: flex;
align-items: center
}
/* Editor */

h1 {
margin: 0;
height: 21px;
padding: 21px 0 20px 32px;
display: inline-block;
margin-left: 24px;
font-weight: normal;
}

Expand All @@ -61,20 +64,24 @@ h1 {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

button {
#editor button {
font: inherit;
color: inherit;
margin-left: 2em;
background-color: rgba(255, 255, 255, 0.2);
border: none;
background-color: #4338CA;
font-weight: bold;
border: none;
padding: 4px 8px;
border-radius: 4px;
}

button:hover {
#editor button:hover {
cursor: pointer;
background-color: rgba(255, 255, 255, 0.3);
background-color: #3730A3;
}

/* These code doesn't seem to be needed anymore */
thangngoc89 marked this conversation as resolved.
Show resolved Hide resolved
/*
#editor header > a {
float: right;
color: inherit;
Expand All @@ -88,7 +95,7 @@ button:hover {
display: none;
}
}

*/
/* width */
::-webkit-scrollbar {
width: 10px;
Expand Down Expand Up @@ -116,23 +123,19 @@ button:hover {
/* Client */

#client header {
height: 63px;
background-color: #eee;
box-sizing: border-box;
border-bottom: 1px solid #ccc;
padding: 16px;
}

#client input {
display: inline-block;
width: calc(100% - 10px);
width: 100%;
height: 100%;
background: none;
color: initial;
font: inherit;
border: none;
padding: 0 5px;
margin-top: 28px;
margin-left: 5px;
border: 1px solid #aaa;
padding: 8px;
}

#client input:focus {
Expand Down