-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated toolbar, side menu, components list and add component form to…
… use .ds styling
- Loading branch information
Showing
36 changed files
with
5,428 additions
and
727 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
72 changes: 72 additions & 0 deletions
72
www/api/data/components/1-styling/componentCss/simplycode-manual.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Oops, something went wrong.