Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit 84a2fcf

Browse files
authored
Merge pull request #6032 from brave/increase-tab-height
these edits add 2 px to our tab height
2 parents 4fd36c8 + 615a6ec commit 84a2fcf

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

less/button.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ span.buttonSeparator {
2222
background-color: @buttonColor;
2323
display: inline-block;
2424
width: 20px;
25-
height: 12px;
26-
margin: 8px 4px 0 0;
25+
height: 13px;
26+
margin: 9px 4px 0 0;
2727
cursor: default;
2828
-webkit-mask-image: url('../img/toolbar/menu_btn.svg');
2929
-webkit-mask-repeat: no-repeat;
@@ -68,7 +68,7 @@ span.buttonSeparator {
6868
line-height: 18px;
6969
width: 18px;
7070
height: 18px;
71-
font-size: 12px;
71+
font-size: 24px;
7272
}
7373

7474
&.primaryButton,

less/navigationBar.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,8 @@
886886

887887
&.fa-lock,
888888
&.fa-unlock {
889-
margin-top: 1px;
890-
font-size: 16px;
889+
margin-top: 2px;
890+
font-size: 15px;
891891
min-height: 10px;
892892
min-width: 16px;
893893
}

less/tabs.less

+6-7
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353

5454
.newFrameButton {
5555
background: @buttonColor;
56-
width: 14px;
57-
height: 24px;
56+
width: 15px;
57+
height: 26px;
5858
line-height: 24px;
5959
-webkit-mask-image: url('../img/toolbar/newtab_btn.svg');
6060
-webkit-mask-repeat: no-repeat;
@@ -69,14 +69,13 @@
6969
}
7070

7171
.tab {
72-
// background: rgba(222, 222, 222, 0.6);
7372
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
7473
border-radius: @borderRadiusTabs @borderRadiusTabs 0px 0px;
7574
border-width: 1px 1px 0;
7675
box-sizing: border-box;
7776
color: #3B3B3B;
7877
display: flex;
79-
height: 22px;
78+
height: 23px;
8079
margin-top: 2px;
8180
transition: transform 200ms ease;
8281
left: 0;
@@ -92,7 +91,7 @@
9291
-webkit-user-select: none;
9392
box-sizing: border-box;
9493
display: inline-block;
95-
font-size: 11.5px;
94+
font-size: 12px;
9695
overflow: hidden;
9796
text-overflow: ellipsis;
9897
line-height: 16px;
@@ -142,7 +141,7 @@
142141

143142
&.active {
144143
background: linear-gradient(to bottom, white, @chromePrimary, );
145-
height: 24px;
144+
height: 25px;
146145
margin-top: 1px;
147146
box-shadow: inset 1px 1px 2px 0px white;
148147
box-shadow: 0px -1px 4px 0px rgba(51, 51, 51, 0.12);
@@ -347,7 +346,7 @@
347346
line-height: 19px !important;
348347
text-align: center;
349348
vertical-align: top;
350-
margin-top: 2px;
349+
margin-top: 4px;
351350
margin-left: -5px;
352351
margin-right: -5px;
353352
width: 30px;

less/variables.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@contextMenuFontSize: 14px;
3939
@audioColor: @highlightBlue;
4040
@focusUrlbarOutline: @highlightBlue;
41-
@siteSecureColor: @highlightBlue;
41+
@siteSecureColor: @buttonColor;
4242
@siteInsecureColor: #C63626;
4343
@siteEVColor: green;
4444
@loadTimeColor: @highlightBlue;
@@ -69,7 +69,7 @@
6969

7070
@navbarHeight: 36px;
7171
@downloadsBarHeight: 50px;
72-
@tabsToolbarHeight: 26px;
72+
@tabsToolbarHeight: 28px;
7373
@tabPagesHeight: 9px;
7474
@bookmarksToolbarHeight: 24px;
7575
@bookmarksToolbarWithFaviconsHeight: 28px;

0 commit comments

Comments
 (0)