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

Commit

Permalink
Revert "fixed shadowing, colors, alignments on mac"
Browse files Browse the repository at this point in the history
This reverts commit a8c3d3f.

Fix #5005
  • Loading branch information
bbondy committed Oct 22, 2016
1 parent e20eb28 commit 1e0d74c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
2 changes: 1 addition & 1 deletion less/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ span.browserButton,
font-size: 0px;
width: 24px;
height: 100%;
opacity: 0.65;
opacity: 0.5;
background: url('../img/icon_new_frame.svg') 50% 20% scroll / 20px no-repeat;
&:hover {
opacity: 0.8;
Expand Down
24 changes: 9 additions & 15 deletions less/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
overflow: auto;
padding: 0 4px 0 0;
height: @tabsToolbarHeight;
margin-top: 2px;
position: relative;
white-space: nowrap;
z-index: @zindexTabs;
Expand Down Expand Up @@ -43,23 +42,22 @@
}

.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));
background: rgba(222, 222, 222, 0.6);
border-radius: @borderRadiusTabs @borderRadiusTabs 0px 0px;
border-width: 1px 1px 0;
box-sizing: border-box;
color: #3B3B3B;
display: flex;
height: 22px;
margin-top: 2px;
margin: 0;
transition: transform 200ms ease;
left: 0;
opacity: 1.0;
padding: 0;
width: 100%;
align-items: center;
justify-content: center;
border: 1px solid rgba(0, 0, 0, 0.0);
border: 1px solid @chromeTertiary;
border-bottom: 1px;

.tabTitle {
Expand Down Expand Up @@ -117,7 +115,7 @@
&.active {
background: linear-gradient(to bottom, white, @chromePrimary, );
height: 24px;
margin-top: 1px;
margin-top: -1px;
box-shadow: inset 1px 1px 2px 0px white;
box-shadow: 0px -1px 4px 0px rgba(51, 51, 51, 0.12);
border: 1px solid #bbb;
Expand All @@ -143,7 +141,7 @@
}

&:not(.active):hover {
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(250, 250, 250, 0.4), );
background: linear-gradient(to bottom, white, @chromePrimary);
&.private {
background: lighten(@privateTabBackground, 20%);
}
Expand Down Expand Up @@ -178,7 +176,7 @@
.tabArea {
box-sizing: border-box;
display: inline-block;
padding: 0 4px 0 0;
padding: 0 2px 0 0;
position: relative;
vertical-align: top;
overflow: hidden;
Expand Down Expand Up @@ -244,7 +242,6 @@
background: @tabsBackground;
display: flex;
height: @tabsToolbarHeight;
// margin-top: 2px;
-webkit-user-select: none;
}

Expand All @@ -253,7 +250,7 @@
padding-right: 2px;
.browserButton {
display: inline-block;
line-height: 26px;
line-height: 20px;
}
}

Expand All @@ -273,12 +270,11 @@
}

&.singlePage {
height: 1px;
height: 3px;
}

>div {
display: flex
// margin-top: 4px;
}
}

Expand All @@ -290,7 +286,6 @@
box-sizing: border-box;
display: inline-block;
margin: auto 2.5px;
margin-top: 3px;
height: 6px;
width: 36px;
vertical-align: middle;
Expand Down Expand Up @@ -318,7 +313,7 @@
color: #a0a0a0;
font-size: 21px !important;
height: 20px;
line-height: 19px !important;
line-height: 17px !important;
text-align: center;
vertical-align: top;
margin-top: 2px;
Expand Down Expand Up @@ -351,7 +346,6 @@

.pinnedTabs {
margin-left: 9px;
margin-top: 2px;
}

.segmentedControl {
Expand Down
4 changes: 2 additions & 2 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@

@navbarHeight: 36px;
@downloadsBarHeight: 50px;
@tabsToolbarHeight: 26px;
@tabPagesHeight: 9px;
@tabsToolbarHeight: 23px;
@tabPagesHeight: 12px;
@bookmarksToolbarHeight: 24px;
@bookmarksToolbarWithFaviconsHeight: 28px;
@bookmarksFileIconSize: 13px;
Expand Down
2 changes: 1 addition & 1 deletion less/window.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ html,
}

.top {
background: linear-gradient(to bottom, #fbfbfb, #ededed, );
background: linear-gradient(to bottom, white, @chromeSecondary, );
}

.mainContainer {
Expand Down

0 comments on commit 1e0d74c

Please sign in to comment.