mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUAC-692: Add Ctrl/Alt/Esc/Tab buttons to text input UI.
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Text input target -->
|
<!-- Text input target -->
|
||||||
<div id="text-input"><div id="sent-history"></div><textarea rows="1" id="target"></textarea></div>
|
<div id="text-input"><div id="text-input-field"><div id="sent-history"></div><textarea rows="1" id="target"></textarea></div><div id="text-input-buttons"><button id="text-ctrl">Ctrl</button><button id="text-alt">Alt</button><button id="text-esc">Esc</button><button id="text-tab">Tab</button></div></div>
|
||||||
|
|
||||||
<!-- Dimensional clone of viewport -->
|
<!-- Dimensional clone of viewport -->
|
||||||
<div id="viewportClone"/>
|
<div id="viewportClone"/>
|
||||||
|
@@ -691,15 +691,31 @@ p.hint {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#text-input-field,
|
||||||
|
#text-input-buttons {
|
||||||
|
width: 50%;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text-input-field {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text-input-buttons {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
#target {
|
#target {
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: bottom;
|
vertical-align: middle;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
width: 50%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
resize: none;
|
resize: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
@@ -718,14 +734,14 @@ p.hint {
|
|||||||
|
|
||||||
#sent-history {
|
#sent-history {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: bottom;
|
vertical-align: middle;
|
||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sent-history .sent-text {
|
#sent-history .sent-text {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: bottom;
|
vertical-align: baseline;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
|
|
||||||
@@ -734,6 +750,22 @@ p.hint {
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#text-input-buttons button {
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||||
|
background: none;
|
||||||
|
color: black;
|
||||||
|
box-shadow: none;
|
||||||
|
text-shadow: none;
|
||||||
|
padding: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text-input-buttons button:active,
|
||||||
|
#text-input-buttons button.pressed {
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
.notification.message {
|
.notification.message {
|
||||||
background: #DFD;
|
background: #DFD;
|
||||||
animation: fadein 0.125s linear, fadeout 2s 3s linear;
|
animation: fadein 0.125s linear, fadeout 2s 3s linear;
|
||||||
|
Reference in New Issue
Block a user