Fixed horizontal scrollbar in IE (bug #1213264).

@inspector-background-color: #221e1c;
@inspector-region-background-color: #282828;
@inspector-divider-bottom: rgba(0, 0, 0, 0.3);
@inspector-divider-top: rgba(255, 255, 255, 0.05);
@inspector-status-border-color: #E2E2E2;
@inspector-subtitle-color: #555555;
@inspector-width: 292px;
@confirm-button-color: #DD4814;
@deny-button-color: #BBB;
@disabled-input-background-color: #727272;
@disabled-input-text-color: #252525;

.yui3-juju-inspector {
    input[type=text]::-ms-clear { display: none; }

    .customize-scrollbar;

    .inspector-buttons {
        a {
            .create-border-radius(@border-radius);
            .create-box-shadow(0 2px 2px -2px #777 inset);
            box-shadow: 0 2px 2px -2px #777777 inset;
            color: #fff;
            background: @confirm-button-color;
            padding: 5px 0;
            text-decoration: none;
            text-align: center;
            margin-top: 10px;
            width: 110px;
            float: left;
            margin-left: 13px;
            cursor: pointer;
        }
        .cancel-button {
            background: #999;
        }
    }

    .left-breakout {
        .type9;
        position: absolute;
        top: 20px;
        bottom: @navbar-bottom-height + 20px;
        right: @inspector-width + 35px;
        overflow-y: auto;
        overflow-x: hidden;
        width: @bws-panel-width;
        background-color: #fff;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);

        .close-slot {
            position: absolute;
            // Need to raise it above the content.
            z-index: 1;
            display: block;
            top: 20px;
            right: 20px;
            width: 20px;
            height: 20px;
            background: transparent
                url(/juju-ui/assets/images/panel_close.png)
                left top no-repeat;
        }
        .charm .yui3-tabview {
            margin-top: 30px;
        }
        .unit-overview {
            .header {
                .type13;
                padding: 30px;
                background: @bws-background;
                border-bottom: 1px solid @bws-border;

                h2 {
                    .type2;
                    margin-bottom: 20px;
                }
                ul {
                    margin: 0;
                    list-style: none;

                    li {
                        line-height: 1.55;
                    }
                }
            }
            .unit-info-tabs {
                padding: 30px;

                h3 {
                    .type5;
                    margin-bottom: 20px;
                    padding-bottom: 15px;
                    border-bottom: 1px solid @bws-border;
                }
                tr {
                    border-bottom: 1px solid @bws-border;

                    th,
                    td {
                        padding: 10px 20px;
                    }
                    th {
                        .type5;
                        text-align: left;
                        padding-top: 0;
                        padding-bottom: 15px;
                    }
                }
            }
        }
    }

    .juju-inspector {
        .create-border-radius(@border-radius);
        position: absolute;
        top: 20px;
        right: 35px;
        width: @inspector-width;
        min-height: 250px;
        border: 0;
        background-color: @inspector-background-color;
        color: #fff;
        /* Can be removed once the old inspector styles are removed. */
        margin: 0;

        h1, h2, h3, h4, h5, h6 {
            background-color: @inspector-region-background-color;
            padding-left: 1em;
        }

        input[type=checkbox].hidden-checkbox {
            display: none;
        }

        .toggle {
            font-size: 12px;

            span {
                display: inline-block;
                vertical-align: top;
                line-height: 30px;
            }
            .toggle-switch {
                display: inline-block;
                vertical-align: top;
                float: right;

                label {
                    height: 26px;
                    width: 50px;
                    background-color: @inspector-background-color;
                    .create-border-radius(@border-radius);
                    display: block;
                    position: relative;
                    margin: 0;

                    &.light {
                        background-color: @inspector-region-background-color;
                    }
                    .handle {
                        height: 18px;
                        width: 18px;
                        background-color: @deny-button-color;
                        .create-border-radius(@border-radius);
                        position: absolute;
                        margin: 4px;
                        cursor: pointer;
                        text-align: center;
                        left: 0;
                        -moz-transition: left .1s ease-in-out;
                        -webkit-transition: left .1s ease-in-out;
                        transition: left .1s ease-in-out;
                        -moz-user-select: none;
                        -webkit-user-select: none;
                        -ms-user-select: none;
                        user-select: none;
                    }
                    .handle:before {
                        content: '\2717';
                    }
                }
                input.hidden-checkbox:checked ~ label .handle {
                    left: 25px;
                    background-color: @confirm-button-color;
                }
                input.hidden-checkbox:checked ~ label .handle:before {
                    content: '\2713';
                }
            }
        }

        .controls {

            button {
                .create-border-radius(@border-radius);
                width: 130px;
                height: 25px;
                margin: 10px 0;
                border: none;
                color: white;
                font-weight: bold;

                &.cancel {
                    background-color: #A3A3A3;
                    margin-left: 10px;
                }

                &.confirm {
                    background-color: @confirm-button-color;
                    float: right;
                    margin-right: 10px;
                    &:disabled {
                        background-color: #802E0E;
                        color: #eee;
                    }
                }
            }
        }

        .unit-scaling {
            width: 255px;

            .current-unit-num-wrapper {
                width: 95px;
                background-color: @inspector-region-background-color;
                height: 30px;
                .create-border-radius(@border-radius);
                line-height: 30px;
                padding-left: 10px;
                position: relative;
            }
            .units-starting-spinner {
                position: absolute;
                right: 10px;
            }
            input.num-units-control {
                width: 107px;
            }
            span {
                padding: 0 10px;
                line-height: 30px;
            }
            .constraint-details {
                font-size: 11px;
            }
            a.edit-constraints {
                padding-left: 10px;
                cursor: pointer;
            }
            .unit-constraints-confirm {
                overflow: hidden;
                height: 130px;
                letter-spacing: normal;
                background-color: @inspector-region-background-color;
                -moz-transition: .3s, height .3s;
                -webkit-transition: .25s, height .3s;
                transition: .3s, height .3s;
            }
            .unit-constraints-confirm.closed {
                height: 0;
            }
        }

        .settings-wrapper {
            .border-box;
            position: relative;
            width: 100%;

            & > div {
                padding-right: 10px;
            }
            label {
                font-size: 14px;
                margin: 14px 0 7px 0;
                font-weight: bold;
            }
            textarea {
                width: 100%;
            }
            .settings-description {
                font-size: 12px;

                /* below hyphenation code was taken from:
                http://www.newnet-soft.com/blog/csstypography */
                -ms-word-break: break-all;
                word-break: break-all;

                // Non standard for webkit
                word-break: break-word;

                -webkit-hyphens: auto;
                -moz-hyphens: auto;
                hyphens: auto;

                -webkit-hyphenate-before: 2;
                -webkit-hyphenate-after: 3;
                hyphenate-lines: 3;
            }
       }

        .config-file {
            padding: 10px 5px 10px 5px;

            input {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }

            .fakebutton {
                .create-border-radius(@border-radius);
                font-family: @font-family-medium;
                border: 1px solid #6B6B6B;
                color: white;
                font-size: 14px;
                font-weight: bold;
                padding: 5px;
                z-index: 2;
                cursor: pointer;
            }
        }

        .ghost {
            input[type=text] {
                /* Fixes the bottom of the service name getting cutoff (IE10) */
                height: auto;
            }
            .header-slot {
                header {
                    margin-bottom: 0;
                    border-bottom: none;
                }
            }
            .ghost-config-header {
                font-size: 17px;
                height: 35px;
                line-height: 35px;
                padding-left: 35px;
            }
            .ghost-config-content {
                padding: 15px 10px;
                background-color: @inspector-region-background-color;

                input[name=number-units] {
                    display: inline-block;
                    width: 120px;
                    margin-bottom: 0;
                }
                label[for=number-units] {
                    display: inline-block;
                    margin-left: 25px;
                    vertical-align: middle;
                }
                &.use-defaults {
                    textarea {
                        background-color: @disabled-input-background-color;
                        border-color: @inspector-background-color;
                        cursor: not-allowed;
                        color: @disabled-input-text-color;
                    }
                    input[type=text] {
                        background-color: @disabled-input-background-color;
                        border-color: @inspector-background-color;
                        cursor: not-allowed;
                        color: @disabled-input-text-color;
                    }
                    .fakebutton {
                        color: @disabled-input-background-color;
                        border-color: @disabled-input-background-color;
                        cursor: default;
                    }
                }
            }
        }

        /* Resetting panel styles. Can be removed after old inspector styles are
           removed. */
        .charm-panel-configure {
            background: transparent;
            float: none;
            border: 0;
            height: auto;
            width: auto;
            padding: 0 20px;

            .title {
                font-size: 20px;
                font-weight: 300;
                line-height: 1.2;
                margin: 0;
            }
            .name {
                font-size: 14px;
                font-weight: 400;
                line-height: 1.5;
            }
        }

        .control-description,
        .control-label {
            font-size: 14px;
            font-weight: 300;
        }
        .control-label {
            margin-bottom: 10px;
        }

        .control-group {
            margin: 0;
            padding: 20px;
            border-bottom: 1px solid @inspector-divider-bottom;
            border-top: 1px solid @inspector-divider-top;

            .well {
                background-color: transparent;
                border: 0;
                margin-bottom: 10px;
                min-height: 20px;
                padding: 0;
            }
        }

        .viewlet-container {
            overflow-x: hidden;
            overflow-y: auto;
            border-top: 1px solid @inspector-divider-top;
            /* overwritten by the recalculateHeight() method in
               viewlet-manager.js. Important to avoid flash of incorrectly
               calculated height */
            max-height: 250px;
        }

        .content {
            margin: 1em;
        }

        .header-slot {
            header {
                background-color: @inspector-region-background-color;
                border-bottom: 1px solid #1C1817;
                padding: 15px;
                margin-bottom: 6px;

                .service-charm {
                    color: @charm-panel-background-color;
                    width: 100%;

                    .service-name {
                        font-size: 20px;
                        font-weight: 300;
                        line-height: 1.2;
                    }
                    input.service-name {
                        width: 125px;
                    }
                    .charm-icon {
                        width: 64px;
                        height: 64px;
                        margin-right: 1em;
                        background: transparent url(/juju-ui/assets/images/charm_64.png) left top no-repeat;
                        img {
                            /* bootstrap sets this to middle */
                            vertical-align: baseline;
                            /* Required for sizing images in IE10 */
                            width: 64px;
                            height: 64px;
                        }
                    }
                    .details-wrapper {
                        width: 135px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                    .charm-url {
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 1.3;
                        cursor: pointer;
                        text-decoration: underline;
                    }
                    .close {
                        /* required to overwrite bootstrap styles */
                        text-shadow: none;
                        color: #cbcbcb;
                        font-weight: normal;
                        opacity: 1;
                        font-size: 30px;
                        /* not overwriting */
                        vertical-align: top;
                    }
                    div {
                        display: inline-block;
                    }
                }
            }
        }

        .viewlet-manager-navigation {
            margin: 0;
            padding-left: 65px;
            background-color: @inspector-region-background-color;

            li {
                display: inline-block;
                margin-right: 40px;

                &:last-child {
                    margin-right: 0;
                }
                a {
                    .border-box;
                    display: block;
                    height: 50px;
                    padding-top: 13px;

                    &:hover {
                        text-decoration: none;
                    }
                    &.active {
                        border-bottom: 2px solid @charm-panel-orange;

                        .normal {
                            display: none;
                        }
                        .selected {
                            display: inline-block;
                        }
                    }
                    .selected {
                        display: none;
                    }
                }
            }

            .hightlight {
                background: none repeat scroll 0 0 #DC4915;
                display: block;
                height: 3px;
                left: 10px;
                position: relative;
                top: 0;
                width: 57px;
            }
        }

        .viewlet-manager-footer {
            position: relative;
        }

        .configuration-buttons {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: @inspector-background-color;
        }

        .view-container {
            border-top: 1px solid @inspector-divider-top;
            overflow: auto;

            &.settings-config {
                margin-bottom: 45px;
            }
            h2 {
                font-size: 18px;
                padding-left: 0;
            }
            .settings-wrapper,
            .control-group {
                position: relative;
                padding: 0 10px;

                label {
                    font-size: 14px;
                    margin: 14px 0 7px 0;
                    font-weight: bold;
                }
                .settings-description {
                    font-size: 12px;
                }
                .config-field,
                .constraint-field {
                  -webkit-transition: background 1s linear;
                  -moz-transition: background 1s linear;
                  -o-transition: background 1s linear;
                  transition: background 1s linear;
                  background-repeat: no-repeat;
                  background-position: right center;
                  background-url: none;
                  margin-bottom: 0px;
                  min-height: 26px;
                  width: 100%;
                }
                .resolver {
                  color: black;
                  background-color: white;
                  border: 1px solid #dedede;
                  border-radius: 1px;
                  div {
                    width: 270px;
                  }
                }
                .modified {
                  background-color: #dedede;
                  background-image: url(/juju-ui/assets/images/field-changed.png);
                }
                .conflict-pending {
                  background-color: #dedede;
                  background-image: url(/juju-ui/assets/images/field-conflict.png);
                }
                .conflict {
                  background-color: #dedede;
                  background-image: url(/juju-ui/assets/images/field-resolved.png);
                 }
            }
            .toggle {
                padding: 10px;

                label {
                   margin: 0;
                }
            }

        }

        .status {
            display: inline-block;
            width: 33%;
            text-align: center;
            &.running {
                background-color: #00b711;
            }
            &.pending {
                background-color: #ede837;
            }
            &.error {
                background-color: #ba0000;
            }
        }
        .destroy-service-trigger{
            padding-left: 10px;
            height: 20px;

            span {
                font-size: 11px;
                font-weight: bold;
                cursor: pointer;
            }
        }

        .destroy-service-prompt {
            overflow: hidden;
            height: 95px;
            background-color: @inspector-region-background-color;
            -moz-transition: .3s, height .3s;
            -webkit-transition: .25s, height .3s;
            transition: .3s, height .3s;
            position: absolute;
            bottom: 0;

            .message {
                margin: 5px 15px;
            }
        }

        .destroy-service-prompt.closed {
            height: 0;
        }

        .viewlet-wrapper{
            h3, h2, legend {
                border-bottom: 1px solid @inspector-divider-bottom;
                border-top: 1px solid @inspector-divider-top;
                font-size: 14px;
                font-weight: 400;
                line-height: 1.5;
                padding: 10px 20px;
                color: @charm-panel-configure-title-color;
                margin-bottom: 0;
                width: auto;
            }

            .content {
                border-bottom: 1px solid @inspector-divider-bottom;
                border-top: 1px solid @inspector-divider-top;
                margin: 0;
                padding: 10px;
            }
        }

        .overview-unit-list {
            margin: 0;

            .action-button-wrapper {
                height: 50px;
                text-align: center;
            }

            .status-unit-header {
                background-color: @inspector-region-background-color;
                padding: 15px 15px 15px 40px;
                font-size: 14px;
                cursor: pointer;
                border-bottom: 1px solid @inspector-divider-bottom;
                border-top: 1px solid @inspector-divider-top;
                background-position: 20px center;
                background-repeat: no-repeat;
                span {
                    margin-right: 5px;
                }

                ul {
                    background: white;
                }

                .chevron {
                    display: inline-block;
                    height: 9px;
                    margin-left: 5px;
                    width: 12px;
                    background: url("/juju-ui/assets/images/chevron_down.png") no-repeat;
                }
            }

            .closed-unit-list .chevron {
                background: url("/juju-ui/assets/images/chevron_up.png") no-repeat;
            }

            .status-unit-header.error {
                background-image: url("/juju-ui/assets/images/inspector-charm-error.png");
            }
            .status-unit-header.running {
                background-image: url("/juju-ui/assets/images/inspector-charm-running.png");
            }
            .status-unit-header.pending {
                background-image: url("/juju-ui/assets/images/inspector-charm-pending.png");
            }
            .status-unit-header.landscape-needs-reboot,
            .status-unit-header.landscape-security-upgrades {
                background-image: url("/juju-ui/assets/images/inspector-charm-landscape.png");
            }

            .status-unit-content {
                -moz-transition: .3s, max-height .3s;
                -webkit-transition: .25s, max-height .3s;
                transition: .3s, max-height .3s;
                overflow: hidden;
                background: @charm-panel-background-color;
                /*
                 * The height of each list is 35px so setting this to help the auto max height script.
                 */
                font-size: 35px;
                /* max height is being set inline in views/service.js.
                It is calculated on the number of units in the list.  */

                &.close-unit {
                    max-height: 0px !important;
                }

                a {
                    cursor: pointer;
                    color: @text-colour;
                    text-decoration: underline;
                }

                a.landscape {
                    font-size: 12px;
                }

                ul {
                    margin-left: 0;
                    border-bottom: 1px solid @charm-panel-border-color;
                }

                li {
                    list-style-type: none;
                    padding: 7px 0 7px 10px;
                    border-top: 1px solid @inspector-status-border-color;
                    font-size: 13px;
                }

                input[type="checkbox"] {
                    margin-right: 30px;
                }

                button.unit-action-button,
                input[type="checkbox"] {
                    .create-border-radius(@border-radius);
                    .create-box-shadow(0 2px 2px -2px #777 inset);
                    background: @charm-panel-series-color;
                }

                button.unit-action-button {
                    border: 0;
                    padding: 5px;
                    width: 70px;
                    text-align: center;
                    margin: 20px 3px 0;
                }
                button.resolve {
                    margin-left: 25px;
                }
                &.pending {
                    .action-button-wrapper {
                        display: none;
                    }
                }
                &.running {
                    .resolve,
                    .retry {
                        display: none;
                    }
                }
            }

            .status-unit-content.running ul li {
                background: url("/juju-ui/assets/images/inspector-charm-running.png") no-repeat scroll 35px center;
            }
            .status-unit-content.pending ul li {
                background: url("/juju-ui/assets/images/inspector-charm-pending-list.png") no-repeat scroll 35px center;
            }
            .status-unit-content.error ul li {
                background: url("/juju-ui/assets/images/inspector-charm-error.png") no-repeat scroll 35px center;
            }
            .status-unit-content.landscape-security-upgrades ul li,
            .status-unit-content.landscape-needs-reboot ul li {
                background: url("/juju-ui/assets/images/inspector-charm-landscape.png") no-repeat scroll 35px center;
            }
        }

    }

}

@inspector-background-color: #221e1c;
@inspector-region-background-color: #282828;
@inspector-divider-bottom: rgba(0, 0, 0, 0.3);
@inspector-divider-top: rgba(255, 255, 255, 0.05);
@inspector-status-border-color: #E2E2E2;
@inspector-subtitle-color: #555555;
@inspector-width: 292px;
@confirm-button-color: #DD4814;
@deny-button-color: #BBB;
@disabled-input-background-color: #727272;
@disabled-input-text-color: #252525;

.yui3-juju-inspector {
    input[type=text]::-ms-clear { display: none; }

    .customize-scrollbar;

    .inspector-buttons {
        a {
            .create-border-radius(@border-radius);
            .create-box-shadow(0 2px 2px -2px #777 inset);
            box-shadow: 0 2px 2px -2px #777777 inset;
            color: #fff;
            background: @confirm-button-color;
            padding: 5px 0;
            text-decoration: none;
            text-align: center;
            margin-top: 10px;
            width: 110px;
            float: left;
            margin-left: 13px;
            cursor: pointer;
        }
        .cancel-button {
            background: #999;
        }
    }

    .left-breakout {
        .type9;
        position: absolute;
        top: 20px;
        bottom: @navbar-bottom-height + 20px;
        right: @inspector-width + 35px;
        overflow-y: auto;
        overflow-x: hidden;
        width: @bws-panel-width;
        background-color: #fff;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);

        .close-slot {
            position: absolute;
            // Need to raise it above the content.
            z-index: 1;
            display: block;
            top: 20px;
            right: 20px;
            width: 20px;
            height: 20px;
            background: transparent
                url(/juju-ui/assets/images/panel_close.png)
                left top no-repeat;
        }
        .charm .yui3-tabview {
            margin-top: 30px;
        }
        .unit-overview {
            .header {
                .type13;
                padding: 30px;
                background: @bws-background;
                border-bottom: 1px solid @bws-border;

                h2 {
                    .type2;
                    margin-bottom: 20px;
                }
                ul {
                    margin: 0;
                    list-style: none;

                    li {
                        line-height: 1.55;
                    }
                }
            }
            .unit-info-tabs {
                padding: 30px;

                h3 {
                    .type5;
                    margin-bottom: 20px;
                    padding-bottom: 15px;
                    border-bottom: 1px solid @bws-border;
                }
                tr {
                    border-bottom: 1px solid @bws-border;

                    th,
                    td {
                        padding: 10px 20px;
                    }
                    th {
                        .type5;
                        text-align: left;
                        padding-top: 0;
                        padding-bottom: 15px;
                    }
                }
            }
        }
    }

    .juju-inspector {
        .create-border-radius(@border-radius);
        position: absolute;
        top: 20px;
        right: 35px;
        width: @inspector-width;
        min-height: 250px;
        border: 0;
        background-color: @inspector-background-color;
        color: #fff;
        /* Can be removed once the old inspector styles are removed. */
        margin: 0;

        h1, h2, h3, h4, h5, h6 {
            background-color: @inspector-region-background-color;
            padding-left: 1em;
        }

        input[type=checkbox].hidden-checkbox {
            display: none;
        }

        .toggle {
            font-size: 12px;

            span {
                display: inline-block;
                vertical-align: top;
                line-height: 30px;
            }
            .toggle-switch {
                display: inline-block;
                vertical-align: top;
                float: right;

                label {
                    height: 26px;
                    width: 50px;
                    background-color: @inspector-background-color;
                    .create-border-radius(@border-radius);
                    display: block;
                    position: relative;
                    margin: 0;

                    &.light {
                        background-color: @inspector-region-background-color;
                    }
                    .handle {
                        height: 18px;
                        width: 18px;
                        background-color: @deny-button-color;
                        .create-border-radius(@border-radius);
                        position: absolute;
                        margin: 4px;
                        cursor: pointer;
                        text-align: center;
                        left: 0;
                        -moz-transition: left .1s ease-in-out;
                        -webkit-transition: left .1s ease-in-out;
                        transition: left .1s ease-in-out;
                        -moz-user-select: none;
                        -webkit-user-select: none;
                        -ms-user-select: none;
                        user-select: none;
                    }
                    .handle:before {
                        content: '\2717';
                    }
                }
                input.hidden-checkbox:checked ~ label .handle {
                    left: 25px;
                    background-color: @confirm-button-color;
                }
                input.hidden-checkbox:checked ~ label .handle:before {
                    content: '\2713';
                }
            }
        }

        .controls {

            button {
                .create-border-radius(@border-radius);
                width: 130px;
                height: 25px;
                margin: 10px 0;
                border: none;
                color: white;
                font-weight: bold;

                &.cancel {
                    background-color: #A3A3A3;
                    margin-left: 10px;
                }

                &.confirm {
                    background-color: @confirm-button-color;
                    float: right;
                    margin-right: 10px;
                    &:disabled {
                        background-color: #802E0E;
                        color: #eee;
                    }
                }
            }
        }

        .unit-scaling {
            width: 255px;

            .current-unit-num-wrapper {
                width: 95px;
                background-color: @inspector-region-background-color;
                height: 30px;
                .create-border-radius(@border-radius);
                line-height: 30px;
                padding-left: 10px;
                position: relative;
            }
            .units-starting-spinner {
                position: absolute;
                right: 10px;
            }
            input.num-units-control {
                width: 107px;
            }
            span {
                padding: 0 10px;
                line-height: 30px;
            }
            .constraint-details {
                font-size: 11px;
            }
            a.edit-constraints {
                padding-left: 10px;
                cursor: pointer;
            }
            .unit-constraints-confirm {
                overflow: hidden;
                height: 130px;
                letter-spacing: normal;
                background-color: @inspector-region-background-color;
                -moz-transition: .3s, height .3s;
                -webkit-transition: .25s, height .3s;
                transition: .3s, height .3s;
            }
            .unit-constraints-confirm.closed {
                height: 0;
            }
        }

        .settings-wrapper {
            .border-box;
            position: relative;
            width: 100%;

            & > div {
                padding-right: 10px;
            }
            label {
                font-size: 14px;
                margin: 14px 0 7px 0;
                font-weight: bold;
            }
            textarea {
                width: 100%;
            }
            .settings-description {
                font-size: 12px;

                /* below hyphenation code was taken from:
                http://www.newnet-soft.com/blog/csstypography */
                -ms-word-break: break-all;
                word-break: break-all;

                // Non standard for webkit
                word-break: break-word;

                -webkit-hyphens: auto;
                -moz-hyphens: auto;
                hyphens: auto;

                -webkit-hyphenate-before: 2;
                -webkit-hyphenate-after: 3;
                hyphenate-lines: 3;
            }
       }

        .config-file {
            padding: 10px 5px 10px 5px;

            input {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }

            .fakebutton {
                .create-border-radius(@border-radius);
                font-family: @font-family-medium;
                border: 1px solid #6B6B6B;
                color: white;
                font-size: 14px;
                font-weight: bold;
                padding: 5px;
                z-index: 2;
                cursor: pointer;
            }
        }

        .ghost {
            input[type=text] {
                /* Fixes the bottom of the service name getting cutoff (IE10) */
                height: auto;
            }
            .header-slot {
                header {
                    margin-bottom: 0;
                    border-bottom: none;
                }
            }
            .ghost-config-header {
                font-size: 17px;
                height: 35px;
                line-height: 35px;
                padding-left: 35px;
            }
            .ghost-config-content {
                padding: 15px 10px;
                background-color: @inspector-region-background-color;

                input[name=number-units] {
                    display: inline-block;
                    width: 120px;
                    margin-bottom: 0;
                }
                label[for=number-units] {
                    display: inline-block;
                    margin-left: 25px;
                    vertical-align: middle;
                }
                &.use-defaults {
                    textarea {
                        background-color: @disabled-input-background-color;
                        border-color: @inspector-background-color;
                        cursor: not-allowed;
                        color: @disabled-input-text-color;
                    }
                    input[type=text] {
                        background-color: @disabled-input-background-color;
                        border-color: @inspector-background-color;
                        cursor: not-allowed;
                        color: @disabled-input-text-color;
                    }
                    .fakebutton {
                        color: @disabled-input-background-color;
                        border-color: @disabled-input-background-color;
                        cursor: default;
                    }
                }
            }
        }

        /* Resetting panel styles. Can be removed after old inspector styles are
           removed. */
        .charm-panel-configure {
            background: transparent;
            float: none;
            border: 0;
            height: auto;
            width: auto;
            padding: 0 20px;

            .title {
                font-size: 20px;
                font-weight: 300;
                line-height: 1.2;
                margin: 0;
            }
            .name {
                font-size: 14px;
                font-weight: 400;
                line-height: 1.5;
            }
        }

        .control-description,
        .control-label {
            font-size: 14px;
            font-weight: 300;
        }
        .control-label {
            margin-bottom: 10px;
        }

        .control-group {
            margin: 0;
            padding: 20px;
            border-bottom: 1px solid @inspector-divider-bottom;
            border-top: 1px solid @inspector-divider-top;

            .well {
                background-color: transparent;
                border: 0;
                margin-bottom: 10px;
                min-height: 20px;
                padding: 0;
            }
        }

        .viewlet-container {
            overflow-y: auto;
            border-top: 1px solid @inspector-divider-top;
            /* overwritten by the recalculateHeight() method in
               viewlet-manager.js. Important to avoid flash of incorrectly
               calculated height */
            max-height: 250px;
        }

        .content {
            margin: 1em;
        }

        .header-slot {
            header {
                background-color: @inspector-region-background-color;
                border-bottom: 1px solid #1C1817;
                padding: 15px;
                margin-bottom: 6px;

                .service-charm {
                    color: @charm-panel-background-color;
                    width: 100%;

                    .service-name {
                        font-size: 20px;
                        font-weight: 300;
                        line-height: 1.2;
                    }
                    input.service-name {
                        width: 125px;
                    }
                    .charm-icon {
                        width: 64px;
                        height: 64px;
                        margin-right: 1em;
                        background: transparent url(/juju-ui/assets/images/charm_64.png) left top no-repeat;
                        img {
                            /* bootstrap sets this to middle */
                            vertical-align: baseline;
                            /* Required for sizing images in IE10 */
                            width: 64px;
                            height: 64px;
                        }
                    }
                    .details-wrapper {
                        width: 135px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                    .charm-url {
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 1.3;
                        cursor: pointer;
                        text-decoration: underline;
                    }
                    .close {
                        /* required to overwrite bootstrap styles */
                        text-shadow: none;
                        color: #cbcbcb;
                        font-weight: normal;
                        opacity: 1;
                        font-size: 30px;
                        /* not overwriting */
                        vertical-align: top;
                    }
                    div {
                        display: inline-block;
                    }
                }
            }
        }

        .viewlet-manager-navigation {
            margin: 0;
            padding-left: 65px;
            background-color: @inspector-region-background-color;

            li {
                display: inline-block;
                margin-right: 40px;

                &:last-child {
                    margin-right: 0;
                }
                a {
                    .border-box;
                    display: block;
                    height: 50px;
                    padding-top: 13px;

                    &:hover {
                        text-decoration: none;
                    }
                    &.active {
                        border-bottom: 2px solid @charm-panel-orange;

                        .normal {
                            display: none;
                        }
                        .selected {
                            display: inline-block;
                        }
                    }
                    .selected {
                        display: none;
                    }
                }
            }

            .hightlight {
                background: none repeat scroll 0 0 #DC4915;
                display: block;
                height: 3px;
                left: 10px;
                position: relative;
                top: 0;
                width: 57px;
            }
        }

        .viewlet-manager-footer {
            position: relative;
        }

        .configuration-buttons {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: @inspector-background-color;
        }

        .view-container {
            border-top: 1px solid @inspector-divider-top;
            overflow: auto;

            &.settings-config {
                margin-bottom: 45px;
            }
            h2 {
                font-size: 18px;
                padding-left: 0;
            }
            .settings-wrapper,
            .control-group {
                position: relative;
                padding: 0 10px;

                label {
                    font-size: 14px;
                    margin: 14px 0 7px 0;
                    font-weight: bold;
                }
                .settings-description {
                    font-size: 12px;
                }
                .config-field,
                .constraint-field {
                  -webkit-transition: background 1s linear;
                  -moz-transition: background 1s linear;
                  -o-transition: background 1s linear;
                  transition: background 1s linear;
                  background-repeat: no-repeat;
                  background-position: right center;
                  background-url: none;
                  margin-bottom: 0px;
                  min-height: 26px;
                  width: 100%;
                }
                .resolver {
                  color: black;
                  background-color: white;
                  border: 1px solid #dedede;
                  border-radius: 1px;
                  div {
                    width: 270px;
                  }
                }
                .modified {
                  background-color: #dedede;
                  background-image: url(/juju-ui/assets/images/field-changed.png);
                }
                .conflict-pending {
                  background-color: #dedede;
                  background-image: url(/juju-ui/assets/images/field-conflict.png);
                }
                .conflict {
                  background-color: #dedede;
                  background-image: url(/juju-ui/assets/images/field-resolved.png);
                 }
            }
            .toggle {
                padding: 10px;

                label {
                   margin: 0;
                }
            }

        }

        .status {
            display: inline-block;
            width: 33%;
            text-align: center;
            &.running {
                background-color: #00b711;
            }
            &.pending {
                background-color: #ede837;
            }
            &.error {
                background-color: #ba0000;
            }
        }
        .destroy-service-trigger{
            padding-left: 10px;
            height: 20px;

            span {
                font-size: 11px;
                font-weight: bold;
                cursor: pointer;
            }
        }

        .destroy-service-prompt {
            overflow: hidden;
            height: 95px;
            background-color: @inspector-region-background-color;
            -moz-transition: .3s, height .3s;
            -webkit-transition: .25s, height .3s;
            transition: .3s, height .3s;
            position: absolute;
            bottom: 0;

            .message {
                margin: 5px 15px;
            }
        }

        .destroy-service-prompt.closed {
            height: 0;
        }

        .viewlet-wrapper{
            h3, h2, legend {
                border-bottom: 1px solid @inspector-divider-bottom;
                border-top: 1px solid @inspector-divider-top;
                font-size: 14px;
                font-weight: 400;
                line-height: 1.5;
                padding: 10px 20px;
                color: @charm-panel-configure-title-color;
                margin-bottom: 0;
                width: auto;
            }

            .content {
                border-bottom: 1px solid @inspector-divider-bottom;
                border-top: 1px solid @inspector-divider-top;
                margin: 0;
                padding: 10px;
            }
        }

        .overview-unit-list {
            margin: 0;

            .action-button-wrapper {
                height: 50px;
                text-align: center;
            }

            .status-unit-header {
                background-color: @inspector-region-background-color;
                padding: 15px 15px 15px 40px;
                font-size: 14px;
                cursor: pointer;
                border-bottom: 1px solid @inspector-divider-bottom;
                border-top: 1px solid @inspector-divider-top;
                background-position: 20px center;
                background-repeat: no-repeat;
                span {
                    margin-right: 5px;
                }

                ul {
                    background: white;
                }

                .chevron {
                    display: inline-block;
                    height: 9px;
                    margin-left: 5px;
                    width: 12px;
                    background: url("/juju-ui/assets/images/chevron_down.png") no-repeat;
                }
            }

            .closed-unit-list .chevron {
                background: url("/juju-ui/assets/images/chevron_up.png") no-repeat;
            }

            .status-unit-header.error {
                background-image: url("/juju-ui/assets/images/inspector-charm-error.png");
            }
            .status-unit-header.running {
                background-image: url("/juju-ui/assets/images/inspector-charm-running.png");
            }
            .status-unit-header.pending {
                background-image: url("/juju-ui/assets/images/inspector-charm-pending.png");
            }
            .status-unit-header.landscape-needs-reboot,
            .status-unit-header.landscape-security-upgrades {
                background-image: url("/juju-ui/assets/images/inspector-charm-landscape.png");
            }

            .status-unit-content {
                -moz-transition: .3s, max-height .3s;
                -webkit-transition: .25s, max-height .3s;
                transition: .3s, max-height .3s;
                overflow: hidden;
                background: @charm-panel-background-color;
                /*
                 * The height of each list is 35px so setting this to help the auto max height script.
                 */
                font-size: 35px;
                /* max height is being set inline in views/service.js.
                It is calculated on the number of units in the list.  */

                &.close-unit {
                    max-height: 0px !important;
                }

                a {
                    cursor: pointer;
                    color: @text-colour;
                    text-decoration: underline;
                }

                a.landscape {
                    font-size: 12px;
                }

                ul {
                    margin-left: 0;
                    border-bottom: 1px solid @charm-panel-border-color;
                }

                li {
                    list-style-type: none;
                    padding: 7px 0 7px 10px;
                    border-top: 1px solid @inspector-status-border-color;
                    font-size: 13px;
                }

                input[type="checkbox"] {
                    margin-right: 30px;
                }

                button.unit-action-button,
                input[type="checkbox"] {
                    .create-border-radius(@border-radius);
                    .create-box-shadow(0 2px 2px -2px #777 inset);
                    background: @charm-panel-series-color;
                }

                button.unit-action-button {
                    border: 0;
                    padding: 5px;
                    width: 70px;
                    text-align: center;
                    margin: 20px 3px 0;
                }
                button.resolve {
                    margin-left: 25px;
                }
                &.pending {
                    .action-button-wrapper {
                        display: none;
                    }
                }
                &.running {
                    .resolve,
                    .retry {
                        display: none;
                    }
                }
            }

            .status-unit-content.running ul li {
                background: url("/juju-ui/assets/images/inspector-charm-running.png") no-repeat scroll 35px center;
            }
            .status-unit-content.pending ul li {
                background: url("/juju-ui/assets/images/inspector-charm-pending-list.png") no-repeat scroll 35px center;
            }
            .status-unit-content.error ul li {
                background: url("/juju-ui/assets/images/inspector-charm-error.png") no-repeat scroll 35px center;
            }
            .status-unit-content.landscape-security-upgrades ul li,
            .status-unit-content.landscape-needs-reboot ul li {
                background: url("/juju-ui/assets/images/inspector-charm-landscape.png") no-repeat scroll 35px center;
            }
        }

    }

}


Add style.less for sandbox

Add style.less for sandbox

@import "bower_components/bootstrap/less/bootstrap.less";
@import "bower_components/flat-ui/less/flat-ui.less";

error: pathspec 'less/style.less' did not match any file(s) known to git


improved spacing in install button summary (bug 668674)

@import 'lib';

.button, button, input[type=submit] {
    position: relative;
    font: bold 13px/1em @head-sans;
    padding: 6px 10px 7px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background: #5784BF;
    .gradient-two-color(#669BE1, #5784BF);
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    .border-radius(6px);
    .box-shadow(0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset);
    border: 0;
}

button.good, .button.good, .button.add { // Green
    .gradient-two-color(@button-green-light, @button-green-dark,
                        @button-green-dark);
}

button.bad, .button.bad, .button.developer, .button.scary { // Red
    .gradient-two-color(@button-red-light, @button-red-dark, @button-red-dark);
}

.button {
    display: inline-block;

    &.prominent {
        padding: 8px 16px 12px;
        font-size: 16px;
        .box-shadow(0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset);
    }
    &.add { // Green
        span {
            padding-left: 16px;
            background: url(../../img/impala/button-icons.png) no-repeat 0 3px;
        }
        &.prominent {
            span {
                padding-left: 24px;
                .sprite-pos(3, 64, 3px);
            }
            &.warning, &.caution {
                span {
                    .sprite-pos(5, 64, 3px);
                }
            }
            &.disabled, &.concealed, &.caution.concealed {
                span {
                    .sprite-pos(4, 64, 3px);
                }
            }
        }
        &.warning,
        &.caution {
            background: url(../../img/impala/warning-bg.png);
            color: #333;
            text-shadow: 0 -1px 0 rgba(255,255,255,.5);
            top: 0;

            span {
                .sprite-pos(2, 64, 3px);
            }
        }
        &.disabled,
        &.concealed,
        &.caution.concealed {
            top: 0;

            span {
                .sprite-pos(1, 64, 3px);
            }
        }
    }
    &.premium {
        .gradient-two-color(#E3C17F, #D6913D);
    }
    &.paypal {
        .gradient-two-color(#F8EAC4, #EEC546);
        color: rgb(51, 70, 118);
        text-shadow: 1px 1px #EDE8BF;
        font-style: italic;
        font-family: Verdana, @sans-stack;
        background-color: #EEC546;
        small {
            font-size: 0.7em;
        }
        em {
            color: rgb(90, 120, 168);
        }
        &.disabled em {
            color: #919497;
        }
    }
    &.contribute { // Blue
        &.prominent b {
            background: url(../../img/impala/button-icons.png) no-repeat;
            padding-left: 24px;
            margin-left: -4px;
            .sprite-pos(7, 64, 4px);
        }
    }
    &.developer, &.scary { // Red
        span {
            margin-left: -4px;
            padding-left: 24px;
            background: url(../../img/impala/button-icons.png) no-repeat;
            .sprite-pos(6, 64, 3px);
        }
    }
    &.watch:not(.watching) { // Orange
        background: #ea0;
        .gradient-two-color(#ea0, darken(#ea0, 10%));
    }
    &.platform {
        display: none;
    }
}
.html-rtl {
    .button {
        &.add {
            span {
                background-position: 93px 3px;
                padding: 0 16px 0 0;
            }
            &.prominent {
                span {
                    padding: 0 24px 0 0;
                    .sprite-pos-right(3, 64, 3px);
                }
                &.disabled, &.concealed, &.caution.concealed {
                    span {
                        .sprite-pos-right(4, 64, 3px);
                    }
                }
                &.warning, &.caution {
                    span {
                        .sprite-pos-right(5, 64, 3px);
                    }
                }
            }
            &.warning,
            &.caution {
                span {
                    .sprite-pos-right(2, 64, 3px);
                }
            }
            &.disabled,
            &.concealed,
            &.caution.concealed {
                span {
                    .sprite-pos-right(1, 64, 3px);
                }
            }
        }
        &.contribute.prominent b {
            margin: 0 -4px 0 0;
            padding: 0 24px 0 4px;
            .sprite-pos-right(7, 64, 4px);
        }
        &.developer, &.scary {
            span {
                margin: 0 -4px 0 0;
                padding: 0 24px 0 0;
                .sprite-pos-right(6, 64, 3px);
            }
        }
    }
}
.button:hover,
.button:focus,
.button:active,
.button.selected {
    text-decoration: none;
    .box-shadow(0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

// Show install button for Android if not concealed.
body.android.addon-details .button.platform.android:not(.concealed) {
    display: inline-block;
}

.install.clickHijack a * {
    pointer-events: none;
}

.button:active,
.button.selected {
    .box-shadow(0 0px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

.button:active,
.button.selected,
.button.prominent:active,
.button.prominent.selected {
    top: 2px;

    &:before {
        /* `top: 2px` creates a 2px "deadzone" making the link unclickable.
            This effectively fills the deadzone. See bug 710284. */
        content: "";
        display: block;
        height: 2px;
        position: absolute;
        top: -2px;
        left: 0;
        width: 100%;
    }
}

.button.prominent:hover,
.button.prominent:focus,
.button.prominent:active,
.button.prominent.selected {
    .box-shadow(0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

.button.prominent:active,
.button.prominent.selected {
    .box-shadow(0 1px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

.install-shell {
    .install {
        display: inline-block;
    }
    .warning {
        font-size: 12px;
    }
    .extra {
        margin-top: 8px;
    }
    .notavail,
    .notsupported {
        color: @error-red;
        display: block;
        font-size: 11px;
        margin: 0 0 4px;
    }
    .acr-incompat,
    .notsupported {
        color: @note-gray;
    }
    .notsupported span:before {
        content: "\0B7";
        padding: 0 4px;
    }
}

.listing .notsupported span {
    display: block;
    margin-top: 4px;

    &:before {
        content: "";
    }
}

.versions .notsupported {
    display: none;
}

.listing-grid {
    .hovercard {
        .install-button {
            margin: 0;
        }
        .button.disabled,
        .button.concealed {
            display: none !important;
        }
        .addon-summary {
            line-height: 16px;
        }
    }
}

.mac .button.mac,
.linux .button.linux,
.other .button.bsd,
.other .button.solaris,
.windows .button.windows {
    display: inherit;
}
.thunderbird .listing-grid .install-shell {
    display: none;
}

button[disabled],
.button.disabled,
.button.concealed,
.button.caution.concealed {
    background: #c1c5ca;
    .gradient-two-color(#d1d4d7, #c1c5ca);
    color: #919497;
    .box-shadow(0 3px rgba(0, 0, 0, 0.05), 0 -4px rgba(0, 0, 0, 0.05) inset);
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
button[disabled],
.button.disabled,
.button.caution.concealed {
    pointer-events: none;
}

@import 'lib';

.button, button, input[type=submit] {
    position: relative;
    font: bold 13px/1em @head-sans;
    padding: 6px 10px 7px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background: #5784BF;
    .gradient-two-color(#669BE1, #5784BF);
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    .border-radius(6px);
    .box-shadow(0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset);
    border: 0;
}

button.good, .button.good, .button.add { // Green
    .gradient-two-color(@button-green-light, @button-green-dark,
                        @button-green-dark);
}

button.bad, .button.bad, .button.developer, .button.scary { // Red
    .gradient-two-color(@button-red-light, @button-red-dark, @button-red-dark);
}

.button {
    display: inline-block;

    &.prominent {
        padding: 8px 16px 12px;
        font-size: 16px;
        .box-shadow(0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset);
    }
    &.add { // Green
        span {
            padding-left: 16px;
            background: url(../../img/impala/button-icons.png) no-repeat 0 3px;
        }
        &.prominent {
            span {
                padding-left: 24px;
                .sprite-pos(3, 64, 3px);
            }
            &.warning, &.caution {
                span {
                    .sprite-pos(5, 64, 3px);
                }
            }
            &.disabled, &.concealed, &.caution.concealed {
                span {
                    .sprite-pos(4, 64, 3px);
                }
            }
        }
        &.warning,
        &.caution {
            background: url(../../img/impala/warning-bg.png);
            color: #333;
            text-shadow: 0 -1px 0 rgba(255,255,255,.5);
            top: 0;

            span {
                .sprite-pos(2, 64, 3px);
            }
        }
        &.disabled,
        &.concealed,
        &.caution.concealed {
            top: 0;

            span {
                .sprite-pos(1, 64, 3px);
            }
        }
    }
    &.premium {
        .gradient-two-color(#E3C17F, #D6913D);
    }
    &.paypal {
        .gradient-two-color(#F8EAC4, #EEC546);
        color: rgb(51, 70, 118);
        text-shadow: 1px 1px #EDE8BF;
        font-style: italic;
        font-family: Verdana, @sans-stack;
        background-color: #EEC546;
        small {
            font-size: 0.7em;
        }
        em {
            color: rgb(90, 120, 168);
        }
        &.disabled em {
            color: #919497;
        }
    }
    &.contribute { // Blue
        &.prominent b {
            background: url(../../img/impala/button-icons.png) no-repeat;
            padding-left: 24px;
            margin-left: -4px;
            .sprite-pos(7, 64, 4px);
        }
    }
    &.developer, &.scary { // Red
        span {
            margin-left: -4px;
            padding-left: 24px;
            background: url(../../img/impala/button-icons.png) no-repeat;
            .sprite-pos(6, 64, 3px);
        }
    }
    &.watch:not(.watching) { // Orange
        background: #ea0;
        .gradient-two-color(#ea0, darken(#ea0, 10%));
    }
    &.platform {
        display: none;
    }
}
.html-rtl {
    .button {
        &.add {
            span {
                background-position: 93px 3px;
                padding: 0 16px 0 0;
            }
            &.prominent {
                span {
                    padding: 0 24px 0 0;
                    .sprite-pos-right(3, 64, 3px);
                }
                &.disabled, &.concealed, &.caution.concealed {
                    span {
                        .sprite-pos-right(4, 64, 3px);
                    }
                }
                &.warning, &.caution {
                    span {
                        .sprite-pos-right(5, 64, 3px);
                    }
                }
            }
            &.warning,
            &.caution {
                span {
                    .sprite-pos-right(2, 64, 3px);
                }
            }
            &.disabled,
            &.concealed,
            &.caution.concealed {
                span {
                    .sprite-pos-right(1, 64, 3px);
                }
            }
        }
        &.contribute.prominent b {
            margin: 0 -4px 0 0;
            padding: 0 24px 0 4px;
            .sprite-pos-right(7, 64, 4px);
        }
        &.developer, &.scary {
            span {
                margin: 0 -4px 0 0;
                padding: 0 24px 0 0;
                .sprite-pos-right(6, 64, 3px);
            }
        }
    }
}
.button:hover,
.button:focus,
.button:active,
.button.selected {
    text-decoration: none;
    .box-shadow(0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

// Show install button for Android if not concealed.
body.android.addon-details .button.platform.android:not(.concealed) {
    display: inline-block;
}

.install.clickHijack a * {
    pointer-events: none;
}

.button:active,
.button.selected {
    .box-shadow(0 0px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

.button:active,
.button.selected,
.button.prominent:active,
.button.prominent.selected {
    top: 2px;

    &:before {
        /* `top: 2px` creates a 2px "deadzone" making the link unclickable.
            This effectively fills the deadzone. See bug 710284. */
        content: "";
        display: block;
        height: 2px;
        position: absolute;
        top: -2px;
        left: 0;
        width: 100%;
    }
}

.button.prominent:hover,
.button.prominent:focus,
.button.prominent:active,
.button.prominent.selected {
    .box-shadow(0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

.button.prominent:active,
.button.prominent.selected {
    .box-shadow(0 1px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset, 0 0 100px rgba(255, 255, 255, 0.2) inset);
}

.install-shell {
    .install {
        display: inline-block;
    }
    .warning {
        font-size: 12px;
    }
    .extra {
        margin-top: 8px;
    }
    .notavail,
    .notsupported {
        color: @error-red;
        display: block;
        font-size: 11px;
        margin: 0 0 4px;
    }
    .acr-incompat,
    .notsupported {
        color: @note-gray;
    }
    .notsupported span:before {
        content: "\0B7";
        padding: 0 4px;
    }
}

.listing .notsupported span {
    display: block;
    margin-top: 4px;

    &:before {
        content: "";
    }
}

.versions .notsupported {
    display: none;
}

.listing-grid {
    .hovercard {
        .install-shell {
            margin-bottom: 12px;
        }
        .install-button {
            margin: 0;
        }
        .button.disabled,
        .button.concealed {
            display: none !important;
        }
    }
}

.mac .button.mac,
.linux .button.linux,
.other .button.bsd,
.other .button.solaris,
.windows .button.windows {
    display: inherit;
}
.thunderbird .listing-grid .install-shell {
    display: none;
}

button[disabled],
.button.disabled,
.button.concealed,
.button.caution.concealed {
    background: #c1c5ca;
    .gradient-two-color(#d1d4d7, #c1c5ca);
    color: #919497;
    .box-shadow(0 3px rgba(0, 0, 0, 0.05), 0 -4px rgba(0, 0, 0, 0.05) inset);
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
button[disabled],
.button.disabled,
.button.caution.concealed {
    pointer-events: none;
}


clean up site notices

clean up site notices

fatal: unable to access 'https://github.com/Jobava/zamboni.git/': The requested URL returned error: 403


Use LESS functions for colour variables

Use LESS functions for colour variables

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/mplusmuseum/mplusmuseum-stories.git/'


Got the css working on chrome.

Got the css working on chrome.

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/DragonDTG/vex.git/'


Remove margin now that toolbar is most left

@import "ui-variables";
@import "../iconsets/ionicons/ionicons";
@import "../iconsets/font-awesome/font-awesome";

#toolbar {
  background-color: @app-background-color;
  color: @text-color;
  text-align: center;

  &.top {

  }
  &.right {
    border-right: 1px solid @base-border-color;
    border-left: 1px solid @base-border-color;
    margin-left: -1px;
  }
  &.bottom {

  }
  &.left {

  }

  &.horizontal {
    .spacer {
      height: 100%;
      border-right: 1px solid @overlay-border-color;
    }
  }
  &.vertical {
    .spacer {
      width: 100%;
      border-bottom: 1px solid @overlay-border-color;
    }
  }

  .icon {
    float: left;
    cursor: pointer;
    &:hover {
      color: @text-color-highlight;
    }
    &:before {
      margin-right: 0;
      display: inline;
    }
    &.disabled {
      color: @text-color-subtle;
    }
  }

  .spacer {
    float: left;
    &:first-child {
      display: none;
    }
  }

  &.icons16px {
    .size(16px*2);
  }
  &.icons24px {
    .size(24px*2);
  }
  &.icons32px {
    .size(32px*2);
  }

  .size(@size) {
    line-height: @size;

    &.top {
      width: 100%;
      height: @size + 1;
    }
    &.right {
      width: @size + 1;
      height: 100%;
    }
    &.bottom {
      width: 100%;
      height: @size + 1;
    }
    &.left {
      width: @size + 1;
      height: 100%;
    }

    &.horizontal {
      .icon {
        width: @size;
        height: 100%;
      }
    }
    &.vertical {
      .icon {
        width: 100%;
        height: @size;
      }
    }

    .icon {
      &:before {
        font-size: @size / 2;
        line-height: @size;
      }
    }
  }
}

@import "ui-variables";
@import "../iconsets/ionicons/ionicons";
@import "../iconsets/font-awesome/font-awesome";

#toolbar {
  background-color: @app-background-color;
  color: @text-color;
  text-align: center;

  &.top {

  }
  &.right {
    border-right: 1px solid @base-border-color;
    border-left: 1px solid @base-border-color;
    margin-left: -1px;
  }
  &.bottom {

  }
  &.left {
    margin-top: @ui-tab-height + 0.75em;
  }

  &.horizontal {
    .spacer {
      height: 100%;
      border-right: 1px solid @overlay-border-color;
    }
  }
  &.vertical {
    .spacer {
      width: 100%;
      border-bottom: 1px solid @overlay-border-color;
    }
  }

  .icon {
    float: left;
    cursor: pointer;
    &:hover {
      color: @text-color-highlight;
    }
    &:before {
      margin-right: 0;
      display: inline;
    }
    &.disabled {
      color: @text-color-subtle;
    }
  }

  .spacer {
    float: left;
    &:first-child {
      display: none;
    }
  }

  &.icons16px {
    .size(16px*2);
  }
  &.icons24px {
    .size(24px*2);
  }
  &.icons32px {
    .size(32px*2);
  }

  .size(@size) {
    line-height: @size;

    &.top {
      width: 100%;
      height: @size + 1;
    }
    &.right {
      width: @size + 1;
      height: 100%;
    }
    &.bottom {
      width: 100%;
      height: @size + 1;
    }
    &.left {
      width: @size + 1;
      height: 100%;
    }

    &.horizontal {
      .icon {
        width: @size;
        height: 100%;
      }
    }
    &.vertical {
      .icon {
        width: 100%;
        height: @size;
      }
    }

    .icon {
      &:before {
        font-size: @size / 2;
        line-height: @size;
      }
    }
  }
}


initial commit

initial commit

fatal: unable to access 'https://github.com/yangodev/Flattark.git/': The requested URL returned error: 403


Delete spinning file

Delete spinning file

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/auipga/MopaBootstrapBundle.git/'