Add Torrent Link modal

This commit is contained in:
DC
2016-03-09 02:43:50 -08:00
parent ab939e185d
commit c176e3897a
7 changed files with 208 additions and 48 deletions

View File

@@ -254,6 +254,81 @@ a:not(.disabled):hover, i:not(.disabled):hover {
margin-top: 0;
}
/*
* MODAL POPOVERS
*/
.modal .modal-background {
content: ' ';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.5;
}
.modal .modal-content {
position: fixed;
top: 45px;
left: 0;
right: 0;
margin: 0 auto;
width: calc(100% - 20px);
max-width: 600px;
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.4);
background-color: white;
color: #222;
padding: 20px;
}
.open-torrent-address-modal input {
width: calc(100% - 100px)
}
/*
* BUTTONS
*/
button {
background: transparent;
margin-left: 10px;
padding: 0;
border: none;
font-size: 14px;
font-weight: bold;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
cursor: pointer;
color: #aaa;
}
button.primary {
color: #0cf;
}
button:hover {
-webkit-filter: brightness(1.1);
}
button:active {
-webkit-filter: brightness(1.1);
text-shadow: none;
}
/*
* OTHER FORM ELEMENT DEFAULTS
*/
input {
background: transparent;
width: 300px;
padding: 6px;
border: 1px solid #bbb;
border-radius: 3px;
box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.1);
}
/*
* PLAYER
*/
@@ -384,6 +459,10 @@ body.drag .torrent-placeholder span {
background-color: #F44336;
}
.torrent.timeout .play {
padding-top: 8px;
}
.torrent.requested .play {
border-top: 6px solid rgba(255, 255, 255, 0.2);
border-right: 6px solid rgba(255, 255, 255, 0.2);