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

Feature/ds #50

Closed
wants to merge 6 commits into from
Closed
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
1 change: 1 addition & 0 deletions www/api/data/assets/img/feather-sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 134 additions & 0 deletions www/api/data/assets/img/simplycode-narrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 31 additions & 21 deletions www/api/data/components/1-styling/componentCss/extra.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,400i,700,700i');

:root {
--ds-primary: var(--ds-simplyedit);
--ds-primary-dark: var(--ds-simplyedit-dark);
--ds-primary-contrast: var(--ds-white);
--ds-primary-light: var(--ds-simplyedit-light);
--ds-primary-gradient: var(--ds-simplyedit-gradient);
--ds-primary-gradient-bump: var(--ds-simplyedit-gradient-bump);
--ds-support: #06CC06;
--ds-support-dark: #05BB05;
--ds-support-light: #07DE07;
--ds-support-contrast: #FFF;
--ds-support-gradient: linear-gradient( to left, var(--ds-support-light), var(--ds-support-dark) );
}
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
main {
padding: 0px 15px;
body {
display: grid;
grid-template-columns: 210px 2fr 2fr;
grid-template-rows: 60px 2fr 2fr;
gap: 0px 0px;
grid-template-areas:
"header header header"
"nav pane pane"
"nav pane pane"
}
[data-simply-command] {
cursor: pointer; /* Dear iOS, why don't you have a click event when the cursor is not a pointer? */
body > header {
grid-area: header;
}
textarea {
width: 100%;
height: 120px;
color: #e0e0e0;
background-color: #151515;
border: 0;
padding: 10px;
body > nav {
grid-area: nav;
overflow: auto;
}
input:not([type]),
input[type=text] {
color: #e0e0e0;
background-color: #151515;
border: 0;
padding: 5px;
body > div.main {
grid-area: pane;
overflow: auto;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
.simplycode-part {
margin-top: 1em;
}
.simplycode-part-header {
display: grid;
grid-template-columns: 1fr 1fr;
}
.simplycode-part-header .simplycode-options {
text-align: right;
}
.simplycode-part .simplycode-tab {
padding: 10px 5px;
margin: 0;
background-color: #151515;
color: #ddd;
border: 0;
text-align: center;
margin-right: 5px;
}
.simplycode-part .simplycode-tab input[type=radio] {
display: none;
}
.simplycode-part .simplycode-tab input[type=radio]:checked ~ span {
font-weight: bold;
border-bottom: 2px solid var(--support-background);
}
.simplycode-part .simplycode-editor-code {
display: grid;
grid-template-columns: 1fr;
}
.simplycode-part .simplycode-dual {
display: grid;
grid-template-columns: 1fr 1fr;
}
.simplycode-part .simplycode-dual-preview {
display: grid;
grid-template-columns: auto 480px;
}
.simplycode-test-header {
display: grid;
grid-template-columns: 1fr 1fr;
}
.simplycode-test-header .simplycode-options {
text-align: right;
}
.simplycode-component summary {
font-size: 1.2em;
}
.simplycode-component {
margin: 10px 0px;
}
.simplycode-header {
display: grid;
grid-template-columns: 3fr 1fr;
vertical-align: middle;
}
.simplycode-header .simplycode-controls {
text-align: right;
}
.simplycode-header h1 span {
white-space: nowrap;
}
.simplycode-component summary .simplycode-controls {
display: none;
margin-left: 1em;
}
.simplycode-component[open] summary .simplycode-controls {
display: inline-block;
}
.simplycode-editor-code textarea {
margin-top: -1px;
}
Loading
Loading