GUAC-1172: Move file transfer manager to corner of client display.
This commit is contained in:
1 parent
6816314797
commit
e6886f7bbf
12 files changed
+147
-127
No files matched your search
@@ -21,25 +21,29 @@
|
||||
*/
|
||||
|
||||
.transfer {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
.transfer .transfer-status {
|
||||
display: table-cell;
|
||||
padding: 0.25em;
|
||||
position: relative;
|
||||
padding: 0.5em;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
.transfer .text {
|
||||
display: table-cell;
|
||||
text-align: right;
|
||||
padding: 0.25em
|
||||
}
|
||||
|
||||
.transfer .filename {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
margin-bottom: 0.5em;
|
||||
position: relative;
|
||||
font-family: monospace;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.transfer .text {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin-top: 0.5em;
|
||||
padding: 0.125em;
|
||||
}
|
||||
|
||||
@keyframes transfer-progress {
|
||||
@@ -55,11 +59,8 @@
|
||||
.transfer .progress {
|
||||
|
||||
width: 100%;
|
||||
background: #C2C2C2;
|
||||
padding: 0.25em;
|
||||
|
||||
border: 1px solid gray;
|
||||
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -70,6 +71,7 @@
|
||||
|
||||
.transfer.in-progress .progress {
|
||||
|
||||
background-color: #EEE;
|
||||
background-image: url('images/progress.png');
|
||||
|
||||
background-size: 16px 16px;
|
||||
@@ -90,6 +92,7 @@
|
||||
}
|
||||
|
||||
.transfer .progress .bar {
|
||||
display: none;
|
||||
background: #A3D655;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -98,32 +101,35 @@
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.savable.transfer {
|
||||
.transfer.in-progress .progress .bar {
|
||||
display: initial;
|
||||
}
|
||||
|
||||
.transfer.savable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.savable.transfer:hover .progress {
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
.savable.transfer .filename {
|
||||
.transfer.savable .filename {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.error.transfer {
|
||||
.transfer.error {
|
||||
background: #FDD;
|
||||
}
|
||||
|
||||
.error.transfer .progress {
|
||||
border-color: rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
|
||||
.error.transfer .text,
|
||||
.error.transfer .progress .bar {
|
||||
.transfer.error .text,
|
||||
.transfer.error .progress .bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.error-text {
|
||||
margin-bottom: 0;
|
||||
.transfer .error-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.transfer.error .error-text {
|
||||
display: block;
|
||||
margin: 0;
|
||||
margin-top: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user