@import url("/static/efficient-ui/MASTER.css");

:root {
    --color-branch: var(--color-primary-1);
    --color-branch-text: var(--color-primary-1-text);
    --color-tag: var(--color-accent-1);
    --color-tag-text: var(--color-accent-1-text);
}

.big-button {
    font-size: 1.5em;
}

.ripple-pad {
    background: #ffffff99;
    position: absolute;
    opacity: 1;
    transform: scale(0);
    animation: RippleEffect 375ms cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

@keyframes RippleEffect {
    to {
        transform: scale(1);
        opacity: 0;
    }
}

button, input, .button, select {
    position: relative;
    overflow: hidden;
}

.error-page-container {
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 896px) {
    .navbar {
        flex-flow: column nowrap;
        height: fit-content;
    }
}

@media screen and (max-width: 640px) {
    #repo-table > * > tr > :is(td, th):is(:nth-child(3), :nth-child(4)) {
        display: none;
    }

    .commit-message {
        display: none !important;
    }
}

@media screen and (max-width: 544px) {
    .navbar > ul {
        flex-flow: row wrap;
        justify-content: center;
    }
    #commit-dialog {
        align-items: stretch;
    }
}

@media screen and (max-width: 512px) {
    .breadcrumbs {
        flex-flow: column nowrap;
        justify-content: center;
        height: auto;
        gap: 1em;
    }
}

.file-icon {
    font-size: 1.25em;
}

.file-name, .commit-message {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-link {
    text-decoration: none;
}

#repo-tabs, #global-nav > ul, #home-tabs {
    padding: 0;
    margin: 0;
}

.button {
    text-decoration: none;
}

/* for now */
#repo-table > * > tr > :is(td, th):nth-child(1) {
    display: none;
}

.password-error {
    background: var(--color-error);
    color: var(--color-error-text);
    padding: 8px;
    gap: 4px;
    border-radius: 2px;
}

#username p {
    font-size: 1.5em;
    font-weight: 300;
}

.box-center {
    align-items: center;
}

#global-nav > x-hbox > a > x-hbox {
    height: 100%;
}

body > footer {
    background: var(--color-callout-1);
    color: var(--color-callout-1-text);
    padding: 16px;
}
body > footer a {
    color: var(--color-callout-1-text) !important;
}
body {
    display: flex;
    flex-flow: column;
}
main {
    flex: 1 0 auto;
}
body > footer dd ul {
    padding-left: 0;
    margin-left: 0 !important;
    list-style: none;
}
body > footer dt {
    font-family: "Roboto Condensed";
    text-transform: uppercase;
    font-weight: 600;
}
body > footer hr {
    border-color: #ffffff80;
    margin: 8px 0;
}

#footer-lists {
    flex-flow: row wrap;
}

#footer-lists > dl {
    flex: 1 0 0;
}

.branch-icon {
    width: 2em;
    font-size: 32px;
    align-items: center;
    justify-content: center;
    display: flex;
}