Skip to content

Commit

Permalink
event key/code properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ondras committed Oct 29, 2021
1 parent c0a20b7 commit 7044546
Show file tree
Hide file tree
Showing 17 changed files with 262 additions and 298 deletions.
32 changes: 14 additions & 18 deletions css/map.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,22 @@
font-family: source sans pro, sans-serif;
}

svg {
font-size: 15px;

// root item
> .item {
> foreignObject > .content {
font-weight: bold;
border-width: 2px;
font-size: 140%;
}
// root item
svg > .item {
> foreignObject > .content {
font-weight: bold;
border-width: 2px;
font-size: 140%;
}

> .toggle {
display: none;
}
> .toggle {
display: none;
}

// first children
> .item > foreignObject > .content {
border-width: 2px;
font-size: 120%;
}
// first children
> .item > foreignObject > .content {
border-width: 2px;
font-size: 120%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion css/my-mind.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ button:not(:disabled) {
z-index: 1;
left: 10px;
bottom: 5px;
font-size: 1rem; // do not scale with map zoom
font-size: 14px;

&::before { content: "Tip: "; }

Expand Down
5 changes: 5 additions & 0 deletions css/pane.less
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
transform: translate(-100%, 0);
}

p {
text-transform: uppercase;
font-size: 80%;
}

table {
width: 100%;
border-collapse: collapse;
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -985,16 +985,16 @@ <h3></h3>
<div id="help" class="pane" hidden>
<h3>Help</h3>

<p><span>Navigation</span></p>
<p>Navigation</p>
<table class="navigation"></table>

<p><span>Manipulation</span></p>
<p>Manipulation</p>
<table class="manipulation"></table>

<p><span>Editing</span></p>
<p>Editing</p>
<table class="editing"></table>

<p><span>Other</span></p>
<p>Other</p>
<table class="other"></table>
</div>

Expand Down
3 changes: 0 additions & 3 deletions map.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion my-mind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7044546

Please sign in to comment.