header: add plus button for adding torrent

This commit is contained in:
Feross Aboukhadijeh
2016-03-02 16:39:56 -08:00
parent 57dcc296dc
commit efec67688c
2 changed files with 14 additions and 3 deletions

View File

@@ -75,12 +75,20 @@ a:not(.disabled):hover {
color: #FFF; color: #FFF;
font-size: 17px; font-size: 17px;
font-weight: bold; font-weight: bold;
margin-left: 82px; margin-left: 80px;
margin-right: 7px;
margin-top: 6px; margin-top: 6px;
} }
.header .nav * { .header .left-nav {
float: left; float: left;
}
.header .right-nav {
float: right;
}
.header .nav * {
opacity: 0.6; opacity: 0.6;
} }

View File

@@ -70,9 +70,12 @@ function App (state, handler) {
}) })
return h('.app', [ return h('.app', [
h('.header', [ h('.header', [
h('.nav', [ h('.nav.left-nav', [
h('a.back.icon-left-open.disabled'), h('a.back.icon-left-open.disabled'),
h('a.forward.icon-right-open') h('a.forward.icon-right-open')
]),
h('.nav.right-nav', [
h('a.add.icon-plus')
]) ])
]), ]),
h('.torrent-list', list), h('.torrent-list', list),