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

}
/*
 * SmartOne branding for the Guacamole 1.6.0 login page.
 * Selectors start with "div.login-ui" so they win over the defaults in
 * login/styles/dialog.css without needing !important.
 */

/* SmartOne wordmark instead of the Guacamole tricolor logo, as wide as the login fields
   (image ratio 1021x242, so the height follows the width). */
div.login-ui .login-dialog .logo {
    width: 100%;
    height: auto;
    aspect-ratio: 1021 / 242;
    margin: 0.5em 0 1em 0;
    background-image: url('app/ext/smartone-branding/images/smartone-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    -khtml-background-size: contain;
}

/* The wordmark already says "SmartOne"; the version number is not shown to customers. */
div.login-ui .login-dialog .version .app-name,
div.login-ui .login-dialog .version .version-number {
    display: none;
}
