From cf10e0b3903a52260aa168ce3f3104ea4a38bf2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 13 May 2022 11:51:40 +0100 Subject: [PATCH 1/5] Swap toolbar icon on hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ⚠️ in document toolbars the destroy icon is used instead of drive it is a placeholder because the drive icon is not in CPtools --- customize.dist/src/less2/include/toolbar.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index ee88e5ba3..b9f20dc18 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -811,6 +811,15 @@ font-size: 45px; } + &:hover { + .cptools::before { + content: "\e91f"; + } + .fa::before { + content: "\f015"; + } + } + // svg { // #outline, #squares { // fill: @toolbar-bg-color; From 5f765b1dc2be6b8be75c90504422481ab023d78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 13 May 2022 11:57:20 +0100 Subject: [PATCH 2/5] Show drive icon when hovering settings toolbar --- customize.dist/src/less2/include/toolbar.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index b9f20dc18..8b9bb0955 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -816,6 +816,9 @@ content: "\e91f"; } .fa::before { + content: "\f0a0"; + } + .fa-hdd-o::before{ content: "\f015"; } } From c2b882dbe6114542d8a23c8030aaef11f283a4f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 13 May 2022 11:59:32 +0100 Subject: [PATCH 3/5] Add comments --- customize.dist/src/less2/include/toolbar.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 8b9bb0955..16655b9d0 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -812,14 +812,15 @@ } &:hover { + // Icons shown when hovering the toolbar icon (where logo used to be) .cptools::before { - content: "\e91f"; + content: "\e91f"; // XXX Currently shows Destroy } .fa::before { - content: "\f0a0"; + content: "\f0a0"; // shows hdd-o for all FA icons (settings, etc) } .fa-hdd-o::before{ - content: "\f015"; + content: "\f015"; // shows home for drive } } From f3e10994abe794c5d5e572cc9e1a22d1c5a63783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 13 May 2022 12:17:20 +0100 Subject: [PATCH 4/5] Update cptools font with Drive icon --- .../fonts/cptools/fonts/cptools.eot | Bin 10608 -> 10828 bytes .../fonts/cptools/fonts/cptools.svg | 3 ++- .../fonts/cptools/fonts/cptools.ttf | Bin 10444 -> 10664 bytes .../fonts/cptools/fonts/cptools.woff | Bin 10520 -> 10740 bytes customize.dist/fonts/cptools/style.css | 13 ++++++++----- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/customize.dist/fonts/cptools/fonts/cptools.eot b/customize.dist/fonts/cptools/fonts/cptools.eot index dbfc79bf73c81531115f45317de113d1a8d1d0ac..ca98409318f40af252b88f49b47e2a23cf75eb07 100644 GIT binary patch delta 569 zcmYk2F=!KE6vyB9eaU_14qLqDawM9Nq?b!unt*pPU2Ju6unh=eLkprFX&@ReIc$eO zl}uJagoZ0|5{fNU9O9q|QU@Ih4%MMUry@GJICK%EkkogI=Wyar=@` z7y)=X+!FG>EoXDFb+$mv)&-^YL^&1*fHxS|O19;w#hs1T`xDKVcUOM^kOn|%v{JU_ z;%n6j0DT?j@)dmGKYgRfd&pYFUT7>if&h?4gq551lJ$6X;{bUDxnNrj2Mp3g{)`;2 zS$6rgJ%S4jA(ADhKED7AB@Ey9`oI|3b?3+#5_i|h6y|+mlUer)-6MD0x1q>!=BL>V z6&O~9QOYtIFDul~95<}SD1G>1nSDt%{h%CvWV7@hNTA|&C*eGPD5no51tl0Vjr`bu zS`7+=iKISGa(Odhgp}041o4DApyu>6%M$Dgob{0?L2tsypQ2L{Sq_I~Ir6|u9*m2; zdxMK2r)@4ayQOK`$H_B(lucU#s|Ji%uNX4|RiEF~Xj?OH|8f0whtGM|4woc8Lj)cO z@ZQ0U6cov1RMVopS7K1=Xr`$F!8`H7hs8~2>uUe$?;!cS^TDUJZ{2_O(0!!mNXp&T tmwl`TihDUdc|>miHmBT9`m1U}5z252=HWWjp@yd)gDjZtyCDVR`7iTSfO-G` delta 314 zcmX>T@*#+=K$C&tjK)MZGZx7#bB&1(K8!{a{Y57(5*1WpU|`q-#0kl{i3Q?emzGUD zAyc0cG|!EJfw6*tK_w(3H8DkwqdkU!LG=t!ommD@fc*!HHUoni3y`mpky}#H%*6T; z$kzb!C*N)Z^cajLcW52~05Jwnh5!Hn diff --git a/customize.dist/fonts/cptools/fonts/cptools.svg b/customize.dist/fonts/cptools/fonts/cptools.svg index 29461075f..3549b2368 100644 --- a/customize.dist/fonts/cptools/fonts/cptools.svg +++ b/customize.dist/fonts/cptools/fonts/cptools.svg @@ -7,7 +7,7 @@ - + @@ -39,4 +39,5 @@ + \ No newline at end of file diff --git a/customize.dist/fonts/cptools/fonts/cptools.ttf b/customize.dist/fonts/cptools/fonts/cptools.ttf index 41ae6ef3732edf23c4ceb2565a0d81787262db46..cf9dbd0823d77c07da3d9ae95c2928ccf8f2243d 100644 GIT binary patch delta 529 zcmX>TxFWcofsuiMft#U$ftkU;KUm+0Ux-ZsD6$8L6OwZi3&g`NEoWe0lmYTX(i4jd zfV2RR5288Jb1Kuev@ZA#WAu0rKwv`6?N? zB^7N2Y-|h+>Od~Tl$`uz$Hch{mj40@OaTh`k`1Njete1*Kk+|-@9T3QSY z8bB^%TS0zt3DBWHpxFVEXJBT&Ht~QxqrxOcZ$^d9K8%ej^{fn{|IaZ;GPMJJB@VR6 zkiiq^HWM{vB{oqJF=Hb$b0oI72%EB^lA0}}iJ7sYk(j8eupJ|aAucR#qNdKQ#|V^V zV`t`Llw}0!RWvd)W%8C15|We@5|Zi$5g?8&7yI8Vb}lY>1YHCADorea(J(FM~j=?c=ij-8vEJ%W*qos*OO->(R65iUkA zSrrx8f7`f3xYwx|8>@gLirwdI_3nbB@%%Pl8Ms+M0l{!@@teO0`v2t5swRx8lQq;P zurTK_h)&+2=EWg24XjypGMD;uabt!shE#?khGK?HhJ1!RU?7?^=rI^i=Fm6-05orK AC;$Ke delta 317 zcmZ1xd?v7-fsuiMft#U$ftkU;KUm+0Ux-Z!D6$8L6OwZi3&g`NEn{F{lmYTX(i4jd zfV2RR5288Jb1Ks^>P|=j`4tQdDj^xEi79d%b$kpAs%L=mW*I;M_8%4K)y;w zZb?Nm6YEDHUjxXWkdvS6m^gRA)D)n=4xoTnZem3NgCS!*1A{t9gF;?nZtBh)ElnU_ z1!zfIL4I)w(4jz}u?8g1z|4Ge;sJX``ALl4jPjd(7#mfTLH=PkHkQAy$s5ma^Ob=c zWD*0z-LPgO7(MxfnmMD&B=rfCr>J`g0YyQ2R2XX+ct9!`m?lru6rRkiaZ22XA&eoF Zp@^ZFA(J7WArEMwIfEX9(c~u@M*v_WM5_P* diff --git a/customize.dist/fonts/cptools/fonts/cptools.woff b/customize.dist/fonts/cptools/fonts/cptools.woff index dca533fcdc51d247a2b0f7e129cde18fa85dc986..4f0e16203934eb0788e4c0bb0d2bfe9b610b5d4d 100644 GIT binary patch delta 633 zcmYjPO=uHA6n-<4?3hh#C4XxI2}!%zO-ouZ8&eOqJz1~~6>J;YlY|%>O*aW9U`0z# z)`JMjNa#f<^ic88iz0|#gnAM5AmT|x?;booZXu{dgaX2 z6cE5OvAh40Af9)Nvm40OUPjlS(kWf4-eOCjV8Y6-QPZj5o7O#hfI=~$dMVe z8^k6{LZKhXn&{B5m<@XR8KrDwMA`s#vbuN?j8c00(Fyi>pyhZNcbj*3^bpXF-$f}u&Qv@M*u-G*Phj1p6fsP4crc# z7Qn}?FP(q>Kuj7Lk`PVfj)PSpAROkj*W2!i6J!lMJq^Ww;}Z?@m1aR6N^lt(a1m-y O#eI#zC|F`Xx%(6Tj(~^& delta 390 zcmewoJR?Y=+~3WOfsp|SG$k0gLA1sh26hIf$qzM!Cu)n-D<$V97BDa{W&mYEKv+EN z(z5i#VvyJ#AfE$@1=4dW(|}?}7#LK5>Qq8fg66qpq$Z{?FsMlY)tG^>97lUh22chE#?khGK?HhJ1!RpySOM M^cajL8)zN@0L_O}1ONa4 diff --git a/customize.dist/fonts/cptools/style.css b/customize.dist/fonts/cptools/style.css index 7b3227453..fa9f7b0dc 100644 --- a/customize.dist/fonts/cptools/style.css +++ b/customize.dist/fonts/cptools/style.css @@ -1,10 +1,10 @@ @font-face { font-family: 'cptools'; - src: url('fonts/cptools.eot?6tk5ck'); - src: url('fonts/cptools.eot?6tk5ck#iefix') format('embedded-opentype'), - url('fonts/cptools.ttf?6tk5ck') format('truetype'), - url('fonts/cptools.woff?6tk5ck') format('woff'), - url('fonts/cptools.svg?6tk5ck#cptools') format('svg'); + src: url('fonts/cptools.eot?pmxg4b'); + src: url('fonts/cptools.eot?pmxg4b#iefix') format('embedded-opentype'), + url('fonts/cptools.ttf?pmxg4b') format('truetype'), + url('fonts/cptools.woff?pmxg4b') format('woff'), + url('fonts/cptools.svg?pmxg4b#cptools') format('svg'); font-weight: normal; font-style: normal; font-display: block; @@ -26,6 +26,9 @@ -moz-osx-font-smoothing: grayscale; } +.cptools-drive:before { + content: "\e920"; +} .cptools-form-conditional:before { content: "\e900"; } From 1dc2d74f08bb9a35551b510fa46a9c28368094b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Fri, 13 May 2022 12:18:28 +0100 Subject: [PATCH 5/5] Show drive icon when hovering document icon in toolbar --- customize.dist/src/less2/include/toolbar.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 16655b9d0..d9ec40096 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -814,7 +814,7 @@ &:hover { // Icons shown when hovering the toolbar icon (where logo used to be) .cptools::before { - content: "\e91f"; // XXX Currently shows Destroy + content: "\e920"; // shows drive icon in document toolbars } .fa::before { content: "\f0a0"; // shows hdd-o for all FA icons (settings, etc)