Button CSS tweaks from Matt

Button CSS tweaks from Matt

/* Processed with LESS from lib/views/stylesheet.less */
@font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@font-family-medium: 'Ubuntu Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;

/* Define common colors. */
@label-color: #292929;
@text-entry-color: #6d6e70;
@charm-panel-configure-title-color: #eee7d5;
@charm-panel-configure-name-color: #8f8f88;
@charm-panel-deploy-button-color: #dd4814;
@charm-panel-deploy-button-bottom-gradient: #e65c19;
@charm-panel-deploy-button-shadow: #8a2d0c;
@charm-panel-cancel-button-color: #93a39f;
@charm-panel-cancel-button-bottom-gradient: #818080;
@charm-panel-cancel-button-shadow: #515050;
@charm-panel-background-color: #eeeeee;
@charm-panel-border-color: #BEBEBE;
@navbar-color: #2D2D2D!important;

body {
    margin-top: 87px;
    background-color: #302b28;
    font-family: @font-family;
}

input, button, select, textarea {
    font-family: @font-family;
}

.create-button(@gradient-start, @gradient-end, @shadow-color, @v-pos) {
    @blur: 2px;
    background-image: -ms-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@gradient-start), to(@gradient-end));
    background-image: -webkit-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -o-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -moz-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: linear-gradient(top, @gradient-start, @gradient-end);
    background-repeat: repeat-x;
    -moz-box-shadow: 0 (@v-pos + 3) @blur -@blur @shadow-color inset,
                        2px 0 3px -2px @shadow-color inset, -2px 0 3px -2px @shadow-color inset;
    -webkit-box-shadow: 0 (@v-pos + 3) @blur -@blur @shadow-color inset,
                           2px 0 3px -2px @shadow-color inset, -2px 0 3px -2px @shadow-color inset;
    box-shadow: 0 (@v-pos + 3) @blur -@blur @shadow-color inset,
                   2px 0 3px -2px @shadow-color inset, -2px 0 3px -2px @shadow-color inset;
    @border-radii: ~"6px / 7px";
    -moz-border-radius: @border-radii;
    -webkit-border-radius: @border-radii;
    border-radius: @border-radii;
    border: none;
}

i.sprite {
    display: inline-block;
    vertical-align: middle;
}

#viewport-wrapper {
    position: relative;
    width: 85%;
    margin: 0 auto;
    padding: 0 12px;
    min-width: 960px;
}

#vp-left-border {
    position: absolute;
    top: 0;
    left: 0;
    background: url(/juju-ui/assets/images/left_shadow.png) repeat-y;
    margin-left: -12px;
    width: 12px;
}

#vp-right-border {
    position: absolute;
    top: 0;
    right: 0;
    background: url(/juju-ui/assets/images/right_shadow.png) repeat-y;
    margin-right: -12px;
    width: 12px;
}

.view-container {
  overflow: auto;
  padding: 10px;
}

.navbar {
    margin-top: -87px;
    margin-bottom: 0;
    height: 87px;
    min-width: 800px;
    background: url(/juju-ui/assets/images/top_bar.png) repeat-x;
    padding: 0;
    position: relative;
    color: @navbar-color;
    .brand {
        margin: 12px 26px 6px 10px;
        padding: 0;
    }
    > div {
        padding: 0;
        .nav-container {
            display: inline-block;
            height: 44px;
            margin: 2px 0 0 0;
            padding: 20px 0 4px;
            &#charm-search-trigger-container {
                width: 292px;
                white-space: nowrap;
                border-left: 1px solid transparent;
                &.active-border {
                    border-left-color: lightgray;
                }
            }
            .nav-section {
                border-left: 1px solid transparent;
                &.active-border {
                    border-left-color: lightgray;
                }
                display: inline-block;
                padding: 4px 10px;
                #charm-search-trigger {
                    cursor: pointer;
                }
                .btn {
                    margin: 0 5px;
                }
                input {
                    height: 23px;
                    width: 128px;
                    background: url(/juju-ui/assets/images/searchbox_icon.png)
                                no-repeat 4px 4px whiteSmoke;
                    margin: 0 10px;
                    padding: 3px 3px 3px 26px;
                    font-style: italic;
                    font-size: 0.9em;
                    &:valid {
                        background: white;
                        padding: 3px;
                        width: 151px;
                        font-style: normal;
                        font-size: 1em;
                    }
                    &:focus {
                        border-color: rgba(82, 168, 236, 0.8);
                        outline: 0;
                        outline: thin dotted 9;
                        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
                                    0 0 8px rgba(82, 168, 236, 0.6);
                    }
                }

            }
        }
        span:first-child .nav-section {
            border-left: none;
            padding: 0 6px;
        }
        &#nav-alerts-charms {
            float: right;
            .nav-container:first-child .nav-section {
                position: relative;
            }
        }
        &#nav-brand-env .nav-container {
            float: left;
            .provider-type {
                font-size: 0.7em;
            }
        }
    }
}

.bottom-navbar {
    min-width: 800px;
}

#content {
    position: relative;
    background-color: #fff;
    width: 100%;
}

#main {

}

#overview {

}

.divider {
    padding: 5px;
}

svg {
    stroke-width: 0;
}

.crosshatch-background {
    background: url(/juju-ui/assets/images/pattern_tile.png) repeat;
}

#canvas {
    position: relative;
}

.environment-menu {
    @border_radius: 20px;
    @background_color: #282421;

    display: none;
    background-color: @background_color;
    color: #fdf6e3;

    border-radius: @border_radius;
    -moz-border-radius: @border_radius;
    -webkit-border-radius: @border_radius;

    box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);

    top: 0;
    left: 0;
    position: absolute;

    &.active {
        display: block;
    }

    .triangle {
        position: absolute;
        top: 62px;
        width: 12px;
        line-height: 21px;
        background-repeat: no-repeat;
    }
    &.left .triangle {
        right: -12px;
        background-image: url(/juju-ui/assets/images/icons/icon_shadow_triangle_right.png);
    }
    &.right .triangle {
        left: -12px;
        background-image: url(/juju-ui/assets/images/icons/icon_shadow_triangle.png);
    }

    .menu-title {
        margin: 10px;
    }

    .cancel {
        margin: 10px;
        float: right;
    }

    ul {
        margin: 10px;
        list-style-type: none;
        li {
            background-position: 5px center;
            background-repeat: no-repeat;
            border-bottom: 1px #5f594f solid;
            cursor: pointer;
            line-height: 32px;
            padding: 5px 5px 5px 5px;
            border-radius: @border_radius;
            -moz-border-radius: @border_radius;
            -webkit-border-radius: @border_radius;

            &.view-service {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_view.png);
            }
            &.add-relation {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_relation.png);
            }
            &.add-remove-units {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_relation.png);
                color: gray;
                cursor: default;
                &:hover {
                    background-color: inherit;
                }
            }
            &.destroy-service {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_destroy.png);
            }

            &:last-child {
                border-bottom: none;
            }
            &:hover {
                background-color: lighten(@background_color, 10%);
            }
        }

    }

    &#service-menu ul li {
        padding-left: 42px;
    }

}

charms.thumbnails.li { height:4em; }
.subordinate-rel-group {
    display: none;
    &.active {
        display: inline;
    }
}
.relation {
    stroke: #333333;
    stroke-width: 3px;
    &.error {
        stroke: #cc3333;
    }

    &.pending-relation {
        stroke: #faaf40;

        &.dragging {
            stroke: #fa6a40
        }
    }

    &.unused {
        visibility: hidden;
    }

    &.subordinate-relation {
        stroke: #3333cc;
    }
}
.rel-label {
    rect {
        stroke-width: 1px;
        stroke: #2c2c2c;
        fill: #eee;
    }

    tspan {
        text-anchor: middle;
        dominant-baseline: middle;
    }
}
.state-error { stroke: #FF0000; }
.state-started { stroke: #000000;}
.state-pending { stroke: #6597E8;}
div.state-error {
    @error-color: #c01c20;
    background-color: @error-color;
    color: #FFFFFF;
    &:hover {
        background-color: lighten(@error-color, 10%);
    }
}
div.state-started {
    @started-color: #d8d8d8;
    background-color: @started-color;
    &:hover {
        background-color: lighten(@started-color, 10%);
    }
}
div.state-pending {
    @pending-color: #fcd305;
    background-color: @pending-color;
    &:hover {
        background-color: lighten(@pending-color, 20%);
    }
}

.unit (@min_height: 20px, @border_radius:3px) {
    padding: 5px;
    -webkit-border-radius: @border_radius;
    -moz-border-radius: @border_radius;
    border-radius: @border_radius;
    margin-bottom: 0px;
    min-height: @min_height;
    cursor: pointer;
    .agent-state {
        display: none;
    }
}

ul#unit-large div.unit {
    .unit(40px);
}

ul#unit-medium div.unit {
    .unit;
}

ul#unit-small {
    margin-left: 0px;
    > li {
        margin-bottom: 5px;
        margin-left: 5px;
        > div.unit {
            .unit;
            width: 1.7em;
            text-align: center;
        }
    }
}

ul#unit-tiny {
    margin-left: 0px;
    > li {
        margin-bottom: 3px;
        margin-left: 3px;
        > div.unit {
            .unit(0px, 1px);
        }
    }
}

circle.mouse-down-indicator {
    stroke: #040404;
    stroke-width: 2px;
    fill: none;
}

g.service {
    fill: none;
    stroke: none;

    text {
        text-anchor: middle;
    }

    .charm-label {
        font-style: italic;
        fill: #4c4c4c;
    }
    .name {
        fill: #4c4c4c;
    }

   .unit-count {
        stroke-width: 0;
        text-anchor: middle;
        dominant-baseline: central;
        fill: rgba(0,0,0,0);

        &.show-count {
            fill: rgba(0,0,0,1);}
        &.hide-count {
            fill: rgba(0,0,0,0);}
    }

    .sub-rel-count {
        text-anchor: middle;
        dominant_baseline: central;
        fill: #4f4f4f;
        font-size: 1.2em;
    }

    .exposed-indicator {
        fill: #00F;

        &.off {
            visibility: hidden;
        }
        &.on {
            visibility: visible;
        }
    }

    .service-control-panel {
        visibility: hidden;

        &.active {
            visibility: visible;
        }

        image {
            cursor: pointer;
        }
    }
}
g.service-status {
    path {
        stroke-width: 0;
        fill: #fff;

        &.status-pending {
            fill: #fcd305;}
        &.status-good {
            fill: #b7b7b7;}
        &.status-error {
            fill: #c01c20;}
    }
}

g.unit {
    stroke-width: 0; font-weight: bold;
    font-size: 1.2em;
    fill: #1626cf;
    .address {
    fill: #ffffff; font-size: 0.8em;}
    .unit-border {
    stroke-width: 2px; fill: #a0a0a0;}
}

/*
 * Notification system
 */
.notice {
    border-top: 1px solid #D0D0D0;
    padding: 1em 4px;
    margin: 1em 0 0 2px;
    cursor: pointer;

    .seen {
        background-color: rgba(222, 222, 222, 0.33);
    }

    &:first-child {
        border: none;
        padding-top: 0;
    }

    small {
        margin-left: 1em;
        font-size: 0.7em;
        color: #d0d0d0;
    }

    .header {
        background-color: #c0c0c0;
        font-size: 0.9em;
        margin: 0;
        padding: 0;
    }

    .error {
        background-color: rgba(255, 0, 0, 0.1);
    }
}

#service-footer {
    text-align: center;
    .footer-right {
        float: right;
    }
    .footer-left {
        float: left;
    }
    input {
        width: 3em;
        margin-bottom: 0;
    }
}

/*
 * Overview Module
 */
#overview {
    margin: 0;
    padding: 0;
    width: 100%;
}
#overview-tasks {
    background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;
    height: 50px;
    position: relative;
    color: @navbar-color;

    .controls {
        position: absolute;
        top: 1px;
        left: 11px;
    }
    .destroy-control {
        position: absolute;
        top: 1px;
        right: 11px;
    }
}

.picker {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 24px;
    &.graph-list-picker {
        width: 116px;
        .picker-body {
            width: 91px;
        }

        .picker-expanded {
            display: none;

            &.active {
                z-index: 100;
                display: block;
            }
            .picker-edge {
                display: block;
                top: auto;
                bottom: -10px;
                margin-left: -3px;
            }
            .picker-edge-right {
                left: auto;
                right: 0;
                margin-left: 0;
                margin-right: -3px;
            }
            .picker-list {
                position: absolute;
                bottom: -12px;
                left: 4px;
                height: 100%;
                background: url(/juju-ui/assets/images/view_1px.png) repeat-x;
                list-style-type: none;
                padding: 0;
                margin: 0;
                height: 54px;
                width: 108px;

                ul {
                    list-style-type: none;
                    padding: 0;
                    padding-top: 5px;
                    margin: 0;

                    li {
                        padding: 1px;

                        .activetick {
                            width: 12px;
                            height: 14px;
                            float: right;
                            background: url(/juju-ui/assets/images/selected_tick.png)
                                no-repeat
                                bottom left;
                        }
                    }
                }
            }
        }
    }
    &.zoom-picker {
        width: 56px;
        .picker-body {
            width: 36px;
        }
        /*#zoom-btn-up {
            position: absolute;
            top: 8px;
            right: 0px;
            opacity: 0;
            &.active {
                opacity: 1;
            }
        }
        #zoom-btn-down {
            position: absolute;
            bottom: -8px;
            right: 0px;
            opacity: 0;
            &.active {
                opacity: 1;
            }
        }*/
    }

    .picker-edge {
        position: absolute;
        top: 8px;
        left: 0;
    }
    .picker-body {
        position: absolute;
        top: 8px;
        left: 4px;
        background: url(/juju-ui/assets/images/picker_1px.png) repeat-x;
        height: 20px;
        padding: 3px 0 0 3px;
    }
    .picker-button {
        position: absolute;
        top: 8px;
        right: 0;
    }
    &.inactive {
        .picker-edge {
            display: none;
        }
        .picker-body {
            display: none;
        }
        .picker-button {
            display: none;
        }
    }
}

#unit-status {
    .running {
        color: green;
    }
    .pending {
        color: yellow;
    }
    .error {
        color: red;
    }
}

#relations {
    #unit-status;
    form {
        margin: 0;
    }
}

.yui3-panel {
    background: white;
    padding: 1.6em;
    border: solid black 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    font-weight: normal;
    .yui3-widget-bd {
        margin-bottom: 1em;
    }
    .yui3-widget-buttons {
        float: right;
        .btn-danger {
            margin-right: 1em;
        }
    }
}

.yui3-widget-mask {
    background: black;
    opacity: 0.4;
}

.controls {
    .read-only {
        padding-top: 5px;
    }
}

.unit-button-palette {
    float: right;
}

.hidden {
    visibility: hidden;
}

#service-relations {
    .btn {
        float: right;
    }
}

.customize-scrollbar {
    ::-webkit-scrollbar {
        width: 4px;
    }
    ::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 1px 0 3px #989A9C;
    }
    ::-webkit-scrollbar-thumb {
        -webkit-box-shadow: inset 4px 0 3px #D74613;
    }
}

#juju-search-charm-panel {
    .customize-scrollbar;
    display: block;
    z-index: 999;
    padding: 0;
    top: 70px;
    height: 100px;
    position: absolute;
    width: 292px;
    background-color: white;
    border-left: lightgray solid 1px;

    .charm-panel-configure .btn {
        float: right;
    }

    .btn.deploy {
        margin-top: 5px;
        margin-left: 5px;
        text-shadow: none;
        background-position: 0 0;     /* Needed to defeat bootstrap btn:hover 0 -15px*/
        .create-button(@charm-panel-deploy-button-color, @charm-panel-deploy-button-bottom-gradient,
                       @charm-panel-deploy-button-shadow, 0px);
        &:active {
            .create-button(@charm-panel-deploy-button-color, @charm-panel-deploy-button-color,
                           @charm-panel-deploy-button-shadow, 1px);
        }
    }

    .charm-description btn.deploy {
       float: right;
    }
    .btn.cancel {
        color: white;
        text-shadow: none;
        margin-top: 5px;
        background-repeat: no-repeat;
        background-color: transparent;
        vertical-align: middle;
        background-position: 0 0;     /* Needed to defeat bootstrap btn:hover 0 -15px*/
        background-image: url(/juju-ui/assets/images/cancel-button.png);
        .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-bottom-gradient,
                       @charm-panel-cancel-button-shadow, 0px);
        &:active {
            .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-color,
                           @charm-panel-cancel-button-shadow, 1px);
        }
    }
    .charm-panel-configure-buttons {
      background-color: #FFFFFF;
      border-bottom: 1px solid @charm-panel-border-color;
      height: 52px;
      padding-left: 8px;
      .btn {
          margin-top: 12px;
      }
    }
    .search-charm-inner {
        width: 100%;
        height: 500px;
    }
    .charm-nav-back {
        border-top: 1px solid #DEDEDE;
        border-bottom: 1px solid @charm-panel-border-color;
        color: @charm-panel-deploy-button-color;
        cursor: pointer;
        font-size: 14px;
        padding: 7px 4px;
    }
    .charm-panel {
        background-color: @charm-panel-background-color;
        height: 432px;
        overflow-y: auto;
        overflow-x: hidden;
        h3 {
            color: @label-color;
            font-size: 22px;
            font-weight: normal;
            padding: 5px 0px 2px 0px;
        }
        h4 {
            color: @label-color;
            cursor: pointer;
            border-top: 1px solid #FFFFFF;
            border-bottom: 1px solid @charm-panel-border-color;
            font-family: @font-family-medium;
            font-weight: normal;
            padding: 8px 12px;
            i {
                float: right;
            }
            &.first {
                border-top: 1px solid #E0DEDE;
            }
        }
        h5 {
            color: @label-color;
            font-family: @font-family-medium;
            font-weight: normal;
            margin-top: 11px;
        }
        #charm-panel-head {
            border-top: 1px solid #FFFFFF;
            border-bottom: 1px solid @charm-panel-border-color;
            padding: 1ex 12px 10px 12px;
        }
        .collapsible {
            background-color: #E7E7E7;
            line-height: 16px;
            overflow: hidden;
            padding: 0px 12px;
            :last-child {
                margin-bottom: 11px;
            }
        }
        &.charm-description {
            color: #58595B;
            font-size: 12px;
            .charm-section {
                .commitmessage {
                    padding: 0.8ex 0 1ex 1em;
                    font-style: italic;
                    white-space: pre-wrap;
                }
            }
            h6 {
                font-weight: bold;
                text-transform: uppercase;
                color: black
            }
        }
        &.config-variant {
            font-size: 14px;

            .control-group {
                width: auto;
                margin-bottom: 0;
                margin-top: 1ex;
                padding: 0px 12px;
                clear: both;
            }
            .control-description {
                display: none;
            }
            .control-label {
                width: auto;
                margin-bottom: 1ex;
                float: left;
                color: @label-color;
                font-size: 14px;
            }
            .controls {
                margin-left: auto;
                margin-right: 0;
            }
            .config-field {
                font-size: 16px;
                color: text-entry-color;
            }
            .config-file-upload {
                position: relative;
                width: 252px;
                height: 25px;
            }
            .config-file-upload-widget {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }
            .config-file-upload-overlay {
                background: url(/juju-ui/assets/images/getfile_button.png) no-repeat;
                position: absolute;
                top: 0;
                left: 0;
                padding-left: 5px;
                padding-top: 2px;
                height: 25px;
                width: 149px;
                z-index: 2;
                cursor: pointer;
                &:active {
                  background: url(/juju-ui/assets/images/getfile_button-pressed.png) no-repeat;
                }
            }
            .config-file-name {
                position: absolute;
                top: 27px;
                left: 5px;
                width: auto;
                z-index: 2;
            }
            .controls.boolean {
                input {
                    margin-left: 1ex;
                    margin-top: 0.7ex;
                }
            }
            .btn {
                 margin-top: 5px;
            }
        }
    }
    .search-result-div {
        overflow-y:auto;
        overflow-x:hidden;
        .series-charms {
            border-top: 4px solid #D0D0D0;
            margin-top: 8px;
            margin-bottom: 4px;
            &:first-child {
                border: none;
                margin-top: 0;
            }
            h3 {
                font-weight: bold;
                text-transform: uppercase;
                font-size: 11px;
            }
            .charm-entry {
                border-top: 1px solid #D0D0D0;
                padding: 0.5em 4px;
                padding-bottom: 4px;
                margin: 0.2em 0 0 2px;
                &:first-child {
                    border: none;
                    padding-top: 0;
                }
                .charm-summary {
                    margin-bottom: 4px;
                }
                a.charm-detail {
                    font-weight: bold;
                }
                .btn {
                    float: right;
                    opacity: 0;
                }
            }
        }
    }
}

table tr.highlighted {
   background: pink;
}

#destroy-service {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.service-view {
    .juju-service-info-container-bottom-menu {
        background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;
        height: 50px;
        position: relative;
        color: @navbar-color;
        text-align: center;

        .filter-control {
            position: absolute;
            right: 430px;
            top: 13px;
            width: 300px;
            display: inline-block;

            .filter-label {
                position: absolute;
                right: 305px;
                top: 3px;
            }

            .control-separator {
                 padding-top: 0px;
                 padding-left: 5px;

                 img {
                    height: 30px;
                    padding-top: 0px;
                 }
            }

            .state-buttons {
                img {
                    padding-top: 0px;
                    height: 30px;
                }

                div {
                    padding-top: 3px;
                    width: 70px;
                    height: 21px;
                    background:url(/juju-ui/assets/images/toggles.png) -70px 0;

                    &.active {
                        background:url(/juju-ui/assets/images/on_middle.png) 0 0;
                        .white;
                    }

                    &:first-child {
                        background:url(/juju-ui/assets/images/toggles.png) 0 0px;

                        &.active {
                            background:url(/juju-ui/assets/images/on_left.png) 0 0;
                            .white;
                        }
                    }

                    &:last-child {
                        background:url(/juju-ui/assets/images/toggles.png) -210px 0;

                        &.active {
                            background:url(/juju-ui/assets/images/on_right.png) 0 0;
                            .white;
                        }
                    }
                }

                span:first-child {
                    padding-right: 5px;
                }

                .white {
                    a {color: white !important;}
                }

                a {
                    color: @navbar-color;
                    &:link, &:visited, &:active, &:hover {
                       text-decoration: none
                    }
                }
            }
        }

        .destroy-control {
            position: absolute;
            top: 1px;
            left: 10px;

            a {
                color: @navbar-color;
            }

            a:link, a:visited, a:active, a:hover {
                text-decoration: none
            }
        }
    }

    .service-header-partial {
      .name {
          padding-top: 38px;
          padding-left: 46px;
          height: 73px;

          div:nth-child(1) {
              font-style: normal;
              height: 28px;
              font-size: 24px;
              color: #292929;
          }

          div:nth-child(2) {
              font-style: italic;
              font-size: 16px;
              color: #6a737b;
          }
        }

        .menu-items {
            height: 26px;
            padding-top: 2px;
            padding-left: 38px;
            background: url(/juju-ui/assets/images/tab_div.png) repeat;

            .item {
                a {
                     font-size: 12px;
                     padding-left: 10px;
                     padding-right: 10px;
                     color: #292929;
                }
                a:link, a:visited, a:active, a:hover {
                     text-decoration: none
                }

                .link-active {
                    color: #dd4814 !important;
                }
                .active {
                     margin-top: 3px;
                     height: 4px;
                     background: url(/juju-ui/assets/images/tab_marker.png)
                       repeat;
                }
            }
        }
    }

    .service-common-controls {
        position: absolute;
        right: 10px;
        top: 10px;

        .control-unit-count {
            position: absolute;
            right: 120px;
            top: 0px;
            width: 305px;

            img {
                padding-top: 0px;
            }

            div {
                padding-left: 5px;
            }

            div:first-child {
                padding-top: 4px;
            }
        }

        .control-expose {
            position: absolute;
            right: 0px;
            top: 4px;
            width: 120px;

            div {
                padding-left: 5px;
            }

            .on {
                font-size: 12px; fill: #ffffff;
                position: absolute;
                right: 20px;
                top: 3px;
            }

            .off {
                font-size: 12px; fill: #292929;
                position: absolute;
                right: 40px;
                top: 3px;
            }
          }
    }
}

div.inline {
  float: left;
}

#tooltip {
    text-align: left;
    background-color: white;
    border: solid 1px black;
    padding: 0.2em 0.5em 0.3em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    min-width: 20px;
    max-width: 400px;
}

.charm-panel-configure {
  background-image: url(/juju-ui/assets/images/configure-cog.png);
  background-repeat: no-repeat;
  background-position: 230px 42px;
  border-top: 2px solid #dd4814;
  background-color: #2F2A27;
  height: 93px;
  padding-left: 8px;
  .title {
    font-weight: lighter;
    font-size: 22px;
    color: @charm-panel-configure-title-color;
    margin-top: 35px;
  }
  .name {
    font-size: 12px;
    color: @charm-panel-configure-name-color;
    margin-top: 5px;
  }
}

/* Processed with LESS from lib/views/stylesheet.less */
@font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@font-family-medium: 'Ubuntu Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;

/* Define common colors. */
@label-color: #292929;
@text-entry-color: #6d6e70;
@charm-panel-configure-title-color: #eee7d5;
@charm-panel-configure-name-color: #8f8f88;
@charm-panel-deploy-button-color: #dd4814;
@charm-panel-deploy-button-bottom-gradient: #e65c19;
@charm-panel-deploy-button-shadow: #8a2d0c;
@charm-panel-cancel-button-color: #b8b8b8;
@charm-panel-cancel-button-bottom-gradient: #a3a39f;
@charm-panel-cancel-button-shadow: #515050;
@charm-panel-background-color: #eeeeee;
@charm-panel-border-color: #BEBEBE;
@navbar-color: #2D2D2D!important;

body {
    margin-top: 87px;
    background-color: #302b28;
    font-family: @font-family;
}

input, button, select, textarea {
    font-family: @font-family;
}

.create-button(@gradient-start, @gradient-end, @shadow-color, @v-pos) {
    @blur: 2px;
    background-image: -ms-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@gradient-start), to(@gradient-end));
    background-image: -webkit-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -o-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -moz-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: linear-gradient(top, @gradient-start, @gradient-end);
    background-repeat: repeat-x;
    -moz-box-shadow: 0 (@v-pos + 3) @blur -@blur @shadow-color inset,
	                 2px 0 3px -2px @shadow-color inset, -2px 0 3px -2px @shadow-color inset;
    -webkit-box-shadow: 0 (@v-pos + 3) @blur -@blur @shadow-color inset,
	                    2px 0 3px -2px @shadow-color inset, -2px 0 3px -2px @shadow-color inset;
    box-shadow: 0 (@v-pos + 3) @blur -@blur @shadow-color inset,
	            2px 0 3px -2px @shadow-color inset, -2px 0 3px -2px @shadow-color inset;
    -moz-border-radius: ~"4px / 7px";
    -webkit-border-radius: ~"4px / 7px";
    border-radius: ~"4px / 7px";
    border: none;
}

i.sprite {
    display: inline-block;
    vertical-align: middle;
}

#viewport-wrapper {
    position: relative;
    width: 85%;
    margin: 0 auto;
    padding: 0 12px;
    min-width: 960px;
}

#vp-left-border {
    position: absolute;
    top: 0;
    left: 0;
    background: url(/juju-ui/assets/images/left_shadow.png) repeat-y;
    margin-left: -12px;
    width: 12px;
}

#vp-right-border {
    position: absolute;
    top: 0;
    right: 0;
    background: url(/juju-ui/assets/images/right_shadow.png) repeat-y;
    margin-right: -12px;
    width: 12px;
}

.view-container {
  overflow: auto;
  padding: 10px;
}

.navbar {
    margin-top: -87px;
    margin-bottom: 0;
    height: 87px;
    min-width: 800px;
    background: url(/juju-ui/assets/images/top_bar.png) repeat-x;
    padding: 0;
    position: relative;
    color: @navbar-color;
    .brand {
        margin: 12px 26px 6px 10px;
        padding: 0;
    }
    > div {
        padding: 0;
        .nav-container {
            display: inline-block;
            height: 44px;
            margin: 2px 0 0 0;
            padding: 20px 0 4px;
            &#charm-search-trigger-container {
                width: 292px;
                white-space: nowrap;
                border-left: 1px solid transparent;
                &.active-border {
                    border-left-color: lightgray;
                }
            }
            .nav-section {
                border-left: 1px solid transparent;
                &.active-border {
                    border-left-color: lightgray;
                }
                display: inline-block;
                padding: 4px 10px;
                #charm-search-trigger {
                    cursor: pointer;
                }
                .btn {
                    margin: 0 5px;
                }
                input {
                    height: 23px;
                    width: 128px;
                    background: url(/juju-ui/assets/images/searchbox_icon.png)
                                no-repeat 4px 4px whiteSmoke;
                    margin: 0 10px;
                    padding: 3px 3px 3px 26px;
                    font-style: italic;
                    font-size: 0.9em;
                    &:valid {
                        background: white;
                        padding: 3px;
                        width: 151px;
                        font-style: normal;
                        font-size: 1em;
                    }
                    &:focus {
                        border-color: rgba(82, 168, 236, 0.8);
                        outline: 0;
                        outline: thin dotted 9;
                        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
                                    0 0 8px rgba(82, 168, 236, 0.6);
                    }
                }

            }
        }
        span:first-child .nav-section {
            border-left: none;
            padding: 0 6px;
        }
        &#nav-alerts-charms {
            float: right;
            .nav-container:first-child .nav-section {
                position: relative;
            }
        }
        &#nav-brand-env .nav-container {
            float: left;
            .provider-type {
                font-size: 0.7em;
            }
        }
    }
}

.bottom-navbar {
    min-width: 800px;
}

#content {
    position: relative;
    background-color: #fff;
    width: 100%;
}

#main {

}

#overview {

}

.divider {
    padding: 5px;
}

svg {
    stroke-width: 0;
}

.crosshatch-background {
    background: url(/juju-ui/assets/images/pattern_tile.png) repeat;
}

#canvas {
    position: relative;
}

.environment-menu {
    @border_radius: 20px;
    @background_color: #282421;

    display: none;
    background-color: @background_color;
    color: #fdf6e3;

    border-radius: @border_radius;
    -moz-border-radius: @border_radius;
    -webkit-border-radius: @border_radius;

    box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: -2px 4px 4px 0 rgba(0, 0, 0, 0.5);

    top: 0;
    left: 0;
    position: absolute;

    &.active {
        display: block;
    }

    .triangle {
        position: absolute;
        top: 62px;
        width: 12px;
        line-height: 21px;
        background-repeat: no-repeat;
    }
    &.left .triangle {
        right: -12px;
        background-image: url(/juju-ui/assets/images/icons/icon_shadow_triangle_right.png);
    }
    &.right .triangle {
        left: -12px;
        background-image: url(/juju-ui/assets/images/icons/icon_shadow_triangle.png);
    }

    .menu-title {
        margin: 10px;
    }

    .cancel {
        margin: 10px;
        float: right;
    }

    ul {
        margin: 10px;
        list-style-type: none;
        li {
            background-position: 5px center;
            background-repeat: no-repeat;
            border-bottom: 1px #5f594f solid;
            cursor: pointer;
            line-height: 32px;
            padding: 5px 5px 5px 5px;
            border-radius: @border_radius;
            -moz-border-radius: @border_radius;
            -webkit-border-radius: @border_radius;

            &.view-service {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_view.png);
            }
            &.add-relation {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_relation.png);
            }
            &.add-remove-units {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_relation.png);
                color: gray;
                cursor: default;
                &:hover {
                    background-color: inherit;
                }
            }
            &.destroy-service {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_destroy.png);
            }

            &:last-child {
                border-bottom: none;
            }
            &:hover {
                background-color: lighten(@background_color, 10%);
            }
        }

    }

    &#service-menu ul li {
        padding-left: 42px;
    }

}

charms.thumbnails.li { height:4em; }
.subordinate-rel-group {
    display: none;
    &.active {
        display: inline;
    }
}
.relation {
    stroke: #333333;
    stroke-width: 3px;
    &.error {
        stroke: #cc3333;
    }

    &.pending-relation {
        stroke: #faaf40;

        &.dragging {
            stroke: #fa6a40
        }
    }

    &.unused {
        visibility: hidden;
    }

    &.subordinate-relation {
        stroke: #3333cc;
    }
}
.rel-label {
    rect {
        stroke-width: 1px;
        stroke: #2c2c2c;
        fill: #eee;
    }

    tspan {
        text-anchor: middle;
        dominant-baseline: middle;
    }
}
.state-error { stroke: #FF0000; }
.state-started { stroke: #000000;}
.state-pending { stroke: #6597E8;}
div.state-error {
    @error-color: #c01c20;
    background-color: @error-color;
    color: #FFFFFF;
    &:hover {
        background-color: lighten(@error-color, 10%);
    }
}
div.state-started {
    @started-color: #d8d8d8;
    background-color: @started-color;
    &:hover {
        background-color: lighten(@started-color, 10%);
    }
}
div.state-pending {
    @pending-color: #fcd305;
    background-color: @pending-color;
    &:hover {
        background-color: lighten(@pending-color, 20%);
    }
}

.unit (@min_height: 20px, @border_radius:3px) {
    padding: 5px;
    -webkit-border-radius: @border_radius;
    -moz-border-radius: @border_radius;
    border-radius: @border_radius;
    margin-bottom: 0px;
    min-height: @min_height;
    cursor: pointer;
    .agent-state {
        display: none;
    }
}

ul#unit-large div.unit {
    .unit(40px);
}

ul#unit-medium div.unit {
    .unit;
}

ul#unit-small {
    margin-left: 0px;
    > li {
        margin-bottom: 5px;
        margin-left: 5px;
        > div.unit {
            .unit;
            width: 1.7em;
            text-align: center;
        }
    }
}

ul#unit-tiny {
    margin-left: 0px;
    > li {
        margin-bottom: 3px;
        margin-left: 3px;
        > div.unit {
            .unit(0px, 1px);
        }
    }
}

circle.mouse-down-indicator {
    stroke: #040404;
    stroke-width: 2px;
    fill: none;
}

g.service {
    fill: none;
    stroke: none;

    text {
        text-anchor: middle;
    }

    .charm-label {
        font-style: italic;
        fill: #4c4c4c;
    }
    .name {
        fill: #4c4c4c;
    }

   .unit-count {
        stroke-width: 0;
        text-anchor: middle;
        dominant-baseline: central;
        fill: rgba(0,0,0,0);

        &.show-count {
            fill: rgba(0,0,0,1);}
        &.hide-count {
            fill: rgba(0,0,0,0);}
    }

    .sub-rel-count {
        text-anchor: middle;
        dominant_baseline: central;
        fill: #4f4f4f;
        font-size: 1.2em;
    }

    .exposed-indicator {
        fill: #00F;

        &.off {
            visibility: hidden;
        }
        &.on {
            visibility: visible;
        }
    }

    .service-control-panel {
        visibility: hidden;

        &.active {
            visibility: visible;
        }

        image {
            cursor: pointer;
        }
    }
}
g.service-status {
    path {
        stroke-width: 0;
        fill: #fff;

        &.status-pending {
            fill: #fcd305;}
        &.status-good {
            fill: #b7b7b7;}
        &.status-error {
            fill: #c01c20;}
    }
}

g.unit {
    stroke-width: 0; font-weight: bold;
    font-size: 1.2em;
    fill: #1626cf;
    .address {
    fill: #ffffff; font-size: 0.8em;}
    .unit-border {
    stroke-width: 2px; fill: #a0a0a0;}
}

/*
 * Notification system
 */
.notice {
    border-top: 1px solid #D0D0D0;
    padding: 1em 4px;
    margin: 1em 0 0 2px;
    cursor: pointer;

    .seen {
        background-color: rgba(222, 222, 222, 0.33);
    }

    &:first-child {
        border: none;
        padding-top: 0;
    }

    small {
        margin-left: 1em;
        font-size: 0.7em;
        color: #d0d0d0;
    }

    .header {
        background-color: #c0c0c0;
        font-size: 0.9em;
        margin: 0;
        padding: 0;
    }

    .error {
        background-color: rgba(255, 0, 0, 0.1);
    }
}

#service-footer {
    text-align: center;
    .footer-right {
        float: right;
    }
    .footer-left {
        float: left;
    }
    input {
        width: 3em;
        margin-bottom: 0;
    }
}

/*
 * Overview Module
 */
#overview {
    margin: 0;
    padding: 0;
    width: 100%;
}
#overview-tasks {
    background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;
    height: 50px;
    position: relative;
    color: @navbar-color;

    .controls {
        position: absolute;
        top: 1px;
        left: 11px;
    }
    .destroy-control {
        position: absolute;
        top: 1px;
        right: 11px;
    }
}

.picker {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 24px;
    &.graph-list-picker {
        width: 116px;
        .picker-body {
            width: 91px;
        }

        .picker-expanded {
            display: none;

            &.active {
                z-index: 100;
                display: block;
            }
            .picker-edge {
                display: block;
                top: auto;
                bottom: -10px;
                margin-left: -3px;
            }
            .picker-edge-right {
                left: auto;
                right: 0;
                margin-left: 0;
                margin-right: -3px;
            }
            .picker-list {
                position: absolute;
                bottom: -12px;
                left: 4px;
                height: 100%;
                background: url(/juju-ui/assets/images/view_1px.png) repeat-x;
                list-style-type: none;
                padding: 0;
                margin: 0;
                height: 54px;
                width: 108px;

                ul {
                    list-style-type: none;
                    padding: 0;
                    padding-top: 5px;
                    margin: 0;

                    li {
                        padding: 1px;

                        .activetick {
                            width: 12px;
                            height: 14px;
                            float: right;
                            background: url(/juju-ui/assets/images/selected_tick.png)
                                no-repeat
                                bottom left;
                        }
                    }
                }
            }
        }
    }
    &.zoom-picker {
        width: 56px;
        .picker-body {
            width: 36px;
        }
        /*#zoom-btn-up {
            position: absolute;
            top: 8px;
            right: 0px;
            opacity: 0;
            &.active {
                opacity: 1;
            }
        }
        #zoom-btn-down {
            position: absolute;
            bottom: -8px;
            right: 0px;
            opacity: 0;
            &.active {
                opacity: 1;
            }
        }*/
    }

    .picker-edge {
        position: absolute;
        top: 8px;
        left: 0;
    }
    .picker-body {
        position: absolute;
        top: 8px;
        left: 4px;
        background: url(/juju-ui/assets/images/picker_1px.png) repeat-x;
        height: 20px;
        padding: 3px 0 0 3px;
    }
    .picker-button {
        position: absolute;
        top: 8px;
        right: 0;
    }
    &.inactive {
        .picker-edge {
            display: none;
        }
        .picker-body {
            display: none;
        }
        .picker-button {
            display: none;
        }
    }
}

#unit-status {
    .running {
        color: green;
    }
    .pending {
        color: yellow;
    }
    .error {
        color: red;
    }
}

#relations {
    #unit-status;
    form {
        margin: 0;
    }
}

.yui3-panel {
    background: white;
    padding: 1.6em;
    border: solid black 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    font-weight: normal;
    .yui3-widget-bd {
        margin-bottom: 1em;
    }
    .yui3-widget-buttons {
        float: right;
        .btn-danger {
            margin-right: 1em;
        }
    }
}

.yui3-widget-mask {
    background: black;
    opacity: 0.4;
}

.controls {
    .read-only {
        padding-top: 5px;
    }
}

.unit-button-palette {
    float: right;
}

.hidden {
    visibility: hidden;
}

#service-relations {
    .btn {
        float: right;
    }
}

.customize-scrollbar {
    ::-webkit-scrollbar {
        width: 4px;
    }
    ::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 1px 0 3px #989A9C;
    }
    ::-webkit-scrollbar-thumb {
        -webkit-box-shadow: inset 4px 0 3px #D74613;
    }
}

#juju-search-charm-panel {
    .customize-scrollbar;
    display: block;
    z-index: 999;
    padding: 0;
    top: 70px;
    height: 100px;
    position: absolute;
    width: 292px;
    background-color: white;
    border-left: lightgray solid 1px;

    .charm-panel-configure .btn {
        float: right;
    }

    .btn.deploy {
        margin-top: 5px;
        margin-left: 5px;
        vertical-align: middle;
        background-position: 0 0;     /* Needed to defeat bootstrap btn:hover 0 -15px*/
        .create-button(@charm-panel-deploy-button-color, @charm-panel-deploy-button-bottom-gradient,
		       @charm-panel-deploy-button-shadow, 0px);
        &:active {
            .create-button(@charm-panel-deploy-button-color, @charm-panel-deploy-button-color,
			   @charm-panel-deploy-button-shadow, 1px);
        }
    }

    .charm-description btn.deploy {
       float: right;
    }
    .btn.cancel {
        color: white;
        text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
        margin-top: 5px;
        background-repeat: no-repeat;
        background-color: transparent;
        vertical-align: middle;
        background-position: 0 0;     /* Needed to defeat bootstrap btn:hover 0 -15px*/
        background-image: url(/juju-ui/assets/images/cancel-button.png);
        .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-bottom-gradient,
		       @charm-panel-cancel-button-shadow, 0px);
        &:active {
            .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-color,
			   @charm-panel-cancel-button-shadow, 1px);
        }
    }
    .charm-panel-configure-buttons {
      background-color: #FFFFFF;
      border-bottom: 1px solid @charm-panel-border-color;
      height: 52px;
      padding-left: 8px;
      .btn {
          margin-top: 12px;
      }
    }
    .search-charm-inner {
        width: 100%;
        height: 500px;
    }
    .charm-nav-back {
        border-top: 1px solid #DEDEDE;
        border-bottom: 1px solid @charm-panel-border-color;
        color: @charm-panel-deploy-button-color;
        cursor: pointer;
        font-size: 14px;
        padding: 7px 4px;
    }
    .charm-panel {
        background-color: @charm-panel-background-color;
        height: 432px;
        overflow-y: auto;
        overflow-x: hidden;
        h3 {
            color: @label-color;
            font-size: 22px;
            font-weight: normal;
            padding: 5px 0px 2px 0px;
        }
        h4 {
            color: @label-color;
            cursor: pointer;
            border-top: 1px solid #FFFFFF;
            border-bottom: 1px solid @charm-panel-border-color;
            font-family: @font-family-medium;
            font-weight: normal;
            padding: 8px 12px;
            i {
                float: right;
            }
            &.first {
                border-top: 1px solid #E0DEDE;
            }
        }
        h5 {
            color: @label-color;
            font-family: @font-family-medium;
            font-weight: normal;
            margin-top: 11px;
        }
        #charm-panel-head {
            border-top: 1px solid #FFFFFF;
            border-bottom: 1px solid @charm-panel-border-color;
            padding: 1ex 12px 10px 12px;
        }
        .collapsible {
            background-color: #E7E7E7;
            line-height: 16px;
            overflow: hidden;
            padding: 0px 12px;
            :last-child {
                margin-bottom: 11px;
            }
        }
        &.charm-description {
            color: #58595B;
            font-size: 12px;
            .charm-section {
                .commitmessage {
                    padding: 0.8ex 0 1ex 1em;
                    font-style: italic;
                    white-space: pre-wrap;
                }
            }
            h6 {
                font-weight: bold;
                text-transform: uppercase;
                color: black
            }
        }
        &.config-variant {
            font-size: 14px;

            .control-group {
                width: auto;
                margin-bottom: 0;
                margin-top: 1ex;
                padding: 0px 12px;
                clear: both;
            }
            .control-description {
                display: none;
            }
            .control-label {
                width: auto;
                margin-bottom: 1ex;
                float: left;
                color: @label-color;
                font-size: 14px;
            }
            .controls {
                margin-left: auto;
                margin-right: 0;
            }
            .config-field {
                font-size: 16px;
                color: text-entry-color;
            }
            .config-file-upload {
                position: relative;
                width: 252px;
                height: 25px;
            }
            .config-file-upload-widget {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }
            .config-file-upload-overlay {
                background: url(/juju-ui/assets/images/getfile_button.png) no-repeat;
                position: absolute;
                top: 0;
                left: 0;
                padding-left: 5px;
                padding-top: 2px;
                height: 25px;
                width: 149px;
                z-index: 2;
                cursor: pointer;
                &:active {
                  background: url(/juju-ui/assets/images/getfile_button-pressed.png) no-repeat;
                }
            }
            .config-file-name {
                position: absolute;
                top: 27px;
                left: 5px;
                width: auto;
                z-index: 2;
            }
            .controls.boolean {
                input {
                    margin-left: 1ex;
                    margin-top: 0.7ex;
                }
            }
            .btn {
                 margin-top: 5px;
            }
        }
    }
    .search-result-div {
        overflow-y:auto;
        overflow-x:hidden;
        .series-charms {
            border-top: 4px solid #D0D0D0;
            margin-top: 8px;
            margin-bottom: 4px;
            &:first-child {
                border: none;
                margin-top: 0;
            }
            h3 {
                font-weight: bold;
                text-transform: uppercase;
                font-size: 11px;
            }
            .charm-entry {
                border-top: 1px solid #D0D0D0;
                padding: 0.5em 4px;
                padding-bottom: 4px;
                margin: 0.2em 0 0 2px;
                &:first-child {
                    border: none;
                    padding-top: 0;
                }
                .charm-summary {
                    margin-bottom: 4px;
                }
                a.charm-detail {
                    font-weight: bold;
                }
                .btn {
                    float: right;
                    opacity: 0;
                }
            }
        }
    }
}

table tr.highlighted {
   background: pink;
}

#destroy-service {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.service-view {
    .juju-service-info-container-bottom-menu {
        background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;
        height: 50px;
        position: relative;
        color: @navbar-color;
        text-align: center;

        .filter-control {
            position: absolute;
            right: 430px;
            top: 13px;
            width: 300px;
            display: inline-block;

            .filter-label {
                position: absolute;
                right: 305px;
                top: 3px;
            }

            .control-separator {
                 padding-top: 0px;
                 padding-left: 5px;

                 img {
                    height: 30px;
                    padding-top: 0px;
                 }
            }

            .state-buttons {
                img {
                    padding-top: 0px;
                    height: 30px;
                }

                div {
                    padding-top: 3px;
                    width: 70px;
                    height: 21px;
                    background:url(/juju-ui/assets/images/toggles.png) -70px 0;

                    &.active {
                        background:url(/juju-ui/assets/images/on_middle.png) 0 0;
                        .white;
                    }

                    &:first-child {
                        background:url(/juju-ui/assets/images/toggles.png) 0 0px;

                        &.active {
                            background:url(/juju-ui/assets/images/on_left.png) 0 0;
                            .white;
                        }
                    }

                    &:last-child {
                        background:url(/juju-ui/assets/images/toggles.png) -210px 0;

                        &.active {
                            background:url(/juju-ui/assets/images/on_right.png) 0 0;
                            .white;
                        }
                    }
                }

                span:first-child {
                    padding-right: 5px;
                }

                .white {
                    a {color: white !important;}
                }

                a {
                    color: @navbar-color;
                    &:link, &:visited, &:active, &:hover {
                       text-decoration: none
                    }
                }
            }
        }

        .destroy-control {
            position: absolute;
            top: 1px;
            left: 10px;

            a {
                color: @navbar-color;
            }

            a:link, a:visited, a:active, a:hover {
                text-decoration: none
            }
        }
    }

    .service-header-partial {
      .name {
          padding-top: 38px;
          padding-left: 46px;
          height: 73px;

          div:nth-child(1) {
              font-style: normal;
              height: 28px;
              font-size: 24px;
              color: #292929;
          }

          div:nth-child(2) {
              font-style: italic;
              font-size: 16px;
              color: #6a737b;
          }
        }

        .menu-items {
            height: 26px;
            padding-top: 2px;
            padding-left: 38px;
            background: url(/juju-ui/assets/images/tab_div.png) repeat;

            .item {
                a {
                     font-size: 12px;
                     padding-left: 10px;
                     padding-right: 10px;
                     color: #292929;
                }
                a:link, a:visited, a:active, a:hover {
                     text-decoration: none
                }

                .link-active {
                    color: #dd4814 !important;
                }
                .active {
                     margin-top: 3px;
                     height: 4px;
                     background: url(/juju-ui/assets/images/tab_marker.png)
                       repeat;
                }
            }
        }
    }

    .service-common-controls {
        position: absolute;
        right: 10px;
        top: 10px;

        .control-unit-count {
            position: absolute;
            right: 120px;
            top: 0px;
            width: 305px;

            img {
                padding-top: 0px;
            }

            div {
                padding-left: 5px;
            }

            div:first-child {
                padding-top: 4px;
            }
        }

        .control-expose {
            position: absolute;
            right: 0px;
            top: 4px;
            width: 120px;

            div {
                padding-left: 5px;
            }

            .on {
                font-size: 12px; fill: #ffffff;
                position: absolute;
                right: 20px;
                top: 3px;
            }

            .off {
                font-size: 12px; fill: #292929;
                position: absolute;
                right: 40px;
                top: 3px;
            }
          }
    }
}

div.inline {
  float: left;
}

#tooltip {
    text-align: left;
    background-color: white;
    border: solid 1px black;
    padding: 0.2em 0.5em 0.3em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    min-width: 20px;
    max-width: 400px;
}

.charm-panel-configure {
  background-image: url(/juju-ui/assets/images/configure-cog.png);
  background-repeat: no-repeat;
  background-position: 230px 42px;
  border-top: 2px solid #dd4814;
  background-color: #2F2A27;
  height: 93px;
  padding-left: 8px;
  .title {
    font-weight: lighter;
    font-size: 22px;
    color: @charm-panel-configure-title-color;
    margin-top: 35px;
  }
  .name {
    font-size: 12px;
    color: @charm-panel-configure-name-color;
    margin-top: 5px;
  }
}


dialog.less for dialogbox control

dialog.less for dialogbox control

dialog.less for styling dialogbox control

.dialog
{
  	position: absolute;
	top: 40%;
	left: 40%;
	min-width: 150px;
	min-height: 155px;
	z-index: 1000;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

	.header
	{
		width: auto;
		height: 35px;
		padding: 6px 35px 5px 5px;
		font-size: 18px;
		white-space: nowrap;
		overflow: hidden;
		background-color: #2D89EF;
		border: 1px solid #2D89EF;
		border-bottom: 0 none;

		div
		{
			position: absolute;
			right: -5px;
			top: 5px;
		}

		button
		{
			min-width: 16px;
			min-height: 16px;
			height: 24px;
			width: 24px;

			i
			{
				position: absolute;
				left: 2px;
				top: 4px;
			}
		}
	}

	.content
	{
		min-height: 85px;
		padding: 5px;
		background-color: #FFFFFF;
		border-left: 1px solid rgba(0, 0, 0, 0.2);
		border-right: 1px solid rgba(0, 0, 0, 0.2);
	}

	.action
	{
		position: relative;
		bottom: 0;
		width: auto;
		height: 40px;
		font-size: 18px;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		background-color: #FFFFFF;
		border-left: 1px solid rgba(0, 0, 0, 0.2);
		border-right: 1px solid rgba(0, 0, 0, 0.2);
		border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	}
}

#dialogOverlay
{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(235, 235, 235, 0.5);
	z-index: 1;
}

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


INBOX-419 Fixed avatar in email header on iOS.

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/heroandtn3/openpaas-esn.git/'


fixing active state on menu

fixing active state on menu

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/cablelabs/dev-portal.git/'


style(example): ajustar código

style(example): ajustar código

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/wesleifreitas/px-project-a1.git/'


Create mixins.less

Create mixins.less

// Mixins

.transition-all() {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

.background-cover() {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.button-variant(@color; @background; @border) {
	color: @color;
	background-color: @background;
	border-color: @border;
	.transition-all;

	&:hover,
	&:focus,
	&.focus,
	&:active,
	&.active,
	.open > .dropdown-toggle& {
		color: @color;
		background-color: darken(@background, 5%);
	    border-color: darken(@border, 7%);
	}
	&:active,
	&.active,
	.open > .dropdown-toggle& {
		background-image: none;
	}
	&.disabled,
	&[disabled],
	fieldset[disabled] & {
		&,
		&:hover,
		&:focus,
		&.focus,
		&:active,
		&.active {
			background-color: @background;
			border-color: @border;
		}
	}

	.badge {
		color: @background;
		background-color: @color;
	}
}

.sans-serif-font() {
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.serif-font() {
	font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

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


add mixins styles

add mixins styles

// -----------------------------
// Mixins
// -----------------------------

// Transition
// -----------------------------
.transition (@prop: all, @time: 0.5s, @ease: ease) {
    -webkit-transition: @prop @time @ease;
    -moz-transition:    @prop @time @ease;
    -ms-transition:     @prop @time @ease;
    -o-transition:      @prop @time @ease;
    transition:         @prop @time @ease;
}

// Border Radius
// -----------------------------

.border-radius (@radius: 3px) {
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
    border-radius: @radius;
}

// Transform
// -----------------------------

.transform(@x:0, @y:0) {
  -webkit-transform: translate(@x, @y);
  -moz-transform: translate(@x, @y);
  -o-transform: translate(@x, @y);
  -ms-transform: translate(@x, @y);
  transform: translate(@x, @y);
}

// Enabling HW acceleration in WebKit
// ----------------------------------

.animation {
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}


Added normalize.css

Added normalize.css

Added normalize.css

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/vimalmenon/code-easy.net-new.git/'


bold label title

bold label title

fatal: unable to access 'https://github.com/alfa-x/console-es6.git/': The requested URL returned error: 403


rating ui issue

rating ui issue

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/deep0892/jitendrachatbot.git/'


Media query definitions

Media query definitions

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/studiomotio/www1.git/'


pull origin master

pull origin master

* {
  font-family: 'Roboto', sans-serif;
}

.header {
  max-width: 100%;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  max-width: 100%;
  padding-right: 20px;
}

.logo {
  margin: 0 28px 0 0;
  float: left;
}

.main-content {
  background: #fff;
  min-height: calc(100vh - 64px - 70px) !important;
}

.role {
  color: white;
  pointer-events: none;
}

.user-name{
  position: absolute;
  right: 20px;
  margin-left: 20px;
  width: 150px;
}

.logout-menu {
  color: #eda6b8;
  font-size: 1.2em;
}
.logout:hover {color: white;}

.nav-text {
  font-size: 1.2em;
  color: #eda6b8;
}

.nav-text:hover {
  color: #fff;
}

* {
  font-family: 'Roboto', sans-serif;
}

.header {
  max-width: 100%;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  max-width: 100%;
  padding-right: 20px;
}

.logo {
  margin: 0 28px 0 0;
  float: left;
}

.main-content {
  background: #fff;
  min-height: calc(100vh - 64px - 70px) !important;
}

.role {
  color: white;
  pointer-events: none;
}

.user-name{
  position: absolute;
  right: 20px;
  margin-left: 20px;
  width: 150px;
}

.logout-menu {
  color: #eda6b8;
  font-size: 1.2em;
  //padding-left: 5px;
  //padding-top: 1px;
}
.logout:hover {color: white;}

.nav-text {
  font-size: 1.2em;
  color: #eda6b8;
}

.nav-text:hover {
  color: #fff;
}


CRM-3997: Make all mailboxes available under System organization

- fix css

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/trustify/oroplatform.git/'


Update flag-icon-base.less

Update flag-icon-base.less

Make paths for different icon formats more flexible

.flag-icon {
  position: relative;
  display: inline-block;
  width: unit(4 / 3, em);
  line-height: 1em;
  .flag-icon-background;
  &:before {
    content: "\00a0";
  }
  &.flag-icon-squared {
    width: 1em;
  }
}

.flag-icon-background {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.flag-icon(@country) {
  .flag-icon-@{country} {
    background-image: ~"url(@{flag-icon-css-path}@{flag-icon-rect-path}/@{country}.svg)";
    &.flag-icon-squared {
      background-image: ~"url(@{flag-icon-css-path}@{flag-icon-square-path}/@{country}.svg)";
    }
  }
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: unit(4 / 3, em);
  line-height: 1em;
  .flag-icon-background;
  &:before {
    content: "\00a0";
  }
  &.flag-icon-squared {
    width: 1em;
  }
}

.flag-icon-background {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.flag-icon(@country) {
  .flag-icon-@{country} {
    background-image: ~"url(@{flag-icon-css-path}/4x3/@{country}.svg)";
    &.flag-icon-squared {
      background-image: ~"url(@{flag-icon-css-path}/1x1/@{country}.svg)";
    }
  }
}


Banner 自适应

Banner 自适应

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/wayshon/blog-vue.git/'


return (accidentaly?) removed content-slick.less

.slick-list,
.slick-track,
.slick-slide,
.slick-slide img,
.slick-slide a,
.content-slick-images p,
.content-slick-images p img {
    padding: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    margin: 0;
    display: block;
}

.content-slick-container {
    font-family: @font-family-sans-serif;
    margin: 2 * @padding-large-vertical 0;
    user-select: none;
    img {
        height: 100%;
        max-height: 100% !important;
        max-width: 100%;
    }
    a {
        border: none !important;
        cursor: pointer;
        max-width: 100%;
    }
    div {
        white-space: nowrap;
        max-width: unset;
    }
    .slick-cell {
        margin: 0 @padding-base-horizontal / 2;
    }
}

error: pathspec 'resources/less/content-slick.less' did not match any file(s) known to git


Commit

Commit

Commit

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/vimalmenon/code-easy.net.git/'


Began styling

Began styling

@import "normalize.css";

@background-color: rgb(236, 240, 241);
@heading-color: rgb(41, 128, 185);
@heading-color-hover: rgb(52, 73, 94);
@border-color: rgb(189, 195, 199);

* {
  font: 1em/1.5em helvetica, arial, sans-serif;
}

.clearfix {
  display: block;
  zoom: 1;

  &:after {
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}

body {
  background: @background-color;
}

h1 {
  margin: 0;
  font-size: 1.8em;

  a {
    text-decoration: none;
    color: @heading-color;

    &:hover {
      color: @heading-color-hover;
    }
  }
}

.container {
  .photo {
    display: block;
    border-bottom: 1px solid @border-color;

    .image {
      float: left;
      width: 15em;
      height: 9em;
      overflow: hidden;

      img {
        width: 100%;
      }
    }

    .info {
      float: left;

      h1 {
        padding: .8em 0 0 .5em;
      }
    }
  }
}

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


update URL for bg image for the invitation site

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/hevnly/asset-bazaar.git/'


Fix margin between buttons

Fix margin between buttons

addresses #2251 #2207

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

@import "variables.less";

.buttonCommon {
  color: #fff;
  font-size: inherit;
  height: 22px;
  line-height: 22px;
  margin: 5px 5px 0px 0px;
  padding: 0px 20px;
}

span.browserButton {
  cursor: default;
  display: inline-block;
  line-height: 30px;
  width: 30px;
  height: 28px;
  font-size: 16px;
  color: @buttonColor;
  border-radius: @borderRadius;
  margin: 0 3px;
  text-align: center;
  transition: .1s opacity, .1s background;
  user-select: none;
  -webkit-user-select: none;

  &:not([disabled]):hover {
    color: black;
  }

  &[disabled] {
    opacity: .25;
    pointer-events: none;
  }

  &.smallButton {
    line-height: 18px;
    width: 18px;
    height: 18px;
    font-size: 12px;
  }

  &.newFrameButton {
    font-family: helvetica;
    font-weight: 100;
    font-size: 26px;
    line-height: 17px;
    width: 16px;
    vertical-align: middle;
  }

  &.primaryButton,
  &.actionButton,
  &.wideButton,
  &.secondaryButton,
  &.subtleButton {
    .buttonCommon;
    width: auto;
    height: auto;
  }

  &.primaryButton {
    background-color: @braveOrange;
  }

  &.actionButton,
  &.wideButton {
    background-color: #4099FF;
  }

  &.wideButton {
    display: block;
    margin-right: 0px;
    margin-left: 0px;
  }

  &.secondaryButton {
    background-color: #eee;
  }

  &.subtleButton {
    background-color: #ccc;
    font-size: 14px;
  }
}

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

@import "variables.less";

.buttonCommon {
  color: #fff;
  font-size: inherit;
  height: 22px;
  line-height: 22px;
  margin: 5px 0px 0px 0px;
  padding: 0px 20px;
}

span.browserButton {
  cursor: default;
  display: inline-block;
  line-height: 30px;
  width: 30px;
  height: 28px;
  font-size: 16px;
  color: @buttonColor;
  border-radius: @borderRadius;
  margin: 0 3px;
  text-align: center;
  transition: .1s opacity, .1s background;
  user-select: none;
  -webkit-user-select: none;

  &:not([disabled]):hover {
    color: black;
  }

  &[disabled] {
    opacity: .25;
    pointer-events: none;
  }

  &.smallButton {
    line-height: 18px;
    width: 18px;
    height: 18px;
    font-size: 12px;
  }

  &.newFrameButton {
    font-family: helvetica;
    font-weight: 100;
    font-size: 26px;
    line-height: 17px;
    width: 16px;
    vertical-align: middle;
  }

  &.primaryButton,
  &.actionButton,
  &.wideButton,
  &.secondaryButton,
  &.subtleButton {
    .buttonCommon;
    width: auto;
    height: auto;
  }

  &.primaryButton {
    background-color: @braveOrange;
  }

  &.actionButton,
  &.wideButton {
    background-color: #4099FF;
  }

  &.wideButton {
    display: block;
    margin-right: 0px;
    margin-left: 0px;
  }

  &.secondaryButton {
    background-color: #eee;
  }

  &.subtleButton {
    background-color: #ccc;
    font-size: 14px;
  }
}


merging upstream changes

merging upstream changes

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/esleau/esleau-theme.git/'


chore(less): Remove unused tooltip-owners class (#15457)

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/beeftornado/sentry.git/'


add padding to back to list button

add padding to back to list button

.back-to-list {
    margin-bottom: 20px;
}

error: pathspec 'BackofficeBundle/Resources/public/less/editTable.less' did not match any file(s) known to git


Delete mixins.less

Delete mixins.less

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


Fix wrong form styling in iphone

Fix wrong form styling in iphone

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/Xyloo/osu-web.git/'


Fix block group margin

Fix block group margin

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/sonatra/sonatra-theme-gluon.git/'


Fix padding top of panel block control

Fix padding top of panel block control

//
// Panels
// --------------------------------------------------

.panel {
    .box-shadow(@panel-shadow);

    .panel-actions {
        float: right;
        max-width: 68%;
        text-align: right;

        > .btn {
            margin: 2px;
            padding: 6px 12px;
            min-width: 34px;

            &.btn-xs {
                padding: 1px 5px;
                min-width: 22px;
            }

            &.btn-sm {
                padding: 4px 9px;
                min-width: 28px;
            }

            &.btn-lg {
                padding: 10px 16px;
                min-width: 46px;
            }
        }
    }

    > .panel-heading,
    > .panel-footer {
        border-color: @panel-inner-border;

        > .panel-actions {
            padding: 10px 0;
            line-height: ceil((@font-size-base * 1.125));
        }

        > .panel-buttons {
            margin: 10px -16px;
            background-color: darken(@panel-bg, 1%);

            > .nav-scrollable > .nav-btn-group,
            > .nav-scrollable > .hammer-scroll-content > .nav-btn-group {
                white-space: nowrap;
                display: inline-block;
            }

            > .btn,
            > .btn-group > .btn,
            > .nav-scrollable > .nav-btn-group > .btn,
            > .nav-scrollable > .nav-btn-group > .btn-group > .btn,
            > .nav-scrollable > .hammer-scroll-content > .nav-btn-group > .btn,
            > .nav-scrollable > .hammer-scroll-content > .nav-btn-group > .btn-group > .btn {
                margin: 5px 2px;

                &:first-child {
                    margin-left: 2px;
                }

                &:last-child {
                    margin-right: 2px;
                }
            }
        }
    }

    > .panel-heading {
        &:last-child {
            border-bottom: none;
        }

        > .clearfix {
            height: 0;
        }

        > .panel-actions {
            margin-top: -10px;
            margin-right: -15px;
        }

        > .panel-buttons {
            border-top: 1px solid @panel-inner-border;
            border-bottom: 1px solid @panel-inner-border;

            &:first-child {
                border-top: none;
                margin-top: -11px;
                .border-top-radius(@panel-border-radius);

                > .nav-scrollable {
                    .border-top-radius(@panel-border-radius);
                }
            }

            &:last-child {
                border-bottom: none;
                margin-bottom: -10px;
            }
        }
    }

    > .panel-footer {
        > .panel-buttons {
            border-top: 1px solid @panel-inner-border;
            border-bottom: 1px solid @panel-inner-border;

            &:first-child {
                border-top: none;
                margin-top: -10px;
            }

            &:last-child {
                border-bottom: none;
                margin-bottom: -11px;
                .border-bottom-radius(@panel-border-radius);

                > .nav-scrollable {
                    .border-bottom-radius(@panel-border-radius);
                }
            }
        }
    }

    > .panel-section {
        > .panel-section-heading {
            padding: 10px 15px;

            > .panel-actions {
                padding: 7px 0;
                margin-top: -10px;
                margin-right: -15px;
                line-height: ceil((@panel-section-heading-size * 1.125));
            }

            > .panel-section-title {
                color: @panel-section-heading-color;
            }

            + .panel-body {
                padding-top: 0;
                padding-left: 0;
                padding-right: 0;
            }
        }

        + .panel-section {
            margin-top: 15px;

            > .panel-section-heading {
                border-top: 1px dashed @panel-inner-border;
            }
        }

        &.panel-collapsed {
            > *:not(.panel-section-heading) {
                display: none;
            }

            > .panel-section-heading {
                > .panel-actions {
                    > .btn-panel-collapse {
                        .caret {
                            -moz-transform: rotate(90deg);
                            -webkit-transform: rotate(90deg);
                            -o-transform: rotate(90deg);
                            -ms-transform: rotate(90deg);
                            transform: rotate(90deg);
                        }
                    }
                }
            }
        }

        &.container,
        &.container-fluid {
            > .panel-section-heading {
                margin-left: -15px;
                margin-right: -15px;
            }
        }
    }

    > .alert {
        margin: 10px;
    }

    .panel-row {
        + .panel-row {
            border-top: 1px solid @panel-inner-row-border;
        }

        &.panel-row-spacer {
            min-height: @input-height-base;
        }

        &:last-child {
            margin-bottom: 10px;
        }
    }

    .panel-cell {
        > .panel-cell-wrapper {
            display: table;
            width: 100%;

            > .control-label {
                display: table-cell;
                vertical-align: top;
                width: 150px;
                text-align: right;
                margin-top: 0;
                margin-bottom: 0;
                padding-top: 7px;
                padding-right: 14px;

                &.required:after {
                    top: 0;
                }

                + .block-control {
                    padding-left: 16px;
                }
            }

            > .block-control {
                display: table-cell;
                vertical-align: top;
                width: auto;
                padding-top: 7px;
            }

            > .panel-block-help {
                display: table-cell;
                vertical-align: top;
                width: 16px;
                text-align: right;
                padding-top: 6px;
                padding-right: 2px;

                > .panel-cell-help {
                    padding: 0 3px;
                    z-index: 1;
                }
            }
        }
    }

    .panel-cell-spacer {
        > div[class*="col-"] {
            min-height: @input-height-base;
        }
    }

    .table {
        margin-bottom: 0;
    }
}

.panel-title {
    font-size: @panel-heading-size;
}

.panel-section-title {
    font-size: @panel-section-heading-size;
    line-height: ceil((@panel-section-heading-size * 1.125));
    margin: 0;
}

// Contextual variations
.panel-accent {
    .panel-variant(@panel-accent-border; @panel-accent-text; @panel-accent-heading-bg; @panel-accent-border);
}

.panel {
    &.panel-default,
    &.panel-primary,
    &.panel-accent,
    &.panel-success,
    &.panel-info,
    &.panel-warning,
    &.panel-danger {
        > .panel-heading {
            border-color: @panel-inner-border;

            .panel-actions {
                color: @text-color;
            }
        }
    }
}

@media (max-width: (@screen-xs-min - 1)) {
    .panel {
        > .panel-section {
            > .panel-row {
                > .panel-cell {
                    > .panel-cell-wrapper {
                        display: block;

                        > .control-label {
                            display: inline-block;
                            width: auto;
                            text-align: left;

                            + .block-control {
                                padding-left: 0;
                            }
                        }

                        > .block-control {
                            display: block;
                            width: 100%;
                        }

                        > .panel-block-help {
                            display: inline-block;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: @screen-xs-max) {
    .panel {
        .table-responsive {
            margin-bottom: 0;
            border: none;
        }
    }
}

// Variantes
// -------------------------

.panel-variant-box(primary, @brand-primary, @brand-primary, lighten(@brand-primary, 3%), #fff);
.panel-variant-box(accent, @brand-accent, @brand-accent, lighten(@brand-accent, 3%), #fff);
.panel-variant-box(success, @brand-success, @brand-success, lighten(@brand-success, 3%), #fff);
.panel-variant-box(info, @brand-info, @brand-info, lighten(@brand-info, 3%), #fff);
.panel-variant-box(warning, @brand-warning, @brand-warning, lighten(@brand-warning, 3%), #fff);
.panel-variant-box(danger, @brand-danger, @brand-danger, lighten(@brand-danger, 3%), #fff);

.panel-variant-top(default, @brand-primary, @panel-top-border-height);
.panel-variant-top(primary, @brand-primary, @panel-top-border-height);
.panel-variant-top(accent, @brand-accent, @panel-top-border-height);
.panel-variant-top(success, @brand-success, @panel-top-border-height);
.panel-variant-top(info, @brand-info, @panel-top-border-height);
.panel-variant-top(warning, @brand-warning, @panel-top-border-height);
.panel-variant-top(danger, @brand-danger, @panel-top-border-height);

.panel-variant-wire(default, @text-color);
.panel-variant-wire(primary, @brand-primary);
.panel-variant-wire(accent, @brand-accent);
.panel-variant-wire(success, @brand-success);
.panel-variant-wire(info, @brand-info);
.panel-variant-wire(warning, @brand-warning);
.panel-variant-wire(danger, @brand-danger);

.panel-variant-frame(default, @text-color);
.panel-variant-frame(primary, @brand-primary);
.panel-variant-frame(accent, @brand-accent);
.panel-variant-frame(success, @brand-success);
.panel-variant-frame(info, @brand-info);
.panel-variant-frame(warning, @brand-warning);
.panel-variant-frame(danger, @brand-danger);

.panel-variant-lite(default, @text-color);
.panel-variant-lite(primary, @brand-primary);
.panel-variant-lite(accent, @brand-accent);
.panel-variant-lite(success, @brand-success);
.panel-variant-lite(info, @brand-info);
.panel-variant-lite(warning, @brand-warning);
.panel-variant-lite(danger, @brand-danger);

.panel-variant-label(default, @text-color);
.panel-variant-label(primary, @brand-primary);
.panel-variant-label(accent, @brand-accent);
.panel-variant-label(success, @brand-success);
.panel-variant-label(info, @brand-info);
.panel-variant-label(warning, @brand-warning);
.panel-variant-label(danger, @brand-danger);

//
// Panels
// --------------------------------------------------

.panel {
    .box-shadow(@panel-shadow);

    .panel-actions {
        float: right;
        max-width: 68%;
        text-align: right;

        > .btn {
            margin: 2px;
            padding: 6px 12px;
            min-width: 34px;

            &.btn-xs {
                padding: 1px 5px;
                min-width: 22px;
            }

            &.btn-sm {
                padding: 4px 9px;
                min-width: 28px;
            }

            &.btn-lg {
                padding: 10px 16px;
                min-width: 46px;
            }
        }
    }

    > .panel-heading,
    > .panel-footer {
        border-color: @panel-inner-border;

        > .panel-actions {
            padding: 10px 0;
            line-height: ceil((@font-size-base * 1.125));
        }

        > .panel-buttons {
            margin: 10px -16px;
            background-color: darken(@panel-bg, 1%);

            > .nav-scrollable > .nav-btn-group,
            > .nav-scrollable > .hammer-scroll-content > .nav-btn-group {
                white-space: nowrap;
                display: inline-block;
            }

            > .btn,
            > .btn-group > .btn,
            > .nav-scrollable > .nav-btn-group > .btn,
            > .nav-scrollable > .nav-btn-group > .btn-group > .btn,
            > .nav-scrollable > .hammer-scroll-content > .nav-btn-group > .btn,
            > .nav-scrollable > .hammer-scroll-content > .nav-btn-group > .btn-group > .btn {
                margin: 5px 2px;

                &:first-child {
                    margin-left: 2px;
                }

                &:last-child {
                    margin-right: 2px;
                }
            }
        }
    }

    > .panel-heading {
        &:last-child {
            border-bottom: none;
        }

        > .clearfix {
            height: 0;
        }

        > .panel-actions {
            margin-top: -10px;
            margin-right: -15px;
        }

        > .panel-buttons {
            border-top: 1px solid @panel-inner-border;
            border-bottom: 1px solid @panel-inner-border;

            &:first-child {
                border-top: none;
                margin-top: -11px;
                .border-top-radius(@panel-border-radius);

                > .nav-scrollable {
                    .border-top-radius(@panel-border-radius);
                }
            }

            &:last-child {
                border-bottom: none;
                margin-bottom: -10px;
            }
        }
    }

    > .panel-footer {
        > .panel-buttons {
            border-top: 1px solid @panel-inner-border;
            border-bottom: 1px solid @panel-inner-border;

            &:first-child {
                border-top: none;
                margin-top: -10px;
            }

            &:last-child {
                border-bottom: none;
                margin-bottom: -11px;
                .border-bottom-radius(@panel-border-radius);

                > .nav-scrollable {
                    .border-bottom-radius(@panel-border-radius);
                }
            }
        }
    }

    > .panel-section {
        > .panel-section-heading {
            padding: 10px 15px;

            > .panel-actions {
                padding: 7px 0;
                margin-top: -10px;
                margin-right: -15px;
                line-height: ceil((@panel-section-heading-size * 1.125));
            }

            > .panel-section-title {
                color: @panel-section-heading-color;
            }

            + .panel-body {
                padding-top: 0;
                padding-left: 0;
                padding-right: 0;
            }
        }

        + .panel-section {
            margin-top: 15px;

            > .panel-section-heading {
                border-top: 1px dashed @panel-inner-border;
            }
        }

        &.panel-collapsed {
            > *:not(.panel-section-heading) {
                display: none;
            }

            > .panel-section-heading {
                > .panel-actions {
                    > .btn-panel-collapse {
                        .caret {
                            -moz-transform: rotate(90deg);
                            -webkit-transform: rotate(90deg);
                            -o-transform: rotate(90deg);
                            -ms-transform: rotate(90deg);
                            transform: rotate(90deg);
                        }
                    }
                }
            }
        }

        &.container,
        &.container-fluid {
            > .panel-section-heading {
                margin-left: -15px;
                margin-right: -15px;
            }
        }
    }

    > .alert {
        margin: 10px;
    }

    .panel-row {
        + .panel-row {
            border-top: 1px solid @panel-inner-row-border;
        }

        &.panel-row-spacer {
            min-height: @input-height-base;
        }

        &:last-child {
            margin-bottom: 10px;
        }
    }

    .panel-cell {
        > .panel-cell-wrapper {
            display: table;
            width: 100%;

            > .control-label {
                display: table-cell;
                vertical-align: top;
                width: 150px;
                text-align: right;
                margin-top: 0;
                margin-bottom: 0;
                padding-top: 7px;
                padding-right: 14px;

                &.required:after {
                    top: 0;
                }

                + .block-control {
                    padding-left: 16px;
                }
            }

            > .block-control {
                display: table-cell;
                vertical-align: top;
                width: auto;
            }

            > .panel-block-help {
                display: table-cell;
                vertical-align: top;
                width: 16px;
                text-align: right;
                padding-top: 6px;
                padding-right: 2px;

                > .panel-cell-help {
                    padding: 0 3px;
                    z-index: 1;
                }
            }
        }
    }

    .panel-cell-spacer {
        > div[class*="col-"] {
            min-height: @input-height-base;
        }
    }

    .table {
        margin-bottom: 0;
    }
}

.panel-title {
    font-size: @panel-heading-size;
}

.panel-section-title {
    font-size: @panel-section-heading-size;
    line-height: ceil((@panel-section-heading-size * 1.125));
    margin: 0;
}

// Contextual variations
.panel-accent {
    .panel-variant(@panel-accent-border; @panel-accent-text; @panel-accent-heading-bg; @panel-accent-border);
}

.panel {
    &.panel-default,
    &.panel-primary,
    &.panel-accent,
    &.panel-success,
    &.panel-info,
    &.panel-warning,
    &.panel-danger {
        > .panel-heading {
            border-color: @panel-inner-border;

            .panel-actions {
                color: @text-color;
            }
        }
    }
}

@media (max-width: (@screen-xs-min - 1)) {
    .panel {
        > .panel-section {
            > .panel-row {
                > .panel-cell {
                    > .panel-cell-wrapper {
                        display: block;

                        > .control-label {
                            display: inline-block;
                            width: auto;
                            text-align: left;

                            + .block-control {
                                padding-left: 0;
                            }
                        }

                        > .block-control {
                            display: block;
                            width: 100%;
                        }

                        > .panel-block-help {
                            display: inline-block;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: @screen-xs-max) {
    .panel {
        .table-responsive {
            margin-bottom: 0;
            border: none;
        }
    }
}

// Variantes
// -------------------------

.panel-variant-box(primary, @brand-primary, @brand-primary, lighten(@brand-primary, 3%), #fff);
.panel-variant-box(accent, @brand-accent, @brand-accent, lighten(@brand-accent, 3%), #fff);
.panel-variant-box(success, @brand-success, @brand-success, lighten(@brand-success, 3%), #fff);
.panel-variant-box(info, @brand-info, @brand-info, lighten(@brand-info, 3%), #fff);
.panel-variant-box(warning, @brand-warning, @brand-warning, lighten(@brand-warning, 3%), #fff);
.panel-variant-box(danger, @brand-danger, @brand-danger, lighten(@brand-danger, 3%), #fff);

.panel-variant-top(default, @brand-primary, @panel-top-border-height);
.panel-variant-top(primary, @brand-primary, @panel-top-border-height);
.panel-variant-top(accent, @brand-accent, @panel-top-border-height);
.panel-variant-top(success, @brand-success, @panel-top-border-height);
.panel-variant-top(info, @brand-info, @panel-top-border-height);
.panel-variant-top(warning, @brand-warning, @panel-top-border-height);
.panel-variant-top(danger, @brand-danger, @panel-top-border-height);

.panel-variant-wire(default, @text-color);
.panel-variant-wire(primary, @brand-primary);
.panel-variant-wire(accent, @brand-accent);
.panel-variant-wire(success, @brand-success);
.panel-variant-wire(info, @brand-info);
.panel-variant-wire(warning, @brand-warning);
.panel-variant-wire(danger, @brand-danger);

.panel-variant-frame(default, @text-color);
.panel-variant-frame(primary, @brand-primary);
.panel-variant-frame(accent, @brand-accent);
.panel-variant-frame(success, @brand-success);
.panel-variant-frame(info, @brand-info);
.panel-variant-frame(warning, @brand-warning);
.panel-variant-frame(danger, @brand-danger);

.panel-variant-lite(default, @text-color);
.panel-variant-lite(primary, @brand-primary);
.panel-variant-lite(accent, @brand-accent);
.panel-variant-lite(success, @brand-success);
.panel-variant-lite(info, @brand-info);
.panel-variant-lite(warning, @brand-warning);
.panel-variant-lite(danger, @brand-danger);

.panel-variant-label(default, @text-color);
.panel-variant-label(primary, @brand-primary);
.panel-variant-label(accent, @brand-accent);
.panel-variant-label(success, @brand-success);
.panel-variant-label(info, @brand-info);
.panel-variant-label(warning, @brand-warning);
.panel-variant-label(danger, @brand-danger);