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

}
/* Marvin Workspace branding. Logo, mark and colours are taken from Marvin's
   public site (meetmarvin.com): navy #171d37, yellow #ffe86c / #ffee93,
   lavender #d5d9ff, light #edf0fa. Replace images/ and the values below if
   the brand team supplies different files. */
:root {
  --marvin-navy: #171d37;
  --marvin-yellow: #ffe86c;
  --marvin-yellow-light: #ffee93;
  --marvin-lavender: #d5d9ff;
  --marvin-light: #edf0fa;
}

/* Sign-in page: navy background, white card with the navy wordmark. */
div.login-ui {
  background: var(--marvin-navy);
}

.login-ui .login-dialog {
  background: #fff;
  color: var(--marvin-navy);
  border-top: 0.35em solid var(--marvin-yellow);
  border-radius: 13px;
  box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.35);
}

.login-ui .login-dialog .logo {
  background-image: url('app/ext/marvin-branding/images/logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 10em;
  height: 3.9em;
}

/* The wordmark already reads "Marvin"; hide the stock product name/version. */
.login-ui .login-dialog .version .app-name,
.login-ui .login-dialog .version .version-number {
  display: none;
}

/* Buttons, as on meetmarvin.com: yellow with navy text. */
input[type="submit"], button, a.button {
  background-color: var(--marvin-yellow);
  border: 1.5px solid var(--marvin-yellow);
  border-radius: 13px;
  color: var(--marvin-navy);
  text-shadow: none;
}

input[type="submit"]:hover, button:hover, a.button:hover {
  background-color: var(--marvin-yellow-light);
}

input[type="submit"]:active, button:active, a.button:active {
  background-color: #f5d94a;
}

input[type="submit"]:disabled, button:disabled {
  background-color: var(--marvin-light);
  color: rgba(23, 29, 55, 0.5);
}

/* Stock action icons are white; draw them navy on the yellow buttons. */
.button.logout::before,    button.logout::before,
.button.reconnect::before, button.reconnect::before,
.button.home::before,      button.home::before,
.button.back::before,      button.back::before {
  filter: brightness(0);
  opacity: 0.85;
}

/* Connecting / disconnected dialogs. */
.notification .title-bar {
  background: var(--marvin-navy);
  color: #fff;
}

.notification .progress .bar {
  background: var(--marvin-yellow);
}

/* "Disconnected" / "Reconnecting" overlay inside a session: Guacamole draws
   these buttons transparent with a white border, so give the whole box Marvin
   colours and readable yellow buttons. */
.client-status-modal .notification {
  background: rgba(23, 29, 55, 0.94);
  color: #fff;
}

.client-status-modal .notification .button {
  background: var(--marvin-yellow);
  border: 1.5px solid var(--marvin-yellow);
  color: var(--marvin-navy);
  font-weight: bold;
}

.client-status-modal .notification .button:hover {
  background: var(--marvin-yellow-light);
  text-decoration: none;
}
