From e5722f11c03e53e7e75f1d69abf7560af28eba88 Mon Sep 17 00:00:00 2001 From: Radoslav Vitanov Date: Tue, 16 Aug 2016 21:54:32 +0300 Subject: [PATCH 1/4] Adjust new tab button position fixes #3208 --- less/button.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/button.less b/less/button.less index 787dbb6de72..4bd10cba039 100644 --- a/less/button.less +++ b/less/button.less @@ -48,7 +48,7 @@ span.browserButton { font-family: helvetica; font-weight: 100; font-size: 26px; - line-height: 17px; + line-height: 24px; width: 16px; vertical-align: middle; } From 30541d47ad3b6edfd7fa7e6d4f26461f936c6bc4 Mon Sep 17 00:00:00 2001 From: Radoslav Vitanov Date: Wed, 17 Aug 2016 20:05:54 +0300 Subject: [PATCH 2/4] Implement new tab icon --- img/icon_new_frame.svg | 4 ++++ less/button.less | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 img/icon_new_frame.svg diff --git a/img/icon_new_frame.svg b/img/icon_new_frame.svg new file mode 100755 index 00000000000..08cc2308c8d --- /dev/null +++ b/img/icon_new_frame.svg @@ -0,0 +1,4 @@ + + + + diff --git a/less/button.less b/less/button.less index 4bd10cba039..a792437a1e9 100644 --- a/less/button.less +++ b/less/button.less @@ -45,12 +45,11 @@ span.browserButton { } &.newFrameButton { - font-family: helvetica; - font-weight: 100; - font-size: 26px; - line-height: 24px; + font-size: 0px; width: 16px; - vertical-align: middle; + height: 16px; + margin: 3px 0 0 0; + background: url('../img/icon_new_frame.svg') 0 0 / contain no-repeat; } &.menuButton { From 9f656719835253900729dba453017709bec4204e Mon Sep 17 00:00:00 2001 From: Radoslav Vitanov Date: Wed, 17 Aug 2016 21:29:56 +0300 Subject: [PATCH 3/4] Adjust opacity of the new frame button --- less/button.less | 1 + 1 file changed, 1 insertion(+) diff --git a/less/button.less b/less/button.less index a792437a1e9..31bb5e16601 100644 --- a/less/button.less +++ b/less/button.less @@ -49,6 +49,7 @@ span.browserButton { width: 16px; height: 16px; margin: 3px 0 0 0; + opacity: 0.7; background: url('../img/icon_new_frame.svg') 0 0 / contain no-repeat; } From 4ccc7eacefcda3805090bf67bf414bd42baabcbd Mon Sep 17 00:00:00 2001 From: Radoslav Vitanov Date: Wed, 17 Aug 2016 22:37:51 +0300 Subject: [PATCH 4/4] Rescale new frame icon --- less/button.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/less/button.less b/less/button.less index 31bb5e16601..2f1524039c3 100644 --- a/less/button.less +++ b/less/button.less @@ -46,10 +46,10 @@ span.browserButton { &.newFrameButton { font-size: 0px; - width: 16px; - height: 16px; - margin: 3px 0 0 0; - opacity: 0.7; + width: 23px; + height: 23px; + margin: 0px; + opacity: 0.5; background: url('../img/icon_new_frame.svg') 0 0 / contain no-repeat; }