Update more cases of Ubuntu Medium to use Ubuntu-Medium as well

/* 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: #eee7d5;
@charm-panel-configure-name-color: #8f8f88;
@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: #2F2A27;
@charm-panel-padding-left: 10px;
@charm-panel-width: 292px;
@navbar-color: #2D2D2D!important;

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

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

.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-button(@gradient-start, @gradient-end, @shadow-color, @v-pos) {
    @blur: 2px;
    background-image: -ms-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@gradient-start), to(@gradient-end));
    background-image: -webkit-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -o-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -moz-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: linear-gradient(top, @gradient-start, @gradient-end);
    background-repeat: repeat-x;
    // 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(~"6px / 7px");
    border: none;
}

.align-right {
    text-align: right;
}

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

#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;
}

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

    .control-group {
        .warning-message {
            color: red;
            padding: 1em;
        }
    }
}

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

.bottom-navbar {
    min-width: 800px;
    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%;
}

#main {
    overflow: hidden;
}

#overview {

}

.divider {
    padding: 5px;
}

svg {
    stroke-width: 0;
    overflow: hidden;
}

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

#canvas {
    position: relative;
}

.zoom-plane {
  fill-opacity: 0;
  cursor: move;
}

#environment-help {
  color: #757575;
  text-align: center;
  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: -225px;
    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: #282421;

    display: none;
    background-color: @background_color;
    color: #fdf6e3;
    .create-border-radius(@border_radius);
    .create-box-shadow(-2px 4px 4px 0 rgba(0, 0, 0, 0.5));
    top: 0;
    left: 0;
    position: absolute;

    &.active {
        display: block;
    }

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

    .menu-title {
        margin: 10px;
    }

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

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

            a {
              text-decoration: none;
              font-size: 75%;
              color: #fdf6e3;
            }

            &.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);
            }
            &.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: lighten(@background_color, 10%);
            }
            &.disabled {
                color: gray;
                cursor: default;
                &:hover {
                    background-color: inherit;
                }
            }
        }

    }

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

}

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

    &.pending-relation {
        stroke: #faaf40;

        &.dragging {
            stroke: #fa6a40
        }
    }

    &.unused {
        visibility: hidden;
    }

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

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

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

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

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

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

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

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

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

    &.pending {
        opacity: 0.8;
    }

    text {
        text-anchor: middle;
    }

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

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

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

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

        &.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-good {
            fill: #b7b7b7;}
        &.status-error {
            fill: #c01c20;}
    }
}

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

/*
 * Notification system
 */
 #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;
        .create-border-radius(8px);
        // 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-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;
        }
    }
}

/*
 * 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;
    }
}

.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;
                        background-position: 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 {
            display: none;
        }
        .picker-body {
            display: none;
        }
        .picker-button {
            display: none;
        }
    }

}
.picker {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 24px;
    &.charm-filter-picker {
        left: 11px;
        padding-bottom: 5px;
        @top: 0px;
        top: @top;
        .create-picker(270px, @top, @top, initial);
        .picker-expanded .picker-list {
            .create-border-radius(4px);
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            .create-box-shadow(0 0 4px rgba(0,0,0,.51));
            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 {
    background: white;
    padding: 1.6em;
    border: solid black 2px;
    .create-border-radius(6px);
    .create-box-shadow(0 3px 7px rgba(0, 0, 0, 0.3));
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    font-weight: normal;
    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;
}

.hidden {
    visibility: hidden;
}

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

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

#juju-search-charm-panel {
    .customize-scrollbar;
    display: block;
    z-index: 999;
    padding: 0;
    top: 70px;
    right: 0;
    height: 100px;
    position: absolute;
    width: @charm-panel-width;
    background-color: white;
    border-left: darkgray solid 1px;
    .create-box-shadow(inset 1px 0 0 lightgray);
    border-bottom: darkgray solid 1px;
    .create-box-shadow(inset 0 -1px 0 lightgray);

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

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

    .charm-description btn.deploy {
       float: right;
    }
    .btn.cancel {
        color: white;
        text-shadow: none;
        margin-top: 5px;
        background-repeat: no-repeat;
        background-color: transparent;
        vertical-align: middle;
        background-position: 0 0;     /* Needed to defeat bootstrap btn:hover 0 -15px*/
        background-image: url(/juju-ui/assets/images/cancel-button.png);
        .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-bottom-gradient,
                       @charm-panel-cancel-button-shadow, 0px);
        &:active {
            .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-color,
                           @charm-panel-cancel-button-shadow, 1px);
        }
    }
    .charm-panel-configure-buttons {
      background-color: #FFFFFF;
      border-bottom: 1px solid @charm-panel-border-color;
      height: 52px;
      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;
            :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 {
                    color: @text-entry-color;
                    font-style: italic;
                    font-size: 12px;
                    width: 250px;
                    margin: 0;
                    .create-border-radius(6px);
                    // Using a variable here because LESS strips commas in
                    // mixin args.
                    @box-shadow: 0 1px 3px #959595 inset, 0 1px 0 white;
                    .create-box-shadow(@box-shadow);
		    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;
            }
            .config-file-upload-widget {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }
            .config-file-upload-overlay {
                background: url(/juju-ui/assets/images/getfile_button.png) no-repeat;
                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 {
                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;
                }
                @charm-panel-text-width: 190px;
                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;
                }
            }
        }
    }
}

table tr.highlighted td {
   background-color: pink !important;
}

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

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

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

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

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

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

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

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

    }

    .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;
            }
        }

    }
}

ul.menu li,
div.inline {
  float: left;
}
ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.charm-panel-configure {
  background-image: url(/juju-ui/assets/images/configure-cog.png);
  background-repeat: no-repeat;
  background-position: 230px 38px;
  border-top: 2px solid #dd4814;
  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 {
    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-color: #f5f5f5;
    @panel-gradient: (@panel-color - #111);
    @panel-shadow: (@panel-color - #444);
    @curve-radius: ~"24px 28px";

    .panel {
        input {
            width: 270px;
            margin-top: 8px;
            margin-bottom: 8px;
        }
        input[type=submit] {
            width: 280px;
            height: 26px;
            text-transform: uppercase;
            text-shadow: none;
            /* Needed to defeat bootstrap btn:hover 0 -15px */
            background-position: 0 0;
            .create-button(@charm-panel-deploy-button-color,
                           @charm-panel-deploy-button-bottom-gradient,
                           @charm-panel-deploy-button-shadow, 0px);
            &:active {
                .create-button(@charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-shadow, 1px);
            }
            color: white;
        }
        padding: 5px 25px 5px;
        margin-top: 3ex;
        margin-bottom: 4ex;
        .create-button(@panel-color, @panel-gradient, @panel-shadow, -6px);
        .create-border-radius(@curve-radius);

        .header {
            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;
            @gradient-start: @panel-gradient;
            @gradient-end: @panel-shadow;
            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;
        }
    }
    .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;
}

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

/** Widgets **/
@import "browser/browser-icon.less";
@import "browser/charm-container.less";
@import "browser/charm-full.less";
@import "browser/charm-token.less";
@import "browser/content-sidebar.less";
@import "browser/editorial.less";
@import "browser/minimized.less";
@import "browser/overlay-indicator.less";
@import "browser/section-title.less";
@import "browser/tabview.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: #eee7d5;
@charm-panel-configure-name-color: #8f8f88;
@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: #2F2A27;
@charm-panel-padding-left: 10px;
@charm-panel-width: 292px;
@navbar-color: #2D2D2D!important;

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

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

.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-button(@gradient-start, @gradient-end, @shadow-color, @v-pos) {
    @blur: 2px;
    background-image: -ms-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@gradient-start), to(@gradient-end));
    background-image: -webkit-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -o-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: -moz-linear-gradient(top, @gradient-start, @gradient-end);
    background-image: linear-gradient(top, @gradient-start, @gradient-end);
    background-repeat: repeat-x;
    // 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(~"6px / 7px");
    border: none;
}

.align-right {
    text-align: right;
}

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

#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;
}

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

    .control-group {
        .warning-message {
            color: red;
            padding: 1em;
        }
    }
}

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

.bottom-navbar {
    min-width: 800px;
    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%;
}

#main {
    overflow: hidden;
}

#overview {

}

.divider {
    padding: 5px;
}

svg {
    stroke-width: 0;
    overflow: hidden;
}

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

#canvas {
    position: relative;
}

.zoom-plane {
  fill-opacity: 0;
  cursor: move;
}

#environment-help {
  color: #757575;
  text-align: center;
  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: -225px;
    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: #282421;

    display: none;
    background-color: @background_color;
    color: #fdf6e3;
    .create-border-radius(@border_radius);
    .create-box-shadow(-2px 4px 4px 0 rgba(0, 0, 0, 0.5));
    top: 0;
    left: 0;
    position: absolute;

    &.active {
        display: block;
    }

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

    .menu-title {
        margin: 10px;
    }

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

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

            a {
              text-decoration: none;
              font-size: 75%;
              color: #fdf6e3;
            }

            &.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);
            }
            &.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: lighten(@background_color, 10%);
            }
            &.disabled {
                color: gray;
                cursor: default;
                &:hover {
                    background-color: inherit;
                }
            }
        }

    }

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

}

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

    &.pending-relation {
        stroke: #faaf40;

        &.dragging {
            stroke: #fa6a40
        }
    }

    &.unused {
        visibility: hidden;
    }

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

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

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

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

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

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

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

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

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

    &.pending {
        opacity: 0.8;
    }

    text {
        text-anchor: middle;
    }

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

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

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

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

        &.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-good {
            fill: #b7b7b7;}
        &.status-error {
            fill: #c01c20;}
    }
}

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

/*
 * Notification system
 */
 #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;
        .create-border-radius(8px);
        // 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-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;
        }
    }
}

/*
 * 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;
    }
}

.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;
                        background-position: 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 {
            display: none;
        }
        .picker-body {
            display: none;
        }
        .picker-button {
            display: none;
        }
    }

}
.picker {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 24px;
    &.charm-filter-picker {
        left: 11px;
        padding-bottom: 5px;
        @top: 0px;
        top: @top;
        .create-picker(270px, @top, @top, initial);
        .picker-expanded .picker-list {
            .create-border-radius(4px);
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            .create-box-shadow(0 0 4px rgba(0,0,0,.51));
            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 {
    background: white;
    padding: 1.6em;
    border: solid black 2px;
    .create-border-radius(6px);
    .create-box-shadow(0 3px 7px rgba(0, 0, 0, 0.3));
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    font-weight: normal;
    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;
}

.hidden {
    visibility: hidden;
}

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

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

#juju-search-charm-panel {
    .customize-scrollbar;
    display: block;
    z-index: 999;
    padding: 0;
    top: 70px;
    right: 0;
    height: 100px;
    position: absolute;
    width: @charm-panel-width;
    background-color: white;
    border-left: darkgray solid 1px;
    .create-box-shadow(inset 1px 0 0 lightgray);
    border-bottom: darkgray solid 1px;
    .create-box-shadow(inset 0 -1px 0 lightgray);

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

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

    .charm-description btn.deploy {
       float: right;
    }
    .btn.cancel {
        color: white;
        text-shadow: none;
        margin-top: 5px;
        background-repeat: no-repeat;
        background-color: transparent;
        vertical-align: middle;
        background-position: 0 0;     /* Needed to defeat bootstrap btn:hover 0 -15px*/
        background-image: url(/juju-ui/assets/images/cancel-button.png);
        .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-bottom-gradient,
                       @charm-panel-cancel-button-shadow, 0px);
        &:active {
            .create-button(@charm-panel-cancel-button-color, @charm-panel-cancel-button-color,
                           @charm-panel-cancel-button-shadow, 1px);
        }
    }
    .charm-panel-configure-buttons {
      background-color: #FFFFFF;
      border-bottom: 1px solid @charm-panel-border-color;
      height: 52px;
      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;
            :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 {
                    color: @text-entry-color;
                    font-style: italic;
                    font-size: 12px;
                    width: 250px;
                    margin: 0;
                    .create-border-radius(6px);
                    // Using a variable here because LESS strips commas in
                    // mixin args.
                    @box-shadow: 0 1px 3px #959595 inset, 0 1px 0 white;
                    .create-box-shadow(@box-shadow);
		    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;
            }
            .config-file-upload-widget {
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
                z-index: 0;
            }
            .config-file-upload-overlay {
                background: url(/juju-ui/assets/images/getfile_button.png) no-repeat;
                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 {
                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;
                }
                @charm-panel-text-width: 190px;
                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;
                }
            }
        }
    }
}

table tr.highlighted td {
   background-color: pink !important;
}

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

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

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

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

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

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

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

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

    }

    .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;
            }
        }

    }
}

ul.menu li,
div.inline {
  float: left;
}
ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.charm-panel-configure {
  background-image: url(/juju-ui/assets/images/configure-cog.png);
  background-repeat: no-repeat;
  background-position: 230px 38px;
  border-top: 2px solid #dd4814;
  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 {
    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-color: #f5f5f5;
    @panel-gradient: (@panel-color - #111);
    @panel-shadow: (@panel-color - #444);
    @curve-radius: ~"24px 28px";

    .panel {
        input {
            width: 270px;
            margin-top: 8px;
            margin-bottom: 8px;
        }
        input[type=submit] {
            width: 280px;
            height: 26px;
            text-transform: uppercase;
            text-shadow: none;
            /* Needed to defeat bootstrap btn:hover 0 -15px */
            background-position: 0 0;
            .create-button(@charm-panel-deploy-button-color,
                           @charm-panel-deploy-button-bottom-gradient,
                           @charm-panel-deploy-button-shadow, 0px);
            &:active {
                .create-button(@charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-color,
                               @charm-panel-deploy-button-shadow, 1px);
            }
            color: white;
        }
        padding: 5px 25px 5px;
        margin-top: 3ex;
        margin-bottom: 4ex;
        .create-button(@panel-color, @panel-gradient, @panel-shadow, -6px);
        .create-border-radius(@curve-radius);

        .header {
            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;
            @gradient-start: @panel-gradient;
            @gradient-end: @panel-shadow;
            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;
        }
    }
    .error {
        color: red;
        font-weight: bold;
    }

    #loading-spinner {
        height: 100px;
    }

    #loading-message-text {
        font-family: Ubuntu Medium, Helvetica, Arial;
        font-size: 10pt;
    }

    #login-form {
        .header {
            font-size: 10pt;
            font-family: Ubuntu Medium, Helvetica, Arial;
        }
    }

    .header .error span {
        color: #DD4814;
        i {
            margin-right: 5px;
            float: left;
        }
        h4 {
            font-family: Ubuntu Medium, Helvetica, Arial;
            font-size: 10pt;
            line-height: 10pt;
        }
    }

   p {
        font-size: 8pt;
    }
}

.alert {
    letter-spacing: normal;
}

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

/** Widgets **/
@import "browser/browser-icon.less";
@import "browser/charm-container.less";
@import "browser/charm-full.less";
@import "browser/charm-token.less";
@import "browser/content-sidebar.less";
@import "browser/editorial.less";
@import "browser/minimized.less";
@import "browser/overlay-indicator.less";
@import "browser/section-title.less";
@import "browser/tabview.less";


Made content full width.

Made content full width.

fatal: unable to access 'https://github.com/bac/juju-gui.git/': The requested URL returned error: 403


Create range.less

Create range.less

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


added the .mini-gutter style

added the .mini-gutter style

fatal: unable to access 'https://github.com/dedalozzo/pit-bootstrap.git/': The requested URL returned error: 403


changed fixed-header-layout to full-height-layout and add footer settings

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/Julienedies/est.git/'


back button resizing (bug 789984)

back button resizing (bug 789984)

// styles for the global site header only.
@import 'lib';

// compensate for fixed header.
#page {
    padding-top: 50px;
}

// if there is a page title we want in the header, give it the id of #top
#top {
    .dark-text-shadow;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 50px;
    margin: 0 35px;
    max-width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

#top {
    margin: 0 auto;
    text-align: center;
}

.home #top {
    text-align: center;
    max-width: 300px;
    width: 240px;
    &:before {
        background: url(../../img/mkt/logos/small.png) no-repeat;
        content: "";
        height: 27px;
        width: 35px;
        display: inline-block;
        position: relative;
        top: 5px;
    }
}

#search {
    color: #fff;
    display: none;
}

#site-header, .classic-header {
    > section {
        position: relative;
    }
    .gradient-two-color(#566773, #3e4e59);
    .box-shadow(~'0 -1px 0 rgba(0,0,0,.15) inset, 0 0 3px 3px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.1) inset');
    height: 50px;
    line-height: 50px;
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    h1 {
        display: none;
    }
    nav,
    > section {
        position: relative;
    }
    .pressed() {
        background-image: -moz-linear-gradient(top, fade(#000, 0%), fade(#000, 25%) 25%, fade(#000, 25%) 75%, fade(#000, 0%) 100%);
    }
}

.header-button {
    width: 50px;
    height: 50px;
    color: #fff;
    position: relative;
    z-index: 11;
    text-align: center;
    &:after {
        content: '';
        z-index: 11;
        position: absolute;
        height: 34px;
        width: 2px;
        background: url(../../img/mkt/divider.png) no-repeat;
        margin-top: 7px;
    }
    &.right {
        float: right;
        &:after {
            left: -1px;
        }
    }
    &.left {
        float: left;
        &:after {
            right: -1px;
        }
    }

    &.filter {
        width: 54px;
    }

    // icons for header buttons
    &.icon {
        text-indent: -1000%;
    }
    &.icon:before {
        content: '';
        width: 24px;
        height: 24px;
        background: url(../../img/mkt/header-icons.png) 0 24px no-repeat;
        display: block;
        position: absolute;
        top: 13px;
        left: 13px;
    }
    &.settings:before {
        background-position: 0 0;
    }
    &.cancel:before {
        background-position: 0 -24px;
    }
    &.search:before {
        background-position: 0 -48px;
    }
    &.back {
        width: 20px;
        #site-header > .pressed;
        &:before {
            background-position: 0 -72px;
            width: 12px;
            left: 4px;
        }
        &:hover {
            background-image: -moz-linear-gradient(top, fade(#000, 0%), fade(#000, 35%) 25%, fade(#000, 35%) 75%, fade(#000, 0%) 100%);
        }
        &:focus {
            .depressed;
        }
    }
    &.home {
        width: 29px;
        &:before {
            width: 18px;
            left: 5px;
            background-position: 0 -96px;
        }
    }

    &.expand {
        width: 78px;
        &:after {
            content: none;
        }
    }
    &.expand:before {
        width: 54px;
        height: 24px;
        background: url(../../img/mkt/expand-toggle.png) 0 0 no-repeat;
    }
    &.expand.active:before {
        background-position: 0 -24px;
    }
}

.nav-overlay.show {
    background: transparent;
}

/* Content header (breadcrumbs, heading, subnav) - used on Account Settings, etc. */

#page .account header.c {
    margin-bottom: 10px;
    h1 {
        float: left;
    }
    .sub-nav {
        float: right;
    }
    .sub-nav {
        .border-radius(15px);
        .box-shadow(0 1px 0 @barely-gray);
        list-style: none;
        margin: 0;
        padding: 0;
        li {
            background-clip: padding-box;
            float: left;
            a {
                .gradient-two-color(@white, rgba(238,238,238,.8));
                border: 1px solid @note-gray;
                border-right: 0;
                color: @medium-gray;
                display: inline-block;
                font-size: 13px;
                line-height: 15px;
                padding: 5px 15px;
                text-decoration: none;
                text-shadow: 0 1px 0 rgba(255,255,255,.8);
                &:hover {
                    .gradient-two-color(@barely-gray, darken(@barely-gray, 15%));
                    color: @dark-gray;
                    text-shadow: 0 1px 0 rgba(255,255,255,.8);
                }
                &:active {
                    .box-shadow(0 1px 2px rgba(0,0,0,.1) inset);
                    background: @faint-gray;
                    border-color: @note-gray;
                }
            }
            &.selected {
                a, a:hover {
                    .box-shadow(0 1px 0 rgba(0,0,0,.2) inset);
                    .gradient-two-color(@medium-gray, fadeOut(@medium-gray, 75%));
                    border-color: @medium-gray;
                    color: @white;
                    text-shadow: 0 1px 0 rgba(0,0,0,.2);
                }
            }
            &:first-child a {
                .border-radius(15px 0 0 15px);
            }
            &:last-child a {
                .border-radius(0 15px 15px 0);
                border-right: 1px solid @note-gray;
            }
            &:only-child a {
                .border-radius(15px);
            }
        }
    }
}

@drk-hding-start: darken(#394C58, 10%);
@drk-hding-end: darken(#60747F, 10%);

// styles for the global site header only.
@import 'lib';

// compensate for fixed header.
#page {
    padding-top: 50px;
}

// if there is a page title we want in the header, give it the id of #top
#top {
    .dark-text-shadow;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 50px;
    margin: 0 35px;
    max-width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

#top {
    margin: 0 auto;
    text-align: center;
}

.home #top {
    text-align: center;
    max-width: 300px;
    width: 240px;
    &:before {
        background: url(../../img/mkt/logos/small.png) no-repeat;
        content: "";
        height: 27px;
        width: 35px;
        display: inline-block;
        position: relative;
        top: 5px;
    }
}

#search {
    color: #fff;
    display: none;
}

#site-header, .classic-header {
    > section {
        position: relative;
    }
    .gradient-two-color(#566773, #3e4e59);
    .box-shadow(~'0 -1px 0 rgba(0,0,0,.15) inset, 0 0 3px 3px rgba(0,0,0,.3), 0 1px 0 rgba(255,255,255,.1) inset');
    height: 50px;
    line-height: 50px;
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    h1 {
        display: none;
    }
    nav,
    > section {
        position: relative;
    }
    .pressed() {
        background-image: -moz-linear-gradient(top, fade(#000, 0%), fade(#000, 25%) 25%, fade(#000, 25%) 75%, fade(#000, 0%) 100%);
    }
}

.header-button {
    width: 50px;
    height: 50px;
    color: #fff;
    position: relative;
    z-index: 11;
    text-align: center;
    &:after {
        content: '';
        z-index: 11;
        position: absolute;
        height: 34px;
        width: 2px;
        background: url(../../img/mkt/divider.png) no-repeat;
        margin-top: 7px;
    }
    &.right {
        float: right;
        &:after {
            left: -1px;
        }
    }
    &.left {
        float: left;
        &:after {
            right: -1px;
        }
    }

    &.filter {
        width: 54px;
    }

    // icons for header buttons
    &.icon {
        text-indent: -1000%;
    }
    &.icon:before {
        content: '';
        width: 24px;
        height: 24px;
        background: url(../../img/mkt/header-icons.png) 0 24px no-repeat;
        display: block;
        position: absolute;
        top: 13px;
        left: 13px;
    }
    &.settings:before {
        background-position: 0 0;
    }
    &.cancel:before {
        background-position: 0 -24px;
    }
    &.search:before {
        background-position: 0 -48px;
    }
    &.back {
        #site-header > .pressed;
        &:before {
            background-position: 0 -72px;
            width: 12px;
            left: 17px;
        }
        &:hover {
            background-image: -moz-linear-gradient(top, fade(#000, 0%), fade(#000, 35%) 25%, fade(#000, 35%) 75%, fade(#000, 0%) 100%);
        }
        &:focus {
            .depressed;
        }
    }
    &.home {
        width: 29px;
        &:before {
            width: 18px;
            left: 5px;
            background-position: 0 -96px;
        }
    }

    &.expand {
        width: 78px;
        &:after {
            content: none;
        }
    }
    &.expand:before {
        width: 54px;
        height: 24px;
        background: url(../../img/mkt/expand-toggle.png) 0 0 no-repeat;
    }
    &.expand.active:before {
        background-position: 0 -24px;
    }
}

.nav-overlay.show {
    background: transparent;
}

/* Content header (breadcrumbs, heading, subnav) - used on Account Settings, etc. */

#page .account header.c {
    margin-bottom: 10px;
    h1 {
        float: left;
    }
    .sub-nav {
        float: right;
    }
    .sub-nav {
        .border-radius(15px);
        .box-shadow(0 1px 0 @barely-gray);
        list-style: none;
        margin: 0;
        padding: 0;
        li {
            background-clip: padding-box;
            float: left;
            a {
                .gradient-two-color(@white, rgba(238,238,238,.8));
                border: 1px solid @note-gray;
                border-right: 0;
                color: @medium-gray;
                display: inline-block;
                font-size: 13px;
                line-height: 15px;
                padding: 5px 15px;
                text-decoration: none;
                text-shadow: 0 1px 0 rgba(255,255,255,.8);
                &:hover {
                    .gradient-two-color(@barely-gray, darken(@barely-gray, 15%));
                    color: @dark-gray;
                    text-shadow: 0 1px 0 rgba(255,255,255,.8);
                }
                &:active {
                    .box-shadow(0 1px 2px rgba(0,0,0,.1) inset);
                    background: @faint-gray;
                    border-color: @note-gray;
                }
            }
            &.selected {
                a, a:hover {
                    .box-shadow(0 1px 0 rgba(0,0,0,.2) inset);
                    .gradient-two-color(@medium-gray, fadeOut(@medium-gray, 75%));
                    border-color: @medium-gray;
                    color: @white;
                    text-shadow: 0 1px 0 rgba(0,0,0,.2);
                }
            }
            &:first-child a {
                .border-radius(15px 0 0 15px);
            }
            &:last-child a {
                .border-radius(0 15px 15px 0);
                border-right: 1px solid @note-gray;
            }
            &:only-child a {
                .border-radius(15px);
            }
        }
    }
}

@drk-hding-start: darken(#394C58, 10%);
@drk-hding-end: darken(#60747F, 10%);


fixed a bug because last-child didn't work since I added a span to the html