Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ylebre committed Dec 4, 2024
1 parent 4195cd7 commit 5b4b275
Show file tree
Hide file tree
Showing 6 changed files with 900 additions and 904 deletions.
30 changes: 15 additions & 15 deletions www/api/data/components/1-styling/componentCss/extra.css
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;
}
Original file line number Diff line number Diff line change
@@ -1,50 +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-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));
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);
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);
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);
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);
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;
margin-top: 0;
}
.simplycode-component-list-item > :last-child {
margin-bottom: 0;
margin-bottom: 0;
}
Loading

0 comments on commit 5b4b275

Please sign in to comment.