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 #5750 from brave/pr/5737
Browse files Browse the repository at this point in the history
Made every place of buttons on the navigation bar clickable
  • Loading branch information
bsclifton authored Nov 21, 2016
2 parents 1611e8a + 23fa125 commit 4ab1f25
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 36 deletions.
15 changes: 14 additions & 1 deletion img/toolbar/back_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 14 additions & 1 deletion img/toolbar/forward_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 24 additions & 34 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -485,19 +485,9 @@

.backButton,
.forwardButton {
width: 20px;
margin-top: 5px;
}

.backButton {
padding-right:4px;
margin-left: 4px;
width: 100%;
}

.forwardButton {
padding-left: 4px;
margin-left: 6px;
}
}

// Navigation bar at the center
Expand Down Expand Up @@ -536,10 +526,10 @@

.extensionButton {
-webkit-app-region: no-drag;
background-size: contain;
height: 17px;
margin: 4px 4px 0 0;
opacity: 0.85;
background-size: contain;
height: 17px;
margin: 4px 4px 0 0;
opacity: 0.85;
}

.braveMenu {
Expand Down Expand Up @@ -587,9 +577,9 @@
margin-right: 6px;

&.nav {
margin-left: 4px;
margin-right: 1px;
width: 34px;
margin-left: 4px;
margin-right: 1px;
width: 34px;
}

&:last-child {
Expand All @@ -604,44 +594,44 @@

.backButton,
.forwardButton {
height: 15px;
height: 24px;
width: 30px;
margin-top: 5px;
margin: 0;
}

.backButton {
background: url('../img/toolbar/back_btn.svg') center no-repeat;
margin-left: 4px;
background-size: 14px 14px;
}

.forwardButton {
background: url('../img/toolbar/forward_btn.svg') center no-repeat;
margin-left: 4px;
background-size: 14px 14px;
}

#navigator {
.stopButton,
.reloadButton,
.homeButton {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}

.stopButton {
background: url('../img/toolbar/stoploading_btn.svg') center no-repeat;
margin: 0 3px 3px 3px;
padding: 0 6px;
height: 12px;
position: relative;
top: 3px;
background-size: 11px 11px;
}

.reloadButton {
background: url('../img/toolbar/reload_btn.svg') center no-repeat;
margin: 0 3px -1px 3px;
padding: 0 4px;
position: relative;
background-size: 13px 13px;
}

.homeButton {
background: url('../img/toolbar/home_btn.svg') center no-repeat;
width: 14px;
height: 13px;
padding: 0 6px;
position: relative;
background-size: 16px 16px;
}

.bookmarkButton {
Expand Down

0 comments on commit 4ab1f25

Please sign in to comment.