-
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.
Merge pull request #55 from SimplyEdit/feature/component-boxes
Feature/component boxes
- Loading branch information
Showing
24 changed files
with
1,069 additions
and
1,001 deletions.
There are no files selected for viewing
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 +1 @@ | ||
{"id":"font-cocon","description":""} | ||
{"id":"font-cocon","description":"Cocon Regular font (simply logo font)"} |
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 +1 @@ | ||
{"id":"0-ds-styling","description":""} | ||
{"id":"0-ds-styling","description":"DS base styling"} |
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,28 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,400i,700,700i'); | ||
|
||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
width: 100%; | ||
margin: 0; | ||
padding: 0; | ||
width: 100%; | ||
} | ||
main { | ||
padding: 0px 15px; | ||
padding: 0px 15px; | ||
} | ||
[data-simply-command] { | ||
cursor: pointer; /* Dear iOS, why don't you have a click event when the cursor is not a pointer? */ | ||
cursor: pointer; /* Dear iOS, why don't you have a click event when the cursor is not a pointer? */ | ||
} | ||
textarea { | ||
width: 100%; | ||
height: 120px; | ||
color: #e0e0e0; | ||
background-color: #151515; | ||
border: 0; | ||
padding: 10px; | ||
width: 100%; | ||
height: 120px; | ||
color: #e0e0e0; | ||
background-color: #151515; | ||
border: 0; | ||
padding: 10px; | ||
} | ||
input:not([type]), | ||
input[type=text] { | ||
color: #e0e0e0; | ||
background-color: #151515; | ||
border: 0; | ||
padding: 5px; | ||
color: #e0e0e0; | ||
background-color: #151515; | ||
border: 0; | ||
padding: 5px; | ||
} |
50 changes: 50 additions & 0 deletions
50
www/api/data/components/1-styling/componentCss/simplycode-component-list.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,50 @@ | ||
:root { | ||
--simplycode-component-list-spacing-row: calc(0.5 * var(--ds-spacing)); | ||
--simplycode-component-list-spacing-column: calc(0.5 * var(--ds-spacing)); | ||
--simplycode-component-list-min-colwidth: 10rem; | ||
--simplycode-component-list-item-font-size: calc(0.9 * var(--ds-font-size)); | ||
--simplycode-component-list-item-background: var(--ds-grey-90); | ||
--simplycode-component-list-item-background-active: var(--ds-grey-80); | ||
--simplycode-component-list-item-color: inherit; | ||
--simplycode-component-list-item-color-active: inherit; | ||
--simplycode-component-list-item-min-height: 4rem; | ||
} | ||
|
||
.simplycode-component-list { | ||
display: grid; | ||
grid-column-gap: var(--simplycode-component-list-spacing-column); | ||
grid-row-gap: var(--simplycode-component-list-spacing-row); | ||
grid-template-columns: repeat(auto-fit, minmax(var(--simplycode-component-list-min-colwidth), 1fr)); | ||
|
||
font-size: var(--simplycode-component-list-item-font-size); | ||
line-height: 1.6em; | ||
margin-bottom: var(--simplycode-component-list-spacing-column); | ||
} | ||
.simplycode-component-list-item { | ||
background-color: var(--simplycode-component-list-item-background); | ||
padding: calc(0.5 * var(--simplycode-component-list-spacing-column)); | ||
display: flex; | ||
flex-direction: column; | ||
flex: 1 1 0; | ||
min-height: var(--simplycode-component-list-item-min-height); | ||
} | ||
|
||
.simplycode-component-list-item, | ||
a.simplycode-component-list-item, | ||
a.simplycode-component-list-item * { | ||
text-decoration: none; | ||
color: var(--simplycode-component-list-item-color); | ||
} | ||
.simplycode-component-list-item:hover, | ||
a.simplycode-component-list-item:hover, | ||
a.simplycode-component-list-item:active { | ||
background-color: var(--simplycode-component-list-item-background-active); | ||
color: var(--simplycode-component-list-item-color-active); | ||
} | ||
|
||
.simplycode-component-list-item > :first-child { | ||
margin-top: 0; | ||
} | ||
.simplycode-component-list-item > :last-child { | ||
margin-bottom: 0; | ||
} |
21 changes: 7 additions & 14 deletions
21
www/api/data/components/1-styling/componentCss/simplycode-ds-mapping.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
Oops, something went wrong.