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 #7679 from luixxiul/torrentViewer-buttons
Browse files Browse the repository at this point in the history
Improvement of buttons on TorrentViewer
  • Loading branch information
luixxiul authored Mar 14, 2017
2 parents 1a2f1fc + d5a1885 commit 7dfeeb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
10 changes: 5 additions & 5 deletions js/webtorrent/components/torrentViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ class TorrentViewer extends React.Component {
<div className='siteDetailsPageHeader'>
{titleElem}
<div className='headerActions'>
<Button
l10nId='saveTorrentFile'
className='whiteButton saveTorrentFile'
onClick={() => dispatch('saveTorrentFile')} />
<Button
l10nId={mainButtonId}
className='whiteButton mainButton'
className='primaryButton mainButton'
disabled={!!torrent}
onClick={() => dispatch('start')} />
<Button
l10nId='saveTorrentFile'
className='whiteButton saveTorrentFile'
onClick={() => dispatch('saveTorrentFile')} />
</div>
</div>

Expand Down
9 changes: 0 additions & 9 deletions less/webtorrent.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@
min-width: 704px;

.siteDetailsPageHeader {
.headerActions > * {
float: right;
}
.mainButton {
background: linear-gradient(@braveLightOrange, @braveOrange);
border: 2px solid transparent;
border-top: 2px solid @braveLightOrange;
border-bottom: 2px solid @braveOrange;
box-shadow: @buttonShadow;
color: white;
font-weight: 400;
}
}
Expand Down

0 comments on commit 7dfeeb0

Please sign in to comment.