mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Use more appropriate symbols for some keys (#1836)
* Update _keys.scss
* Update _keys.scss
Change to the keys
"arrow-down": "\2193", // ↓
"arrow-left": "\2190", // ←
"arrow-right": "\2192", // →
"arrow-up": "\2191", // ↑
"tab": "\21E5", // ⇥
also makes a few other lowercase hex numerals uppercase for consistency
* Revert "Update _keys.scss"
This reverts commit 55ceceb3c4.
* Revert "Update _keys.scss"
This reverts commit 9b6361c0d7.
* Update _keys.scss
Changed key visualization for
```
"arrow-down": "\2193", // ↓
"arrow-left": "\2190", // ←
"arrow-right": "\2192", // →
"arrow-up": "\2191", // ↑
"tab": "\21E5", // ⇥
```
and fixed a few lowercase hex to be uppercase for consistency.
This commit is contained in:
@@ -73,10 +73,10 @@
|
|||||||
"right-windows": "\229E",
|
"right-windows": "\229E",
|
||||||
|
|
||||||
// Other keys
|
// Other keys
|
||||||
"arrow-down": "\25bd",
|
"arrow-down": "\2193",
|
||||||
"arrow-left": "\25c1",
|
"arrow-left": "\2190",
|
||||||
"arrow-right": "\25b7",
|
"arrow-right": "\2192",
|
||||||
"arrow-up": "\25b3",
|
"arrow-up": "\2191",
|
||||||
"backspace": "\232B",
|
"backspace": "\232B",
|
||||||
"backtab": "\21E4",
|
"backtab": "\21E4",
|
||||||
"caps-lock": "\21EA",
|
"caps-lock": "\21EA",
|
||||||
@@ -85,11 +85,11 @@
|
|||||||
"delete": "\2326",
|
"delete": "\2326",
|
||||||
"eject": "\23CF",
|
"eject": "\23CF",
|
||||||
"end": "\2913",
|
"end": "\2913",
|
||||||
"escape": "\238b",
|
"escape": "\238B",
|
||||||
"home": "\2912",
|
"home": "\2912",
|
||||||
"insert": "\2380",
|
"insert": "\2380",
|
||||||
"page-down": "\21df",
|
"page-down": "\21DF",
|
||||||
"page-up": "\21de",
|
"page-up": "\21DE",
|
||||||
"print-screen": "\2399"
|
"print-screen": "\2399"
|
||||||
) {
|
) {
|
||||||
.key-#{$name} {
|
.key-#{$name} {
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
// Build special keys with right icon
|
// Build special keys with right icon
|
||||||
@each $name, $code in (
|
@each $name, $code in (
|
||||||
"tab": "\21B9",
|
"tab": "\21E5",
|
||||||
"num-enter": "\2324",
|
"num-enter": "\2324",
|
||||||
"enter": "\23CE"
|
"enter": "\23CE"
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user