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

}
/*
 * 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.
 */

@font-face {
    font-family: 'Lato';
    font-weight: normal;
    font-style: normal;
    src: url('app/ext/wallack-branding/resources/fonts/lato/Lato-Regular.ttf') format('ttf');
}

@font-face {
    font-family: 'Lato';
    font-weight: bold;
    font-style: normal;
    src: url('app/ext/wallack-branding/resources/fonts/lato/Lato-Bold.ttf') format('ttf');
}

@font-face {
    font-family: 'Lato';
    font-weight: normal;
    font-style: italic;
    src: url('app/ext/wallack-branding/resources/fonts/lato/Lato-Italic.ttf') format('ttf');
}

@font-face {
    font-family: 'Lato';
    font-weight: bold;
    font-style: italic;
    src: url('app/ext/wallack-branding/resources/fonts/lato/Lato-BoldItalic.ttf') format('ttf');
}
/*
 * 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.
 */

/**
 * Changes the font of the login dialog to prefer Raleway, with some fallbacks.
 */
 .login-ui .login-dialog .login-fields input {
    font-family: Lato, FreeSans, Helvetica, Arial, sans-serif;
}

/**
 * Set up the logo used at the top of the login dialog box, including sizing it
 * appropriately and pulling in the custom image.
 */
.login-ui .login-dialog .logo {
    width: 10em;
    height: 3em;
    background-size:         10em 3em;
    -moz-background-size:    10em 3em;
    -webkit-background-size: 10em 3em;
    -khtml-background-size:  10em 3em;
    background-image: url('app/ext/wallack-branding/resources/images/wallack/wallack.svg');
}

/*
 * For our custom warning code, specify the font order, as well as the italic
 * style, and size it down a little.
 */
.login-ui .login-dialog .warning {
    font-family: Lato, FreeSans, Arial;
    font-style: italic;
    font-size: 0.75em;
}

/*
 * Sets up the custom coloring around the header elements.
 */
.header {
    border-bottom: 1px solid #004275; /* Change to your primary color */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adjusted shadow */
    background: #004275; /* Change to your primary color */
    color: #ffffff; /* White text on primary color */
}

/*
 * Changes the default color and fonts of the submit buttons, along with font
 * size and weight.
 */
input[type="submit"], button, a.button {
    background-color: #004275; /* Change to your primary color */
    font-size: 1em;
    font-weight: bold;
    font-family: Lato, FreeSans, Helvetica, Arial, sans-serif;
    color: #ffffff; /* White text on primary color */
    cursor: pointer;
    border-radius: 0.5rem; /* 8px */
}

input[type="text"], input[type="password"], .login-dialog {
    border-radius: 0.5rem; /* 8px */
}

.login-dialog-middle {
    background:#004275;

}

.menu-indicator,.menu-title{
    filter: brightness(0) invert(1);
}

/*
 * Changes the coloring on the submit-styled buttons when you hover over them.
 */
input[type="submit"]:hover, button:hover, a.button:hover {
    background-color: #01233d; /* Change to your secondary color */
}

/*
 * Provide a custom color scheme for danger-styled buttons.
 */
button.danger, a.button.danger {
    background: #E5004F; /* Change to your danger color */
    cursor: pointer;
    border-radius: 0.5rem; /* 8px */
}

/*
 * Provide a custom color scheme for hovering over danger-styled buttons.
 */
button.danger:hover, a.button.danger:hover {
    background: #920033; /* Adjusted hover color */
}

/*
 * Change the default font order of preference across the entire interface.
 */
body {
    font-family: Lato, FreeSans, Helvetica, Arial, sans-serif;
}
