header: add plus button for adding torrent
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user