/*
 * 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;

}
.quickconnect-container{margin:.25em 0;width:100%;margin-left:.50em}.quickconnect-container .quickconnect-field{background-image:url('images/protocol-icons/guac-text.png');background-repeat:no-repeat;background-size:1.50em;background-position:.25em center;background-color:transparent;padding:.25em;padding-left:2.50em;width:100%;max-width:none;border:0;box-sizing:border-box}.quickconnect-button{clear:both;float:right;margin-right:.75em;font-size:.75em;padding:.25em}.quickconnect-list-item{vertical-align:middle;align-content:center;display:flex}/*
 * Salesforce branding for the Guacamole login page.
 *
 * Overrides the default Guacamole logo (.login-ui .login-dialog .logo, which
 * ships as images/guac-tricolor.svg) with the Salesforce logo. The image is
 * served from this extension's namespace — see guac-manifest.json.
 *
 * background-size: contain keeps the logo's aspect ratio intact regardless of
 * the source image's exact dimensions; the box below is sized for a landscape
 * (wordmark/cloud) logo. Adjust width/height if a differently-shaped asset is used.
 */
.login-ui .login-dialog .logo {
    width: 10em;
    height: 5em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('app/ext/salesforce-branding/resources/images/salesforce-logo.png');
}

/*
 * Hide the "APACHE GUACAMOLE" product name that renders below the logo. It is a
 * .app-name element (fed by the APP.NAME translation key) inside the .version
 * wrapper on the login dialog; the Salesforce logo alone is the intended
 * branding. Hiding it in CSS keeps the change in this reviewable extension
 * rather than overriding Guacamole's translation bundles.
 */
.login-ui .login-dialog .app-name {
    display: none;
}
