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

}
/* app.css é servido em /guacamole/, então a url() precisa do caminho completo
   até o recurso da extensão. !important pra vencer o bundle do Guacamole
   (.login-ui{background:#fff} e o logo guac-tricolor têm a mesma especificidade). */

/* logo do login (logo completa ~3:2) */
.login-ui .login-dialog .logo {
    background-image: url("app/ext/omnius-branding/omnius-logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 12em !important;
    height: 8em !important;
}

/* fundo azul-escuro na tela de login */
.login-ui {
    background: #0a1c3a !important;
    background: linear-gradient(160deg, #0d244a 0%, #081327 100%) !important;
}

/* card do login legível sobre o fundo escuro */
.login-ui .login-dialog {
    background-color: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    padding: 1.5em 1.75em !important;
}
.login-ui .login-dialog,
.login-ui .login-dialog h1,
.login-ui .login-dialog .login-fields,
.login-ui .login-dialog label {
    color: #e6edf6 !important;
}
.login-ui .login-dialog input {
    background-color: rgba(255,255,255,0.95) !important;
    color: #0a1c3a !important;
    border-radius: 6px !important;
}
