Add default less variables file

Add default less variables file

// --------------------------------------------------
// Variables - GUI Basic Theme
// --------------------------------------------------

//== Colors
//
//## Gray and brand colors for use across Bootstrap.

@gray-darker:           #222222;
@gray-dark:             #333333;
@gray:                  #555555;
@gray-light:            #777777;
@gray-lighter:          #eeeeee;

@brand-primary:         #428bca;
@brand-success:         #5cb85c;
@brand-info:            #5bc0de;
@brand-warning:         #f0ad4e;
@brand-danger:          #d9534f;

//== Scaffolding
//
//## Settings for some of the most global styles.

//** Background color for `<body>`.
@body-bg:               #ffffff;
//** Global text color on `<body>`.
@text-color:            @gray-dark;

//** Global textual link color.
@link-color:            @brand-primary;
//** Link hover color set via `darken()` function.
@link-hover-color:      darken(@link-color, 15%);

//== Typography
//
//## Font, line-height, and color for body text, headings, and more.

@font-family-sans-serif:  "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-serif:       Georgia, "Times New Roman", Times, serif;
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
@font-family-monospace:   Menlo, Monaco, Consolas, "Courier New", monospace;
@font-family-base:        @font-family-sans-serif;

@font-size-base:          14px;
@font-size-large:         ceil((@font-size-base * 1.25)); // ~18px
@font-size-small:         ceil((@font-size-base * 0.85)); // ~12px

@font-size-h1:            floor((@font-size-base * 2.6)); // ~36px
@font-size-h2:            floor((@font-size-base * 2.15)); // ~30px
@font-size-h3:            ceil((@font-size-base * 1.7)); // ~24px
@font-size-h4:            ceil((@font-size-base * 1.25)); // ~18px
@font-size-h5:            @font-size-base;
@font-size-h6:            ceil((@font-size-base * 0.85)); // ~12px

//** Unit-less `line-height` for use in components like buttons.
@line-height-base:        1.428571429; // 20/14
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
@line-height-computed:    floor((@font-size-base * @line-height-base)); // ~20px

//** By default, this inherits from the `<body>`.
@headings-font-family:    inherit;
@headings-font-weight:    bold;
@headings-line-height:    1.1;
@headings-color:          #da0a0d;

//== Iconography
//
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.

//** Load fonts from this directory.
@icon-font-path:          "../fonts/";
//** File name for all font files.
@icon-font-name:          "glyphicons-halflings-regular";
//** Element ID within SVG icon file.
@icon-font-svg-id:        "glyphicons_halflingsregular";

//== Components
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).

@padding-base-vertical:     6px;
@padding-base-horizontal:   12px;

@padding-large-vertical:    10px;
@padding-large-horizontal:  16px;

@padding-small-vertical:    5px;
@padding-small-horizontal:  10px;

@padding-xs-vertical:       1px;
@padding-xs-horizontal:     5px;

@line-height-large:         1.33;
@line-height-small:         1.5;

@border-radius-base:        4px;
@border-radius-large:       6px;
@border-radius-small:       3px;

//** Global color for active items (e.g., navs or dropdowns).
@component-active-color:    #fff;
//** Global background color for active items (e.g., navs or dropdowns).
@component-active-bg:       @brand-primary;

//** Width of the `border` for generating carets that indicator dropdowns.
@caret-width-base:          4px;
//** Carets increase slightly in size for larger components.
@caret-width-large:         5px;

//== Tables
//
//## Customizes the `.table` component with basic values, each used across all table variations.

//** Padding for `<th>`s and `<td>`s.
@table-cell-padding:            8px;
//** Padding for cells in `.table-condensed`.
@table-condensed-cell-padding:  5px;

//** Default background color used for all tables.
@table-bg:                      transparent;
//** Background color used for `.table-striped`.
@table-bg-accent:               #f9f9f9;
//** Background color used for `.table-hover`.
@table-bg-hover:                #f5f5f5;
@table-bg-active:               @table-bg-hover;

//** Border color for table and cell borders.
@table-border-color:            #ddd;

//== Buttons
//
//## For each of Bootstrap's buttons, define text, background and border color.

@btn-font-weight:                normal;

@btn-default-color:              #333;
@btn-default-bg:                 #fff;
@btn-default-border:             #ccc;

@btn-primary-color:              #fff;
@btn-primary-bg:                 @brand-primary;
@btn-primary-border:             darken(@btn-primary-bg, 5%);

@btn-success-color:              #fff;
@btn-success-bg:                 @brand-success;
@btn-success-border:             darken(@btn-success-bg, 5%);

@btn-info-color:                 #fff;
@btn-info-bg:                    @brand-info;
@btn-info-border:                darken(@btn-info-bg, 5%);

@btn-warning-color:              #fff;
@btn-warning-bg:                 @brand-warning;
@btn-warning-border:             darken(@btn-warning-bg, 5%);

@btn-danger-color:               #fff;
@btn-danger-bg:                  @brand-danger;
@btn-danger-border:              darken(@btn-danger-bg, 5%);

@btn-link-disabled-color:        @gray-light;

//== Forms
//
//##

//** `<input>` background color
@input-bg:                       #fff;
//** `<input disabled>` background color
@input-bg-disabled:              @gray-lighter;

//** Text color for `<input>`s
@input-color:                    @gray;
//** `<input>` border color
@input-border:                   #ccc;
//** `<input>` border radius
@input-border-radius:            @border-radius-base;
//** Border color for inputs on focus
@input-border-focus:             #66afe9;

//** Placeholder text color
@input-color-placeholder:        @gray-light;

//** Default `.form-control` height
@input-height-base:              (@line-height-computed + (@padding-base-vertical * 2) + 2);
//** Large `.form-control` height
@input-height-large:             (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
//** Small `.form-control` height
@input-height-small:             (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);

@legend-color:                   @gray-dark;
@legend-border-color:            #e5e5e5;

//** Background color for textual input addons
@input-group-addon-bg:           @gray-lighter;
//** Border color for textual input addons
@input-group-addon-border-color: @input-border;

//== Dropdowns
//
//## Dropdown menu container and contents.

//** Background for the dropdown menu.
@dropdown-bg:                    #fff;
//** Dropdown menu `border-color`.
@dropdown-border:                rgba(0,0,0,.15);
//** Dropdown menu `border-color` **for IE8**.
@dropdown-fallback-border:       #ccc;
//** Divider color for between dropdown items.
@dropdown-divider-bg:            #e5e5e5;

//** Dropdown link text color.
@dropdown-link-color:            @gray-dark;
//** Hover color for dropdown links.
@dropdown-link-hover-color:      darken(@gray-dark, 5%);
//** Hover background for dropdown links.
@dropdown-link-hover-bg:         #f5f5f5;

//** Active dropdown menu item text color.
@dropdown-link-active-color:     @component-active-color;
//** Active dropdown menu item background color.
@dropdown-link-active-bg:        @component-active-bg;

//** Disabled dropdown menu item background color.
@dropdown-link-disabled-color:   @gray-light;

//** Text color for headers within dropdown menus.
@dropdown-header-color:          @gray-light;

//** Deprecated `@dropdown-caret-color` as of v3.1.0
@dropdown-caret-color:           #000;

//-- Z-index master list
//
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.
//
// Note: These variables are not generated into the Customizer.

@zindex-navbar:            1000;
@zindex-dropdown:          1000;
@zindex-popover:           1060;
@zindex-tooltip:           1070;
@zindex-navbar-fixed:      1030;
@zindex-modal-background:  1040;
@zindex-modal:             1050;

//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.

// Extra small screen / phone
//** Deprecated `@screen-xs` as of v3.0.1
@screen-xs:                  480px;
//** Deprecated `@screen-xs-min` as of v3.2.0
@screen-xs-min:              @screen-xs;
//** Deprecated `@screen-phone` as of v3.0.1
@screen-phone:               @screen-xs-min;

// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1
@screen-sm:                  768px;
@screen-sm-min:              @screen-sm;
//** Deprecated `@screen-tablet` as of v3.0.1
@screen-tablet:              @screen-sm-min;

// Medium screen / desktop
//** Deprecated `@screen-md` as of v3.0.1
@screen-md:                  992px;
@screen-md-min:              @screen-md;
//** Deprecated `@screen-desktop` as of v3.0.1
@screen-desktop:             @screen-md-min;

// Large screen / wide desktop
//** Deprecated `@screen-lg` as of v3.0.1
@screen-lg:                  1200px;
@screen-lg-min:              @screen-lg;
//** Deprecated `@screen-lg-desktop` as of v3.0.1
@screen-lg-desktop:          @screen-lg-min;

// So media queries don't overlap when required, provide a maximum
@screen-xs-max:              (@screen-sm-min - 1);
@screen-sm-max:              (@screen-md-min - 1);
@screen-md-max:              (@screen-lg-min - 1);

//== Grid system
//
//## Define your custom responsive grid.

//** Number of columns in the grid.
@grid-columns:              12;
//** Padding between columns. Gets divided in half for the left and right.
@grid-gutter-width:         30px;
// Navbar collapse
//** Point at which the navbar becomes uncollapsed.
@grid-float-breakpoint:     @screen-sm-min;
//** Point at which the navbar begins collapsing.
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);

//== Container sizes
//
//## Define the maximum width of `.container` for different screen sizes.

// Small screen / tablet
@container-tablet:             ((720px + @grid-gutter-width));
//** For `@screen-sm-min` and up.
@container-sm:                 @container-tablet;

// Medium screen / desktop
@container-desktop:            ((940px + @grid-gutter-width));
//** For `@screen-md-min` and up.
@container-md:                 @container-desktop;

// Large screen / wide desktop
@container-large-desktop:      ((1140px + @grid-gutter-width));
//** For `@screen-lg-min` and up.
@container-lg:                 @container-large-desktop;

//== Navbar
//
//##

// Basics of a navbar
@navbar-height:                    50px;
@navbar-margin-bottom:             @line-height-computed;
@navbar-border-radius:             @border-radius-base;
@navbar-padding-horizontal:        floor((@grid-gutter-width / 2));
@navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2);
@navbar-collapse-max-height:       340px;

@navbar-default-color:             #777;
@navbar-default-bg:                #f8f8f8;
@navbar-default-border:            darken(@navbar-default-bg, 6.5%);

// Navbar links
@navbar-default-link-color:                #777;
@navbar-default-link-hover-color:          #333;
@navbar-default-link-hover-bg:             transparent;
@navbar-default-link-active-color:         #555;
@navbar-default-link-active-bg:            darken(@navbar-default-bg, 6.5%);
@navbar-default-link-disabled-color:       #ccc;
@navbar-default-link-disabled-bg:          transparent;

// Navbar brand label
@navbar-default-brand-color:               @navbar-default-link-color;
@navbar-default-brand-hover-color:         darken(@navbar-default-brand-color, 10%);
@navbar-default-brand-hover-bg:            transparent;

// Navbar toggle
@navbar-default-toggle-hover-bg:           #ddd;
@navbar-default-toggle-icon-bar-bg:        #888;
@navbar-default-toggle-border-color:       #ddd;

// Inverted navbar
// Reset inverted navbar basics
@navbar-inverse-color:                      @gray-light;
@navbar-inverse-bg:                         #222;
@navbar-inverse-border:                     darken(@navbar-inverse-bg, 10%);

// Inverted navbar links
@navbar-inverse-link-color:                 @gray-light;
@navbar-inverse-link-hover-color:           #fff;
@navbar-inverse-link-hover-bg:              transparent;
@navbar-inverse-link-active-color:          @navbar-inverse-link-hover-color;
@navbar-inverse-link-active-bg:             darken(@navbar-inverse-bg, 10%);
@navbar-inverse-link-disabled-color:        #444;
@navbar-inverse-link-disabled-bg:           transparent;

// Inverted navbar brand label
@navbar-inverse-brand-color:                @navbar-inverse-link-color;
@navbar-inverse-brand-hover-color:          #fff;
@navbar-inverse-brand-hover-bg:             transparent;

// Inverted navbar toggle
@navbar-inverse-toggle-hover-bg:            #333;
@navbar-inverse-toggle-icon-bar-bg:         #fff;
@navbar-inverse-toggle-border-color:        #333;

//== Navs
//
//##

//=== Shared nav styles
@nav-link-padding:                          10px 15px;
@nav-link-hover-bg:                         @gray-lighter;

@nav-disabled-link-color:                   @gray-light;
@nav-disabled-link-hover-color:             @gray-light;

@nav-open-link-hover-color:                 #fff;

//== Tabs
@nav-tabs-border-color:                     #ddd;

@nav-tabs-link-hover-border-color:          @gray-lighter;

@nav-tabs-active-link-hover-bg:             @body-bg;
@nav-tabs-active-link-hover-color:          @gray;
@nav-tabs-active-link-hover-border-color:   #ddd;

@nav-tabs-justified-link-border-color:            #ddd;
@nav-tabs-justified-active-link-border-color:     @body-bg;

//== Pills
@nav-pills-border-radius:                   @border-radius-base;
@nav-pills-active-link-hover-bg:            @component-active-bg;
@nav-pills-active-link-hover-color:         @component-active-color;

//== Pagination
//
//##

@pagination-color:                     @link-color;
@pagination-bg:                        #fff;
@pagination-border:                    #ddd;

@pagination-hover-color:               @link-hover-color;
@pagination-hover-bg:                  @gray-lighter;
@pagination-hover-border:              #ddd;

@pagination-active-color:              #fff;
@pagination-active-bg:                 @brand-primary;
@pagination-active-border:             @brand-primary;

@pagination-disabled-color:            @gray-light;
@pagination-disabled-bg:               #fff;
@pagination-disabled-border:           #ddd;

//== Pager
//
//##

@pager-bg:                             @pagination-bg;
@pager-border:                         @pagination-border;
@pager-border-radius:                  15px;

@pager-hover-bg:                       @pagination-hover-bg;

@pager-active-bg:                      @pagination-active-bg;
@pager-active-color:                   @pagination-active-color;

@pager-disabled-color:                 @pagination-disabled-color;

//== Jumbotron
//
//##

@jumbotron-padding:              30px;
@jumbotron-color:                inherit;
@jumbotron-bg:                   @gray-lighter;
@jumbotron-heading-color:        inherit;
@jumbotron-font-size:            ceil((@font-size-base * 1.5));

//== Form states and alerts
//
//## Define colors for form feedback states and, by default, alerts.

@state-success-text:             #3c763d;
@state-success-bg:               #dff0d8;
@state-success-border:           darken(spin(@state-success-bg, -10), 5%);

@state-info-text:                #31708f;
@state-info-bg:                  #d9edf7;
@state-info-border:              darken(spin(@state-info-bg, -10), 7%);

@state-warning-text:             #8a6d3b;
@state-warning-bg:               #fcf8e3;
@state-warning-border:           darken(spin(@state-warning-bg, -10), 5%);

@state-danger-text:              #a94442;
@state-danger-bg:                #f2dede;
@state-danger-border:            darken(spin(@state-danger-bg, -10), 5%);

//== Tooltips
//
//##

//** Tooltip max width
@tooltip-max-width:           200px;
//** Tooltip text color
@tooltip-color:               #fff;
//** Tooltip background color
@tooltip-bg:                  #000;
@tooltip-opacity:             .9;

//** Tooltip arrow width
@tooltip-arrow-width:         5px;
//** Tooltip arrow color
@tooltip-arrow-color:         @tooltip-bg;

//== Popovers
//
//##

//** Popover body background color
@popover-bg:                          #fff;
//** Popover maximum width
@popover-max-width:                   276px;
//** Popover border color
@popover-border-color:                rgba(0,0,0,.2);
//** Popover fallback border color
@popover-fallback-border-color:       #ccc;

//** Popover title background color
@popover-title-bg:                    darken(@popover-bg, 3%);

//** Popover arrow width
@popover-arrow-width:                 10px;
//** Popover arrow color
@popover-arrow-color:                 #fff;

//** Popover outer arrow width
@popover-arrow-outer-width:           (@popover-arrow-width + 1);
//** Popover outer arrow color
@popover-arrow-outer-color:           fadein(@popover-border-color, 5%);
//** Popover outer arrow fallback color
@popover-arrow-outer-fallback-color:  darken(@popover-fallback-border-color, 20%);

//== Labels
//
//##

//** Default label background color
@label-default-bg:            @gray-light;
//** Primary label background color
@label-primary-bg:            @brand-primary;
//** Success label background color
@label-success-bg:            @brand-success;
//** Info label background color
@label-info-bg:               @brand-info;
//** Warning label background color
@label-warning-bg:            @brand-warning;
//** Danger label background color
@label-danger-bg:             @brand-danger;

//** Default label text color
@label-color:                 #fff;
//** Default text color of a linked label
@label-link-hover-color:      #fff;

//== Modals
//
//##

//** Padding applied to the modal body
@modal-inner-padding:         15px;

//** Padding applied to the modal title
@modal-title-padding:         15px;
//** Modal title line-height
@modal-title-line-height:     @line-height-base;

//** Background color of modal content area
@modal-content-bg:                             #fff;
//** Modal content border color
@modal-content-border-color:                   rgba(0,0,0,.2);
//** Modal content border color **for IE8**
@modal-content-fallback-border-color:          #999;

//** Modal backdrop background color
@modal-backdrop-bg:           #000;
//** Modal backdrop opacity
@modal-backdrop-opacity:      .5;
//** Modal header border color
@modal-header-border-color:   #e5e5e5;
//** Modal footer border color
@modal-footer-border-color:   @modal-header-border-color;

@modal-lg:                    900px;
@modal-md:                    600px;
@modal-sm:                    300px;

//== Alerts
//
//## Define alert colors, border radius, and padding.

@alert-padding:               15px;
@alert-border-radius:         @border-radius-base;
@alert-link-font-weight:      bold;

@alert-success-bg:            @state-success-bg;
@alert-success-text:          @state-success-text;
@alert-success-border:        @state-success-border;

@alert-info-bg:               @state-info-bg;
@alert-info-text:             @state-info-text;
@alert-info-border:           @state-info-border;

@alert-warning-bg:            @state-warning-bg;
@alert-warning-text:          @state-warning-text;
@alert-warning-border:        @state-warning-border;

@alert-danger-bg:             @state-danger-bg;
@alert-danger-text:           @state-danger-text;
@alert-danger-border:         @state-danger-border;

//== Progress bars
//
//##

//** Background color of the whole progress component
@progress-bg:                 #f5f5f5;
//** Progress bar text color
@progress-bar-color:          #fff;

//** Default progress bar color
@progress-bar-bg:             @brand-primary;
//** Success progress bar color
@progress-bar-success-bg:     @brand-success;
//** Warning progress bar color
@progress-bar-warning-bg:     @brand-warning;
//** Danger progress bar color
@progress-bar-danger-bg:      @brand-danger;
//** Info progress bar color
@progress-bar-info-bg:        @brand-info;

//== List group
//
//##

//** Background color on `.list-group-item`
@list-group-bg:                 #fff;
//** `.list-group-item` border color
@list-group-border:             #ddd;
//** List group border radius
@list-group-border-radius:      @border-radius-base;

//** Background color of single list items on hover
@list-group-hover-bg:           #f5f5f5;
//** Text color of active list items
@list-group-active-color:       @component-active-color;
//** Background color of active list items
@list-group-active-bg:          @component-active-bg;
//** Border color of active list elements
@list-group-active-border:      @list-group-active-bg;
//** Text color for content within active list items
@list-group-active-text-color:  lighten(@list-group-active-bg, 40%);

//** Text color of disabled list items
@list-group-disabled-color:      @gray-light;
//** Background color of disabled list items
@list-group-disabled-bg:         @gray-lighter;
//** Text color for content within disabled list items
@list-group-disabled-text-color: @list-group-disabled-color;

@list-group-link-color:         #555;
@list-group-link-hover-color:   @list-group-link-color;
@list-group-link-heading-color: #333;

//== Panels
//
//##

@panel-bg:                    #fff;
@panel-body-padding:          15px;
@panel-heading-padding:       10px 15px;
@panel-footer-padding:        @panel-heading-padding;
@panel-border-radius:         @border-radius-base;

//** Border color for elements within panels
@panel-inner-border:          #ddd;
@panel-footer-bg:             #f5f5f5;

@panel-default-text:          @gray-dark;
@panel-default-border:        #ddd;
@panel-default-heading-bg:    #f5f5f5;

@panel-primary-text:          #fff;
@panel-primary-border:        @brand-primary;
@panel-primary-heading-bg:    @brand-primary;

@panel-success-text:          @state-success-text;
@panel-success-border:        @state-success-border;
@panel-success-heading-bg:    @state-success-bg;

@panel-info-text:             @state-info-text;
@panel-info-border:           @state-info-border;
@panel-info-heading-bg:       @state-info-bg;

@panel-warning-text:          @state-warning-text;
@panel-warning-border:        @state-warning-border;
@panel-warning-heading-bg:    @state-warning-bg;

@panel-danger-text:           @state-danger-text;
@panel-danger-border:         @state-danger-border;
@panel-danger-heading-bg:     @state-danger-bg;

//== Thumbnails
//
//##

//** Padding around the thumbnail image
@thumbnail-padding:           4px;
//** Thumbnail background color
@thumbnail-bg:                @body-bg;
//** Thumbnail border color
@thumbnail-border:            #ddd;
//** Thumbnail border radius
@thumbnail-border-radius:     @border-radius-base;

//** Custom text color for thumbnail captions
@thumbnail-caption-color:     @text-color;
//** Padding around the thumbnail caption
@thumbnail-caption-padding:   9px;

//== Wells
//
//##

@well-bg:                     #f5f5f5;
@well-border:                 darken(@well-bg, 7%);

//== Badges
//
//##

@badge-color:                 #fff;
//** Linked badge text color on hover
@badge-link-hover-color:      #fff;
@badge-bg:                    @gray-light;

//** Badge text color in active nav link
@badge-active-color:          @link-color;
//** Badge background color in active nav link
@badge-active-bg:             #fff;

@badge-font-weight:           bold;
@badge-line-height:           1;
@badge-border-radius:         10px;

//== Breadcrumbs
//
//##

@breadcrumb-padding-vertical:   8px;
@breadcrumb-padding-horizontal: 15px;
//** Breadcrumb background color
@breadcrumb-bg:                 #f5f5f5;
//** Breadcrumb text color
@breadcrumb-color:              #ccc;
//** Text color of current page in the breadcrumb
@breadcrumb-active-color:       @gray-light;
//** Textual separator for between breadcrumb elements
@breadcrumb-separator:          "/";

//== Carousel
//
//##

@carousel-text-shadow:                        0 1px 2px rgba(0,0,0,.6);

@carousel-control-color:                      #fff;
@carousel-control-width:                      15%;
@carousel-control-opacity:                    .5;
@carousel-control-font-size:                  20px;

@carousel-indicator-active-bg:                #fff;
@carousel-indicator-border-color:             #fff;

@carousel-caption-color:                      #fff;

//== Close
//
//##

@close-font-weight:           bold;
@close-color:                 #000;
@close-text-shadow:           0 1px 0 #fff;

//== Code
//
//##

@code-color:                  #c7254e;
@code-bg:                     #f9f2f4;

@kbd-color:                   #fff;
@kbd-bg:                      #333;

@pre-bg:                      #f5f5f5;
@pre-color:                   @gray-dark;
@pre-border-color:            #ccc;
@pre-scrollable-max-height:   340px;

//== Type
//
//##

//** Horizontal offset for forms and lists.
@component-offset-horizontal: 180px;
//** Text muted color
@text-muted:                  @gray-light;
//** Abbreviations and acronyms border color
@abbr-border-color:           @gray-light;
//** Headings small color
@headings-small-color:        @gray-light;
//** Blockquote small color
@blockquote-small-color:      @gray-light;
//** Blockquote font size
@blockquote-font-size:        (@font-size-base * 1.25);
//** Blockquote border color
@blockquote-border-color:     @gray-lighter;
//** Page header border color
@page-header-border-color:    @gray-lighter;
//** Width of horizontal description list titles
@dl-horizontal-offset:        @component-offset-horizontal;
//** Horizontal line color.
@hr-border:                   @gray-lighter;

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


updating style for 'email' and 'tel'

updating style for 'email' and 'tel'

form.inline {
	div {
		float: left;
	}
}

.input {

	&.inline {
		float: left;
		label, input, select {
			margin-right: @crGeneralMargin;
		}
	}

	&.submit,
	&.select,
	&.radio,
	&.checkbox,
	&.password,
	&.datetime,
	&.date,
	&.email,
	&.file,
	&.tel,
	&.time,
	&.number,
	&.textarea,
	&.text {
		margin: @crGeneralMargin;
	}

	&.radio,
	&.checkbox {
		display: table;
	}

	&.date,
	&.time,
	&.datetime, {
		select {
			width: auto;
		}
	}
}

.label-hidden {
	label {
		display: none;
	}
}

form .span8 + .span4 {
	margin-top: 37px;
}

form.inline {
	div {
		float: left;
	}
}

.input {

	&.inline {
		float: left;
		label, input, select {
			margin-right: @crGeneralMargin;
		}
	}

	&.submit,
	&.select,
	&.radio,
	&.checkbox,
	&.password,
	&.datetime,
	&.date,
	&.file,
	&.time,
	&.number,
	&.textarea,
	&.text {
		margin: @crGeneralMargin;
	}

	&.radio,
	&.checkbox {
		display: table;
	}

	&.date,
	&.time,
	&.datetime, {
		select {
			width: auto;
		}
	}
}

.label-hidden {
	label {
		display: none;
	}
}

form .span8 + .span4 {
	margin-top: 37px;
}


Added: layers (z-index) less file

Added: layers (z-index) less file

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


Create variables.import.less

Create variables.import.less

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


修改sidebar

修改sidebar

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/'


Fix top-stub white on (illegal!) embedded stack blocks

/*
 * scratchblocks2
 * http://github.com/blob8108/scratchblocks2
 *
 * Copyright 2013, Tim Radvan
 * MIT Licensed
 * http://opensource.org/licenses/MIT
 *
 * *****************************************************************************
 *
 * Requires the files:
 *
 *   - arrows.png
 *   - flag.png
 *
 * in the block_images/ directory, in the same folder as this file.
 *
 */

// Category colours

/*
    bg:    background colour for entire block
    btop:  top border for entire block
    bbot:  bottom border for entire block
    itop:  top border for inserts (eg. dropdown menus)
    ibot:  bottom border for inserts (eg. dropdown menus)
    inset: background colour for dropdown menus
    arrow: colour of the "▼" dropdown arrow
*/

@control_bg: #e1a91a;
@control_btop: #e5b53a;
@control_bbot: #a07812;
@control_itop: #7e5e0e;
@control_ibot: #d4a631;
@control_inset: #cf9b17;
@control_arrow: #533e09;

@custom_bg: #632d99;
@custom_btop: #794aa7;
@custom_bbot: #46206d;
@custom_itop: #431e67;
@custom_ibot: #70449a;
@custom_inset: #5b298c;
@custom_arrow: #1e0a38; // TODO

@custom-arg_bg: #5947b1;
@custom-arg_btop: #6857b8; // or #6850b2
@custom-arg_bbot: #423584;
@custom-arg_itop: none;
@custom-arg_ibot: none;
@custom-arg_inset: none;
@custom-arg_arrow: none;

@events_bg: #c88330;
@events_btop: #cf944d;
@events_bbot: #8e5d22;
@events_itop: #70491a;
@events_ibot: #c59254;
@events_inset: #b8782c;
@events_arrow: #4a3011;

@extension_bg: #4b4a60;
@extension_btop: #646376;
@extension_bbot: #353444;
@extension_itop: #2a2935;
@extension_ibot: #686778;
@extension_inset: #454458;
@extension_arrow: #1b1b23;

@grey_bg: #969696;
@grey_btop: #b7b7b7;
@grey_bbot: #656565;
@grey_itop: #434343;
@grey_ibot: #b8b8b8;
@grey_inset: #717171;
@grey_arrow: #393939;

@list_bg: #cc5b22;
@list_btop: #d26f3d;
@list_bbot: #a74a1b;
@list_itop: #7e3814;
@list_ibot: #c86e3f;
@list_inset: #bb531f;
@list_arrow: #4b210c;

@looks_bg: #8a55d7;
@looks_btop: #9a6ddc;
@looks_bbot: #623c99;
@looks_itop: #4c2f78;
@looks_ibot: #9670d0;
@looks_inset: #7e4ec5;
@looks_arrow: #1e0a38;

@motion_bg: #4a6cd4;
@motion_btop: #6380da;
@motion_bbot: #344d97;
@motion_itop: #293c76;
@motion_ibot: #6781ce;
@motion_inset: #4463c3;
@motion_arrow: #1b274e;

@operators_bg: #5cb712;
@operators_btop: #a7ce87;
@operators_bbot: #488f0e;
@operators_itop: #336609;
@operators_ibot: #74b83d;
@operators_inset: #54a810;
@operators_arrow: #214306;

@obsolete_bg: #d42828;
@obsolete_btop: #da4646;
@obsolete_bbot: #971c1c;
@obsolete_ibot: #ec2e34;  // guessed
@obsolete_itop: #96191c;  // guessed
@obsolete_inset: #c32525; // guessed
@obsolete_arrow: #5c0b0d; // guessed

@pen_bg: #0e9a6c;
@pen_btop: #30a880;
@pen_bbot: #0a6e4d;
@pen_itop: #395b3f; // TODO
@pen_ibot: #62785b; // TODO
@pen_inset: none;   // TODO
@pen_arrow: none;   // TODO

@sensing_bg: #2ca5e2;
@sensing_btop: #49b1e6;
@sensing_bbot: #1f75a1;
@sensing_itop: #185c7e;
@sensing_ibot: #51abd8;
@sensing_inset: #2897cf;
@sensing_arrow: #103c53;

@sound_bg: #bb42c3;
@sound_btop: #c45ccb;
@sound_bbot: #852f8b;
@sound_itop: #68246d;
@sound_ibot: #bc61c1;
@sound_inset: #ac3cb3;
@sound_arrow: #451848;

@variables_bg: #ee7d16;
@variables_btop: #f08d33;
@variables_bbot: #c36612; // or #934d0d ?
@variables_itop: #934d0d;
@variables_ibot: #e48836;
@variables_inset: #da7214;
@variables_arrow: #572d08;

// Misc
@custom_outline: #8257ad;
@custom_definition_top: #8e2ec2;
@number_dropdown_arrow: #666;
@background: #fff;

// Comments
@comment_bg: #ffffd2;
@comment_bg_hover: rgba(255, 255, 210, 0.6); // #ffffd2
@comment_border: #d0d1d2;
@comment_join: #ffff80;
@comment_text: #505050;

// Variadic arrows
@variadic_arrow: #000;

// Z-indexes //
@z_container: 100;
@z_bottom_stub: 101;
@z_cmouth: 102;
@z_comment: 103;

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

.box-sizing_content-box {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
}

.stack-color(@category) {
    background-color: ~"@{@{category}_bg}";
    border-color: ~"@{@{category}_btop}" ~"@{@{category}_bbot}"
                  ~"@{@{category}_bbot}" ~"@{@{category}_btop}";
}

// See http://stackoverflow.com/questions/11198221/defining-variable-variables-using-less-css
.category-color(@category) {
    (~".@{category}") {
        &.stack, &.cap {
            &:before {
                border-color: ~"@{@{category}_bbot}" ~"@{@{category}_btop}"
                              ~"@{@{category}_btop}" ~"@{@{category}_bbot}";
            }
        }

        &.cmouth:before, &.hat, &.hat:before, &.define-hat, &.stack, &.cap,
        &.boolean, &.reporter, &.embedded, &.variable-reporter, &.custom-arg,
        &.outline {
            .stack-color(@category);
        }

        > .dropdown, > .boolean.empty, > .color {
            background: ~"@{@{category}_inset}";
            border-color: ~"@{@{category}_itop}" ~"@{@{category}_ibot}"
                          ~"@{@{category}_ibot}" ~"@{@{category}_itop}";

            &:after {
                color: ~"@{@{category}_arrow}";
            }
        }

        // Rings

        > .ring-inner {
            background-color: @background;
            border-color: ~"@{@{category}_bbot}" ~"@{@{category}_btop}"
                          ~"@{@{category}_btop}" ~"@{@{category}_bbot}";
            &:before {
                border-color: ~"@{@{category}_btop}" ~"@{@{category}_bbot}"
                              ~"@{@{category}_bbot}" ~"@{@{category}_btop}";
            }
        }

        &.hat:before {
            border-right-color: ~"@{@{category}_btop}";
        }

        // Remove white top stub from stack blocks in rings...
        > .stack:before {
            background: ~"@{@{category}_bg}";
        }

        // ...but reset it to white inside C block mouths
        &.cmouth > .stack:before {
            background: @background;
        }
    }
}

.sb2 {
    font-family: "Lucida Grande", Verdana, Arial, "DejaVu Sans", sans-serif;
    font-weight: bold;
    color: white;
    font-size: 10px;
    line-height: 10px;
    margin: 10px 0;
    padding: 0 2px; // for custom block hats

    *, *:before, *:after {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    &:after {
        content: "";
        display: block;
        clear: both;
    }

    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;

    display: block;

    z-index: @z_container;

    // Colors //
    .category-color("obsolete");
    .category-color("control");
    .category-color("custom");
    .category-color("events");
    .category-color("list");
    .category-color("looks");
    .category-color("motion");
    .category-color("operators");
    .category-color("pen");
    .category-color("sensing");
    .category-color("sound");
    .category-color("variables");
    .category-color("custom-arg");
    .category-color("extension");
    .category-color("grey");

    .script * {
        background: red;
    }
    .stack, .reporter, .embedded, .hat, .define-hat, .boolean {
        background-color: @obsolete_bg;
        border-color: @obsolete_btop @obsolete_bbot
                      @obsolete_bbot @obsolete_btop;
    }

    // Scripts are stacks of blocks //
    .script {
        margin-top: 15px;
        &:first-child {
            margin-top: 0;
        }

        display: block;
        float: none;
        &:after {
            content: "";
            display: block;
            clear: both;
        }
    }

    .script > *, .cwrap, .cwrap > *, .cmouth, .cmouth > * {
        float: left;
        clear: both;
    }

    .script > .comment {
        clear: none;
    }

    // Elements //
    div {
        display: inline-block;
    }

    .hat, .define-hat, .stack, .cap, .boolean, .reporter, .dropdown {
        border: 2px solid;
    }

    .stack, .cap, .cwrap, .cmouth {
        border-top-width: 1px;
    }

    .stack, .cap, .hat, .define-hat {
        padding: 2px 4px;

        // vertically centred min height
        min-height: 16px;
        line-height: 16px;
        & > * {
            line-height: 10px;
        }
    }

    .stack, .cap {
        min-width: 36px;
        min-height: 23px;
    }

    .stack, .cap, .outline {
        .border-radius(5px);
    }

    // Puzzle pieces //
    .stack, .cap, .hat, .define-hat {
        position: relative;
    }

    .stack, .cap {
        &:before {
            content: "";
            position: absolute;
            left: 11px;
            width: 15px;
            height: 4px;
            border: inherit;
            border-top: none;
            border-width: 1px;
            background: @background;
            .border-radius(0 0 4px 4px);

            top: -1px;
        }
    }

    .stack, .hat, .define-hat {
        &:after {
            content: "";
            position: absolute;
            left: 12px;
            width: 13px;
            height: 5px;
            border: inherit;
            border-top: none;
            background: inherit;
            .border-radius(0 0 3px 3px);

            bottom: -5px;
            z-index: @z_bottom_stub;
        }
    }

    .cap:after {
        content: none;
    }

    .cwrap {
        &.cap {
            border: 0;
            padding: 0;
            background: none;
            & > * {
                line-height: 16px;
            }
        }

        > .cend, > .celse {
            &.capend:before {
                content: none;
            }
        }

        &.cap > .cend:after {
            content: none;
        }

        > .cstart, > .celse {
            &:after {
                left: 26px;
            }
        }

        > .cend, > .celse {
            &:before {
                left: 25px;
            }
        }
    }

    // Hat block shapes //
    .hat, .define-hat {
        position: relative;
        float: left;

        padding: 4px;

        .border-radius(0 5px 5px 5px);

        margin-top: 15px;

        min-width: 100px;

        &:before {
            content: "";
            position: absolute;
            height: 13px;
            width: 80px;
            top: -13px;
            left: -2px;
            background: inherit;
            border-width: inherit;
            border-style: inherit;
            border-bottom: none;
            .border-radius(40px 40px 0 0 e('/') 13px 13px 0 0);
            border-top-width: 2px;
        }
    }

    // Custom block definition //
    @custom_definition_height: 18px;

    .define-hat {
        .border-radius(0 0 5px 5px);

        &:before {
            border-color: @custom_definition_top;
            border-top-width: 4px;
            height: @custom_definition_height;
            margin-top: -(@custom_definition_height - 3px);
            top: -3px;
            width: auto;
            left: -4px;
            right: -4px;
            .border-radius(50% 50% 3px 3px e('/') (@custom_definition_height -
            2px) (@custom_definition_height - 2px) 3px 3px);
        }
        margin-top: @custom_definition_height;
        padding-top: 0;
        padding-bottom: 2px;

        .reporter, .boolean {
            line-height: 10px;
        }
    }
    .outline {
        padding: 2px 4px 2px 4px;
        min-width: 29px; // total 37px
        line-height: 16px;
        min-height: 16px;
        border: 2px solid @custom_outline;
        margin-left: 5px;
        margin: 4px 0 4px 5px;
        position: relative;
        background: @custom_bg;
        vertical-align: middle;
        .box-sizing_content-box;

        &:before {
            top: -2px;
        }

        &:after {
            bottom: -5px;
        }

        &:before, &:after {
            content: "";
            position: absolute;
            left: 11px;
            width: 15px;
            height: 5px;
            border: inherit;
            border-top: none;
            background: inherit;
            .border-radius(0 0 4px 4px);
        }
    }

    // C Blocks //
    @cleft_padding: 14px;
    .cwrap {
        background: @background;
        display: block;

        .cstart {
            .border-radius(4px 4px 4px 0);
            min-width: 60px;
        }

        .cmouth {
            background: @background;
            display: block;
            position: relative;

            &:empty {
                content: " ";
                min-height: 12px;
            }

            &:before {
                .box-sizing_content-box;
                content: "";
                display: block;
                position: absolute;
                border-style: solid;
                border-width: 0 2px 0 2px;
                width: @cleft_padding - 4px;
                height: 100%;
                margin: -2px 0 0;
                padding: 2px 0 1px;
                z-index: @z_cmouth;
            }

            > div {
                margin-left: @cleft_padding;
            }
        }

        .celse {
            min-width: 60px;
            position: relative;
            .border-radius(0 4px 4px 0);
        }

        .cend {
            min-height: 16px;
            min-width: 60px;
            span {
                display: none;
            }
            .border-radius(0 4px 4px 4px);
        }
    }

    // Block inserts //
    .color {
        border: 1px solid;
        width: 11px;
        height: 11px;
        padding: 0;
        .box-sizing_content-box;
    }

    .number, .number-dropdown, .string, .dropdown {
        font-weight: normal;
    }

    .number, .number-dropdown, .string {
        background: #fff;
        color: #000;
        border: 1px solid #a59e97;
        border-color: #777 #fff #fff #777;
        // box-shadow: 1px 1px 1px #8f958a inset;
        padding: 1px 4px;
    }

    .string {
        padding: 2px;
    }

    .number, .number-dropdown {
        border-radius: 10px;
    }

    .dropdown, .string {
        border-style: solid;
        border-width: 1px;
    }

    .dropdown {
        padding: 1px 2px;
    }

    .dropdown, .number-dropdown {
        &:after {
            content: "▼";
            font-size: 8px;
            padding: 0 0 0 4px;
            .border-radius(2px);
        }
    }

    .number-dropdown:after {
        color: @number_dropdown_arrow;
        padding-left: 2px;
    }

    .embedded, .boolean {
        border: 2px solid;
        padding: 2px 4px;
    }

    .reporter {
        padding: 3px 6px;
        border-width: 2px;
    }

    // Rounded shapes //
    .reporter, .embedded, .boolean {
        .border-radius(2000px);
    }

    // Images //
    .arrow-cw, .arrow-ccw {
        display: inline-block;
        padding: 0;
        vertical-align: middle;
        width: 16px;
        height: 13px;
        background: url(block_images/arrows.png) 0 0 no-repeat;
    }
    .arrow-ccw {
        background-position: 0 -13px;
    }

    .green-flag {
        display: inline-block;
        padding: 0;
        vertical-align: bottom;
        margin: 0 2px;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background: url(block_images/flag.png) 0 0 no-repeat;
        background-size: contain;
    }

    // Comments //
    .comment {
        background: @background;

        div {
            margin: 4px 0 1px 1px;
            background: @comment_bg;
            border: 1px solid @comment_border;
            color: @comment_text;
            line-height: 1.25em;
            padding: 4px;
            .border-radius(4px);
            z-index: @z_comment;
        }

        &.attached {
            position: relative;
            margin-left: 0 !important;

            &.to-hat {
                margin-top: 16px;
            }
            &.to-define-hat {
                margin-top: 26px;
            }
            &.to-reporter {
                top: -2px;
            }

            div {
                position: absolute;
                margin: 0;

                &:hover {
                    background: @comment_bg_hover;
                }
            }

            &:before {
                content: "";
                display: block;
                float: left;
                margin-top: 10px;
                height: 2px;
                width: 32px;
                background: @comment_join;
            }
        }
    }

    // Inline blocks //
    &.inline-block {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
        padding-bottom: 5px;

        .script {
            display: inline-block;
        }

        // Try to make text same level
        .script > .stack {
            margin-top: 2px;
        }
        .hat, .define-hat {
            margin-bottom: 14px;
        }

        // TODO
        .outline {
            min-height: 16px;
            vertical-align: middle;
            margin-top: -2px;
        }
    }

    .string, .number {
    }

    .boolean, .reporter {
        vertical-align: middle;
    }

    .string {
        min-width: 3px;
        min-height: 10px;
    }

    .number {
        min-width: 3px;
        min-height: 10px;
    }

    .color {
        vertical-align: middle;
        margin-bottom: 2px;
    }

    * {
        float: none;
    }

    // Rings & empty booleans //
    .boolean.empty, .stack.empty {
        height: 16px;
        width: 27px;
        padding: 0;
        vertical-align: middle;
    }

    .grey > .ring-inner {
        > .empty, > .number {
            &.stack, &.boolean, &.reporter, &.number {
                // .number is a cheap hack because `()` = a number
                background: @background;
                border-color: @background;
                min-width: 27px;
                &:before {
                    background: @background;
                    border-color: @background;
                }
            }

            &.stack {
                min-width: 36px;
                height: 10px;

                &:after {
                    content: none;
                }
            }

        }

        &:after {
            content: none;
        }
    }

    .ring-inner {
        vertical-align: middle;
        padding: 0;
        float: none;
        border-radius: 7px;

        &.reporter, &.boolean, &.embedded {
            > * {
                border-radius: 13px;
            }

            border-radius: 15px;
        }

        > * {
            line-height: 16px;
        }

        &:before {
            z-index: 1;
            left: 14px;
            width: 13px;
            height: 4px;
            border-radius: 0 0 3px 3px;
        }
    }

    .ring {
        vertical-align: middle;
        border-radius: 11px;
        padding: 1px;
    }

    // Variadic arrows
    .arrow {
        background: none;
        font-size: 8px;
        color: @variadic_arrow;
        &:nth-last-child(2) {
            padding-left: 2px;
        }
    }
}

/*
 * scratchblocks2
 * http://github.com/blob8108/scratchblocks2
 *
 * Copyright 2013, Tim Radvan
 * MIT Licensed
 * http://opensource.org/licenses/MIT
 *
 * *****************************************************************************
 *
 * Requires the files:
 *
 *   - arrows.png
 *   - flag.png
 *
 * in the block_images/ directory, in the same folder as this file.
 *
 */

// Category colours

/*
    bg:    background colour for entire block
    btop:  top border for entire block
    bbot:  bottom border for entire block
    itop:  top border for inserts (eg. dropdown menus)
    ibot:  bottom border for inserts (eg. dropdown menus)
    inset: background colour for dropdown menus
    arrow: colour of the "▼" dropdown arrow
*/

@control_bg: #e1a91a;
@control_btop: #e5b53a;
@control_bbot: #a07812;
@control_itop: #7e5e0e;
@control_ibot: #d4a631;
@control_inset: #cf9b17;
@control_arrow: #533e09;

@custom_bg: #632d99;
@custom_btop: #794aa7;
@custom_bbot: #46206d;
@custom_itop: #431e67;
@custom_ibot: #70449a;
@custom_inset: #5b298c;
@custom_arrow: #1e0a38; // TODO

@custom-arg_bg: #5947b1;
@custom-arg_btop: #6857b8; // or #6850b2
@custom-arg_bbot: #423584;
@custom-arg_itop: none;
@custom-arg_ibot: none;
@custom-arg_inset: none;
@custom-arg_arrow: none;

@events_bg: #c88330;
@events_btop: #cf944d;
@events_bbot: #8e5d22;
@events_itop: #70491a;
@events_ibot: #c59254;
@events_inset: #b8782c;
@events_arrow: #4a3011;

@extension_bg: #4b4a60;
@extension_btop: #646376;
@extension_bbot: #353444;
@extension_itop: #2a2935;
@extension_ibot: #686778;
@extension_inset: #454458;
@extension_arrow: #1b1b23;

@grey_bg: #969696;
@grey_btop: #b7b7b7;
@grey_bbot: #656565;
@grey_itop: #434343;
@grey_ibot: #b8b8b8;
@grey_inset: #717171;
@grey_arrow: #393939;

@list_bg: #cc5b22;
@list_btop: #d26f3d;
@list_bbot: #a74a1b;
@list_itop: #7e3814;
@list_ibot: #c86e3f;
@list_inset: #bb531f;
@list_arrow: #4b210c;

@looks_bg: #8a55d7;
@looks_btop: #9a6ddc;
@looks_bbot: #623c99;
@looks_itop: #4c2f78;
@looks_ibot: #9670d0;
@looks_inset: #7e4ec5;
@looks_arrow: #1e0a38;

@motion_bg: #4a6cd4;
@motion_btop: #6380da;
@motion_bbot: #344d97;
@motion_itop: #293c76;
@motion_ibot: #6781ce;
@motion_inset: #4463c3;
@motion_arrow: #1b274e;

@operators_bg: #5cb712;
@operators_btop: #a7ce87;
@operators_bbot: #488f0e;
@operators_itop: #336609;
@operators_ibot: #74b83d;
@operators_inset: #54a810;
@operators_arrow: #214306;

@obsolete_bg: #d42828;
@obsolete_btop: #da4646;
@obsolete_bbot: #971c1c;
@obsolete_ibot: #ec2e34;  // guessed
@obsolete_itop: #96191c;  // guessed
@obsolete_inset: #c32525; // guessed
@obsolete_arrow: #5c0b0d; // guessed

@pen_bg: #0e9a6c;
@pen_btop: #30a880;
@pen_bbot: #0a6e4d;
@pen_itop: #395b3f; // TODO
@pen_ibot: #62785b; // TODO
@pen_inset: none;   // TODO
@pen_arrow: none;   // TODO

@sensing_bg: #2ca5e2;
@sensing_btop: #49b1e6;
@sensing_bbot: #1f75a1;
@sensing_itop: #185c7e;
@sensing_ibot: #51abd8;
@sensing_inset: #2897cf;
@sensing_arrow: #103c53;

@sound_bg: #bb42c3;
@sound_btop: #c45ccb;
@sound_bbot: #852f8b;
@sound_itop: #68246d;
@sound_ibot: #bc61c1;
@sound_inset: #ac3cb3;
@sound_arrow: #451848;

@variables_bg: #ee7d16;
@variables_btop: #f08d33;
@variables_bbot: #c36612; // or #934d0d ?
@variables_itop: #934d0d;
@variables_ibot: #e48836;
@variables_inset: #da7214;
@variables_arrow: #572d08;

// Misc
@custom_outline: #8257ad;
@custom_definition_top: #8e2ec2;
@number_dropdown_arrow: #666;
@background: #fff;

// Comments
@comment_bg: #ffffd2;
@comment_bg_hover: rgba(255, 255, 210, 0.6); // #ffffd2
@comment_border: #d0d1d2;
@comment_join: #ffff80;
@comment_text: #505050;

// Variadic arrows
@variadic_arrow: #000;

// Z-indexes //
@z_container: 100;
@z_bottom_stub: 101;
@z_cmouth: 102;
@z_comment: 103;

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

.box-sizing_content-box {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
}

.stack-color(@category) {
    background-color: ~"@{@{category}_bg}";
    border-color: ~"@{@{category}_btop}" ~"@{@{category}_bbot}"
                  ~"@{@{category}_bbot}" ~"@{@{category}_btop}";
}

// See http://stackoverflow.com/questions/11198221/defining-variable-variables-using-less-css
.category-color(@category) {
    (~".@{category}") {
        &.stack, &.cap {
            &:before {
                border-color: ~"@{@{category}_bbot}" ~"@{@{category}_btop}"
                              ~"@{@{category}_btop}" ~"@{@{category}_bbot}";
            }
        }

        &.cmouth:before, &.hat, &.hat:before, &.define-hat, &.stack, &.cap,
        &.boolean, &.reporter, &.embedded, &.variable-reporter, &.custom-arg,
        &.outline {
            .stack-color(@category);
        }

        > .dropdown, > .boolean.empty, > .color {
            background: ~"@{@{category}_inset}";
            border-color: ~"@{@{category}_itop}" ~"@{@{category}_ibot}"
                          ~"@{@{category}_ibot}" ~"@{@{category}_itop}";

            &:after {
                color: ~"@{@{category}_arrow}";
            }
        }

        // Rings

        > .ring-inner {
            background-color: @background;
            border-color: ~"@{@{category}_bbot}" ~"@{@{category}_btop}"
                          ~"@{@{category}_btop}" ~"@{@{category}_bbot}";
            &:before {
                border-color: ~"@{@{category}_btop}" ~"@{@{category}_bbot}"
                              ~"@{@{category}_bbot}" ~"@{@{category}_btop}";
            }
        }

        &.hat:before {
            border-right-color: ~"@{@{category}_btop}";
        }

        // Remove white top stub from stack blocks in rings...
        > .ring-inner:before {
            background: ~"@{@{category}_bg}";
        }

        // ...but reset it to white inside C block mouths
        &.cmouth > .stack:before {
            background: @background;
        }
    }
}

.sb2 {
    font-family: "Lucida Grande", Verdana, Arial, "DejaVu Sans", sans-serif;
    font-weight: bold;
    color: white;
    font-size: 10px;
    line-height: 10px;
    margin: 10px 0;
    padding: 0 2px; // for custom block hats

    *, *:before, *:after {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    &:after {
        content: "";
        display: block;
        clear: both;
    }

    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;

    display: block;

    z-index: @z_container;

    // Colors //
    .category-color("obsolete");
    .category-color("control");
    .category-color("custom");
    .category-color("events");
    .category-color("list");
    .category-color("looks");
    .category-color("motion");
    .category-color("operators");
    .category-color("pen");
    .category-color("sensing");
    .category-color("sound");
    .category-color("variables");
    .category-color("custom-arg");
    .category-color("extension");
    .category-color("grey");

    .script * {
        background: red;
    }
    .stack, .reporter, .embedded, .hat, .define-hat, .boolean {
        background-color: @obsolete_bg;
        border-color: @obsolete_btop @obsolete_bbot
                      @obsolete_bbot @obsolete_btop;
    }

    // Scripts are stacks of blocks //
    .script {
        margin-top: 15px;
        &:first-child {
            margin-top: 0;
        }

        display: block;
        float: none;
        &:after {
            content: "";
            display: block;
            clear: both;
        }
    }

    .script > *, .cwrap, .cwrap > *, .cmouth, .cmouth > * {
        float: left;
        clear: both;
    }

    .script > .comment {
        clear: none;
    }

    // Elements //
    div {
        display: inline-block;
    }

    .hat, .define-hat, .stack, .cap, .boolean, .reporter, .dropdown {
        border: 2px solid;
    }

    .stack, .cap, .cwrap, .cmouth {
        border-top-width: 1px;
    }

    .stack, .cap, .hat, .define-hat {
        padding: 2px 4px;

        // vertically centred min height
        min-height: 16px;
        line-height: 16px;
        & > * {
            line-height: 10px;
        }
    }

    .stack, .cap {
        min-width: 36px;
        min-height: 23px;
    }

    .stack, .cap, .outline {
        .border-radius(5px);
    }

    // Puzzle pieces //
    .stack, .cap, .hat, .define-hat {
        position: relative;
    }

    .stack, .cap {
        &:before {
            content: "";
            position: absolute;
            left: 11px;
            width: 15px;
            height: 4px;
            border: inherit;
            border-top: none;
            border-width: 1px;
            background: @background;
            .border-radius(0 0 4px 4px);

            top: -1px;
        }
    }

    .stack, .hat, .define-hat {
        &:after {
            content: "";
            position: absolute;
            left: 12px;
            width: 13px;
            height: 5px;
            border: inherit;
            border-top: none;
            background: inherit;
            .border-radius(0 0 3px 3px);

            bottom: -5px;
            z-index: @z_bottom_stub;
        }
    }

    .cap:after {
        content: none;
    }

    .cwrap {
        &.cap {
            border: 0;
            padding: 0;
            background: none;
            & > * {
                line-height: 16px;
            }
        }

        > .cend, > .celse {
            &.capend:before {
                content: none;
            }
        }

        &.cap > .cend:after {
            content: none;
        }

        > .cstart, > .celse {
            &:after {
                left: 26px;
            }
        }

        > .cend, > .celse {
            &:before {
                left: 25px;
            }
        }
    }

    // Hat block shapes //
    .hat, .define-hat {
        position: relative;
        float: left;

        padding: 4px;

        .border-radius(0 5px 5px 5px);

        margin-top: 15px;

        min-width: 100px;

        &:before {
            content: "";
            position: absolute;
            height: 13px;
            width: 80px;
            top: -13px;
            left: -2px;
            background: inherit;
            border-width: inherit;
            border-style: inherit;
            border-bottom: none;
            .border-radius(40px 40px 0 0 e('/') 13px 13px 0 0);
            border-top-width: 2px;
        }
    }

    // Custom block definition //
    @custom_definition_height: 18px;

    .define-hat {
        .border-radius(0 0 5px 5px);

        &:before {
            border-color: @custom_definition_top;
            border-top-width: 4px;
            height: @custom_definition_height;
            margin-top: -(@custom_definition_height - 3px);
            top: -3px;
            width: auto;
            left: -4px;
            right: -4px;
            .border-radius(50% 50% 3px 3px e('/') (@custom_definition_height -
            2px) (@custom_definition_height - 2px) 3px 3px);
        }
        margin-top: @custom_definition_height;
        padding-top: 0;
        padding-bottom: 2px;

        .reporter, .boolean {
            line-height: 10px;
        }
    }
    .outline {
        padding: 2px 4px 2px 4px;
        min-width: 29px; // total 37px
        line-height: 16px;
        min-height: 16px;
        border: 2px solid @custom_outline;
        margin-left: 5px;
        margin: 4px 0 4px 5px;
        position: relative;
        background: @custom_bg;
        vertical-align: middle;
        .box-sizing_content-box;

        &:before {
            top: -2px;
        }

        &:after {
            bottom: -5px;
        }

        &:before, &:after {
            content: "";
            position: absolute;
            left: 11px;
            width: 15px;
            height: 5px;
            border: inherit;
            border-top: none;
            background: inherit;
            .border-radius(0 0 4px 4px);
        }
    }

    // C Blocks //
    @cleft_padding: 14px;
    .cwrap {
        background: @background;
        display: block;

        .cstart {
            .border-radius(4px 4px 4px 0);
            min-width: 60px;
        }

        .cmouth {
            background: @background;
            display: block;
            position: relative;

            &:empty {
                content: " ";
                min-height: 12px;
            }

            &:before {
                .box-sizing_content-box;
                content: "";
                display: block;
                position: absolute;
                border-style: solid;
                border-width: 0 2px 0 2px;
                width: @cleft_padding - 4px;
                height: 100%;
                margin: -2px 0 0;
                padding: 2px 0 1px;
                z-index: @z_cmouth;
            }

            > div {
                margin-left: @cleft_padding;
            }
        }

        .celse {
            min-width: 60px;
            position: relative;
            .border-radius(0 4px 4px 0);
        }

        .cend {
            min-height: 16px;
            min-width: 60px;
            span {
                display: none;
            }
            .border-radius(0 4px 4px 4px);
        }
    }

    // Block inserts //
    .color {
        border: 1px solid;
        width: 11px;
        height: 11px;
        padding: 0;
        .box-sizing_content-box;
    }

    .number, .number-dropdown, .string, .dropdown {
        font-weight: normal;
    }

    .number, .number-dropdown, .string {
        background: #fff;
        color: #000;
        border: 1px solid #a59e97;
        border-color: #777 #fff #fff #777;
        // box-shadow: 1px 1px 1px #8f958a inset;
        padding: 1px 4px;
    }

    .string {
        padding: 2px;
    }

    .number, .number-dropdown {
        border-radius: 10px;
    }

    .dropdown, .string {
        border-style: solid;
        border-width: 1px;
    }

    .dropdown {
        padding: 1px 2px;
    }

    .dropdown, .number-dropdown {
        &:after {
            content: "▼";
            font-size: 8px;
            padding: 0 0 0 4px;
            .border-radius(2px);
        }
    }

    .number-dropdown:after {
        color: @number_dropdown_arrow;
        padding-left: 2px;
    }

    .embedded, .boolean {
        border: 2px solid;
        padding: 2px 4px;
    }

    .reporter {
        padding: 3px 6px;
        border-width: 2px;
    }

    // Rounded shapes //
    .reporter, .embedded, .boolean {
        .border-radius(2000px);
    }

    // Images //
    .arrow-cw, .arrow-ccw {
        display: inline-block;
        padding: 0;
        vertical-align: middle;
        width: 16px;
        height: 13px;
        background: url(block_images/arrows.png) 0 0 no-repeat;
    }
    .arrow-ccw {
        background-position: 0 -13px;
    }

    .green-flag {
        display: inline-block;
        padding: 0;
        vertical-align: bottom;
        margin: 0 2px;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background: url(block_images/flag.png) 0 0 no-repeat;
        background-size: contain;
    }

    // Comments //
    .comment {
        background: @background;

        div {
            margin: 4px 0 1px 1px;
            background: @comment_bg;
            border: 1px solid @comment_border;
            color: @comment_text;
            line-height: 1.25em;
            padding: 4px;
            .border-radius(4px);
            z-index: @z_comment;
        }

        &.attached {
            position: relative;
            margin-left: 0 !important;

            &.to-hat {
                margin-top: 16px;
            }
            &.to-define-hat {
                margin-top: 26px;
            }
            &.to-reporter {
                top: -2px;
            }

            div {
                position: absolute;
                margin: 0;

                &:hover {
                    background: @comment_bg_hover;
                }
            }

            &:before {
                content: "";
                display: block;
                float: left;
                margin-top: 10px;
                height: 2px;
                width: 32px;
                background: @comment_join;
            }
        }
    }

    // Inline blocks //
    &.inline-block {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
        padding-bottom: 5px;

        .script {
            display: inline-block;
        }

        // Try to make text same level
        .script > .stack {
            margin-top: 2px;
        }
        .hat, .define-hat {
            margin-bottom: 14px;
        }

        // TODO
        .outline {
            min-height: 16px;
            vertical-align: middle;
            margin-top: -2px;
        }
    }

    .string, .number {
    }

    .boolean, .reporter {
        vertical-align: middle;
    }

    .string {
        min-width: 3px;
        min-height: 10px;
    }

    .number {
        min-width: 3px;
        min-height: 10px;
    }

    .color {
        vertical-align: middle;
        margin-bottom: 2px;
    }

    * {
        float: none;
    }

    // Rings & empty booleans //
    .boolean.empty, .stack.empty {
        height: 16px;
        width: 27px;
        padding: 0;
        vertical-align: middle;
    }

    .grey > .ring-inner {
        > .empty, > .number {
            &.stack, &.boolean, &.reporter, &.number {
                // .number is a cheap hack because `()` = a number
                background: @background;
                border-color: @background;
                min-width: 27px;
                &:before {
                    background: @background;
                    border-color: @background;
                }
            }

            &.stack {
                min-width: 36px;
                height: 10px;

                &:after {
                    content: none;
                }
            }

        }

        &:after {
            content: none;
        }
    }

    .ring-inner {
        vertical-align: middle;
        padding: 0;
        float: none;
        border-radius: 7px;

        &.reporter, &.boolean, &.embedded {
            > * {
                border-radius: 13px;
            }

            border-radius: 15px;
        }

        > * {
            line-height: 16px;
        }

        &:before {
            z-index: 1;
            left: 14px;
            width: 13px;
            height: 4px;
            border-radius: 0 0 3px 3px;
        }
    }

    .ring {
        vertical-align: middle;
        border-radius: 11px;
        padding: 1px;
    }

    // Variadic arrows
    .arrow {
        background: none;
        font-size: 8px;
        color: @variadic_arrow;
        &:nth-last-child(2) {
            padding-left: 2px;
        }
    }
}


Limit transition time in summary

Limit transition time in summary

fatal: unable to access 'https://github.com/Futuring/editor-legacy.git/': The requested URL returned error: 403


Update and rename less to less/alerts.less

//**** Alerts ****//

//Base Style

.alert {
    padding: @alert-padding;
    margin-bottom: @alert-margin-bottom;
    border: 1px solid transparent;
    border-radius: @border-radius;
}

.alert.alert-dismissable {
    padding-right: 35px;
}

.alert > a {
   font-weight: bold;
}

//Info

.alert.alert-info {
    color: @alert-info-color;
    background-color: @alert-info;
    border-color: @alert-info-border;
}

.alert.alert-info > a {
   color: darken(@alert-info-color, 5%);
}

.alert.alert-info > a:hover, .alert.alert-info > a:focus {
   color: darken(@alert-info-color, 10%);
}

//Success

.alert.alert-success {
    color: @alert-success-color;
    background-color: @alert-success;
    border-color: @alert-success-border;
}

.alert.alert-success > a {
   color: darken(@alert-success-color, 5%);
}

.alert.alert-success > a:hover, .alert.alert-success > a:focus {
   color: darken(@alert-success-color, 10%);
}

//Warning

.alert.alert-warning {
    color: @alert-warning-color;
    background-color: @alert-warning;
    border-color: @alert-warning-border;
}

.alert.alert-warning > a {
   color: darken(@alert-warning-color, 5%);
}

.alert.alert-warning > a:hover, .alert.alert-warning > a:focus {
   color: darken(@alert-warning-color, 10%);
}

//Danger

.alert.alert-danger {
    color: @alert-danger-color;
    background-color: @alert-danger;
    border-color: @alert-danger-border;
}

.alert.alert-danger > a {
   color: darken(@alert-danger-color, 5%);
}

.alert.alert-danger > a:hover, .alert.alert-danger > a:focus {
   color: darken(@alert-danger-color, 10%);
}

//Styles

.alert.square {
    border-radius: @border-square-radius;
}

.alert.ultra-rounded {
    border-radius: @border-ultra-rounded-radius;
}

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


improved font-awesome

improved font-awesome

fatal: unable to access 'https://github.com/orloxx/frontend-arc.git/': The requested URL returned error: 403


Modal CSS

Modal CSS

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


new theme for bootstrap

new theme for bootstrap

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