fixed unflagged settings page scrolling issue

/* Processed with LESS from lib/views/stylesheet.less */
@font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@font-family-medium: 'Ubuntu Medium', 'Ubuntu-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@font-family-mono: 'Ubuntu Mono', 'Ubuntu-Mono', 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;

/* Define common colors. */
@label-color: #292929;
@text-entry-color: #6d6e70;
@charm-panel-orange: #dd4814;
@charm-panel-configure-title-color: #FFFFFF;
@charm-panel-configure-name-color: #FFFFFF;
@charm-panel-deploy-button-color: @charm-panel-orange;
@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;
@charm-panel-border-top-color: #E0DEDE;
@charm-panel-series-color: #CBCBCB;
@charm-panel-configure-color: #505050;
@charm-panel-padding-left: 10px;
@charm-panel-width: 292px;
@navbar-color: #2D2D2D!important;
@navbar-height: 79px;
@navbar-bottom-border-height: 8px;
@navbar-divider-colour: #333;
@text-colour: #505050;
@border-radius: 3px;
@environment-menu-background-color: #ffffff;
@environment-menu-hover-background: #f2f2f2;

// Imports need to be after vars.
@import "typography.less";

/* Mixins */
.create-border-radius(@radius) {
    -moz-border-radius: @radius;
    -webkit-border-radius: @radius;
    border-radius: @radius;
}
.create-box-shadow(@arguments) {
    -moz-box-shadow: @arguments;
    -webkit-box-shadow: @arguments;
    box-shadow: @arguments;
}
.create-linear-gradient(@gradient-start, @gradient-end) {
    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;
}
.create-button(@gradient-start, @gradient-end, @shadow-color, @v-pos) {
    @blur: 2px;
    // Using a variable here because LESS strips commas in mixin args.
    @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;
    .create-box-shadow(@box-shadow);
    .create-border-radius(@border-radius);
    .create-linear-gradient(@gradient-start, @gradient-end);
    border: none;
}
.three-image-button-background(@left-image, @right-image, @centre-image) {
    background: url("/juju-ui/assets/images/@{left-image}")
            no-repeat left top,
            url("/juju-ui/assets/images/@{right-image}")
            no-repeat right top,
            url("/juju-ui/assets/images/@{centre-image}")
            repeat-x left top;

    &:hover {
      background-position: left center, right center, left center;
    }
    &:active {
      background-position: left bottom, right bottom, left bottom;
    }
}
.two-image-button-background(@left-image, @right-image, @background-color) {
    background: url("/juju-ui/assets/images/@{left-image}")
            no-repeat left top,
            url("/juju-ui/assets/images/@{right-image}")
            no-repeat right top;
    background-color: @background-color;
}
/*
 * Rotation transform.  Call with numerical value and units, e.g.
 * .rotate(-90deg);
 */
.rotate(@angle) {
    -webkit-transform: rotate(@angle);
    -moz-transform: rotate(@angle);
    -ms-transform: rotate(@angle);
    -o-transform: rotate(@angle);
    transform: rotate(@angle);
}
.border-box {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.button {
    .create-border-radius(@border-radius);
    .create-linear-gradient(@charm-panel-orange, #c03f11);
    color: #fff;
    text-decoration:none;
    display: inline-block;
    margin: 0;
    padding: 8px 14px;
    font-size: 12pt;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-font-smoothing: subpixel-antialiased;
    -o-font-smoothing: subpixel-antialiased;
    font-smoothing: subpixel-antialiased;

    &:hover {
        background: @charm-panel-orange;
    }
    &.inverse {
        // Using a variable here because LESS strips commas in mixin args.
        @box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        .create-box-shadow(@box-shadow);
        background:  #eeeeee;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        &:hover {
            background: #eeeeee;
        }
    }
}

/* Common classes and setup */
body {
    overflow: hidden;
    margin-top: @navbar-height;
    background-color: #302b28;
    font-family: @font-family;
    height: 100%;
    font-size: 13px;
    line-height: 18px;
}
input, button, select, textarea {
    font-family: @font-family;
    font-weight: normal;
}
button {
    cursor: pointer;
    -webkit-appearance: button;
}
svg {
    stroke-width: 0;
    overflow: hidden;
}
li {
    line-height: 18px;
}
h4 {
    font-size: 14px;
}
h4, h5, h6 {
    line-height: 18px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    text-rendering: optimizelegibility;
}
.align-right {
    text-align: right;
}
i.sprite {
    display: inline-block;
    vertical-align: middle;
}
ul.menu li,
div.inline {
  float: left;
}
ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.alert {
    letter-spacing: normal;
}
.hidden {
    display: none;
    visibility: hidden;
}
.divider {
    padding: 5px;
}
table tr.highlighted td {
   background-color: pink !important;
}
.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;
    }
}

/* Layout, widgets etc. */
#viewport-wrapper {
    position: relative;
}
#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;
}

.navbar {
    min-width: 800px;
    // Need to subtract the bottom-border-height.
    height: @navbar-height - @navbar-bottom-border-height;
    margin: -@navbar-height 0 0 0;
    background-color: #221e1b;
    border-bottom: @navbar-bottom-border-height solid #1c1815;

    .navbar-inner {
        height: 70px;
        border-bottom: 1px solid #14100f;
        // The following are resets to override Bootstrap styles
        margin: 0;
        padding: 0;
        background: transparent;
        min-height: auto;
        border-radius: 0;
        box-shadow: none;

        .brand {
            margin: 20px 60px 0 10px;
            padding: 0;
        }
        #browser-nav {
            float: left;
            margin: 0 20px 0 0;
            padding: 0;
            list-style: none;

            ul {
              margin: 0 20px 0 0;
              padding: 0;
              list-style: none;
            }

            li {
                float: left;

                a {
                    .border-box;
                    display: block;
                    height: 70px;
                    margin-right: 30px;
                    padding: 30px 0 0 0;
                    font-size: 12pt;
                    font-weight: 300;
                    color: #f2f2e6;

                    &:hover {
                        text-decoration: none;
                    }
                    &.active {
                        border-bottom: 3px solid @charm-panel-orange;
                    }
                    i {
                        margin-right: 6px;
                    }
                }
            }
        }
        #environment-switcher {
            float: left;
            height: 47px;
            padding: 25px 0 0 10px;
        }
        .nav {
            float: right;
            margin: 0;

            li,
            li a {
                color: #fff;
            }
            & > li {
                .type13;
                height: 50px;
                margin: 0;
                padding: 16px 10px 0 20px;
                color: #fff;

                & > a.button.inverse {
                    background-color: #1f1b18;

                    &:hover {
                        background-color: #1f1b18;
                    }
                }
                #notifications,
                #notifications a,
                #notifications li {
                    color: #333;
                }
                #notifications {
                    #notify-indicator {
                        .button;
                        margin: 0 9px 0 0;
                        padding: 6px 12px;
                    }
                    #notify-list {
                        white-space: normal;
                        overflow: auto;
                    }
                }
            }
        }
    }
}
.bottom-navbar {
    min-width: 800px;
    height: 50px;
    position: relative;
    background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;

    .landscape-controls {
        position: absolute;
        top: 0;
        right: 0;
        width: 295px;
        margin-right: 10px;

        div {
            float: right;
            width: 60px;

            .landscape-icon {
                margin: 10px 0 0 16px;
            }
            .icon-divider {
                margin-top: 8px;
            }
        }

        .logo-tab {
            width: 115px!important;

            i {
                margin-top: 1px;
                margin-left: 5px;
            }
        }
    }
}
#content {
    position: relative;
    background-color: #fff;
    width: 100%;
    border-top: 1px solid #252120;
}
#main {
    overflow: hidden;
    .view-container {
        overflow-y: auto;
    }
}
.crosshatch-background {
    background: url(/juju-ui/assets/images/pattern_tile.png) repeat;
}
#canvas {
    position: relative;
}
.zoom-plane {
    fill-opacity: 0;
    cursor: move;
}
#shortcut-help {
    .create-box-shadow(-2px 4px 4px 0 rgba(0, 0, 0, 0.5));
    position: absolute;
    left: 4%;
    right: 4%;
    top: 8%;
    bottom: 10%;
    opacity: 0.85;
    z-index: 10;
    padding: 1em;
    background-color: black;
    color: white;

    .binding {
        color: green;
        text-align: center;
    }
    table {
        padding: 2em;
        margin: 2em;

        th {
            text-align: left;
        }
    }
}
#environment-help {
    color: #757575;
    text-align: center;
    /* This is absolute so that it does not push the svg down when it is
       visible.  That's important for animations hiding and showing this help,
       and if we want the help to appear when a service is present (such as the
       GUI itself). */
    position: absolute;
    overflow: hidden;
    padding: 0;
    width: 100%;
    height: 100%;
    /* pointer-events does not work in IE 10 except in SVG, so this is just a
       way to slightly improve the experience during transitions. */
    pointer-events: none;
    div.vertical-center-floater {
        height: 50%;
        margin-bottom: -250px;
        margin-top: 0;
        min-height: 225px;
    }
    div.content {
        height: 450px;
    }
    h1 {
        line-height: normal;
        margin-bottom: 1ex;
        font-weight: normal;
        font-size: 26px;
    }
    p {
        line-height: normal;
        font-size: 18px;
        width: 301px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2ex;
    }
}
.environment-menu {
    @border_radius: 20px;
    @background_color: @environment-menu-background-color;
    .create-border-radius(@border-radius);
    .create-box-shadow(0 0 2px rgba(0, 0, 0, 0.3));
    display: none;
    background-color: @background_color;
    color: @text-colour;
    top: 0;
    left: 0;
    position: absolute;

    &.active {
        display: block;
    }
    .triangle {
        position: absolute;
        top: 22px;
        width: 0px;
        height: 0px;
        border-style: solid;
    }
    &.right .triangle {
        left: -16px;
        border-width: 10px 17.3px 10px 0;
        border-color: transparent #ffffff transparent transparent;
    }
    &.left .triangle {
        right: -16px;
        border-width: 10px 0 10px 17.3px;
        border-color: transparent transparent transparent #ffffff;

    }
    .menu-title {
        margin: 10px;
    }
    .cancel {
        margin: 10px;
        float: right;
    }
    ul {
        margin: 0;
        list-style-type: none;

        li {
            background-position: 10px center;
            background-repeat: no-repeat;
            cursor: pointer;
            line-height: 32px;
            padding: 0 15px;
            white-space: nowrap;

            a {
              text-decoration: none;
              font-size: 13px;
              color: @text-colour;
            }
            &.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);
                .disabled {
                    color: red;
                }
            }
            &.destroy-service {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_destroy.png);
            }
            &.landscape-reboot {
                background-image: url(/juju-ui/assets/images/landscape_restart_menu.png);
            }
            &.landscape-security {
                background-image: url(/juju-ui/assets/images/landscape_security_menu.png);
            }
            &:last-child {
                border-bottom: none;
            }
            &:hover {
                background-color: @environment-menu-hover-background;
            }
            &.disabled {
                color: gray;
                cursor: default;

                &:hover {
                    background-color: inherit;
                }
            }
        }
    }
    &#service-menu ul li {
        padding-left: 36px;
    }

}
charms.thumbnails.li {
    height:4em;
}
.subordinate-rel-group {
    display: none;

    &.active {
        display: inline;
    }
}
.relation {
    stroke: rgb(167, 167, 167);
    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) {
    .create-border-radius(@border_radius);
    padding: 5px;
    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;

    &.pending {
        opacity: 0.8;
    }
    text {
        text-anchor: middle;
    }
    .charm-label {
        font-style: italic;
        fill: #4c4c4c;
    }
    .name {
      fill: rgb(80, 80, 80);
      font-size: 14px;
    }
   .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;

        &.active {
            font-style: italic;
            font-weight: bold;
            fill: #3333cc;
        }
    }

    .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-running {
            fill: rgb(57, 180, 74);
        }
        &.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;
    }
}

/*
 * D3 StatusBar support
 */
.statusbar {
  .label {
    fill: white;
  }

  .error {
    fill: rgb(224, 56, 45);
  }

  .pending {
    fill: rgb(236, 168, 23);
  }

  .running {
    fill: rgb(56, 180, 74);
  }
}

/*
 * Notification system
 */
#notify-list {
    white-space: nowrap;
    max-height: 500px;
    overflow-y: scroll;

    .header {
        padding: 1em 0;
    }
}
.notice {
    border-top: 1px solid #D0D0D0;
    padding: 1em;
    cursor: pointer;

    &:hover {
        background-color: #eee;
    }
    .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;
    }
}

/*
 * Notifier widget.
 */
#notifier-box {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 9999;

    .yui3-notifier-content {
        @background-color: black;
        @margin-left: 41px;
        @margin-top: 13px;
        @opacity: 0.8;
        // Using a variable here because LESS strips commas in mixin args.
        @box-shadow: 0 2px 4px lighten(@background-color, 10%),
            0 1px 2px lighten(@background-color, 20%) inset;
        .create-border-radius(@border-radius);
        .create-box-shadow(@box-shadow);
        background-color: @background-color;
        margin: 6px;
        opacity: @opacity;
        overflow: hidden;
        width: 277px;

        &:hover {
            cursor: pointer;
            opacity: @opacity - 0.1;
        }
        h3 {
            color: #FDF6E3;
            font-size: 16px;
            font-weight: normal;
            margin-top: @margin-top;
            margin-left: @margin-left;
        }
        div {
            color: #DDD7C6;
            font-size: 12px;
            line-height: 16px;
            margin-left: @margin-left;
            margin-bottom: 12px;
        }
        .sprite {
            float: left;
            margin-top: @margin-top + 5px;
            margin-left: 12px;
            opacity: 1;
        }
    }
}

/*
 * Feedback box
 */
#feedback-box {
    position: absolute;
    right: -40px;
    bottom: 100px;
    a {
        color: white;
        background-color: @charm-panel-orange;
        display: block;
        line-height: 30px;
        height: 40px;
        // width: 96px;
        font-family: @font-family-medium;
        font-weight: normal;
        font-size: 16px;
        padding-top: 0px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 0px;
        margin-right: 3px;
        -webkit-transition: all 0.15s ease-in-out;
        -moz-transition: all 0.15s ease-in-out;
        transition: all 0.15s ease-in-out;
        .rotate(-90deg);
        &:hover {
            text-decoration: none;
            background-color: #df6920;
            margin-right: 13px;
        }
    }
}

/*
 * Overview Module
 */
#overview {
    margin: 0;
    padding: 0;
    width: 100%;
}
#overview-tasks {
    height: 50px;
    position: relative;
    color: @navbar-color;

    .controls {
        position: absolute;
        top: 1px;
        left: 11px;
    }
}
.zoom-controls {
    position: absolute;
    right: -20px;
    top: 35px;
    // The following is required to override Bootstrap styles for the slider
    // thumb sprite.
    img {
        max-width: none;
    }
}
#zoom-in-btn {
    position: relative;
    top: -90px;
    left: 24px;
}
#zoom-out-btn {
    position: relative;
    top: 90px;
    left: -30px;
}

.create-picker(@width, @top, @listtop, @listbottom) {
    width: @width;

    .picker-body {
        width: @width - 15px;
    }
    .picker-expanded {
        display: none;
        top: @top;

        &.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: @listbottom;
            top: @listtop;
            left: 0px;
            height: 100%;
            background: url(/juju-ui/assets/images/view_1px.png) repeat-x;
            list-style-type: none;
            padding: 0;
            margin: 0;
            height: 54px;
            width: @width - 8px;
            cursor: pointer;

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

                li {
                    padding-left: 7px;

                    &.activetick {
                        background:
                            url(/juju-ui/assets/images/selected_tick.png)
                            no-repeat 240px 3px;
                    }
                }
            }
        }
    }
    .picker-edge {
        position: absolute;
        top: @top;
        left: 0;
    }
    .picker-body {
        position: absolute;
        top: @top;
        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: @top;
        right: 0;
    }
    &.inactive {
        .picker-edge,
        .picker-body,
        .picker-button {
            display: none;
        }
    }
}
.picker {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 24px;

    &.charm-filter-picker {
        .create-picker(270px, @top, @top, initial);
        left: 11px;
        padding-bottom: 5px;
        @top: 0px;
        top: @top;

        .picker-expanded .picker-list {
            .create-border-radius(@border-radius);
            .create-box-shadow(0 0 4px rgba(0,0,0,.51));
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            background-color: #fff;
            background: white;
            height: auto;
        }
    }
    &.zoom-picker {
        width: 56px;

        .picker-body {
            width: 36px;
        }
    }
}
#unit-status {
    .running {
        color: green;
    }
    .pending {
        color: yellow;
    }
    .error {
        color: red;
    }
}
#relations {
    #unit-status;

    form {
        margin: 0;
    }
}
.yui3-panel {
    .create-border-radius(@border-radius);
    .create-box-shadow(0 3px 7px rgba(0, 0, 0, 0.3));
    background: white;
    padding: 1.6em;
    border: solid black 2px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    font-weight: normal;
    letter-spacing: 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;
}
#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,
.juju-inspector {
    .create-box-shadow(inset 0 -1px 0 lightgray);
    .customize-scrollbar;
    display: block;
    z-index: 999;
    padding: 0;
    top: 61px;
    right: 0;
    position: absolute;
    width: @charm-panel-width;
    background-color: white;
    border: darkgray solid 1px;
    border-top: 1px solid #606060;
    border-right: none;
    margin-top: 19px;

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

        &: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 {
        .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-bottom-gradient,
                       @charm-panel-cancel-button-shadow, 0px);
        color: #515050;
        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);

        &: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;
      width: @charm-panel-width - @charm-panel-padding-left - 1px;
      float: right;
      padding-left: @charm-panel-padding-left;

      .btn {
          margin-top: 12px;
          width: 67px;
      }
    }
    .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 @charm-panel-padding-left;
    }
    .charm-panel {
        background-color: @charm-panel-background-color;
        height: 432px;
        width: @charm-panel-width - 1px;
        float: right;
        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 @charm-panel-padding-left;

            i {
                float: right;
                margin-top: 8px;
            }
            &.first {
                border-top: 1px solid @charm-panel-border-top-color;
            }
        }
        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 10px 10px @charm-panel-padding-left;
        }
        .collapsible {
            background-color: #E7E7E7;
            line-height: 16px;
            overflow: hidden;
            padding: 0px @charm-panel-padding-left;

            //XXX was this intended to be "&:last-child"?
            :last-child {
                margin-bottom: 11px;
            }
        }
        &.charm-description {
            color: #58595B;
            font-size: 12px;

            .btn.deploy {
                margin-left: 0;
            }
            .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;
            border-top: 1px solid @charm-panel-border-top-color;

            .charm-entry {
                padding: 5px @charm-panel-padding-left;

                &:nth-of-type(2) {
                    margin-bottom: 15px;
                }
            }
            .control-group {
                width: auto;
                margin-bottom: 0;
                margin-top: 1ex;
                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;

                input[type=text],
                textarea {
                    // Using a variable here because LESS strips commas in
                    // mixin args.
                    @box-shadow: 0 1px 3px #959595 inset, 0 1px 0 white;
                    .create-border-radius(@border-radius);
                    .create-box-shadow(@box-shadow);
                    color: @text-entry-color;
                    font-style: italic;
                    font-size: 12px;
                    width: 250px;
                    margin: 0;

                    // XXX: This does not seem to make sense here:
                    input[type=text] {
                        height: 15px;
                    }
                }
                input[type=checkbox] {
                    margin-left: 1ex;
                    margin-top: 0.7ex;
                }
            }
            .config-field {
                font-size: 16px;
                color: text-entry-color;
            }
            .config-file-upload {
                position: relative;
                width: 252px;
                height: 25px;
                margin-bottom: 20px;
                margin-top: 20px;
            }
            input.config-file-upload {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }
            span.config-file-upload {
                background: url(/juju-ui/assets/images/getfile_button.png) no-repeat;
                color: #4c4c4c;
                font-family: @font-family-medium;
                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;
            }
            .btn {
                 margin-top: 5px;
            }
        }
    }
    .search-result-div {
        overflow-y:auto;
        overflow-x:hidden;
        background-color: #EEEEEE;
        width: @charm-panel-width;
        float: right;
        border-top: 1px solid #989898;

        .series-charms {
            h3 {
                font-weight: normal;
                font-size: 14px;
                text-transform: capitalize;
                padding-left: @charm-panel-padding-left;
                background-color: @charm-panel-series-color;
                border-left: 1px solid #b8b7b7;
                width: @charm-panel-width - 1;
                height: 20px;
                line-height: 16px;
            }
            ul {
                margin-bottom: 0;
                border-left: 1px solid lightgrey;
            }
            .charm-entry {
                @charm-panel-text-width: 190px;
                padding-top: 0px;
                padding-left: @charm-panel-padding-left;
                border-top: 1px solid #FFFFFF;
                border-bottom: 1px solid #BDBDBD;
                height: 70px;

                /* Hack to prevent the block from spilling downward in IE10. */
                .ie10 & {
                    padding-left: 4px;
                }
                .charm-div {
                    padding-top: 11px;
                }
                &:last-child {
                    border-bottom: none;
                }
                &:nth-child(odd) {
                    background-color: #EDEDED;
                }
                &:nth-child(even) {
                    background-color: #F3F3F3;
                }
                &:hover {
                    background-color: white;
                }
                a.charm-detail {
                    display: block;
                    width: @charm-panel-text-width;
                    font-weight: normal;
                    font-size: 16px;
                    color: @charm-panel-orange;
                    line-height: 18px;
                    /* Silly margin-top needed for moz. */
                    margin-top: -0.1px;
                }
                .charm-summary {
                    padding-top: 4px;
                    margin-bottom: 4px;
                    width: @charm-panel-text-width;
                    font-size: 12px;
                    line-height: 14px;
                }
                .btn {
                    float: right;
                    opacity: 0;
                    margin-top: 11px;
                    margin-right: 13px;
                }
            }
        }
    }
}
#destroy-service {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.service-view {
    .juju-service-info-container-bottom-menu {
        height: 50px;
        position: relative;
        color: @navbar-color;
        text-align: center;

        .filter-control {
            position: absolute;
            left: 10px;
            top: 13px;
            width: 350px;
            display: inline-block;

            .filter-label {
                position: absolute;
                left: 10px;
                top: 3px;
            }

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

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

            .state-buttons {
                margin-left: 50px;

                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 {
                        .white;
                        background:url(/juju-ui/assets/images/on_middle.png) 0 0;
                    }

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

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

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

                        &.active {
                            .white;
                            background:url(/juju-ui/assets/images/on_right.png) 0 0;
                        }
                    }
                }
                span:first-child {
                    padding-right: 5px;
                }
                .white {
                    a {
                        color: white !important;
                    }
                }

                a {
                    color: @navbar-color;

                    &:link, &:visited, &:active, &: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 {
            padding: 6px 0 6px 38px;
            background: #dedede url(/juju-ui/assets/images/tab_div.png) repeat-x left bottom;
            border-top: 1px solid #b6b6b6;

            .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;
                }
            }
        }
        .controls {
            .control {
                float: right;

                .divider {
                    margin-right: 3px;
                    height: 13px;
                    width: 2px;
                }
            }
            .destroy-control {
                margin-top: -1px;

                a, a:hover, a:active, a:visited {
                    text-decoration: none;
                    color: @navbar-color;
                }
                img {
                    margin: -4px 5px 0 0;
                }
            }
            .control-expose {
                position: relative;
                margin: -2px 5px 0 0;

                div {
                    padding-right: 5px;
                }
                .on {
                    font-size: 11px; fill: #ffffff;
                    position: absolute;
                    right: 18px;
                    top: 0;
                }
                .off {
                    font-size: 12px; fill: #292929;
                    position: absolute;
                    right: 32px;
                    top: 1px;
                }
            }
        }
    }
    .service-common-controls {
        position: absolute;
        left: 355px;
        top: 10px;

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

            img {
                padding-top: 0px;
            }
            div {
                padding-left: 5px;
            }
            div:first-child {
                padding-top: 4px;
            }
            input {
                text-align: right;
                width: 5em;
            }
        }
    }
}
.service-view+.viewlet-manager {
    overflow-y: auto;
}
#tooltip {
    .create-border-radius(@border-radius);
    text-align: left;
    background-color: white;
    border: solid 1px black;
    padding: 0.2em 0.5em 0.3em;
    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 38px;
    border-left: 1px solid @charm-panel-configure-color - #333;
    background-color: @charm-panel-configure-color;
    height: 90px;
    width: @charm-panel-width - @charm-panel-padding-left - 1px;
    padding-left: @charm-panel-padding-left;

    .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;
    }
}
#full-screen-mask {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.centered-column {
    @panel-color: #f5f5f5;
    @panel-gradient: (@panel-color - #111);
    @panel-shadow: (@panel-color - #444);
    @curve-radius: ~"24px 28px";
    display: block;
    z-index: 10001;
    position: absolute;
    top: 80px;
    left: 50%;
    text-align: center;
    width: 420px;
    margin-left: -210px;

    /* This enables us to use the .centered-column
    class inside of the main application */
    &.in-main {
        top: 0;
    }
    div {
        width: 280px;
        text-align: left;
        margin: 0 auto;
        margin-bottom: 1ex;
    }
    a {
        color: @charm-panel-orange;
        &:link, &:visited, &:active, &:hover {
            text-decoration: none
        }
    }
    .panel {
        .create-button(@panel-color, @panel-gradient, @panel-shadow, -6px);
        .create-border-radius(@curve-radius);
        padding: 5px 25px 5px;
        margin-top: 3ex;
        margin-bottom: 4ex;

        input {
            width: 270px;
            margin-top: 8px;
            margin-bottom: 8px;
        }
        input[type=submit] {
            .create-button(@charm-panel-deploy-button-color,
                           @charm-panel-deploy-button-bottom-gradient,
                           @charm-panel-deploy-button-shadow, 0px);
            width: 280px;
            height: 26px;
            text-transform: uppercase;
            text-shadow: none;
            /* Needed to defeat bootstrap btn:hover 0 -15px */
            background-position: 0 0;
            color: white;

            &:active {
                .create-button(@charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-shadow, 1px);
            }
        }
        .header {
            .create-linear-gradient(@panel-gradient, @panel-shadow);
            padding: 15px 25px 10px 25px;
            margin-left: -25px;
            margin-top: -5px;
            -webkit-border-top-left-radius: @curve-radius;
            -webkit-border-top-right-radius: @curve-radius;
            -moz-border-radius-topleft: @curve-radius;
            -moz-border-radius-topright: @curve-radius;
            border-top-left-radius: @curve-radius;
            border-top-right-radius: @curve-radius;
        }
    }
    .error {
        color: red;
        font-weight: bold;
    }
    #loading-spinner {
        height: 100px;
    }
    #loading-message-text {
        font-family: @font-family-medium;
        font-size: 10pt;
    }
    #login-form {
        .header {
            font-size: 10pt;
            font-family: @font-family-medium;
        }
    }
    .header .error span {
        color: #DD4814;

        i {
            margin-right: 5px;
            float: left;
        }
        h4 {
            font-family: @font-family-medium;
            font-size: 10pt;
            line-height: 10pt;
        }
    }
    p {
        font-size: 8pt;
    }
}
.alert {
    letter-spacing: normal;
}
.yui3-slider-thumb {
  &:focus {
    outline: none;
  }
}

/* Old charm view */
/* Delete after inspector is released. */
.old-charm-view {
    overflow: auto;
}

/** Browser Setup **/
@import "browser/reset.less";
@import "browser/vars.less";

/** SubApps **/
@import "browser/main.less";

/** Widgets **/
@import "browser/browser-icon.less";
@import "browser/bws-searchbox.less";
@import "browser/charm-container.less";
@import "browser/charm-full.less";
@import "browser/charm-token.less";
@import "browser/overlay-indicator.less";
@import "browser/section-title.less";
@import "browser/tabview.less";
@import "juju-inspector.less";

/** Views **/
@import "browser/editorial.less";
@import "browser/minimized.less";
@import "browser/search.less";

/** Cookies **/
@import "cookies.less";

/* Processed with LESS from lib/views/stylesheet.less */
@font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@font-family-medium: 'Ubuntu Medium', 'Ubuntu-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
@font-family-mono: 'Ubuntu Mono', 'Ubuntu-Mono', 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;

/* Define common colors. */
@label-color: #292929;
@text-entry-color: #6d6e70;
@charm-panel-orange: #dd4814;
@charm-panel-configure-title-color: #FFFFFF;
@charm-panel-configure-name-color: #FFFFFF;
@charm-panel-deploy-button-color: @charm-panel-orange;
@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;
@charm-panel-border-top-color: #E0DEDE;
@charm-panel-series-color: #CBCBCB;
@charm-panel-configure-color: #505050;
@charm-panel-padding-left: 10px;
@charm-panel-width: 292px;
@navbar-color: #2D2D2D!important;
@navbar-height: 79px;
@navbar-bottom-border-height: 8px;
@navbar-divider-colour: #333;
@text-colour: #505050;
@border-radius: 3px;
@environment-menu-background-color: #ffffff;
@environment-menu-hover-background: #f2f2f2;

// Imports need to be after vars.
@import "typography.less";

/* Mixins */
.create-border-radius(@radius) {
    -moz-border-radius: @radius;
    -webkit-border-radius: @radius;
    border-radius: @radius;
}
.create-box-shadow(@arguments) {
    -moz-box-shadow: @arguments;
    -webkit-box-shadow: @arguments;
    box-shadow: @arguments;
}
.create-linear-gradient(@gradient-start, @gradient-end) {
    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;
}
.create-button(@gradient-start, @gradient-end, @shadow-color, @v-pos) {
    @blur: 2px;
    // Using a variable here because LESS strips commas in mixin args.
    @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;
    .create-box-shadow(@box-shadow);
    .create-border-radius(@border-radius);
    .create-linear-gradient(@gradient-start, @gradient-end);
    border: none;
}
.three-image-button-background(@left-image, @right-image, @centre-image) {
    background: url("/juju-ui/assets/images/@{left-image}")
            no-repeat left top,
            url("/juju-ui/assets/images/@{right-image}")
            no-repeat right top,
            url("/juju-ui/assets/images/@{centre-image}")
            repeat-x left top;

    &:hover {
      background-position: left center, right center, left center;
    }
    &:active {
      background-position: left bottom, right bottom, left bottom;
    }
}
.two-image-button-background(@left-image, @right-image, @background-color) {
    background: url("/juju-ui/assets/images/@{left-image}")
            no-repeat left top,
            url("/juju-ui/assets/images/@{right-image}")
            no-repeat right top;
    background-color: @background-color;
}
/*
 * Rotation transform.  Call with numerical value and units, e.g.
 * .rotate(-90deg);
 */
.rotate(@angle) {
    -webkit-transform: rotate(@angle);
    -moz-transform: rotate(@angle);
    -ms-transform: rotate(@angle);
    -o-transform: rotate(@angle);
    transform: rotate(@angle);
}
.border-box {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.button {
    .create-border-radius(@border-radius);
    .create-linear-gradient(@charm-panel-orange, #c03f11);
    color: #fff;
    text-decoration:none;
    display: inline-block;
    margin: 0;
    padding: 8px 14px;
    font-size: 12pt;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-font-smoothing: subpixel-antialiased;
    -o-font-smoothing: subpixel-antialiased;
    font-smoothing: subpixel-antialiased;

    &:hover {
        background: @charm-panel-orange;
    }
    &.inverse {
        // Using a variable here because LESS strips commas in mixin args.
        @box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        .create-box-shadow(@box-shadow);
        background:  #eeeeee;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        &:hover {
            background: #eeeeee;
        }
    }
}

/* Common classes and setup */
body {
    overflow: hidden;
    margin-top: @navbar-height;
    background-color: #302b28;
    font-family: @font-family;
    height: 100%;
    font-size: 13px;
    line-height: 18px;
}
input, button, select, textarea {
    font-family: @font-family;
    font-weight: normal;
}
button {
    cursor: pointer;
    -webkit-appearance: button;
}
svg {
    stroke-width: 0;
    overflow: hidden;
}
li {
    line-height: 18px;
}
h4 {
    font-size: 14px;
}
h4, h5, h6 {
    line-height: 18px;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    text-rendering: optimizelegibility;
}
.align-right {
    text-align: right;
}
i.sprite {
    display: inline-block;
    vertical-align: middle;
}
ul.menu li,
div.inline {
  float: left;
}
ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.alert {
    letter-spacing: normal;
}
.hidden {
    display: none;
    visibility: hidden;
}
.divider {
    padding: 5px;
}
table tr.highlighted td {
   background-color: pink !important;
}
.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;
    }
}

/* Layout, widgets etc. */
#viewport-wrapper {
    position: relative;
}
#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;
}

.navbar {
    min-width: 800px;
    // Need to subtract the bottom-border-height.
    height: @navbar-height - @navbar-bottom-border-height;
    margin: -@navbar-height 0 0 0;
    background-color: #221e1b;
    border-bottom: @navbar-bottom-border-height solid #1c1815;

    .navbar-inner {
        height: 70px;
        border-bottom: 1px solid #14100f;
        // The following are resets to override Bootstrap styles
        margin: 0;
        padding: 0;
        background: transparent;
        min-height: auto;
        border-radius: 0;
        box-shadow: none;

        .brand {
            margin: 20px 60px 0 10px;
            padding: 0;
        }
        #browser-nav {
            float: left;
            margin: 0 20px 0 0;
            padding: 0;
            list-style: none;

            ul {
              margin: 0 20px 0 0;
              padding: 0;
              list-style: none;
            }

            li {
                float: left;

                a {
                    .border-box;
                    display: block;
                    height: 70px;
                    margin-right: 30px;
                    padding: 30px 0 0 0;
                    font-size: 12pt;
                    font-weight: 300;
                    color: #f2f2e6;

                    &:hover {
                        text-decoration: none;
                    }
                    &.active {
                        border-bottom: 3px solid @charm-panel-orange;
                    }
                    i {
                        margin-right: 6px;
                    }
                }
            }
        }
        #environment-switcher {
            float: left;
            height: 47px;
            padding: 25px 0 0 10px;
        }
        .nav {
            float: right;
            margin: 0;

            li,
            li a {
                color: #fff;
            }
            & > li {
                .type13;
                height: 50px;
                margin: 0;
                padding: 16px 10px 0 20px;
                color: #fff;

                & > a.button.inverse {
                    background-color: #1f1b18;

                    &:hover {
                        background-color: #1f1b18;
                    }
                }
                #notifications,
                #notifications a,
                #notifications li {
                    color: #333;
                }
                #notifications {
                    #notify-indicator {
                        .button;
                        margin: 0 9px 0 0;
                        padding: 6px 12px;
                    }
                    #notify-list {
                        white-space: normal;
                        overflow: auto;
                    }
                }
            }
        }
    }
}
.bottom-navbar {
    min-width: 800px;
    height: 50px;
    position: relative;
    background: url(/juju-ui/assets/images/bottom_bar.png) repeat-x;

    .landscape-controls {
        position: absolute;
        top: 0;
        right: 0;
        width: 295px;
        margin-right: 10px;

        div {
            float: right;
            width: 60px;

            .landscape-icon {
                margin: 10px 0 0 16px;
            }
            .icon-divider {
                margin-top: 8px;
            }
        }

        .logo-tab {
            width: 115px!important;

            i {
                margin-top: 1px;
                margin-left: 5px;
            }
        }
    }
}
#content {
    position: relative;
    background-color: #fff;
    width: 100%;
    border-top: 1px solid #252120;
}
#main {
    overflow: hidden;
}
.crosshatch-background {
    background: url(/juju-ui/assets/images/pattern_tile.png) repeat;
}
#canvas {
    position: relative;
}
.zoom-plane {
    fill-opacity: 0;
    cursor: move;
}
#shortcut-help {
    .create-box-shadow(-2px 4px 4px 0 rgba(0, 0, 0, 0.5));
    position: absolute;
    left: 4%;
    right: 4%;
    top: 8%;
    bottom: 10%;
    opacity: 0.85;
    z-index: 10;
    padding: 1em;
    background-color: black;
    color: white;

    .binding {
        color: green;
        text-align: center;
    }
    table {
        padding: 2em;
        margin: 2em;

        th {
            text-align: left;
        }
    }
}
#environment-help {
    color: #757575;
    text-align: center;
    /* This is absolute so that it does not push the svg down when it is
       visible.  That's important for animations hiding and showing this help,
       and if we want the help to appear when a service is present (such as the
       GUI itself). */
    position: absolute;
    overflow: hidden;
    padding: 0;
    width: 100%;
    height: 100%;
    /* pointer-events does not work in IE 10 except in SVG, so this is just a
       way to slightly improve the experience during transitions. */
    pointer-events: none;
    div.vertical-center-floater {
        height: 50%;
        margin-bottom: -250px;
        margin-top: 0;
        min-height: 225px;
    }
    div.content {
        height: 450px;
    }
    h1 {
        line-height: normal;
        margin-bottom: 1ex;
        font-weight: normal;
        font-size: 26px;
    }
    p {
        line-height: normal;
        font-size: 18px;
        width: 301px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2ex;
    }
}
.environment-menu {
    @border_radius: 20px;
    @background_color: @environment-menu-background-color;
    .create-border-radius(@border-radius);
    .create-box-shadow(0 0 2px rgba(0, 0, 0, 0.3));
    display: none;
    background-color: @background_color;
    color: @text-colour;
    top: 0;
    left: 0;
    position: absolute;

    &.active {
        display: block;
    }
    .triangle {
        position: absolute;
        top: 22px;
        width: 0px;
        height: 0px;
        border-style: solid;
    }
    &.right .triangle {
        left: -16px;
        border-width: 10px 17.3px 10px 0;
        border-color: transparent #ffffff transparent transparent;
    }
    &.left .triangle {
        right: -16px;
        border-width: 10px 0 10px 17.3px;
        border-color: transparent transparent transparent #ffffff;

    }
    .menu-title {
        margin: 10px;
    }
    .cancel {
        margin: 10px;
        float: right;
    }
    ul {
        margin: 0;
        list-style-type: none;

        li {
            background-position: 10px center;
            background-repeat: no-repeat;
            cursor: pointer;
            line-height: 32px;
            padding: 0 15px;
            white-space: nowrap;

            a {
              text-decoration: none;
              font-size: 13px;
              color: @text-colour;
            }
            &.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);
                .disabled {
                    color: red;
                }
            }
            &.destroy-service {
                background-image: url(/juju-ui/assets/images/icons/icon_noshadow_destroy.png);
            }
            &.landscape-reboot {
                background-image: url(/juju-ui/assets/images/landscape_restart_menu.png);
            }
            &.landscape-security {
                background-image: url(/juju-ui/assets/images/landscape_security_menu.png);
            }
            &:last-child {
                border-bottom: none;
            }
            &:hover {
                background-color: @environment-menu-hover-background;
            }
            &.disabled {
                color: gray;
                cursor: default;

                &:hover {
                    background-color: inherit;
                }
            }
        }
    }
    &#service-menu ul li {
        padding-left: 36px;
    }

}
charms.thumbnails.li {
    height:4em;
}
.subordinate-rel-group {
    display: none;

    &.active {
        display: inline;
    }
}
.relation {
    stroke: rgb(167, 167, 167);
    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) {
    .create-border-radius(@border_radius);
    padding: 5px;
    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;

    &.pending {
        opacity: 0.8;
    }
    text {
        text-anchor: middle;
    }
    .charm-label {
        font-style: italic;
        fill: #4c4c4c;
    }
    .name {
      fill: rgb(80, 80, 80);
      font-size: 14px;
    }
   .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;

        &.active {
            font-style: italic;
            font-weight: bold;
            fill: #3333cc;
        }
    }

    .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-running {
            fill: rgb(57, 180, 74);
        }
        &.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;
    }
}

/*
 * D3 StatusBar support
 */
.statusbar {
  .label {
    fill: white;
  }

  .error {
    fill: rgb(224, 56, 45);
  }

  .pending {
    fill: rgb(236, 168, 23);
  }

  .running {
    fill: rgb(56, 180, 74);
  }
}

/*
 * Notification system
 */
#notify-list {
    white-space: nowrap;
    max-height: 500px;
    overflow-y: scroll;

    .header {
        padding: 1em 0;
    }
}
.notice {
    border-top: 1px solid #D0D0D0;
    padding: 1em;
    cursor: pointer;

    &:hover {
        background-color: #eee;
    }
    .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;
    }
}

/*
 * Notifier widget.
 */
#notifier-box {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 9999;

    .yui3-notifier-content {
        @background-color: black;
        @margin-left: 41px;
        @margin-top: 13px;
        @opacity: 0.8;
        // Using a variable here because LESS strips commas in mixin args.
        @box-shadow: 0 2px 4px lighten(@background-color, 10%),
            0 1px 2px lighten(@background-color, 20%) inset;
        .create-border-radius(@border-radius);
        .create-box-shadow(@box-shadow);
        background-color: @background-color;
        margin: 6px;
        opacity: @opacity;
        overflow: hidden;
        width: 277px;

        &:hover {
            cursor: pointer;
            opacity: @opacity - 0.1;
        }
        h3 {
            color: #FDF6E3;
            font-size: 16px;
            font-weight: normal;
            margin-top: @margin-top;
            margin-left: @margin-left;
        }
        div {
            color: #DDD7C6;
            font-size: 12px;
            line-height: 16px;
            margin-left: @margin-left;
            margin-bottom: 12px;
        }
        .sprite {
            float: left;
            margin-top: @margin-top + 5px;
            margin-left: 12px;
            opacity: 1;
        }
    }
}

/*
 * Feedback box
 */
#feedback-box {
    position: absolute;
    right: -40px;
    bottom: 100px;
    a {
        color: white;
        background-color: @charm-panel-orange;
        display: block;
        line-height: 30px;
        height: 40px;
        // width: 96px;
        font-family: @font-family-medium;
        font-weight: normal;
        font-size: 16px;
        padding-top: 0px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 0px;
        margin-right: 3px;
        -webkit-transition: all 0.15s ease-in-out;
        -moz-transition: all 0.15s ease-in-out;
        transition: all 0.15s ease-in-out;
        .rotate(-90deg);
        &:hover {
            text-decoration: none;
            background-color: #df6920;
            margin-right: 13px;
        }
    }
}

/*
 * Overview Module
 */
#overview {
    margin: 0;
    padding: 0;
    width: 100%;
}
#overview-tasks {
    height: 50px;
    position: relative;
    color: @navbar-color;

    .controls {
        position: absolute;
        top: 1px;
        left: 11px;
    }
}
.zoom-controls {
    position: absolute;
    right: -20px;
    top: 35px;
    // The following is required to override Bootstrap styles for the slider
    // thumb sprite.
    img {
        max-width: none;
    }
}
#zoom-in-btn {
    position: relative;
    top: -90px;
    left: 24px;
}
#zoom-out-btn {
    position: relative;
    top: 90px;
    left: -30px;
}

.create-picker(@width, @top, @listtop, @listbottom) {
    width: @width;

    .picker-body {
        width: @width - 15px;
    }
    .picker-expanded {
        display: none;
        top: @top;

        &.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: @listbottom;
            top: @listtop;
            left: 0px;
            height: 100%;
            background: url(/juju-ui/assets/images/view_1px.png) repeat-x;
            list-style-type: none;
            padding: 0;
            margin: 0;
            height: 54px;
            width: @width - 8px;
            cursor: pointer;

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

                li {
                    padding-left: 7px;

                    &.activetick {
                        background:
                            url(/juju-ui/assets/images/selected_tick.png)
                            no-repeat 240px 3px;
                    }
                }
            }
        }
    }
    .picker-edge {
        position: absolute;
        top: @top;
        left: 0;
    }
    .picker-body {
        position: absolute;
        top: @top;
        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: @top;
        right: 0;
    }
    &.inactive {
        .picker-edge,
        .picker-body,
        .picker-button {
            display: none;
        }
    }
}
.picker {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 24px;

    &.charm-filter-picker {
        .create-picker(270px, @top, @top, initial);
        left: 11px;
        padding-bottom: 5px;
        @top: 0px;
        top: @top;

        .picker-expanded .picker-list {
            .create-border-radius(@border-radius);
            .create-box-shadow(0 0 4px rgba(0,0,0,.51));
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            background-color: #fff;
            background: white;
            height: auto;
        }
    }
    &.zoom-picker {
        width: 56px;

        .picker-body {
            width: 36px;
        }
    }
}
#unit-status {
    .running {
        color: green;
    }
    .pending {
        color: yellow;
    }
    .error {
        color: red;
    }
}
#relations {
    #unit-status;

    form {
        margin: 0;
    }
}
.yui3-panel {
    .create-border-radius(@border-radius);
    .create-box-shadow(0 3px 7px rgba(0, 0, 0, 0.3));
    background: white;
    padding: 1.6em;
    border: solid black 2px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    font-weight: normal;
    letter-spacing: 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;
}
#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,
.juju-inspector {
    .create-box-shadow(inset 0 -1px 0 lightgray);
    .customize-scrollbar;
    display: block;
    z-index: 999;
    padding: 0;
    top: 61px;
    right: 0;
    position: absolute;
    width: @charm-panel-width;
    background-color: white;
    border: darkgray solid 1px;
    border-top: 1px solid #606060;
    border-right: none;
    margin-top: 19px;

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

        &: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 {
        .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-bottom-gradient,
                       @charm-panel-cancel-button-shadow, 0px);
        color: #515050;
        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);

        &: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;
      width: @charm-panel-width - @charm-panel-padding-left - 1px;
      float: right;
      padding-left: @charm-panel-padding-left;

      .btn {
          margin-top: 12px;
          width: 67px;
      }
    }
    .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 @charm-panel-padding-left;
    }
    .charm-panel {
        background-color: @charm-panel-background-color;
        height: 432px;
        width: @charm-panel-width - 1px;
        float: right;
        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 @charm-panel-padding-left;

            i {
                float: right;
                margin-top: 8px;
            }
            &.first {
                border-top: 1px solid @charm-panel-border-top-color;
            }
        }
        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 10px 10px @charm-panel-padding-left;
        }
        .collapsible {
            background-color: #E7E7E7;
            line-height: 16px;
            overflow: hidden;
            padding: 0px @charm-panel-padding-left;

            //XXX was this intended to be "&:last-child"?
            :last-child {
                margin-bottom: 11px;
            }
        }
        &.charm-description {
            color: #58595B;
            font-size: 12px;

            .btn.deploy {
                margin-left: 0;
            }
            .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;
            border-top: 1px solid @charm-panel-border-top-color;

            .charm-entry {
                padding: 5px @charm-panel-padding-left;

                &:nth-of-type(2) {
                    margin-bottom: 15px;
                }
            }
            .control-group {
                width: auto;
                margin-bottom: 0;
                margin-top: 1ex;
                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;

                input[type=text],
                textarea {
                    // Using a variable here because LESS strips commas in
                    // mixin args.
                    @box-shadow: 0 1px 3px #959595 inset, 0 1px 0 white;
                    .create-border-radius(@border-radius);
                    .create-box-shadow(@box-shadow);
                    color: @text-entry-color;
                    font-style: italic;
                    font-size: 12px;
                    width: 250px;
                    margin: 0;

                    // XXX: This does not seem to make sense here:
                    input[type=text] {
                        height: 15px;
                    }
                }
                input[type=checkbox] {
                    margin-left: 1ex;
                    margin-top: 0.7ex;
                }
            }
            .config-field {
                font-size: 16px;
                color: text-entry-color;
            }
            .config-file-upload {
                position: relative;
                width: 252px;
                height: 25px;
                margin-bottom: 20px;
                margin-top: 20px;
            }
            input.config-file-upload {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }
            span.config-file-upload {
                background: url(/juju-ui/assets/images/getfile_button.png) no-repeat;
                color: #4c4c4c;
                font-family: @font-family-medium;
                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;
            }
            .btn {
                 margin-top: 5px;
            }
        }
    }
    .search-result-div {
        overflow-y:auto;
        overflow-x:hidden;
        background-color: #EEEEEE;
        width: @charm-panel-width;
        float: right;
        border-top: 1px solid #989898;

        .series-charms {
            h3 {
                font-weight: normal;
                font-size: 14px;
                text-transform: capitalize;
                padding-left: @charm-panel-padding-left;
                background-color: @charm-panel-series-color;
                border-left: 1px solid #b8b7b7;
                width: @charm-panel-width - 1;
                height: 20px;
                line-height: 16px;
            }
            ul {
                margin-bottom: 0;
                border-left: 1px solid lightgrey;
            }
            .charm-entry {
                @charm-panel-text-width: 190px;
                padding-top: 0px;
                padding-left: @charm-panel-padding-left;
                border-top: 1px solid #FFFFFF;
                border-bottom: 1px solid #BDBDBD;
                height: 70px;

                /* Hack to prevent the block from spilling downward in IE10. */
                .ie10 & {
                    padding-left: 4px;
                }
                .charm-div {
                    padding-top: 11px;
                }
                &:last-child {
                    border-bottom: none;
                }
                &:nth-child(odd) {
                    background-color: #EDEDED;
                }
                &:nth-child(even) {
                    background-color: #F3F3F3;
                }
                &:hover {
                    background-color: white;
                }
                a.charm-detail {
                    display: block;
                    width: @charm-panel-text-width;
                    font-weight: normal;
                    font-size: 16px;
                    color: @charm-panel-orange;
                    line-height: 18px;
                    /* Silly margin-top needed for moz. */
                    margin-top: -0.1px;
                }
                .charm-summary {
                    padding-top: 4px;
                    margin-bottom: 4px;
                    width: @charm-panel-text-width;
                    font-size: 12px;
                    line-height: 14px;
                }
                .btn {
                    float: right;
                    opacity: 0;
                    margin-top: 11px;
                    margin-right: 13px;
                }
            }
        }
    }
}
#destroy-service {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.service-view {
    .juju-service-info-container-bottom-menu {
        height: 50px;
        position: relative;
        color: @navbar-color;
        text-align: center;

        .filter-control {
            position: absolute;
            left: 10px;
            top: 13px;
            width: 350px;
            display: inline-block;

            .filter-label {
                position: absolute;
                left: 10px;
                top: 3px;
            }

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

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

            .state-buttons {
                margin-left: 50px;

                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 {
                        .white;
                        background:url(/juju-ui/assets/images/on_middle.png) 0 0;
                    }

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

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

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

                        &.active {
                            .white;
                            background:url(/juju-ui/assets/images/on_right.png) 0 0;
                        }
                    }
                }
                span:first-child {
                    padding-right: 5px;
                }
                .white {
                    a {
                        color: white !important;
                    }
                }

                a {
                    color: @navbar-color;

                    &:link, &:visited, &:active, &: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 {
            padding: 6px 0 6px 38px;
            background: #dedede url(/juju-ui/assets/images/tab_div.png) repeat-x left bottom;
            border-top: 1px solid #b6b6b6;

            .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;
                }
            }
        }
        .controls {
            .control {
                float: right;

                .divider {
                    margin-right: 3px;
                    height: 13px;
                    width: 2px;
                }
            }
            .destroy-control {
                margin-top: -1px;

                a, a:hover, a:active, a:visited {
                    text-decoration: none;
                    color: @navbar-color;
                }
                img {
                    margin: -4px 5px 0 0;
                }
            }
            .control-expose {
                position: relative;
                margin: -2px 5px 0 0;

                div {
                    padding-right: 5px;
                }
                .on {
                    font-size: 11px; fill: #ffffff;
                    position: absolute;
                    right: 18px;
                    top: 0;
                }
                .off {
                    font-size: 12px; fill: #292929;
                    position: absolute;
                    right: 32px;
                    top: 1px;
                }
            }
        }
    }
    .service-common-controls {
        position: absolute;
        left: 355px;
        top: 10px;

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

            img {
                padding-top: 0px;
            }
            div {
                padding-left: 5px;
            }
            div:first-child {
                padding-top: 4px;
            }
            input {
                text-align: right;
                width: 5em;
            }
        }
    }
}
.service-view+.viewlet-manager {
    overflow-y: auto;
}
#tooltip {
    .create-border-radius(@border-radius);
    text-align: left;
    background-color: white;
    border: solid 1px black;
    padding: 0.2em 0.5em 0.3em;
    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 38px;
    border-left: 1px solid @charm-panel-configure-color - #333;
    background-color: @charm-panel-configure-color;
    height: 90px;
    width: @charm-panel-width - @charm-panel-padding-left - 1px;
    padding-left: @charm-panel-padding-left;

    .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;
    }
}
#full-screen-mask {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.centered-column {
    @panel-color: #f5f5f5;
    @panel-gradient: (@panel-color - #111);
    @panel-shadow: (@panel-color - #444);
    @curve-radius: ~"24px 28px";
    display: block;
    z-index: 10001;
    position: absolute;
    top: 80px;
    left: 50%;
    text-align: center;
    width: 420px;
    margin-left: -210px;

    /* This enables us to use the .centered-column
    class inside of the main application */
    &.in-main {
        top: 0;
    }
    div {
        width: 280px;
        text-align: left;
        margin: 0 auto;
        margin-bottom: 1ex;
    }
    a {
        color: @charm-panel-orange;
        &:link, &:visited, &:active, &:hover {
            text-decoration: none
        }
    }
    .panel {
        .create-button(@panel-color, @panel-gradient, @panel-shadow, -6px);
        .create-border-radius(@curve-radius);
        padding: 5px 25px 5px;
        margin-top: 3ex;
        margin-bottom: 4ex;

        input {
            width: 270px;
            margin-top: 8px;
            margin-bottom: 8px;
        }
        input[type=submit] {
            .create-button(@charm-panel-deploy-button-color,
                           @charm-panel-deploy-button-bottom-gradient,
                           @charm-panel-deploy-button-shadow, 0px);
            width: 280px;
            height: 26px;
            text-transform: uppercase;
            text-shadow: none;
            /* Needed to defeat bootstrap btn:hover 0 -15px */
            background-position: 0 0;
            color: white;

            &:active {
                .create-button(@charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-shadow, 1px);
            }
        }
        .header {
            .create-linear-gradient(@panel-gradient, @panel-shadow);
            padding: 15px 25px 10px 25px;
            margin-left: -25px;
            margin-top: -5px;
            -webkit-border-top-left-radius: @curve-radius;
            -webkit-border-top-right-radius: @curve-radius;
            -moz-border-radius-topleft: @curve-radius;
            -moz-border-radius-topright: @curve-radius;
            border-top-left-radius: @curve-radius;
            border-top-right-radius: @curve-radius;
        }
    }
    .error {
        color: red;
        font-weight: bold;
    }
    #loading-spinner {
        height: 100px;
    }
    #loading-message-text {
        font-family: @font-family-medium;
        font-size: 10pt;
    }
    #login-form {
        .header {
            font-size: 10pt;
            font-family: @font-family-medium;
        }
    }
    .header .error span {
        color: #DD4814;

        i {
            margin-right: 5px;
            float: left;
        }
        h4 {
            font-family: @font-family-medium;
            font-size: 10pt;
            line-height: 10pt;
        }
    }
    p {
        font-size: 8pt;
    }
}
.alert {
    letter-spacing: normal;
}
.yui3-slider-thumb {
  &:focus {
    outline: none;
  }
}

/* Old charm view */
/* Delete after inspector is released. */
.old-charm-view {
    overflow: auto;
}

/** Browser Setup **/
@import "browser/reset.less";
@import "browser/vars.less";

/** SubApps **/
@import "browser/main.less";

/** Widgets **/
@import "browser/browser-icon.less";
@import "browser/bws-searchbox.less";
@import "browser/charm-container.less";
@import "browser/charm-full.less";
@import "browser/charm-token.less";
@import "browser/overlay-indicator.less";
@import "browser/section-title.less";
@import "browser/tabview.less";
@import "juju-inspector.less";

/** Views **/
@import "browser/editorial.less";
@import "browser/minimized.less";
@import "browser/search.less";

/** Cookies **/
@import "cookies.less";


- add Typography to project

- add Typography to project

fatal: unable to access 'https://github.com/Dhales-Ribeiro/NoClass.git/': The requested URL returned error: 403


maj bootstrap

maj bootstrap

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/GregDesplaces/classe-1914.git/'


Update static/vendors/bootstrap/less/code.less

Signed-off-by: Bernard Ojengwa <fccb4cc00c1ba7e51bf5c2b5f77130b9fe8d917e@gmail.com>

//
// Code (inline and block)
// --------------------------------------------------

// Inline and block code styles
code,
kbd,
pre,
samp {
  font-family: @font-family-monospace;
}

// Inline code
code {
  padding: 2px 4px;
  font-size: 90%;
  color: @code-color;
  background-color: @code-bg;
  border-radius: @border-radius-base;
}

// User input typically entered via keyboard
kbd {
  padding: 2px 4px;
  font-size: 90%;
  color: @kbd-color;
  background-color: @kbd-bg;
  border-radius: @border-radius-small;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);

  kbd {
    padding: 0;
    font-size: 100%;
    font-weight: bold;
    box-shadow: none;
  }
}

// Blocks of code
pre {
  display: block;
  padding: ((@line-height-computed - 1) / 2);
  margin: 0 0 (@line-height-computed / 2);
  font-size: (@font-size-base - 1); // 14px to 13px
  line-height: @line-height-base;
  word-break: break-all;
  word-wrap: break-word;
  color: @pre-color;
  background-color: @pre-bg;
  border: 1px solid @pre-border-color;
  border-radius: @border-radius-base;

  // Account for some code outputs that place code tags in pre tags
  code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
  }
}

// Enable scrollable blocks of code
.pre-scrollable {
  max-height: @pre-scrollable-max-height;
  overflow-y: scroll;
}

error: pathspec 'static/vendors/bootstrap/less/code.less' did not match any file(s) known to git


Create variables.less

Create variables.less

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


Use LESS instead of SASS

Use LESS instead of SASS

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


Update syntax color variables

Update syntax color variables

// This file has fallback variables. It specifies all syntax variables that
// themes must implement if they include a syntax-variables.less file.

// General colors
@syntax-text-color: #333;
@syntax-background-color: #fff;
@syntax-cursor-color: #333;
@syntax-selection-color: #69c;
@syntax-invisible-character-color: #ccc;

// For find and replace markers
@syntax-result-marker-color: #444;
@syntax-result-marker-color-selected: #000;

// Gutter colors
@syntax-gutter-text-color: #333;
@syntax-gutter-text-color-selected: #000;
@syntax-gutter-background-color: #ccc;
@syntax-gutter-background-color-selected: #eee;

// For git diff info. i.e. in the gutter
@syntax-color-added: green;
@syntax-color-modified: orange;
@syntax-color-removed: red;
@syntax-color-renamed: blue;

// This file has fallback variables. It specifies the syntax variables that
// themes must implement.

// Colors

@syntax-color-added: #5293d8;
@syntax-color-modified: #f78a46;
@syntax-color-removed: #c00;


Made and added the style.less file

Made and added the style.less file

fatal: unable to access 'https://github.com/HRarnarka13/WEPO-Assignment3.git/': The requested URL returned error: 403


space for the link

space for the link

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/USGS-CIDA/gdp_web.git/'


remove duplicate media query mixins

remove duplicate media query mixins

fatal: unable to access 'https://github.com/fassake/bdd-security.git/': The requested URL returned error: 403


Fixing less variables

Fixing less variables

Fixing less variables by declaring in less files directly

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/Livefyre/livefyre-bootstrap.git/'