%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/atlassian-stash/static/widget/buttons/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/atlassian-stash/static/widget/buttons/buttons.less

@import "../../global.less";

.colored-button(@borderColor, @borderBottomColor, @backgroundColor) {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    border-color: @borderColor @borderColor @borderBottomColor;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: @invertedBodyTextColor;
    background-color: @backgroundColor;
    .linear-gradient-vertical(@backgroundColor,@borderColor);
}

.stash-theme {

    /* Round delete button (x) */

    a.delete-button,
    a.edit-button {
        color: #bbb;

        &:hover {
            color: #505050;
            text-decoration: none;
        }
    }

    table.aui tbody > tr .delete-button {
        visibility: hidden;
    }

    table.aui tbody > tr:hover .delete-button {
        visibility: visible;
    }

    .aui-button {

        &.green {
            .colored-button(#57a957, #3d773d, #62c462);
        }

        &.red {
            .colored-button(#c43c35, #882a25, #ee5f5b);
        }
    }

    .switch .aui-button {
        display: inline-block;

        &.switch-mode-on[aria-pressed=true] {

            .box-shadow(inset 0 3px 6px darken(@confirmationTextColor, 7%));

            border-color: darken(@confirmationTextColor, 12%);
            text-shadow: 0 1px 0 darken(@confirmationTextColor, 7%);
            background: @confirmationTextColor;
            color: @invertedBodyTextColor;

        }
    }

    // @aui-override https://ecosystem.atlassian.net/browse/AUI-1687
    // because :first-child and :last-child border-radius don't hit the button elements if there's
    // anything else (eg spinners, icons) inside the .aui-buttons container before the buttons

    .aui-buttons .aui-button:first-child,
    .aui-buttons :not(.aui-button) + .aui-button {
        border-top-left-radius: 3.01px;
        border-bottom-left-radius: 3.01px;
    }
}

Zerion Mini Shell 1.0