From 2ed5365d54a7f7dfeb7b0e0f7594f2f66ec8fbc3 Mon Sep 17 00:00:00 2001 From: Nicholas Seemiller Date: Thu, 27 Jan 2022 14:03:12 -0700 Subject: [PATCH] BREAKING CHANGE: rename icons `gdoc_keyborad_arrow_*` to `gdoc_keyboard_arrow_*` (#299) --- layouts/partials/menu-bundle.html | 8 ++++---- layouts/partials/menu-filetree.html | 8 ++++---- layouts/partials/site-footer.html | 4 ++-- layouts/partials/site-header.html | 8 ++++---- .../{keyborad_arrow_down.svg => keyboard_arrow_down.svg} | 0 .../{keyborad_arrow_left.svg => keyboard_arrow_left.svg} | 0 ...{keyborad_arrow_right.svg => keyboard_arrow_right.svg} | 0 .../{keyborad_arrow_up.svg => keyboard_arrow_up.svg} | 0 src/sass/_base.scss | 8 ++++---- src/sass/_mobile.scss | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-) rename src/icons/{keyborad_arrow_down.svg => keyboard_arrow_down.svg} (100%) rename src/icons/{keyborad_arrow_left.svg => keyboard_arrow_left.svg} (100%) rename src/icons/{keyborad_arrow_right.svg => keyboard_arrow_right.svg} (100%) rename src/icons/{keyborad_arrow_up.svg => keyboard_arrow_up.svg} (100%) diff --git a/layouts/partials/menu-bundle.html b/layouts/partials/menu-bundle.html index 54d96b7..26895c8 100644 --- a/layouts/partials/menu-bundle.html +++ b/layouts/partials/menu-bundle.html @@ -60,11 +60,11 @@ {{ if $doCollapse }} - - + + - {{ partial "title" . }} {{ end }} {{ if $doCollapse }} - - + + - - + + {{ end }} diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index 27461eb..862fb4f 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -23,8 +23,8 @@
- - + + {{ i18n "nav_top" }} diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index ec92ee9..915a1b0 100644 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -64,8 +64,8 @@ {{ if .Root.Site.Data.menu.extra.header }} @@ -74,8 +74,8 @@ {{ if .Root.Site.Data.menu.extra.header }} diff --git a/src/icons/keyborad_arrow_down.svg b/src/icons/keyboard_arrow_down.svg similarity index 100% rename from src/icons/keyborad_arrow_down.svg rename to src/icons/keyboard_arrow_down.svg diff --git a/src/icons/keyborad_arrow_left.svg b/src/icons/keyboard_arrow_left.svg similarity index 100% rename from src/icons/keyborad_arrow_left.svg rename to src/icons/keyboard_arrow_left.svg diff --git a/src/icons/keyborad_arrow_right.svg b/src/icons/keyboard_arrow_right.svg similarity index 100% rename from src/icons/keyborad_arrow_right.svg rename to src/icons/keyboard_arrow_right.svg diff --git a/src/icons/keyborad_arrow_up.svg b/src/icons/keyboard_arrow_up.svg similarity index 100% rename from src/icons/keyborad_arrow_up.svg rename to src/icons/keyboard_arrow_up.svg diff --git a/src/sass/_base.scss b/src/sass/_base.scss index 18ea19a..791a4ab 100644 --- a/src/sass/_base.scss +++ b/src/sass/_base.scss @@ -294,21 +294,21 @@ img { &:not(:checked) { & ~ ul, - & ~ label .icon.gdoc_keyborad_arrow_down { + & ~ label .icon.gdoc_keyboard_arrow_down { display: none; } - & ~ label .icon.gdoc_keyborad_arrow_left { + & ~ label .icon.gdoc_keyboard_arrow_left { display: block; } } &:checked { & ~ ul, - & ~ label .icon.gdoc_keyborad_arrow_down { + & ~ label .icon.gdoc_keyboard_arrow_down { display: block; } - & ~ label .icon.gdoc_keyborad_arrow_left { + & ~ label .icon.gdoc_keyboard_arrow_left { display: none; } } diff --git a/src/sass/_mobile.scss b/src/sass/_mobile.scss index 3d33e77..ec2899a 100644 --- a/src/sass/_mobile.scss +++ b/src/sass/_mobile.scss @@ -97,7 +97,7 @@ } &__control { - .icon.gdoc_keyborad_arrow_left { + .icon.gdoc_keyboard_arrow_left { display: none; } }