modern theme, first draft

modern theme, first draft

// Colors
// -------------------------

@gray-lighter: #f0f0f0;
@gray-light: #e0e0e0;
@gray: #737373;
@gray-dark: #404040;

@brand-primary: #3372df;
@brand-success: #0f9d58;
@brand-warning: #f4b400;
@brand-danger: #cb4437;
@brand-info: #5bc0dd;

// Typography
// -------------------------

@text-color: @gray-dark;
@headings-font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
@text-muted: @gray;
@link-color: @brand-primary;

// Buttons
// -------------------------

@btn-default-border: #e6e6e6;
@btn-default-color: #3372df;
@btn-primary-border: darken(@brand-primary, 8%);
@btn-success-border: darken(@brand-success, 8%);
@btn-warning-border: darken(@brand-warning, 8%);
@btn-danger-border: darken(@brand-danger, 8%);
@btn-info-border: darken(@brand-info, 8%);

.btn {
  font-size: 16px;
  border-radius: 0;
  padding: 12px 32px;

  &:focus {
    outline: none;
  }

}

.btn-default,
.btn-primary,
.btn-success,
.btn-warning,
.btn-danger,
.btn-info {
  &:hover {
    color: #fff;
    background-color: #4d4d4d;
  }
}

.btn-social {
  padding: 12px 64px;

  :first-child {
    width: 48px;
    line-height: 48px;
  }
}

.btn-link {
  text-decoration: underline;

  &:hover {
    color: #3372df;
    text-decoration: none;
  }
}

// Forms
// -------------------------

@input-border-radius: 0;
@input-border-focus: #2598f9;

.form-control:focus {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}

// Form states and alerts
// -------------------------

@state-success-text: #569845;
@state-success-bg: #dbf5d3;
@state-success-border: #aed3a5;

@state-info-text: #3a87ad;
@state-info-bg: #d9edf7;
@state-info-border: #98cce7;

@state-warning-text: #bf9853;
@state-warning-bg: #fdf8e2;
@state-warning-border: #f2daab;

@state-danger-text: #b94a48;
@state-danger-bg: #f2dede;
@state-danger-border: #e0b1b8;

// Alerts
// -------------------------

.alert {
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
}

// Navbar
// -------------------------

@navbar-default-bg: #4285f4;
@navbar-default-link-color: #fff;
@navbar-default-link-hover-color: #fff;
@navbar-default-link-active-color: #fff;
@navbar-default-link-hover-bg: rgba(255,255,255,0.2);
@navbar-default-link-active-bg: rgba(255,255,255,0.2);
@navbar-default-color: #fff;
@navbar-default-brand-hover-color: #fff;
@navbar-default-toggle-icon-bar-bg: #fff;
@navbar-default-toggle-hover-bg: rgba(255,255,255,0.2);

.navbar-default {
  border: 0;

  .navbar-brand {
    font-weight: 300;
  }

  .navbar-nav {
    > li > a {
      font-size: 16px;
      font-weight: 300;
      transition: background-color 0.2s ease-out;
    }
  }
}

error: pathspec 'public/css/themes/modern.less' did not match any file(s) known to git


add less folder

add less folder

@fontSize_L : 36px;
@fontSize_M : 24px;
@fontSize_S : 14px;

@height_L : @fontSize_L + 6px;
@height_M : @fontSize_M + 4px;
@height_S : @fontSize_S + 2px;

@width_L : @fontSize_L + 6px;
@width_M : @fontSize_M + 4px;
@width_S : @fontSize_S + 2px;

@margin_words_L : 14px;
@margin_words_M : 10px;
@margin_words_S : 6px;

@margin_chars_L : 5px;
@margin_chars_M : 3px;
@margin_chars_S : 1px;

.noise__wrapper {
    &-L {
        height: @height_L;
    }
    &-M {
        height: @height_M;
    }
    &-S {
        height: @height_S;
    }
}

.noise {
    display: block;
}

.noise {
    &-L {
        height: @height_L;
        .noise
    }
    &-M {
        height: @height_M;
        .noise
    }
    &-S {
        height: @height_S;
        .noise
    }
}

.noise__word {
    white-space: nowrap;
}

.noise__word {
    &-L {
        margin-left: @margin_words_L;
        margin-right: @margin_words_L;
        .noise__word;
    }
    &-M {
        margin-left: @margin_words_M;
        margin-right: @margin_words_M;
        .noise__word;
    }
    &-S {
        margin-left: @margin_words_S;
        margin-right: @margin_words_S;
        .noise__word;
    }
}

.noise__char {
    font-family: Ubuntu,sans-serif;
    text-align: center;
    text-transform:uppercase;
    display: inline-block;
}

.noise__char {
    &-L {
        margin-left: @margin_chars_L;
        margin-right: @margin_chars_L;
        font-size: @fontSize_L;
        width: @width_L;
        .noise__char;
    }
    &-M {
        margin-left: @margin_chars_M;
        margin-right: @margin_chars_M;
        font-size: @fontSize_M;
        width: @width_M;
        .noise__char;
    }
    &-S {
        margin-left: @margin_chars_S;
        margin-right: @margin_chars_S;
        font-size: @fontSize_S;
        width: @width_S;
        .noise__char;
    }
}

.noise__red {
    color: red;
    z-index: 3;
    position: relative;
}

.noise__red {
    &-L {
        top: -@height_L;
        .noise__red;
    }
    &-M {
        top: -@height_M;
        .noise__red;
    }
    &-S {
        top: -@height_S;
        .noise__red;
    }
}

.noise__green {
/*     color: #0f0; */
    color: #00FF00;
    z-index: 2;
    position: relative;
}

.noise__green {
    &-L {
        top: -@height_L*2;
        .noise__green;
    }
    &-M {
        top: -@height_M*2;
        .noise__green;
    }
    &-S {
        top: -@height_S*2;
        .noise__green;
    }
}

.noise__blue {
/*     color: #00f; */
    color: #0000FF;
    z-index: 1;
    position: relative;
}

.noise__blue {
    &-L {
        top: -@height_L*3;
        .noise__blue;
    }
    &-M {
        top: -@height_M*3;
        .noise__blue;
    }
    &-S {
        top: -@height_S*3;
        .noise__blue;
    }
}

.noise__main {
    color: white;
    z-index: 4;
    position: relative;
}

.noise__main {
    &-L {
        .noise__main;
    }
    &-M {
        .noise__main;
    }
    &-S {
        .noise__main;
    }
}

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


Added color scheme.

Added color scheme.

@color-a: #c0362c;
@color-b: #ff8642;
@color-c: #f4dc85;
@color-d: #816c5b;
@color-e: #c3b7ac;
@color-f: #e7e3d7;
@color-g: #668d3c;
@color-h: #b1dda1;
@color-i: #e5f3cf;
@color-j: #0097ac;
@color-k: #3cd6e6;
@color-l: #97eaf4;
@color-m: #007996;
@color-n: #06c2f4;
@color-o: #fad8fa;

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


Adjusting underline effect

Adjusting underline effect

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


Resized inspector charm icon.

Resized inspector charm icon.

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

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

    .customize-scrollbar;

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

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

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

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

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

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

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

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

        h1, h2, h3, h4, h5, h6 {
            padding-left: 1em;
        }

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

        .toggle {
            font-size: 12px;

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

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

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

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

                &.cancel {
                    background-color: #A3A3A3;
                    margin-left: @inspector-main-padding;
                }

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

        .unit-scaling {
            width: 255px;

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

                .constraint-details {
                    display: block;
                }
                .inspector-buttons {
                    padding-bottom: 10px;

                    a {
                        display: inline-block;
                        float: none;
                    }
                }
            }
            .unit-constraints-confirm.closed {
                height: 0;
            }
            .unit-constraints-confirm.editing {
                height: 300px;
            }
        }

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

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

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

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

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

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

        .config-file {
            padding: 10px @inspector-main-padding;

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

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

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

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

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

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

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

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

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

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

        .content {
            margin: 1em;
        }

        .header-slot {
            header {
                border-bottom: 1px solid #1C1817;
                padding: @inspector-main-padding;
                margin-bottom: 6px;

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

                    .service-name {
                        font-size: 20px;
                        font-weight: 300;
                        line-height: 1.2;
                    }
                    input.service-name {
                        width: 125px;
                    }
                    .icon {
                        margin-right: 1em;
                        vertical-align: top;

                        img {
                            /* bootstrap sets this to middle */
                            vertical-align: baseline;
                            margin-top: 5px;
                        }
                    }
                    .icon,
                    .icon img {
                        /* Required for sizing images in IE10 */
                        width: 30px;
                        height: 30px;

                    }
                    .details-wrapper {
                        width: 175px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                    .charm-url {
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 1.3;
                        cursor: pointer;
                        text-decoration: underline;
                    }
                    .close {
                        /* required to overwrite bootstrap styles */
                        text-shadow: none;
                        color: #cbcbcb;
                        font-weight: normal;
                        opacity: 1;
                        font-size: 30px;
                        /* not overwriting */
                        vertical-align: top;
                    }
                    div {
                        display: inline-block;
                    }
                }
            }
        }

        .viewlet-manager-navigation {
            margin: 0;
            padding-left: 65px;

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

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

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

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

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

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

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

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

            &.settings-config {
                margin-bottom: 45px;
            }
            h2 {
                font-size: 18px;
                padding-left: 0;
            }
            .settings-wrapper {
                position: relative;
                padding: 0 @inspector-main-padding;

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

                label {
                   margin: 0;
                }
            }

        }

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

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

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

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

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

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

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

        .overview-unit-list {
            margin: 0;

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

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

                ul {
                    background: white;
                }

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

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

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

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

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

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

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

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

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

                    .upgrade-link {
                        float: right;
                        color: @confirm-button-color;
                    }
                }

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

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

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

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

    }

}

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

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

    .customize-scrollbar;

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

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

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

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

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

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

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

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

        h1, h2, h3, h4, h5, h6 {
            padding-left: 1em;
        }

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

        .toggle {
            font-size: 12px;

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

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

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

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

                &.cancel {
                    background-color: #A3A3A3;
                    margin-left: @inspector-main-padding;
                }

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

        .unit-scaling {
            width: 255px;

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

                .constraint-details {
                    display: block;
                }
                .inspector-buttons {
                    padding-bottom: 10px;

                    a {
                        display: inline-block;
                        float: none;
                    }
                }
            }
            .unit-constraints-confirm.closed {
                height: 0;
            }
            .unit-constraints-confirm.editing {
                height: 300px;
            }
        }

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

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

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

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

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

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

        .config-file {
            padding: 10px @inspector-main-padding;

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

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

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

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

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

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

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

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

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

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

        .content {
            margin: 1em;
        }

        .header-slot {
            header {
                border-bottom: 1px solid #1C1817;
                padding: @inspector-main-padding;
                margin-bottom: 6px;

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

                    .service-name {
                        font-size: 20px;
                        font-weight: 300;
                        line-height: 1.2;
                    }
                    input.service-name {
                        width: 125px;
                    }
                    .icon {
                        width: 64px;
                        height: 64px;
                        margin-right: 1em;

                        img {
                            /* bootstrap sets this to middle */
                            vertical-align: baseline;
                            /* Required for sizing images in IE10 */
                            width: 64px;
                            height: 64px;
                        }
                    }
                    .details-wrapper {
                        width: 135px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                    .charm-url {
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 1.3;
                        cursor: pointer;
                        text-decoration: underline;
                    }
                    .close {
                        /* required to overwrite bootstrap styles */
                        text-shadow: none;
                        color: #cbcbcb;
                        font-weight: normal;
                        opacity: 1;
                        font-size: 30px;
                        /* not overwriting */
                        vertical-align: top;
                    }
                    div {
                        display: inline-block;
                    }
                }
            }
        }

        .viewlet-manager-navigation {
            margin: 0;
            padding-left: 65px;

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

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

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

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

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

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

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

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

            &.settings-config {
                margin-bottom: 45px;
            }
            h2 {
                font-size: 18px;
                padding-left: 0;
            }
            .settings-wrapper {
                position: relative;
                padding: 0 @inspector-main-padding;

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

                label {
                   margin: 0;
                }
            }

        }

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

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

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

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

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

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

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

        .overview-unit-list {
            margin: 0;

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

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

                ul {
                    background: white;
                }

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

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

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

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

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

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

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

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

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

                    .upgrade-link {
                        float: right;
                        color: @confirm-button-color;
                    }
                }

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

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

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

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

    }

}


fix(ui): Consistent disabled state for switch (#8908)

The disabled state didn't quite match the button disabled state, this
removes the background, bringing it more inline with the buttons
disabled state.

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


fixed the overlap in blog-list images < viewports

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/fadeit/fadeitdk.git/'


converted vis. hidden to display none for blog 'normal images'


fix styling

fix styling

@import 'variables.less';
@import 'vendors.less';

@import 'includes/help-topics.less';
@import 'includes/product-title.less';
@import 'includes/topic-list.less';

.logo-sprite {
  float: left;
  margin: 0 8px 0 0;
}

.download-firefox {
  font-family: 'Open Sans','Droid Arabic Naskh','Mplus Fulah',sans-serif;
  position: absolute;
  right: 0;
  top: 0;

  .download-button {
    .gradient(#81BC2E, #81BC2E, #659324);
    .border-radius(5px);
    .box-shadow(~"0 1px 0 0 rgba(0, 0, 0, 0.2), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset");
    display: block;
    line-height: 20px;
    position: relative;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: top 0s;
    transition: all 0.5s;
    width: 230px;

     .download-content {
       background: url('../img/firefox-small.png') no-repeat;
       color: #B5E786;
       display: block;
       min-height: 40px;
       margin-left: -34px;
       padding: 10px 20px 8px 73px;

       .download-title {
         color: #fff;
         display: block;
         font-size: 22px;
         font-weight: normal;
         letter-spacing: -0.02em;
         padding-right: 25px;
        }

       .download-subtitle{
         font-size: 12px;
        }

       .download-lang{
         color: #346012;
         font-size: 11px;
         position: absolute;
         right: -25px;
         top: 20px;
         text-shadow: 0px 1px rgba(255, 255, 255, 0.2);
         width: 100px;
      }
    }

    &:hover {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -2px 0 0 rgba(0, 0, 0, 0.2) inset, 0 12px 24px 2px #83C822 inset");
      text-decoration: none;
    }

    &:active {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset, 0 12px 24px 2px #83C822 inset");
    }
  }

  ul.info {
    font-size: 0.7em;
    margin: 4px 0 0 0;
    padding: 0;

    li {
      list-style: none;
      display: inline;

      a {
        color: #999;
      }

      &:not(:first-child):before {
        content: "|";
        color: #999;
        padding-right: 3px;
      }
    }
  }
}

.refresh-firefox {
  display: none;
  font-family: 'Open Sans','Droid Arabic Naskh','Mplus Fulah',sans-serif;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;

  > a {
    color: #999;
    display: block;
  }

  .help-text {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .reset-link {
    font-size: 0.7em;
    margin-bottom: 6px;
  }

  > .btn.btn-submit {
    font-family: @OpenSans;
    font-size: 18px;
    padding: 10px 30px;
  }
}

.topic-title {
  margin-bottom: 0;

  &.has-image {
    display: flex;
    height: 96px;
    flex-direction: column;
    justify-content: center;
  }

  &.cf {
    margin-bottom: 20px;
  }

  & + .topic-title {
    height: auto;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 28px;
    position: relative;

    &:before {
      background: @iconsSprite no-repeat -54px -2138px;
      content: '';
      height: 16px;
      left: 10px;
      position: absolute;
      top: 14px;
      width: 8px;
    }
  }
}

.topic-description {
  margin-top: 0;
}

.sidebar-nav {
  &.topics {
    background-color: #e0e5e8;
    background-image: url('../img/grain.png');

    > li {
      &.subtopic-selected {
        > a,
        > a:visited {
          .linear-gradient-top(#e0e5e8, #c5c8cb, 0%, #e0e5e8, 80%, url('../img/grain.png'));
          border: 0;
        }
      }

      > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-transform: none;

        > li {
          > a,
          > a:visited {
            color: @textDarkGrey;
            display: block;
            padding: 12px 20px;
            text-decoration: none;
          }

          > a:hover {
            color: @textDarkBlue;
            text-decoration: none;
          }

          &.selected {
            > a {
              background: #fff;
              font-weight: bold;
              position: relative;

              &:after {
                background: url('../img/sidebar-arrow.gif') 0 3px no-repeat;
                content: '';
                height: 30px;
                left: 0;
                margin-top: -15px;
                position: absolute;
                top: 50%;
                width: 15px;
              }
            }

            > a:hover {
              color: @textDarkGrey;
            }
          }
        }
      }
    }
  }
}

#focus-and-refine {
  ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;

    li {
      float: left;
      margin: 5px 0 0;
      width: 50%;

      &.selected {
        font-weight: bold;

        a {
          color: @textGrey;
        }
      }

      &:nth-child(2n+1) {
        clear: left;
      }
    }
  }
}

#get-involved-button {
  text-align: center;

  .btn {
    font-size: 18px;
    padding: 9px 48px 12px;
  }
}

#document-list {
  > ul {
    background: #fff;
    padding: 30px;
  }

  .topic-list {
    margin-top: 30px;
  }
}

.html-rtl {
  .download-firefox {
    left: 20px;
    right: auto;
  }

  .download-thunderbird {
    left: 20px;
    right: auto;
  }

  h1.product-title .logo-sprite {
    float: right;
    margin: 0 0 0 8px;
  }
}

.download-thunderbird {
  font-family: georgia,"Bitstream Charter",serif;
  position: absolute;
  right: 0;
  top: 0;

  .download-button {
    .gradient(#81BC2E, #81BC2E, #659324);
    .border-radius(6px);
    .box-shadow(~"0 3px 0 0 rgba(0,0,0,0.1), 0 -4px 0 0 rgba(0,0,0,0.1) inset");
    display: block;
    line-height: 20px;
    position: relative;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: top 0s;
    transition: all 0.5s;
    width: 250px;

     .download-content {
       background: url('../img/thunderbird-download.png') no-repeat;
       color: #B5E786;
       display: block;
       height: 79px;
       margin-left: -50px;
       padding: 1px 10px 18px 73px;

       .download-title {
         color: #FFFFFF;
         display: block;
         font-size: 26px;
         font-weight: normal;
         font-family: georgia,"Bitstream Charter",serif;
         line-height: 28px;
         margin-top: 10px;
         margin-left: 35px;
         padding-right: 25px;
         text-align: left;
        }

       .download-subtitle{
         color: #fff;
         display: block;
         font-size: 18px;
         font-weight: normal;
         font-style: italic;
         font-family: georgia,"Bitstream Charter",serif;
         line-height: 18px;
         margin-left: 36px;
         padding-right: 25px;
         position: relative;
         text-align: left;
        }

       .download-lang{
         display: block;
         margin-top: 3px;
         font-size: 12px;
         font-style: normal;
         line-height: 15px;
         color: #346012;
         position: relative;
         left: 38px;
         text-shadow: 0px 1px rgba(255, 255, 255, 0.2);
         text-align: left;
      }
    }

    &:hover {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -2px 0 0 rgba(0, 0, 0, 0.2) inset, 0 12px 24px 2px #83C822 inset");
      text-decoration: none;
    }

    &:active {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset, 0 12px 24px 2px #83C822 inset");
    }
  }
    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      > li {
        border-bottom: 0;
        padding: 12px 0;

        &:last-of-type {
          border-bottom: 0;
          padding-bottom: 0;
        }
      }
    }
  }

  ul.info {
    font-size: 0.7em;
    margin: 2px 0 0 0;
    padding: 0;

    li {
      list-style: none;
      display: inline;

      a {
        color: #999;
      }

      &:not(:first-child):before {
        content: "|";
        color: #999;
        padding-right: 3px;
      }
    }
  }

@import 'variables.less';
@import 'vendors.less';

@import 'includes/help-topics.less';
@import 'includes/product-title.less';
@import 'includes/topic-list.less';

.logo-sprite {
  float: left;
  margin: 0 8px 0 0;
}

.download-firefox {
  font-family: 'Open Sans','Droid Arabic Naskh','Mplus Fulah',sans-serif;
  position: absolute;
  right: 0;
  top: 0;

  .download-button {
    .gradient(#81BC2E, #81BC2E, #659324);
    .border-radius(5px);
    .box-shadow(~"0 1px 0 0 rgba(0, 0, 0, 0.2), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset");
    display: block;
    line-height: 20px;
    position: relative;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: top 0s;
    transition: all 0.5s;
    width: 230px;

     .download-content {
       background: url('../img/firefox-small.png') no-repeat;
       color: #B5E786;
       display: block;
       min-height: 40px;
       margin-left: -34px;
       padding: 10px 20px 8px 73px;

       .download-title {
         color: #fff;
         display: block;
         font-size: 22px;
         font-weight: normal;
         letter-spacing: -0.02em;
         padding-right: 25px;
        }

       .download-subtitle{
         font-size: 12px;
        }

       .download-lang{
         color: #346012;
         font-size: 11px;
         position: absolute;
         right: -25px;
         top: 20px;
         text-shadow: 0px 1px rgba(255, 255, 255, 0.2);
         width: 100px;
      }
    }

    &:hover {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -2px 0 0 rgba(0, 0, 0, 0.2) inset, 0 12px 24px 2px #83C822 inset");
      text-decoration: none;
    }

    &:active {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset, 0 12px 24px 2px #83C822 inset");
    }
  }

  ul.info {
    font-size: 0.7em;
    margin: 4px 0 0 0;
    padding: 0;

    li {
      list-style: none;
      display: inline;

      a {
        color: #999;
      }

      &:not(:first-child):before {
        content: "|";
        color: #999;
        padding-right: 3px;
      }
    }
  }
}

.refresh-firefox {
  display: none;
  font-family: 'Open Sans','Droid Arabic Naskh','Mplus Fulah',sans-serif;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;

  > a {
    color: #999;
    display: block;
  }

  .help-text {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .reset-link {
    font-size: 0.7em;
    margin-bottom: 6px;
  }

  > .btn.btn-submit {
    font-family: @OpenSans;
    font-size: 18px;
    padding: 10px 30px;
  }
}

.topic-title {
  margin-bottom: 0;

  &.has-image {
    margin-top: 0px;
    margin-left: 88px;
  }

  &.cf {
    margin-bottom: 20px;

    &:nth-child(2){
      display: table-cell;
      height: 96px;
      vertical-align: middle;
    }
  }

  & + .topic-title {
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 28px;
    position: relative;

    &:before {
      background: @iconsSprite no-repeat -54px -2138px;
      content: '';
      height: 16px;
      left: 10px;
      position: absolute;
      top: 14px;
      width: 8px;
    }
  }
}

.topic-description {
  margin-top: 0;
}

.sidebar-nav {
  &.topics {
    background-color: #e0e5e8;
    background-image: url('../img/grain.png');

    > li {
      &.subtopic-selected {
        > a,
        > a:visited {
          .linear-gradient-top(#e0e5e8, #c5c8cb, 0%, #e0e5e8, 80%, url('../img/grain.png'));
          border: 0;
        }
      }

      > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-transform: none;

        > li {
          > a,
          > a:visited {
            color: @textDarkGrey;
            display: block;
            padding: 12px 20px;
            text-decoration: none;
          }

          > a:hover {
            color: @textDarkBlue;
            text-decoration: none;
          }

          &.selected {
            > a {
              background: #fff;
              font-weight: bold;
              position: relative;

              &:after {
                background: url('../img/sidebar-arrow.gif') 0 3px no-repeat;
                content: '';
                height: 30px;
                left: 0;
                margin-top: -15px;
                position: absolute;
                top: 50%;
                width: 15px;
              }
            }

            > a:hover {
              color: @textDarkGrey;
            }
          }
        }
      }
    }
  }
}

#focus-and-refine {
  ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;

    li {
      float: left;
      margin: 5px 0 0;
      width: 50%;

      &.selected {
        font-weight: bold;

        a {
          color: @textGrey;
        }
      }

      &:nth-child(2n+1) {
        clear: left;
      }
    }
  }
}

#get-involved-button {
  text-align: center;

  .btn {
    font-size: 18px;
    padding: 9px 48px 12px;
  }
}

#document-list {
  > ul {
    background: #fff;
    padding: 30px;
  }

  .topic-list {
    margin-top: 30px;
  }
}

.html-rtl {
  .download-firefox {
    left: 20px;
    right: auto;
  }

  .download-thunderbird {
    left: 20px;
    right: auto;
  }

  h1.product-title .logo-sprite {
    float: right;
    margin: 0 0 0 8px;
  }
}

.download-thunderbird {
  font-family: georgia,"Bitstream Charter",serif;
  position: absolute;
  right: 0;
  top: 0;

  .download-button {
    .gradient(#81BC2E, #81BC2E, #659324);
    .border-radius(6px);
    .box-shadow(~"0 3px 0 0 rgba(0,0,0,0.1), 0 -4px 0 0 rgba(0,0,0,0.1) inset");
    display: block;
    line-height: 20px;
    position: relative;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: top 0s;
    transition: all 0.5s;
    width: 250px;

     .download-content {
       background: url('../img/thunderbird-download.png') no-repeat;
       color: #B5E786;
       display: block;
       height: 79px;
       margin-left: -50px;
       padding: 1px 10px 18px 73px;

       .download-title {
         color: #FFFFFF;
         display: block;
         font-size: 26px;
         font-weight: normal;
         font-family: georgia,"Bitstream Charter",serif;
         line-height: 28px;
         margin-top: 10px;
         margin-left: 35px;
         padding-right: 25px;
         text-align: left;
        }

       .download-subtitle{
         color: #fff;
         display: block;
         font-size: 18px;
         font-weight: normal;
         font-style: italic;
         font-family: georgia,"Bitstream Charter",serif;
         line-height: 18px;
         margin-left: 36px;
         padding-right: 25px;
         position: relative;
         text-align: left;
        }

       .download-lang{
         display: block;
         margin-top: 3px;
         font-size: 12px;
         font-style: normal;
         line-height: 15px;
         color: #346012;
         position: relative;
         left: 38px;
         text-shadow: 0px 1px rgba(255, 255, 255, 0.2);
         text-align: left;
      }
    }

    &:hover {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -2px 0 0 rgba(0, 0, 0, 0.2) inset, 0 12px 24px 2px #83C822 inset");
      text-decoration: none;
    }

    &:active {
      .box-shadow(~"0 2px 0 0 rgba(0, 0, 0, 0.1), 0 -1px 0 0 rgba(0, 0, 0, 0.3) inset, 0 12px 24px 2px #83C822 inset");
    }
  }
    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      > li {
        border-bottom: 0;
        padding: 12px 0;

        &:last-of-type {
          border-bottom: 0;
          padding-bottom: 0;
        }
      }
    }
  }

  ul.info {
    font-size: 0.7em;
    margin: 2px 0 0 0;
    padding: 0;

    li {
      list-style: none;
      display: inline;

      a {
        color: #999;
      }

      &:not(:first-child):before {
        content: "|";
        color: #999;
        padding-right: 3px;
      }
    }
  }


Fix for scroll to top button on large screen.

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/simonpfry/AuctionHouse.git/'


学习中心首页

学习中心首页

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/XUEJS/xue-project.git/'