diff --git a/src/components/App/App.css b/src/components/App/App.css index ca2ab6d..2dc97d2 100644 --- a/src/components/App/App.css +++ b/src/components/App/App.css @@ -15,10 +15,10 @@ h2 { } img { - user-select: none; -moz-user-select: none; -webkit-user-select: none; -webkit-user-drag: none; + user-select: none; } pre, @@ -65,9 +65,10 @@ button.main-button { transform: translate(0, 0); transition: all 0.2s ease; cursor: pointer; - user-select: none; -moz-user-select: none; -webkit-user-select: none; + -webkit-user-drag: none; + user-select: none; margin: 0 24px 24px 0; } diff --git a/src/components/ColorInput/ColorInput.css b/src/components/ColorInput/ColorInput.css index 82861d3..97b1b08 100644 --- a/src/components/ColorInput/ColorInput.css +++ b/src/components/ColorInput/ColorInput.css @@ -16,9 +16,9 @@ left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); - user-select: none; -moz-user-select: none; -webkit-user-select: none; + user-select: none; pointer-events: none; text-transform: uppercase; } diff --git a/src/components/Footer/Footer.css b/src/components/Footer/Footer.css index 6f85f10..5168379 100644 --- a/src/components/Footer/Footer.css +++ b/src/components/Footer/Footer.css @@ -48,9 +48,9 @@ footer .links { .illustrations-footer { display: none; - user-select: none; -moz-user-select: none; -webkit-user-select: none; + user-select: none; pointer-events: none; } diff --git a/src/components/Header/Header.css b/src/components/Header/Header.css index 489f51c..844ba6c 100644 --- a/src/components/Header/Header.css +++ b/src/components/Header/Header.css @@ -60,7 +60,7 @@ header { top: -158px; } - #billiard-ball { + .billiard-ball { position: absolute; left: 132px; top: -98px; @@ -72,13 +72,13 @@ header { top: 152px; } - #warning { + .warning { position: absolute; left: 394px; top: -304px; } - #tablet { + .tablet { position: absolute; left: 672px; top: -900px; @@ -94,18 +94,18 @@ header { height: 612px; } - #cutting-mat { + .cutting-mat { position: absolute; left: 96px; } - #receipt { + .receipt { position: absolute; left: -36px; top: 190px; } - #calculator { + .calculator { position: absolute; left: 632px; top: 170px; @@ -131,7 +131,7 @@ header { top: -158px; } - #billiard-ball { + .billiard-ball { position: absolute; left: 900px; top: 400px; @@ -148,30 +148,30 @@ header { top: 694px; } - #warning { + .warning { position: absolute; left: 1170px; top: 400px; } - #tablet { + .tablet { position: absolute; left: 578px; top: -900px; } - #cutting-mat { + .cutting-mat { position: absolute; left: 120px; } - #receipt { + .receipt { position: absolute; left: -16px; top: 190px; } - #calculator { + .calculator { position: absolute; left: 924px; top: 114px; diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index f19d1b1..fd2cce6 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -41,22 +41,22 @@ const Header: React.FC = () => { - - - + + + - - + +

- Phosphor is a flexible icon family for interfaces, diagrams, presentations —  + Phosphor is a flexible icon family for interfaces, diagrams, + presentations —  whatever, really.

@@ -73,19 +73,17 @@ const Header: React.FC = () => {
- + - - - + + + diff --git a/src/components/IconGrid/IconGrid.css b/src/components/IconGrid/IconGrid.css index eb81ac6..7435d31 100644 --- a/src/components/IconGrid/IconGrid.css +++ b/src/components/IconGrid/IconGrid.css @@ -22,9 +22,9 @@ justify-content: center; margin: 4px; border-radius: 16px; - user-select: none; -moz-user-select: none; -webkit-user-select: none; + user-select: none; cursor: pointer; /* transition: background-color 100ms ease; */ } @@ -95,9 +95,9 @@ align-items: center; text-overflow: ellipsis; color: black; - user-select: all; -moz-user-select: all; -webkit-user-select: all; + user-select: all; } .snippet pre:focus { @@ -106,9 +106,9 @@ @keyframes select { to { - user-select: text; -moz-user-select: text; -webkit-user-select: text; + user-select: text; } } diff --git a/src/components/SearchInput/SearchInput.css b/src/components/SearchInput/SearchInput.css index 6b33742..4091e23 100644 --- a/src/components/SearchInput/SearchInput.css +++ b/src/components/SearchInput/SearchInput.css @@ -56,6 +56,8 @@ display: inline-flex; align-items: center; justify-content: flex-end; + -moz-user-select: none; + -webkit-user-select: none; user-select: none; min-width: 42px; font-size: 12px; diff --git a/src/components/Toolbar/Toolbar.css b/src/components/Toolbar/Toolbar.css index 7ebd0ea..1078f03 100644 --- a/src/components/Toolbar/Toolbar.css +++ b/src/components/Toolbar/Toolbar.css @@ -1,4 +1,5 @@ -menu.toolbar { +nav.toolbar { + position: -webkit-sticky; position: sticky; top: -1px; padding: 0; diff --git a/src/components/Toolbar/Toolbar.tsx b/src/components/Toolbar/Toolbar.tsx index 57d512d..e5a939c 100644 --- a/src/components/Toolbar/Toolbar.tsx +++ b/src/components/Toolbar/Toolbar.tsx @@ -10,14 +10,14 @@ type ToolbarProps = {}; const Toolbar: React.FC = () => { return ( - + + ); };