Files
guacamole-client/guacamole/src/main/webapp/app/client/styles/other-connections.css

125 lines
2.6 KiB
CSS

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
#other-connections {
/* Render above modal status */
z-index: 20;
}
#other-connections .client-panel {
position: absolute;
right: 0;
bottom: 0;
border: 1px solid rgba(255, 255, 255, 0.25);
background: rgba(0, 0, 0, 0.25);
max-width: 100%;
white-space: nowrap;
transition: max-width 0.125s, width 0.125s;
}
#other-connections .client-panel.hidden {
max-width: 16px;
}
#other-connections .client-panel-handle {
position: absolute;
left: 0;
bottom: 0;
height: 100%;
width: 16px;
z-index: 1;
background-color: white;
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
background-image: url(images/arrows/right.png);
opacity: 0.5;
}
#other-connections .client-panel-handle:hover {
opacity: 0.75;
}
#other-connections .client-panel.hidden .client-panel-handle {
background-image: url(images/arrows/left.png);
}
#other-connections .client-panel-connection-list {
text-align: right;
margin: 0;
padding: 0;
padding-left: 16px;
overflow-x: auto;
overflow-y: hidden;
}
#other-connections .client-panel-connection {
display: inline-block;
position: relative;
margin: 0.5em;
border: 1px solid white;
background: black;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
opacity: 0.5;
transition: opacity 0.25s;
width: 192px;
max-width: 30vw;
}
#other-connections .client-panel-connection .name {
position: absolute;
padding: 0.25em 0.5em;
left: 0;
right: 0;
bottom: 0;
text-align: left;
color: white;
background: rgba(0, 0, 0, 0.5);
font-size: 0.75em;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#other-connections .client-panel-connection:hover {
opacity: 1;
}