-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge #225, adds torrent upload (via upload button and drag and drop)…
…, add SPACE pause/play, auto format a few files
- Loading branch information
Showing
10 changed files
with
427 additions
and
293 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,64 @@ | ||
|
||
|
||
.omni { | ||
margin-top: 5px; | ||
margin-top: 5px; | ||
} | ||
|
||
.omni .buttons { | ||
margin-top: 5px; | ||
text-align: center; | ||
margin-top: 5px; | ||
text-align: center; | ||
} | ||
|
||
.omni .results { | ||
max-height: 200px; | ||
overflow-y: auto; | ||
border: 1px solid rgba(0,0,0,.15); | ||
margin-top: 5px; | ||
border-radius: 4px; | ||
max-height: 200px; | ||
overflow-y: auto; | ||
border: 1px solid rgba(0, 0, 0, 0.15); | ||
margin-top: 5px; | ||
border-radius: 4px; | ||
} | ||
|
||
.omni .results .name { | ||
/*font-size: .75em;*/ | ||
text-align: right; | ||
/*font-size: .75em;*/ | ||
text-align: right; | ||
} | ||
|
||
.omni .results .users { | ||
width: 75px; | ||
text-align: center; | ||
width: 75px; | ||
text-align: center; | ||
} | ||
.omni .results .seeds { | ||
color: #5bbd72; | ||
color: #5bbd72; | ||
} | ||
|
||
.omni .results .peers { | ||
color: rgb(176, 127, 20); | ||
color: rgb(176, 127, 20); | ||
} | ||
|
||
.omni .results .loadmore { | ||
text-align: right; | ||
text-align: right; | ||
} | ||
|
||
.omni .search select { | ||
padding: 0 10px; | ||
margin-top: 0px; | ||
border-radius: 4px; | ||
background: #D58686; | ||
color: #888; | ||
border: none; | ||
outline: none; | ||
height: 31px; | ||
display: inline-block; | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
appearance: none; | ||
cursor: pointer; | ||
padding: 0 10px; | ||
margin-top: 0px; | ||
border-radius: 4px; | ||
background: #d58686; | ||
color: #888; | ||
border: none; | ||
outline: none; | ||
height: 31px; | ||
display: inline-block; | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
appearance: none; | ||
cursor: pointer; | ||
} | ||
.omni .form { | ||
margin-top: 5px; | ||
} | ||
|
||
/*omni upload input icon*/ | ||
|
||
.upload-label { | ||
padding: 10px; | ||
cursor: pointer; | ||
} | ||
.upload-label .icon { | ||
margin-top: 8px; | ||
} | ||
.upload-icon{ | ||
z-index: 99; | ||
position: absolute; | ||
right: 0; | ||
} | ||
.upload-icon input { | ||
display: none; | ||
margin-top: 5px; | ||
} | ||
|
||
.omni input.dragging { | ||
opacity: 0.5; | ||
background: lightblue; | ||
z-index: 100; | ||
.icon-wrapper { | ||
z-index: 6; | ||
position: absolute; | ||
right: 0; | ||
padding: 10px; | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
1a741e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpillora Excellent !, And Very Nice Code Job. but i got a little bug: When the right omni icon is change to "search or magnet", it is still clickable, and when it is clicked, redirect to upload action.... in the previous code,the button is clickable just when the icon is changed to upload..... i think the search icon should not trigger the upload action.
1a741e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpillora BUG Report: the button is only clickable just when the icon is changed to upload..... the search icon should not trigger the upload action.
1a741e3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.