/*
 * AI Box login branding.
 *
 * The Guacamole login logo is an empty <div class="logo"> nested under
 * .login-ui .login-dialog and rendered purely via a CSS background-image, so
 * replacing that image swaps the logo. A fixed height is set so the (roughly
 * square) AIx logo renders at a sensible size regardless of the default rule.
 *
 * Guacamole concatenates extension CSS into a single root-level bundle
 * (/1.guacamole.<hash>.css), so a relative url() would resolve against the site
 * root, not the extension. The logo image resource is served at
 * /app/ext/aix-branding/images/AIx.png (namespace + resources path from
 * guac-manifest.json), so reference it with that root-absolute URL. WEBAPP_CONTEXT
 * is ROOT, so the app — and this path — live at the site root. !important
 * overrides Guacamole's own .logo rule.
 */
.login-ui .login-dialog .logo {
    background-image: url('/app/ext/aix-branding/images/AIx.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    width: 100% !important;
    height: 140px !important;
}
/*
 * 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.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
