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

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
/* ===== Hide the DB login form (cosmetic; API still accepts logins) ===== */
.login-ui .login-dialog .login-fields,
.login-ui .login-dialog .buttons {
    display: none !important;
}

/* Hide the version badge */
.login-ui .login-dialog .version .version-number {
    display: none !important;
}

/* Trim the box now that the form is gone */
.login-ui .login-dialog {
    padding-bottom: 1em !important;
    min-height: 0 !important;
}

/* ===== Pin the SSO block to bottom-center of the page ===== */
.login-ui .sso-providers {
    position: fixed !important;
    left: 50% !important;
    bottom: 15% !important;
    top: auto !important;
    right: auto !important;
    transform: translateX(-50%);
    padding: 0;
    text-align: center;
    display: block !important;
}

/* "Sign in with:" label above the button */
.login-ui .sso-providers .header,
.login-ui .sso-providers > span {
    display: block;
    margin-bottom: 0.4em;
    font-size: 0.9em;
}

/* Stack the provider list */
.login-ui .sso-providers ul,
.login-ui .sso-providers li {
    display: block;
    margin: 0;
    padding: 0;
}

/* The OpenID link as a centered button */
.login-ui .sso-providers li a {
    display: inline-block;
    padding: 0.6em 2em;
    font-size: 1.15em;
    font-weight: bold;
    background-color: #3c3c3c;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,.4);
    border-radius: 0.2em;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.login-ui .sso-providers li a:hover {
    background-color: #5a5a5a;
}
