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

    display: none;

}

.login-ui .sso-providers:last-child {
    display: block;
}

.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;
}
@media (prefers-color-scheme: dark) {
    html,
    body {
        color: #ececec;
        background-color: #333333;
    }
    pre {
        color: #ececec;
        background-color: #222;
        border: 1px solid #555;
    }

    a[href]:visited {
        color: #884;
    }
    a[href] {
        color: #080;
    }

    div.location,
    input[type=text],
    input[type=email],
    input[type=number],
    input[type=password],
    textarea {
        background-color: #2c2c2c;
        color: #bbb;
    }


    /* Login */
    div.login-ui {
        color: #ececec;
        background-color: #333333;
    }
    .login-ui .login-fields .labeled-field input:focus {
        background-color: #222222;
        color: #eee;
    }

    /* Home */
    .recent-connections .connection:hover {
        background-color: #607830;
    }

    .menu-dropdown .menu-contents {
        background-color: #222222;
    }
    .menu-dropdown .menu-contents li a {
        color: #eee;
    }
    .menu-dropdown .menu-contents li a:hover {
        background-color: #607830;
    }

    .list-item.selected {
        background: #84af2c
    }
    .list-item:not(.selected) .caption:hover {
        background-color: #607830;
    }
    .list-item .name {
        color: #ddd;
    }

    /* Menu */
    .menu {
        color: #ececec;
        background-color: #333333;
    }

    .clipboard,
    .clipboard-service-target {
        background-color: #2c2c2c;
        color: #bbb;
    }

    /* Connection */
    .notification {
        background-color: #2c2c2c;
        color: #ececec;
    }

    #connection-warning {
        background-color: #a8a800;
    }

    .transfer-manager {
        background-color: #2c2c2c;
    }
    .transfer.error {
        background-color: #a80000;
    }

    /* Settings */
    .page-tabs .page-list li a[href],
    .section-tabs li a {
        color: #ddd;
    }
    .page-tabs .page-list li a[href]:hover,
    .section-tabs li a:hover {
        background-color: #607830;
    }
    .page-tabs .page-list li a[href]:visited {
        color: #fff;
    }

    .settings table.session-list tr.session:hover {
        background-color: #84af2c;
    }

    .location-chooser .dropdown {
        background-color: #222222;
    }


    .user a,
    .user-group a,
    .connection a,
    .connection-group a {
        color: #ddd;
    }
    .user a:hover,
    .user-group a:hover,
    .connection a:hover,
    .connection-group a:hover {
        color: #ddd;
    }
    .user a:visited,
    .user-group a:visited,
    .connection a:visited,
    .connection-group a:visited {
        color: #fff;
    }

    .manage-user .notice.read-only {
        background-color: #291800;
    }

    #filesystem-menu .header.breadcrumbs .breadcrumb:hover {
        background-color: #607830;
    }

    #guac-menu #zoom-out:hover,
    #guac-menu #zoom-in:hover {
        background-color: #607830;
    }

    /* Official Apache Guacamole org website */
    .chapter div.toc,
    .appendix div.toc {
        background-color: #2c2c2c;
        border-color: #555;
    }

    div.important {
        background-color: #2a2a00;
    }

    .replaceable {
        color: #a8a8ff;
    }

    .table-contents td,
    .table-contents th,
    .informaltable td,
    .informaltable th {
        border-color: #555;
    }

    .table-contents th,
    .informaltable th {
        background-color: #2c2c2c;
    }

    div#footer {
        background-color: #222222;
    }

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

}
