Merge pull request #96 from feross/fix-drag-drop

Fix up drag-drop
This commit is contained in:
Feross Aboukhadijeh
2016-03-08 16:43:58 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
"chromecasts": "^1.8.0",
"create-torrent": "^3.22.1",
"debug": "^2.2.0",
"drag-drop": "^2.3.1",
"drag-drop": "^2.11.0",
"electron-localshortcut": "^0.6.0",
"hyperx": "^2.0.2",
"main-loop": "^3.2.0",

View File

@@ -252,20 +252,20 @@ a:not(.disabled):hover, i:not(.disabled):hover {
.torrent-placeholder {
padding: 10px;
color: #666;
font-size: 1.1em;
}
.torrent-placeholder span {
border: 5px #444 dashed;
border-radius: 5px;
color: #666;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
body.drag .torrent-placeholder {
body.drag .torrent-placeholder span {
border-color: #def;
color: #def;
}