GUACAMOLE-723: Separate connection selection menu to own CSS class.

This commit is contained in:
Michael Jumper
2019-06-15 18:05:03 -07:00
parent 1b48f21573
commit 4f41890e2b
3 changed files with 38 additions and 20 deletions

View File

@@ -0,0 +1,37 @@
/*
* 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.
*/
.connection-select-menu .menu-dropdown {
border: none;
}
.connection-select-menu .menu-contents {
font-weight: normal;
font-size: 0.8em;
}
.connection-select-menu .filter input {
border-bottom: 1px solid rgba(0,0,0,0.125);
border-left: none;
}
.connection-select-menu .filter {
margin-bottom: 0.5em;
padding: 0;
}

View File

@@ -69,25 +69,6 @@
padding: 0;
}
#guac-menu .header h2 .menu-dropdown {
border: none;
}
#guac-menu .header h2 .menu-contents {
font-weight: normal;
font-size: 0.8em;
}
#guac-menu .header .filter input {
border-bottom: 1px solid rgba(0,0,0,0.125);
border-left: none;
}
#guac-menu .header .filter {
margin-bottom: 0.5em;
padding: 0;
}
#guac-menu #mouse-settings .choice {
text-align: center;
}

View File

@@ -53,7 +53,7 @@
<!-- Stationary header -->
<div class="header">
<h2 ng-hide="rootConnectionGroups">{{client.name}}</h2>
<h2 ng-show="rootConnectionGroups">
<h2 class="connection-select-menu" ng-show="rootConnectionGroups">
<guac-menu menu-title="client.name">
<div class="all-connections">
<guac-group-list-filter connection-groups="rootConnectionGroups"