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

Commit

Permalink
Merge pull request #6032 from brave/increase-tab-height
Browse files Browse the repository at this point in the history
these edits add 2 px to our tab height
  • Loading branch information
bsclifton authored Dec 6, 2016
2 parents 4fd36c8 + 615a6ec commit 84a2fcf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions less/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ span.buttonSeparator {
background-color: @buttonColor;
display: inline-block;
width: 20px;
height: 12px;
margin: 8px 4px 0 0;
height: 13px;
margin: 9px 4px 0 0;
cursor: default;
-webkit-mask-image: url('../img/toolbar/menu_btn.svg');
-webkit-mask-repeat: no-repeat;
Expand Down Expand Up @@ -68,7 +68,7 @@ span.buttonSeparator {
line-height: 18px;
width: 18px;
height: 18px;
font-size: 12px;
font-size: 24px;
}

&.primaryButton,
Expand Down
4 changes: 2 additions & 2 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,8 @@

&.fa-lock,
&.fa-unlock {
margin-top: 1px;
font-size: 16px;
margin-top: 2px;
font-size: 15px;
min-height: 10px;
min-width: 16px;
}
Expand Down
13 changes: 6 additions & 7 deletions less/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@

.newFrameButton {
background: @buttonColor;
width: 14px;
height: 24px;
width: 15px;
height: 26px;
line-height: 24px;
-webkit-mask-image: url('../img/toolbar/newtab_btn.svg');
-webkit-mask-repeat: no-repeat;
Expand All @@ -69,14 +69,13 @@
}

.tab {
// background: rgba(222, 222, 222, 0.6);
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
border-radius: @borderRadiusTabs @borderRadiusTabs 0px 0px;
border-width: 1px 1px 0;
box-sizing: border-box;
color: #3B3B3B;
display: flex;
height: 22px;
height: 23px;
margin-top: 2px;
transition: transform 200ms ease;
left: 0;
Expand All @@ -92,7 +91,7 @@
-webkit-user-select: none;
box-sizing: border-box;
display: inline-block;
font-size: 11.5px;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
line-height: 16px;
Expand Down Expand Up @@ -142,7 +141,7 @@

&.active {
background: linear-gradient(to bottom, white, @chromePrimary, );
height: 24px;
height: 25px;
margin-top: 1px;
box-shadow: inset 1px 1px 2px 0px white;
box-shadow: 0px -1px 4px 0px rgba(51, 51, 51, 0.12);
Expand Down Expand Up @@ -347,7 +346,7 @@
line-height: 19px !important;
text-align: center;
vertical-align: top;
margin-top: 2px;
margin-top: 4px;
margin-left: -5px;
margin-right: -5px;
width: 30px;
Expand Down
4 changes: 2 additions & 2 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
@contextMenuFontSize: 14px;
@audioColor: @highlightBlue;
@focusUrlbarOutline: @highlightBlue;
@siteSecureColor: @highlightBlue;
@siteSecureColor: @buttonColor;
@siteInsecureColor: #C63626;
@siteEVColor: green;
@loadTimeColor: @highlightBlue;
Expand Down Expand Up @@ -69,7 +69,7 @@

@navbarHeight: 36px;
@downloadsBarHeight: 50px;
@tabsToolbarHeight: 26px;
@tabsToolbarHeight: 28px;
@tabPagesHeight: 9px;
@bookmarksToolbarHeight: 24px;
@bookmarksToolbarWithFaviconsHeight: 28px;
Expand Down

0 comments on commit 84a2fcf

Please sign in to comment.