[gh-pages] Add flags.less

[gh-pages] Add flags.less

with gh-flag

.flag-gh {
  overflow: hidden;
  background: transparent;
  width: 120px;
  height: 120px;
  top: 0;
  right: 0;
  position: fixed;
  z-index: 9999;
  .flag-gh-link {
    display: block;
    position: absolute;
    text-decoration: none!important;
    top: 4em;
    right: -5.5em;
    padding: 1em;
    width: 20em;
    text-align: center;
    background-color: #6f5499;
    text-transform: uppercase;
    font-size: .6em;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    &:hover {
      background: #8c68c3;
      color: #fff;
    }
  }
}

error: pathspec 'cp-strap/src/website/stylesheets/flags.less' did not match any file(s) known to git


Started working on refactoring show hide slider to add it to hut info bar.

  @sidebarToggleHeight: 16px;
.show-hide-slider {
  height: 16px;
  font-size: 16px;
  padding: 2px 1px 2px 2px;
  background-color: @altBgColor;
  border-top: @barBorderColor solid @barBorderWidth;
  border-bottom: @barBorderColor solid @barBorderWidth;

  .show-hide-slider-icon:before {
    .pointer;
  }
}

.show-hide-slider.show-hide-slider-left-facing {
  .border-bottom-right-radius( 2px );
  .border-top-right-radius( 2px );
  border-right: @barBorderColor solid @barBorderWidth;
}

.show-hide-slider.show-hide-slider-right-facing {
  .border-bottom-left-radius( 2px );
  .border-top-left-radius( 2px );
  border-left: @barBorderColor solid @barBorderWidth;
}

error: pathspec 'src/hutmap/static/hutmap/css/modules/show_hide_slider.less' did not match any file(s) known to git


[个人中心年报入口]

[个人中心年报入口]

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


reset uikit theme nav header padding

reset uikit theme nav header padding

//
// Component: Nav
//
// ========================================================================

// Variables
// ========================================================================

@nav-padding-vertical:                          6px;
@nav-padding-horizontal:                        25px;

@nav-header-padding-vertical:                   @nav-padding-vertical;
@nav-header-padding-horizontal:                 @nav-padding-horizontal;
@nav-header-font-size:                          round((@global-font-size * 0.85)); // 12px / 14px
@nav-header-font-weight:                        normal;
@nav-header-margin-top:                         @global-margin;

@nav-divider-margin-vertical:                   15px;
@nav-divider-margin-horizontal:                 0;

@nav-subtitle-font-size:                        round((@global-font-size * 0.85)); // 12px / 14px
@nav-subtitle-line-height:                      round((@nav-subtitle-font-size * 1.46)); // 18px / 20px

@nav-sub-padding-left:                          (@nav-padding-horizontal + @nav-nested-padding-left);

@nav-parent-icon-width:                         @global-line-height;

@nav-side-color:                                @global-color;
@nav-side-hover-background:                     @global-default-background;
@nav-side-hover-color:                          @global-color;
@nav-side-active-background:                    @global-default-background;
@nav-side-active-color:                         @global-color;
@nav-side-header-color:                         @global-muted-color;
@nav-side-divider-border:                       @global-border;
@nav-side-nested-color:                         @global-muted-color;
@nav-side-nested-hover-color:                   @global-color;

@nav-dropdown-color:                            @global-color;
@nav-dropdown-hover-background:                 @global-primary-background;
@nav-dropdown-hover-color:                      @global-contrast-color;
@nav-dropdown-header-color:                     @global-color;
@nav-dropdown-divider-border:                   @global-border;
@nav-dropdown-nested-color:                     @global-muted-color;
@nav-dropdown-nested-hover-color:               @global-color;

@nav-navbar-color:                              @global-color;
@nav-navbar-hover-background:                   @global-default-background;
@nav-navbar-hover-color:                        @global-color;
@nav-navbar-header-color:                       @global-color;
@nav-navbar-divider-border:                     @global-border;
@nav-navbar-nested-color:                       @global-muted-color;
@nav-navbar-nested-hover-color:                 @global-color;

@nav-offcanvas-color:                           @global-color;
@nav-offcanvas-hover-background:                #f5f5f5;
@nav-offcanvas-hover-color:                     @global-color;
@nav-offcanvas-active-background:               #f5f5f5;
@nav-offcanvas-active-color:                    @global-color;
@nav-offcanvas-header-color:                    @global-color;
@nav-offcanvas-divider-border:                  #ddd;
@nav-offcanvas-nested-color:                    @global-color;
@nav-offcanvas-nested-hover-color:              @global-color;

// Sub-object: `uk-nav-header`
// ========================================================================

.hook-nav-header() {}

// Sub-object: `uk-nav-divider`
// ========================================================================

.hook-nav-divider() {}

// Sub-object: `uk-nav-sub`
// ========================================================================

.hook-nav-sub() {}

// Modifier: `uk-nav-parent-icon`
// ========================================================================

.hook-nav-parent-icon() {}

// Modifier `uk-nav-side`
// ========================================================================

//
// Items
//

.hook-nav-side() { padding: 8px 16px; }

// Hover
.hook-nav-side-hover() {}

// Active
.hook-nav-side-active() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-side-header() { padding: 8px 16px; }

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-side-divider() {}

// Modifier `uk-nav-dropdown`
// ========================================================================

//
// Items
//

.hook-nav-dropdown() {}

// Hover
.hook-nav-dropdown-hover() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-dropdown-header() {}

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-dropdown-divider() {}

// Modifier `uk-nav-navbar`
// ========================================================================

//
// Items
//

.hook-nav-navbar() {}

// Hover
.hook-nav-navbar-hover() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-navbar-header() {}

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-navbar-divider() {}

// Modifier `uk-nav-offcanvas`
// ========================================================================

.hook-nav-offcanvas-link() {}

.hook-nav-offcanvas-link-hover() {}

//
// Items
//

.hook-nav-offcanvas() {}

// Hover
.hook-nav-offcanvas-hover() {}

// Active
.hook-nav-offcanvas-active() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-offcanvas-header() {}

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-offcanvas-divider() {}

// Miscellaneous
// ========================================================================

.hook-nav-misc() {

    /*
     * Allow `uk-sub-nav` on hover
     */

    .uk-nav-side > li { position: relative; }

    .uk-nav-side .uk-subnav {
        position: absolute;
        top: 6px;
        right: 15px;
        padding: 0;
    }

    /* Needed if uk-subnav is used to keep style on hover */
    .uk-nav-side > li:hover > a {
        background: @nav-side-hover-background;
        color: @nav-side-hover-color;
    }

}

//
// Component: Nav
//
// ========================================================================

// Variables
// ========================================================================

@nav-padding-vertical:                          6px;
@nav-padding-horizontal:                        25px;

@nav-header-padding-vertical:                   8px;
@nav-header-padding-horizontal:                 0;
@nav-header-font-size:                          round((@global-font-size * 0.85)); // 12px / 14px
@nav-header-font-weight:                        normal;
@nav-header-margin-top:                         @global-margin;

@nav-divider-margin-vertical:                   15px;
@nav-divider-margin-horizontal:                 0;

@nav-subtitle-font-size:                        round((@global-font-size * 0.85)); // 12px / 14px
@nav-subtitle-line-height:                      round((@nav-subtitle-font-size * 1.46)); // 18px / 20px

@nav-sub-padding-left:                          (@nav-padding-horizontal + @nav-nested-padding-left);

@nav-parent-icon-width:                         @global-line-height;

@nav-side-color:                                @global-color;
@nav-side-hover-background:                     @global-default-background;
@nav-side-hover-color:                          @global-color;
@nav-side-active-background:                    @global-default-background;
@nav-side-active-color:                         @global-color;
@nav-side-header-color:                         @global-muted-color;
@nav-side-divider-border:                       @global-border;
@nav-side-nested-color:                         @global-muted-color;
@nav-side-nested-hover-color:                   @global-color;

@nav-dropdown-color:                            @global-color;
@nav-dropdown-hover-background:                 @global-primary-background;
@nav-dropdown-hover-color:                      @global-contrast-color;
@nav-dropdown-header-color:                     @global-color;
@nav-dropdown-divider-border:                   @global-border;
@nav-dropdown-nested-color:                     @global-muted-color;
@nav-dropdown-nested-hover-color:               @global-color;

@nav-navbar-color:                              @global-color;
@nav-navbar-hover-background:                   @global-default-background;
@nav-navbar-hover-color:                        @global-color;
@nav-navbar-header-color:                       @global-color;
@nav-navbar-divider-border:                     @global-border;
@nav-navbar-nested-color:                       @global-muted-color;
@nav-navbar-nested-hover-color:                 @global-color;

@nav-offcanvas-color:                           @global-color;
@nav-offcanvas-hover-background:                #f5f5f5;
@nav-offcanvas-hover-color:                     @global-color;
@nav-offcanvas-active-background:               #f5f5f5;
@nav-offcanvas-active-color:                    @global-color;
@nav-offcanvas-header-color:                    @global-color;
@nav-offcanvas-divider-border:                  #ddd;
@nav-offcanvas-nested-color:                    @global-color;
@nav-offcanvas-nested-hover-color:              @global-color;

// Sub-object: `uk-nav-header`
// ========================================================================

.hook-nav-header() {}

// Sub-object: `uk-nav-divider`
// ========================================================================

.hook-nav-divider() {}

// Sub-object: `uk-nav-sub`
// ========================================================================

.hook-nav-sub() {}

// Modifier: `uk-nav-parent-icon`
// ========================================================================

.hook-nav-parent-icon() {}

// Modifier `uk-nav-side`
// ========================================================================

//
// Items
//

.hook-nav-side() { padding: 8px 16px; }

// Hover
.hook-nav-side-hover() {}

// Active
.hook-nav-side-active() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-side-header() { padding: 8px 16px; }

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-side-divider() {}

// Modifier `uk-nav-dropdown`
// ========================================================================

//
// Items
//

.hook-nav-dropdown() {}

// Hover
.hook-nav-dropdown-hover() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-dropdown-header() {}

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-dropdown-divider() {}

// Modifier `uk-nav-navbar`
// ========================================================================

//
// Items
//

.hook-nav-navbar() {}

// Hover
.hook-nav-navbar-hover() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-navbar-header() {}

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-navbar-divider() {}

// Modifier `uk-nav-offcanvas`
// ========================================================================

.hook-nav-offcanvas-link() {}

.hook-nav-offcanvas-link-hover() {}

//
// Items
//

.hook-nav-offcanvas() {}

// Hover
.hook-nav-offcanvas-hover() {}

// Active
.hook-nav-offcanvas-active() {}

//
// Sub-object: `uk-nav-header`
//

.hook-nav-offcanvas-header() {}

//
// Sub-object: `uk-nav-divider`
//

.hook-nav-offcanvas-divider() {}

// Miscellaneous
// ========================================================================

.hook-nav-misc() {

    /*
     * Allow `uk-sub-nav` on hover
     */

    .uk-nav-side > li { position: relative; }

    .uk-nav-side .uk-subnav {
        position: absolute;
        top: 6px;
        right: 15px;
        padding: 0;
    }

    /* Needed if uk-subnav is used to keep style on hover */
    .uk-nav-side > li:hover > a {
        background: @nav-side-hover-background;
        color: @nav-side-hover-color;
    }

}


Disables menu item highlight

Disables menu item highlight

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


Less code reference guide

Less code reference guide

http://mdo.github.io/code-guide/

//
// Declaration order
// This is the reference from http://mdo.github.io/code-guide/
// about the CSS/LESS/SASS declaration order.
//------------------------------------------------------------
//

.declaration-order {
  /* Positioning */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;

  /* Box-model */
  display: block;
  float: right;
  width: 100px;
  height: 100px;

  /* Typography */
  font: normal 13px "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: #333;
  text-align: center;

  /* Visual */
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 3px;

  /* Misc */
  opacity: 1;
}

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


Improved visuals on mobile devices

Improved visuals on mobile devices

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


Markdown: fix markdown text padding

Markdown: fix markdown text padding

// readme style
.markdown-wrap {
  font-size: 14px;
  clear: both;

  a {
      color:#4183c4;
      text-decoration:none;
  }

  a:hover {
      color:#4183c4;
      text-decoration:underline;
  }

  a:active {
      color:#4183c4;
      text-decoration:none;
  }

  h1 {
  	margin:1em 0 15px;
  	border-bottom:1px solid #bbb;
  	font-size:2.5em;
  }

  h2 {
  	margin:1em 0 15px;
  	border-bottom:2px dotted #ccc;
  	font-size:2.0em;
  }

  h3 {
  	font-size:1.5em;
  }

  h4 {
  	font-size:1em;
  }

  hr {
  	height:1px;
  	margin:10px 0;
  	border:0;color:#ccc;
  	background-color:#ccc;
  }

  p {
  	margin : 15px 0;
  }

  blockquote {
      p { font-size:1em; }
  }

  code {
	  margin: 0 2px;
		padding: 0px 5px;
		border: 1px solid #ddd;
		background-color: #f8f8f8;
		border-radius: 3px;

    .title {
      font-size:inherit;
    }
	}

	blockquote{
		border-left: 4px solid #DDD;
		padding: 0 15px;
		color: #777;
	}

	img{
		max-width:100%;
		margin:10px 0; padding: 10px;
		border:1px solid rgba(0,0,0,0.1);
		.box-shadow(2px 2px 5px rgba(0,0,0,0.15));
	}

	ul{
	 	margin:10px 15px;
	 	line-height:21px;
	 	list-style:disc;
	}

	ol{
	 	margin:10px 15px;
	 	line-height:21px;
	 	list-style:decimal;
	}

	pre {
		background-color:#f8f8f8;
    padding: 10px;
    margin:10px 0;

		code {
			marign : 0;
			padding: 0;
			border : none;
		}
	}

	table {
		border-collapse:collapse;
        margin: 15px 15px;

		th {
			padding:5px;
			border:1px solid #dcddde;
			background-color:#f7f7f7;
		}

		td {
			padding:5px;
			border:1px solid #dcddde;
		}

	}
     &.markdown-before {
       visibility : hidden;
   }

  .popover {
    max-width: 400px;
  }
  .popover-title {
    font-size: 14px;
    font-weight: bold;
  }
}

// readme style
.markdown-wrap {
  font-size: 14px;
  a {
      color:#4183c4;
      text-decoration:none;
  }

  a:hover {
      color:#4183c4;
      text-decoration:underline;
  }

  a:active {
      color:#4183c4;
      text-decoration:none;
  }

  h1 {
  	margin:1em 0 15px;
  	border-bottom:1px solid #bbb;
  	font-size:2.5em;
  }

  h2 {
  	margin:1em 0 15px;
  	border-bottom:2px dotted #ccc;
  	font-size:2.0em;
  }

  h3 {
  	font-size:1.5em;
  }

  h4 {
  	font-size:1em;
  }

  hr {
  	height:1px;
  	margin:10px 0;
  	border:0;color:#ccc;
  	background-color:#ccc;
  }

  p {
  	margin : 15px 0;
  }

  blockquote {
      p { font-size:1em; }
  }

  code {
	  margin: 0 2px;
		padding: 0px 5px;
		border: 1px solid #ddd;
		background-color: #f8f8f8;
		border-radius: 3px;

    .title {
      font-size:inherit;
    }
	}

	blockquote{
		border-left: 4px solid #DDD;
		padding: 0 15px;
		color: #777;
	}

	img{
		max-width:100%;
		margin:10px 0; padding: 10px;
		border:1px solid rgba(0,0,0,0.1);
		.box-shadow(2px 2px 5px rgba(0,0,0,0.15));
	}

	ul{
	 	margin:10px 15px;
	 	line-height:21px;
	 	list-style:disc;
	}

	ol{
	 	margin:10px 15px;
	 	line-height:21px;
	 	list-style:decimal;
	}

	pre {
		background-color:#f8f8f8;
    padding: 10px;
    margin:10px 0;

		code {
			marign : 0;
			padding: 0;
			border : none;
		}
	}

	table {
		border-collapse:collapse;
        margin: 15px 15px;

		th {
			padding:5px;
			border:1px solid #dcddde;
			background-color:#f7f7f7;
		}

		td {
			padding:5px;
			border:1px solid #dcddde;
		}

	}
     &.markdown-before {
       visibility : hidden;
   }

  .popover {
    max-width: 400px;
  }
  .popover-title {
    font-size: 14px;
    font-weight: bold;
  }
}


Add scaffolding style

Add scaffolding style

with bootstrap patterns

//
// Scaffolding
// --------------------------------------------------

// Reset the box-sizing

*,
*:before,
*:after {
  .box-sizing(border-box);
}

// Body reset

html {
  font-size: 62.5%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
  font-family: @font-family-base;
  font-size: @font-size-base;
  line-height: @line-height-base;
  color: @text-color;
  background: @body-bg;
}

// Reset fonts for relevant elements
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

// Links

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

  &:hover,
  &:focus {
    color: @link-hover-color;
    text-decoration: underline;
  }

  &:focus {
    .tab-focus();
  }
}

// Images

img {
  vertical-align: middle;
}

// Responsive images (ensure images don't scale beyond their parents)
.img-responsive {
  .img-responsive();
}

// Rounded corners
.img-rounded {
  border-radius: @border-radius-large;
}

// Image thumbnails
//
// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.
.img-thumbnail {
  padding: @thumbnail-padding;
  line-height: @line-height-base;
  background-color: @thumbnail-bg;
  border: 1px solid @thumbnail-border;
  border-radius: @thumbnail-border-radius;
  .transition(all .2s ease-in-out);

  // Keep them at most 100% wide
  .img-responsive(inline-block);
}

// Perfect circle
.img-circle {
  border-radius: 50%; // set radius in percents
}

// Horizontal rules

hr {
  margin-top:    @line-height-computed;
  margin-bottom: @line-height-computed;
  border: 0;
  border-top: 1px solid @hr-border;
}

// Only display content to screen readers
//
// See: http://a11yproject.com/posts/how-to-hide-content/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

error: pathspec 'cp-strap/src/stylesheets/core/scaffolding.less' did not match any file(s) known to git


Update

Update

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/Didichaoren/Didichaoren.github.io.git/'


Fix icon colors

Fix icon colors

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


fix(style): better code appearance

fix(style): better code appearance

// Global variables
@base-font-size: 1.8vw;
@base-line-height: (20 / 14); // ~ 1.428571429
@link-color: #a212d1;
@background-color: #fff;
@text-color: #000;
@code-color: spin(@link-color, 180);
@sans-serif: "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
@serif: Georgia, "Hiragino Mincho ProN", serif;
@monospace: Menlo, monospace;
@breakpoint-lg: 1600px;
@breakpoint-md: 1000px;
@breakpoint-sm: 640px;
@breakpoint-xs: 400px;

// Invert color switcher for images and videos
// :root { filter: invert(100%); }

// http://nicolasgallagher.com/micro-clearfix-hack/
.cf {

  &:before, &:after {
    display: table;
    content: "";
  }

  &:after {
    clear: both;
  }
}

// Basic reset
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  padding: 0 16%;
  margin: 0 auto 0;
  font-family: @sans-serif;
  font-size: @base-font-size;
  line-height: @base-line-height;
  color: @text-color;
  text-rendering: optimizelegibility;
  background: @background-color;
  image-rendering: optimizequality;
  transition: all .3s ease .2s;

  @media (max-width: @breakpoint-md) {
    padding-left: 8%;
    padding-right: 8%;
    font-size: (@base-font-size * 1.4);
  }

  @media (max-width: @breakpoint-sm) {
    padding-left: 4%;
    padding-right: 4%;
    font-size: (@base-font-size * 2);
  }

  @media (max-width: @breakpoint-xs) {
    font-size: (@base-font-size * 2.8);
  }

  // All iOS devices, the easiest way
  @media (max-device-width: 480px), (max-device-width: 1024px) {
    -webkit-text-size-adjust: none;
  }

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 1vmax;
    pointer-events: none;
    background: @link-color;
    content: "";
    opacity: .2;
  }
}

// Essential mixins
.heading {
  font-family: @sans-serif;
  font-size: 330%;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  letter-spacing: -.06em;
}

.sub-heading {
  font-family: @sans-serif;
  font-size: 72%;
  font-weight: normal;
  letter-spacing: .08em;
  opacity: .5;
}

// Reset fonts for relevant elements
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

// Reset unusual Firefox-on-Android default style.
// See https://github.com/necolas/normalize.css/issues/214
button,
input,
select[multiple],
textarea {
  background-image: none;
}

// Reset common elements
a, button {
  color: @text-color;
  text-decoration: none;
  transition: color .5s ease, border-color .5s ease, background .5s ease, opacity 1.5s ease;

  &:hover,
  &:focus {
    border-bottom: .1em solid;
    transition: color .1s ease, border-color .1s ease, background .1s ease, opacity .1s ease;
  }

  &[disabled] {
    opacity: .4;
    cursor: not-allowed;
  }
}

img, hr {
  border: 0;
}

del {
  text-decoration: line-through;
}

::selection {
  color: @link-color;
  background: fade(@text-color, 2%);
}

::-webkit-input-placeholder {
  color: @text-color;
  opacity: .1;
}

// Site logo
.logo {
  display: block;
  height: 1vmax;
  margin: 0 0 1.4vmax;
  background: @link-color;
  opacity: 0;

  &:hover,
  &:focus {
    border-bottom: none !important;
    background: @text-color;
    opacity: 1;
  }

  h1 {
    height: 0;
    text-indent: -99999em;
  }
}

// Main navigation
.navigation {
  margin: 0 0 16vmin;
  margin-right: -1.1em;
  margin-left: -1.1em;
  font-size: 50%;
  font-weight: bold;
  letter-spacing: .45em;
  text-transform: uppercase;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: .5em 1.2em;

      &:hover,
      &:focus {
        color: @link-color;
        border: none;
      }
    }
  }
}

// Currently activated page or category class
.current {

  a {
    color: @link-color;
  }
}

// Latest work link
body:hover .latest {
  color: @link-color !important;
}

// Pserson status
.content .status {
  margin: 1vmin 0 0;
  font-size: 75%;
  font-weight: bold;

  &:before {
    @size: .8em;
    display: inline-block;
    width: @size;
    height: @size;
    margin-right: .8vw;
    background: fade(@text-color, 20%);
    border-radius: 50%;
    content: "";
  }

  &.available {

    &:before {
      background: #0cf;
    }

    a {
      color: #0cf;
    }
  }

  &.unavailable {

    &:before {
      background: #ccc;
    }

    a {
      color: #ccc;
    }
  }
}

// Main content
.content {
  margin-bottom: 16vmin;

  // For some specified posts in work category
  .cf;

  // Remove extra space for the last paragraph in the container
  article {

    // article > p
    > *:last-child {
      margin-bottom: 0 !important;

      // article > ul > li, article > .footnotes > ol
      > *:last-child {
        margin-bottom: 0 !important;

        // article > ul > li > p, article > .footnotes > ol > li
        > *:last-child {
          margin-bottom: 0 !important;

          // article > .footnotes > ol > li > p
          > *:last-child {
            margin-bottom: 0 !important;
          }
        }
      }
    }
  }

  // Post / page content first element fix
  .post-content,
  .page-content {

    > *:first-child {
      margin-top: 0;

      > *:first-child {
        margin-top: 0;
      }
    }
  }

  a {
    font-weight: bold;
  }

  p {
    margin: 0 0 1.1em;
    line-height: (@base-line-height * 1.2);
  }

  header {
    padding-bottom: 16vmin;

    h1 {
      margin: 0 0 .1em;
      .heading;
      hyphens: none;
      line-height: 1.1;

      @media (max-width: @breakpoint-sm) {
        // Override viewport units defined in post.html
        font-size: 280%;
      }

      svg {
        display: block;
        max-width: 100%;
      }

      // Override margin from article img
      svg,
      img {
        margin-bottom: .3em;

        @media (max-width: @breakpoint-sm) {
          width: 100% !important;
          height: 100% !important;
        }
      }
    }

    .latest-post {
      margin-top: 16vmin;
      font-size: 80%;
      font-weight: normal;
      line-height: 1.2;

      a {
        font-weight: bold;
      }
    }

    small {
      display: block;
      margin: 2vmin 0 0;
      letter-spacing: .1em;
    }

  }

  h2, h3, h4, h5, h6 {
    margin: 10vmin 0 1rem;
    .sub-heading;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: (@base-line-height * 1.2);

      > ul, ol {
        margin-bottom: 0;
      }
    }
  }

  ol {
    margin-left: 1.75em;
  }

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 4vmin;
  }

  blockquote {
    position: relative;
    margin-bottom: 2em;

    > p {
      padding-left: .8em;
      border-left: 2px solid;
    }

    footer {
      .cf;
    }

    cite {
      float: right;
      font-size: 90%;
      font-style: normal;

      &:before {
        // http://www.fileformat.info/info/unicode/char/2500/index.htm
        content: "\2500\2500\00a0"
      }
    }
  }

  sup {
    font-size: 75%;
  }

  abbr {
    border-bottom: 1px dashed;
  }

  code, pre {
    font-family: @monospace;
    color: @code-color;
  }

  // Only apply word breaking rule for codes in paragraphs
  p code {
    word-break: break-word;
    word-wrap: break-word;
  }

  pre {
    padding: 1em;
    margin: 0 0 1em;
    overflow-x: scroll;
    font-size: 80%;
    line-height: (@base-line-height * 1.2);
    background: fade(#08f, 4%);
    // Bouncing scroll fix for iOS
    -webkit-overflow-scrolling: touch;
  }

  // Newsletter subscription form in page "store"
  form {

    input {
      display: block;
      width: 100%;
      padding: 1vmin 0;
      margin: 0 0 1vmin;
      border: none;
      border-bottom: 1px solid fade(@text-color, 20%);
      // Remove border-radius for iOS devices
      border-radius: 0;
      outline: none;
      transition: padding .2s ease;

      &:focus {
        padding: 1vmin;
        background: fade(@text-color, 2%);
        border-color: @text-color;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@link-color, 5%);
        border-color: @link-color;
        // Override Firefox default styles
        box-shadow: none;
      }
    }
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 90%;
    width: 100%;
    margin: 0 0 1em;

    th,
    td {
      padding: .6em;
    }

    th {
      border-bottom: 2px solid fade(@text-color, 6%);
      // Override default user agent stylesheet
      text-align: left;
    }

    td {
      border-top: 1px solid fade(@text-color, 4%);
    }
  }
}

// Posts with Asian characters
[lang=zh],
[lang=ja] {
  text-align: justify;

  header {
    text-align: start;
  }
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: 10vmin;
}

// Largetype styles (replaces button styles)
.largetype {
  .heading;
  font-size: 200%;
  margin-bottom: .5em !important;
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 24px;
  margin: 0 0 4vmin !important;
  background: rgba(255, 255, 255, .1);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);

  &:before {
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 8px;
    height: 8px;
    background: lighten(#f24e59, 30%);
    border-radius: 50%;
    content: "";
    box-shadow:
        16px 0 0 0   fade(lighten(#fac536, 30%), 96%)
      , 32px 0 0 0   fade(lighten(#26e93d, 30%), 96%)
      ,    0 0 0 1px fade(darken(#f24e59, 30%), 30%)
      , 16px 0 0 1px fade(darken(#fac536, 30%), 30%)
      , 32px 0 0 1px fade(darken(#26e93d, 30%), 30%)
    ;
  }

  img {
    margin: 0;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .05);
  }
}

// Special paragraph with border line
.note,
.store,
.download {
  padding-left: .8em;
  border-left: 2px solid @link-color;
}

// Reference notes and links in post
.footnotes {
  font-size: 90%;
  font-style: italic;
}

:target {

  [rev=footnote],
  [rel=footnote] {
    color: @link-color;
  }
}

// Post list in "work" and "note"
.list {
  display: block;
  margin: 0 0 1.4vmin;

  h1 {
    .heading;
    font-size: 200%;
    line-height: 1.1;
    // Override heading defines in .content
    opacity: 1;
    margin: 0;

    @media (max-width: @breakpoint-sm) {
      // Hide external link for post list
      font-size: 180%;
    }
  }

  .external {

    &:hover,
    &:focus {
      border: none;
    }

    @media (max-width: @breakpoint-sm) {
      // Hide external link for post list
      display: none;
    }
  }
}

.external {

  span {
    display: inline-block;
    width: .2em;
    height: .2em;
    margin: 0 .1em;
    vertical-align: middle;
    background: @text-color;
    border-radius: 50%;
    transition: transform .4s ease;
  }

  &:hover,
  &:focus {

    span {
      transform: scale(1.4);
    }
  }
}

.footer {
  padding: 0 0 16vmin;
  font-size: 72%;
  text-transform: lowercase;

  ul {

    li {
      display: inline;

      &:after {
        padding: 0 .6vw;
        content: " / ";
        opacity: .3;
      }

      &:last-child {

        &:after {
          content: none;
        }
      }
    }
  }
}

// Import custom styles
@import "custom";

// Global variables
@base-font-size: 1.8vw;
@base-line-height: (20 / 14); // ~ 1.428571429
@link-color: #a212d1;
@background-color: #fff;
@text-color: #000;
@code-color: spin(@link-color, 180);
@sans-serif: "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
@serif: Georgia, "Hiragino Mincho ProN", serif;
@monospace: Menlo, monospace;
@breakpoint-lg: 1600px;
@breakpoint-md: 1000px;
@breakpoint-sm: 640px;
@breakpoint-xs: 400px;

// Invert color switcher for images and videos
// :root { filter: invert(100%); }

// http://nicolasgallagher.com/micro-clearfix-hack/
.cf {

  &:before, &:after {
    display: table;
    content: "";
  }

  &:after {
    clear: both;
  }
}

// Basic reset
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  padding: 0 16%;
  margin: 0 auto 0;
  font-family: @sans-serif;
  font-size: @base-font-size;
  line-height: @base-line-height;
  color: @text-color;
  text-rendering: optimizelegibility;
  background: @background-color;
  image-rendering: optimizequality;
  transition: all .3s ease .2s;

  @media (max-width: @breakpoint-md) {
    padding-left: 8%;
    padding-right: 8%;
    font-size: (@base-font-size * 1.4);
  }

  @media (max-width: @breakpoint-sm) {
    padding-left: 4%;
    padding-right: 4%;
    font-size: (@base-font-size * 2);
  }

  @media (max-width: @breakpoint-xs) {
    font-size: (@base-font-size * 2.8);
  }

  // All iOS devices, the easiest way
  @media (max-device-width: 480px), (max-device-width: 1024px) {
    -webkit-text-size-adjust: none;
  }

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 1vmax;
    pointer-events: none;
    background: @link-color;
    content: "";
    opacity: .2;
  }
}

// Essential mixins
.heading {
  font-family: @sans-serif;
  font-size: 330%;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  letter-spacing: -.06em;
}

.sub-heading {
  font-family: @sans-serif;
  font-size: 72%;
  font-weight: normal;
  letter-spacing: .08em;
  opacity: .5;
}

// Reset fonts for relevant elements
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

// Reset unusual Firefox-on-Android default style.
// See https://github.com/necolas/normalize.css/issues/214
button,
input,
select[multiple],
textarea {
  background-image: none;
}

// Reset common elements
a, button {
  color: @text-color;
  text-decoration: none;
  transition: color .5s ease, border-color .5s ease, background .5s ease, opacity 1.5s ease;

  &:hover,
  &:focus {
    border-bottom: .1em solid;
    transition: color .1s ease, border-color .1s ease, background .1s ease, opacity .1s ease;
  }

  &[disabled] {
    opacity: .4;
    cursor: not-allowed;
  }
}

img, hr {
  border: 0;
}

del {
  text-decoration: line-through;
}

::selection {
  color: @link-color;
  background: fade(@text-color, 2%);
}

::-webkit-input-placeholder {
  color: @text-color;
  opacity: .1;
}

// Site logo
.logo {
  display: block;
  height: 1vmax;
  margin: 0 0 1.4vmax;
  background: @link-color;
  opacity: 0;

  &:hover,
  &:focus {
    border-bottom: none !important;
    background: @text-color;
    opacity: 1;
  }

  h1 {
    height: 0;
    text-indent: -99999em;
  }
}

// Main navigation
.navigation {
  margin: 0 0 16vmin;
  margin-right: -1.1em;
  margin-left: -1.1em;
  font-size: 50%;
  font-weight: bold;
  letter-spacing: .45em;
  text-transform: uppercase;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: .5em 1.2em;

      &:hover,
      &:focus {
        color: @link-color;
        border: none;
      }
    }
  }
}

// Currently activated page or category class
.current {

  a {
    color: @link-color;
  }
}

// Latest work link
body:hover .latest {
  color: @link-color !important;
}

// Pserson status
.content .status {
  margin: 1vmin 0 0;
  font-size: 75%;
  font-weight: bold;

  &:before {
    @size: .8em;
    display: inline-block;
    width: @size;
    height: @size;
    margin-right: .8vw;
    background: fade(@text-color, 20%);
    border-radius: 50%;
    content: "";
  }

  &.available {

    &:before {
      background: #0cf;
    }

    a {
      color: #0cf;
    }
  }

  &.unavailable {

    &:before {
      background: #ccc;
    }

    a {
      color: #ccc;
    }
  }
}

// Main content
.content {
  margin-bottom: 16vmin;

  // For some specified posts in work category
  .cf;

  // Remove extra space for the last paragraph in the container
  article {

    // article > p
    > *:last-child {
      margin-bottom: 0 !important;

      // article > ul > li, article > .footnotes > ol
      > *:last-child {
        margin-bottom: 0 !important;

        // article > ul > li > p, article > .footnotes > ol > li
        > *:last-child {
          margin-bottom: 0 !important;

          // article > .footnotes > ol > li > p
          > *:last-child {
            margin-bottom: 0 !important;
          }
        }
      }
    }
  }

  // Post / page content first element fix
  .post-content,
  .page-content {

    > *:first-child {
      margin-top: 0;

      > *:first-child {
        margin-top: 0;
      }
    }
  }

  a {
    font-weight: bold;
  }

  p {
    margin: 0 0 1.1em;
    line-height: (@base-line-height * 1.2);
  }

  header {
    padding-bottom: 16vmin;

    h1 {
      margin: 0 0 .1em;
      .heading;
      hyphens: none;
      line-height: 1.1;

      @media (max-width: @breakpoint-sm) {
        // Override viewport units defined in post.html
        font-size: 280%;
      }

      svg {
        display: block;
        max-width: 100%;
      }

      // Override margin from article img
      svg,
      img {
        margin-bottom: .3em;

        @media (max-width: @breakpoint-sm) {
          width: 100% !important;
          height: 100% !important;
        }
      }
    }

    .latest-post {
      margin-top: 16vmin;
      font-size: 80%;
      font-weight: normal;
      line-height: 1.2;

      a {
        font-weight: bold;
      }
    }

    small {
      display: block;
      margin: 2vmin 0 0;
      letter-spacing: .1em;
    }

  }

  h2, h3, h4, h5, h6 {
    margin: 10vmin 0 1rem;
    .sub-heading;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: (@base-line-height * 1.2);

      > ul, ol {
        margin-bottom: 0;
      }
    }
  }

  ol {
    margin-left: 1.75em;
  }

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 4vmin;
  }

  blockquote {
    position: relative;
    margin-bottom: 2em;

    > p {
      padding-left: .8em;
      border-left: 2px solid;
    }

    footer {
      .cf;
    }

    cite {
      float: right;
      font-size: 90%;
      font-style: normal;

      &:before {
        // http://www.fileformat.info/info/unicode/char/2500/index.htm
        content: "\2500\2500\00a0"
      }
    }
  }

  sup {
    font-size: 75%;
  }

  abbr {
    border-bottom: 1px dashed;
  }

  code, pre {
    font-family: @monospace;
    color: @code-color;
    word-break: break-word;
    word-wrap: break-word;
  }

  pre {
    padding: 1em;
    margin: 0 0 1em;
    overflow-x: scroll;
    font-size: 80%;
    line-height: (@base-line-height * 1.2);
    background: fade(#08f, 4%);
  }

  // Newsletter subscription form in page "store"
  form {

    input {
      display: block;
      width: 100%;
      padding: 1vmin 0;
      margin: 0 0 1vmin;
      border: none;
      border-bottom: 1px solid fade(@text-color, 20%);
      // Remove border-radius for iOS devices
      border-radius: 0;
      outline: none;
      transition: padding .2s ease;

      &:focus {
        padding: 1vmin;
        background: fade(@text-color, 2%);
        border-color: @text-color;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@link-color, 5%);
        border-color: @link-color;
        // Override Firefox default styles
        box-shadow: none;
      }
    }
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 90%;
    width: 100%;
    margin: 0 0 1em;

    th,
    td {
      padding: .6em;
    }

    th {
      border-bottom: 2px solid fade(@text-color, 6%);
      // Override default user agent stylesheet
      text-align: left;
    }

    td {
      border-top: 1px solid fade(@text-color, 4%);
    }
  }
}

// Posts with Asian characters
[lang=zh],
[lang=ja] {
  text-align: justify;

  header {
    text-align: start;
  }
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: 10vmin;
}

// Largetype styles (replaces button styles)
.largetype {
  .heading;
  font-size: 200%;
  margin-bottom: .5em !important;
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 24px;
  margin: 0 0 4vmin !important;
  background: rgba(255, 255, 255, .1);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);

  &:before {
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 8px;
    height: 8px;
    background: lighten(#f24e59, 30%);
    border-radius: 50%;
    content: "";
    box-shadow:
        16px 0 0 0   fade(lighten(#fac536, 30%), 96%)
      , 32px 0 0 0   fade(lighten(#26e93d, 30%), 96%)
      ,    0 0 0 1px fade(darken(#f24e59, 30%), 30%)
      , 16px 0 0 1px fade(darken(#fac536, 30%), 30%)
      , 32px 0 0 1px fade(darken(#26e93d, 30%), 30%)
    ;
  }

  img {
    margin: 0;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .05);
  }
}

// Special paragraph with border line
.note,
.store,
.download {
  padding-left: .8em;
  border-left: 2px solid @link-color;
}

// Reference notes and links in post
.footnotes {
  font-size: 90%;
  font-style: italic;
}

:target {

  [rev=footnote],
  [rel=footnote] {
    color: @link-color;
  }
}

// Post list in "work" and "note"
.list {
  display: block;
  margin: 0 0 1.4vmin;

  h1 {
    .heading;
    font-size: 200%;
    line-height: 1.1;
    // Override heading defines in .content
    opacity: 1;
    margin: 0;

    @media (max-width: @breakpoint-sm) {
      // Hide external link for post list
      font-size: 180%;
    }
  }

  .external {

    &:hover,
    &:focus {
      border: none;
    }

    @media (max-width: @breakpoint-sm) {
      // Hide external link for post list
      display: none;
    }
  }
}

.external {

  span {
    display: inline-block;
    width: .2em;
    height: .2em;
    margin: 0 .1em;
    vertical-align: middle;
    background: @text-color;
    border-radius: 50%;
    transition: transform .4s ease;
  }

  &:hover,
  &:focus {

    span {
      transform: scale(1.4);
    }
  }
}

.footer {
  padding: 0 0 16vmin;
  font-size: 72%;
  text-transform: lowercase;

  ul {

    li {
      display: inline;

      &:after {
        padding: 0 .6vw;
        content: " / ";
        opacity: .3;
      }

      &:last-child {

        &:after {
          content: none;
        }
      }
    }
  }
}

// Import custom styles
@import "custom";


Get rid of redundant website.less file

Get rid of redundant website.less file

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


Adding color for top nav

Adding color for top nav

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/BrightMahi/aacBuyerNew.git/'


fix menu z-index problem, close #1182

fix menu z-index problem, close #1182

@menu-prefix-cls: ~"@{css-prefix}menu";

// default theme
.@{menu-prefix-cls} {
  outline: none;
  margin-bottom: 0;
  padding-left: 0; // Override default ul/ol
  list-style: none;
  z-index: 999;
  box-shadow: @box-shadow-base;
  color: @text-color;
  background: #fff;
  line-height: 46px;

  &-hidden {
    display: none;
  }

  &-item-group-list {
    margin: 0;
    padding: 0;
  }

  &-item-group-title {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
    padding: 8px 16px;
  }

  &-item,
  &-submenu,
  &-submenu-title {
    cursor: pointer;
    transition: all 0.3s ease;
  }

  &-item > a {
    display: block;
    color: @text-color;
    &:hover {
      color: @text-color;
    }
  }

  &-item-active,
  &-submenu-title:hover {
    transform: translateZ(0);
    background-color: tint(@primary-color, 90%);
  }

  &-horizontal &-item,
  &-horizontal &-submenu {
    margin-top: -1px;
  }

  &-horizontal > &-item-active,
  &-horizontal > &-submenu &-submenu-title:hover {
    background-color: transparent;
    transform: translateZ(0);
  }

  &-item-selected {
    color: @primary-color;
    // fix chrome render bug
    transform: translateZ(0);
  }

  &-inline,
  &-vertical {
    border-right: 1px solid @border-color-split;
    .@{menu-prefix-cls}-item {
      border-right: 1px solid @border-color-split;
      margin-left: -1px;
      left: 1px;
      position: relative;
      z-index: 1;
    }
  }

  &-inline {
    .@{menu-prefix-cls}-selected,
    .@{menu-prefix-cls}-item-selected {
      border-right: 2px solid @primary-color;
      transform: translateZ(0);
    }
  }

  &-submenu-horizontal > & {
    top: 100%;
    left: 0;
    position: absolute;
    min-width: 100%;
    margin-top: 7px;
    z-index: 1070;
  }

  &-submenu-vertical > & {
    top: 0;
    left: 100%;
    position: absolute;
    min-width: 160px;
    margin-left: 4px;
    z-index: 1070;
  }

  &-item,
  &-submenu-title {
    margin: 0;
    position: relative;
    display: block;
    white-space: nowrap;

    // Disabled state sets text to gray and nukes hover/tab effects
    &.@{menu-prefix-cls}-item-disabled,
    &.@{menu-prefix-cls}-submenu-disabled {
      color: #999 !important;
      cursor: not-allowed;
    }
  }
  & > &-item-divider {
    height: 1px;
    margin: 1px 0;
    overflow: hidden;
    padding: 0;
    line-height: 0;
    background-color: #e5e5e5;
  }

  &-submenu {
    position: relative;

    > .@{menu-prefix-cls} {
      background-color: #fff;
      border-radius: 4px;
    }

    &-vertical > .@{menu-prefix-cls}-submenu-title:after {
      font-family: "anticon" !important;
      font-style: normal;
      vertical-align: baseline;
      text-align: center;
      text-transform: none;
      text-rendering: auto;
      position: absolute;
      transition: transform .3s ease;
      content: "\e603";
      right: 16px;
      .ie-rotate(3);
      transform: rotate(270deg) scale(0.75);
    }

    &-inline > .@{menu-prefix-cls}-submenu-title:after {
      font-family: "anticon" !important;
      font-style: normal;
      vertical-align: baseline;
      text-align: center;
      text-transform: none;
      text-rendering: auto;
      position: absolute;
      transition: transform .3s ease;
      content: "\e603";
      right: 16px;
      top: 0;
      .iconfont-size-under-12px(8px);
    }

    &-open {
      &.@{menu-prefix-cls}-submenu-inline > .@{menu-prefix-cls}-submenu-title:after {
        .ie-rotate(1);
        transform: rotate(180deg) scale(0.75);
      }
    }
  }

  &-item,
  &-submenu-title {
    .anticon {
      width: 14px;
      margin-right: 8px;
    }
  }

  &-horizontal {
    border: 0;
    border-bottom: 1px solid @border-color-split;
    box-shadow: none;
    z-index: 0;

    > .@{menu-prefix-cls}-item,
    > .@{menu-prefix-cls}-submenu {
      padding: 0 20px;
      position: relative;
      top: 1px;
      float: left;
      border-bottom: 2px solid transparent;
      z-index: 1;

      &-active,
      &-selected {
        border-bottom: 2px solid @primary-color;
        color: @primary-color;
        transform: translateZ(0);
      }

      > a {
        display: block;
        color: @text-color;
        &:hover {
          color: @primary-color;
        }
        &:before,
        &:after {
          position: absolute;
          background-color: transparent;
          width: 20px;
          height: 100%;
          content: '';
        }
        &:before {
          left: 0;
        }
      }
    }

    &:after {
      content: "\20";
      display: block;
      height: 0;
      clear: both;
    }
  }

  &-vertical,
  &-inline,
  &-item-group-list {
    & > .@{menu-prefix-cls}-item,
    & > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
      padding: 0px 16px 0 28px;
      font-size: 12px;
      line-height: 42px;
      height: 42px;
    }
  }

  &-vertical&-sub {
    padding: 0;
    transform-origin: 0 0;
    & > .@{menu-prefix-cls}-item,
    & > .@{menu-prefix-cls}-submenu {
      transform-origin: 0 0;
    }
  }

  &-root&-vertical,
  &-root&-inline {
    box-shadow: none;
  }

  &-sub&-inline {
    padding: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    & > .@{menu-prefix-cls}-item,
    & > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
      line-height: 42px;
      height: 42px;
      list-style-type: disc;
      list-style-position: inside;
    }

    & .@{menu-prefix-cls}-item-group-title {
      padding-left: 32px;
    }
  }
}

// dark theme
.@{menu-prefix-cls} {
  &-dark,
  &-dark &-sub {
    color: #999;
    background: #404040;
  }

  &-dark &-inline&-sub {
    background: #333;
  }

  &-dark&-horizontal {
    border-bottom-color: #404040;
  }

  &-dark&-horizontal > &-item,
  &-dark&-horizontal > &-submenu {
    border-bottom: 0;
    top: 0;
  }

  &-dark&-horizontal > &-item-active,
  &-dark&-horizontal > &-item-selected,
  &-dark&-horizontal > &-submenu:hover,
  &-dark&-horizontal > &-submenu &-submenu-title:hover {
    color: #fff;
    transform: translateZ(0);
  }

  &-dark &-item > a {
    color: #999;
    &:hover {
      color: #fff;
    }
  }

  &-dark&-inline,
  &-dark&-vertical {
    border-right: 0;
  }

  &-dark&-inline &-item,
  &-dark&-vertical &-item {
    border-right: 0;
    margin-left: 0;
    left: 0;
  }

  &-dark&-inline &-item-selected {
    border-right: 0;
    background-color: @primary-color;
    color: #fff;
    transform: translateZ(0);
  }

  &-dark &-item-active,
  &-dark &-submenu-title:hover {
    background-color: transparent;
    color: @primary-color;
    transform: translateZ(0);
  }
}

@menu-prefix-cls: ~"@{css-prefix}menu";

// default theme
.@{menu-prefix-cls} {
  outline: none;
  margin-bottom: 0;
  padding-left: 0; // Override default ul/ol
  list-style: none;
  z-index: 999;
  box-shadow: @box-shadow-base;
  color: @text-color;
  background: #fff;
  line-height: 46px;

  &-hidden {
    display: none;
  }

  &-item-group-list {
    margin: 0;
    padding: 0;
  }

  &-item-group-title {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
    padding: 8px 16px;
  }

  &-item,
  &-submenu,
  &-submenu-title {
    cursor: pointer;
    transition: all 0.3s ease;
  }

  &-item > a {
    display: block;
    color: @text-color;
    &:hover {
      color: @text-color;
    }
  }

  &-item-active,
  &-submenu-title:hover {
    transform: translateZ(0);
    background-color: tint(@primary-color, 90%);
  }

  &-horizontal &-item,
  &-horizontal &-submenu {
    margin-top: -1px;
  }

  &-horizontal > &-item-active,
  &-horizontal > &-submenu &-submenu-title:hover {
    background-color: transparent;
    transform: translateZ(0);
  }

  &-item-selected {
    color: @primary-color;
    // fix chrome render bug
    transform: translateZ(0);
  }

  &-inline,
  &-vertical {
    border-right: 1px solid @border-color-split;
    .@{menu-prefix-cls}-item {
      border-right: 1px solid @border-color-split;
      margin-left: -1px;
      left: 1px;
      position: relative;
      z-index: 1;
    }
  }

  &-inline {
    .@{menu-prefix-cls}-selected,
    .@{menu-prefix-cls}-item-selected {
      border-right: 2px solid @primary-color;
      transform: translateZ(0);
    }
  }

  &-submenu-horizontal > & {
    top: 100%;
    left: 0;
    position: absolute;
    min-width: 100%;
    margin-top: 7px;
  }

  &-submenu-vertical > & {
    top: 0;
    left: 100%;
    position: absolute;
    min-width: 160px;
    margin-left: 4px;
  }

  &-item,
  &-submenu-title {
    margin: 0;
    position: relative;
    display: block;
    white-space: nowrap;

    // Disabled state sets text to gray and nukes hover/tab effects
    &.@{menu-prefix-cls}-item-disabled,
    &.@{menu-prefix-cls}-submenu-disabled {
      color: #999 !important;
      cursor: not-allowed;
    }
  }
  & > &-item-divider {
    height: 1px;
    margin: 1px 0;
    overflow: hidden;
    padding: 0;
    line-height: 0;
    background-color: #e5e5e5;
  }

  &-submenu {
    position: relative;

    > .@{menu-prefix-cls} {
      background-color: #fff;
      border-radius: 4px;
    }

    &-vertical > .@{menu-prefix-cls}-submenu-title:after {
      font-family: "anticon" !important;
      font-style: normal;
      vertical-align: baseline;
      text-align: center;
      text-transform: none;
      text-rendering: auto;
      position: absolute;
      transition: transform .3s ease;
      content: "\e603";
      right: 16px;
      .ie-rotate(3);
      transform: rotate(270deg) scale(0.75);
    }

    &-inline > .@{menu-prefix-cls}-submenu-title:after {
      font-family: "anticon" !important;
      font-style: normal;
      vertical-align: baseline;
      text-align: center;
      text-transform: none;
      text-rendering: auto;
      position: absolute;
      transition: transform .3s ease;
      content: "\e603";
      right: 16px;
      top: 0;
      .iconfont-size-under-12px(8px);
    }

    &-open {
      &.@{menu-prefix-cls}-submenu-inline > .@{menu-prefix-cls}-submenu-title:after {
        .ie-rotate(1);
        transform: rotate(180deg) scale(0.75);
      }
    }
  }

  &-item,
  &-submenu-title {
    .anticon {
      width: 14px;
      margin-right: 8px;
    }
  }

  &-horizontal {
    border: 0;
    border-bottom: 1px solid @border-color-split;
    box-shadow: none;
    z-index: 0;

    > .@{menu-prefix-cls}-item,
    > .@{menu-prefix-cls}-submenu {
      padding: 0 20px;
      position: relative;
      top: 1px;
      float: left;
      border-bottom: 2px solid transparent;

      &-active,
      &-selected {
        border-bottom: 2px solid @primary-color;
        color: @primary-color;
        transform: translateZ(0);
      }

      > a {
        display: block;
        color: @text-color;
        &:hover {
          color: @primary-color;
        }
        &:before,
        &:after {
          position: absolute;
          background-color: transparent;
          width: 20px;
          height: 100%;
          content: '';
        }
        &:before {
          left: 0;
        }
      }
    }

    &:after {
      content: "\20";
      display: block;
      height: 0;
      clear: both;
    }
  }

  &-vertical,
  &-inline,
  &-item-group-list {
    & > .@{menu-prefix-cls}-item,
    & > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
      padding: 0px 16px 0 28px;
      font-size: 12px;
      line-height: 42px;
      height: 42px;
    }
  }

  &-vertical&-sub {
    padding: 0;
    transform-origin: 0 0;
    & > .@{menu-prefix-cls}-item,
    & > .@{menu-prefix-cls}-submenu {
      transform-origin: 0 0;
    }
  }

  &-root&-vertical,
  &-root&-inline {
    box-shadow: none;
  }

  &-sub&-inline {
    padding: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    & > .@{menu-prefix-cls}-item,
    & > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
      line-height: 42px;
      height: 42px;
      list-style-type: disc;
      list-style-position: inside;
    }

    & .@{menu-prefix-cls}-item-group-title {
      padding-left: 32px;
    }
  }
}

// dark theme
.@{menu-prefix-cls} {
  &-dark,
  &-dark &-sub {
    color: #999;
    background: #404040;
  }

  &-dark &-inline&-sub {
    background: #333;
  }

  &-dark&-horizontal {
    border-bottom-color: #404040;
  }

  &-dark&-horizontal > &-item,
  &-dark&-horizontal > &-submenu {
    border-bottom: 0;
    top: 0;
  }

  &-dark&-horizontal > &-item-active,
  &-dark&-horizontal > &-item-selected,
  &-dark&-horizontal > &-submenu:hover,
  &-dark&-horizontal > &-submenu &-submenu-title:hover {
    color: #fff;
    transform: translateZ(0);
  }

  &-dark &-item > a {
    color: #999;
    &:hover {
      color: #fff;
    }
  }

  &-dark&-inline,
  &-dark&-vertical {
    border-right: 0;
  }

  &-dark&-inline &-item,
  &-dark&-vertical &-item {
    border-right: 0;
    margin-left: 0;
    left: 0;
  }

  &-dark&-inline &-item-selected {
    border-right: 0;
    background-color: @primary-color;
    color: #fff;
    transform: translateZ(0);
  }

  &-dark &-item-active,
  &-dark &-submenu-title:hover {
    background-color: transparent;
    color: @primary-color;
    transform: translateZ(0);
  }
}


Fix nested tabs style (#1437)

Fix nested tabs style (#1437)

@tab-prefix-cls: ant-tabs;

.@{tab-prefix-cls} {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  .clearfix;
  color: @text-color;

  &-bar {
    outline: none;
  }

  &-ink-bar {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 1px;
    box-sizing: border-box;
    height: 2px;
    background-color: @primary-color;
    transform: scaleX(1);
    transform-origin: 0 0;
    &-transition-forward {
      transition: right 0.3s @ease-in-out,
      left 0.3s @ease-in-out 0.3s * 0.3;
      transform: translateZ(0);
    }
    &-transition-backward {
      transition: right 0.3s @ease-in-out 0.3s * 0.3,
      left 0.3s @ease-in-out;
      transform: translateZ(0);
    }
  }

  &-bar {
    border-bottom: 1px solid @border-color-base;
    margin-bottom: 16px;
  }

  &-nav-container {
    overflow: hidden;
    font-size: 14px;
    line-height: @line-height-base;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    margin-bottom: -1px;
    .clearfix;
  }

  &-nav-container-scrolling {
    padding-left: 32px;
    padding-right: 32px;
  }

  &-tab-prev,
  &-tab-next {
    user-select: none;
    z-index: 2;
    margin-right: -2px;
    margin-top: 3px;
    width: 32px;
    height: 100%;
    line-height: 32px;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    position: absolute;
    text-align: center;
    color: #999;
    transition: color 0.3s ease;

    &:hover {
      color: #666;
    }

    &-icon {
      position: relative;
      display: inline-block;
      font-style: normal;
      font-weight: bold;
      font-variant: normal;
      line-height: inherit;
      vertical-align: baseline;
      text-align: center;
      text-transform: none;
      font-family: sans-serif;
      .iconfont-size-under-12px(10px);

      &:before {
        display: block;
        font-family: "anticon" !important;
      }
    }
  }

  &-tab-btn-disabled {
    cursor: not-allowed;
    &,
    &:hover {
      color: #ccc;
    }
  }

  &-tab-next {
    right: 2px;

    &-icon:before {
      content: "\e600";
    }
  }

  &-tab-prev {
    left: 0;
    &-icon:before {
      content: "\e601";
    }
    :root & {
      filter: none;
    }
  }

  &-nav-wrap {
    overflow: hidden;
    margin-bottom: -1px;
  }

  &-nav-scroll {
    width: 99999px;
    overflow: hidden;
  }

  &-nav {
    box-sizing: border-box;
    padding-left: 0;
    transition: left 0.5s @ease-in-out;
    position: relative;
    margin: 0;
    list-style: none;
    float: left;

    &:before,
    &:after {
      display: table;
      content: " ";
    }

    &:after {
      clear: both;
    }

    .@{tab-prefix-cls}-tab-disabled {
      pointer-events: none;
      cursor: default;

      .@{tab-prefix-cls}-tab-inner {
        color: #ccc;
      }
    }

    .@{tab-prefix-cls}-tab {
      float: left;
      height: 100%;
      margin-right: 24px;
      box-sizing: border-box;
      position: relative;

      &-inner {
        padding: 8px 20px;
        transition: color 0.3s @ease-in-out;
        display: block;
        cursor: pointer;
        text-decoration: none;

        &:hover {
          color: tint(@primary-color, 20%);
        }

        &:active {
          color: shade(@primary-color, 5%);
          transform: translateZ(0);
        }

        .anticon {
          width: 14px;
          height: 14px;
          margin-right: 8px;
        }
      }
    }

    .@{tab-prefix-cls}-tab-active .@{tab-prefix-cls}-tab-inner {
      color: @primary-color;
      transform: translateZ(0);
    }
  }

  &-mini &-nav-container {
    font-size: 12px;
  }

  &-mini &-tab {
    margin-right: 0;
    .@{tab-prefix-cls}-tab-inner {
      padding: 8px 16px;
    }
  }

  &-tabpane-hidden {
    display: none;
  }

  &-content {
    position: relative;
    width: 100%;
  }

  &-slide-horizontal-backward-enter {
    .motion-common();
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
    opacity: 0;
    animation-duration: 0.4s;
  }

  &-slide-horizontal-backward-enter&-slide-horizontal-backward-enter-active {
    animation-name: antMoveLeftIn;
    transform: translateZ(0);
    animation-play-state: running;
  }

  &-slide-horizontal-backward-leave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    .motion-common();
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
    animation-duration: 0.4s;
  }

  &-slide-horizontal-backward-leave&-slide-horizontal-backward-leave-active {
    animation-name: antMoveRightOut;
    transform: translateZ(0);
    animation-play-state: running;
  }

  &-slide-horizontal-forward-enter {
    .motion-common();
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
    opacity: 0;
    animation-duration: 0.4s;
  }

  &-slide-horizontal-forward-enter&-slide-horizontal-forward-enter-active {
    animation-name: antMoveRightIn;
    animation-play-state: running;
    transform: translateZ(0);
  }

  &-slide-horizontal-forward-leave {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    .motion-common();
    animation-duration: 0.4s;
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
  }

  &-slide-horizontal-forward-leave&-slide-horizontal-forward-leave-active {
    transform: translateZ(0);
    animation-name: antMoveLeftOut;
    animation-play-state: running;
  }

  &-vertical {
    > .@{tab-prefix-cls}-bar {
      border-bottom: 0;

      .@{tab-prefix-cls}-tab {
        float: none;
        margin-right: 0;
        margin-bottom: 16px;
        &:last-child {
          margin-bottom: 0;
        }
        .@{tab-prefix-cls}-tab-inner {
          padding: 8px 24px;
        }
      }

      .@{tab-prefix-cls}-nav-scroll {
        width: auto;
      }

      .@{tab-prefix-cls}-nav-container {
        margin-bottom: 0;
      }

      .@{tab-prefix-cls}-nav-wrap {
        margin-bottom: 0;
      }

      .@{tab-prefix-cls}-ink-bar {
        width: 2px;
        left: auto;
        height: auto;
        &-transition-forward {
          transition: bottom 0.3s @ease-in-out,
          top 0.3s @ease-in-out 0.3s * 0.3;
        }
        &-transition-backward {
          transition: bottom 0.3s @ease-in-out 0.3s * 0.3,
          top 0.3s @ease-in-out;
        }
      }
    }

    > .@{tab-prefix-cls}-content {
      overflow: hidden;
      width: auto;
    }
  }

  &-vertical&-left {
    > .@{tab-prefix-cls}-bar {
      float: left;
      border-right: 1px solid @border-color-split;
      margin-right: -1px;
      margin-bottom: 0;
      .@{tab-prefix-cls}-tab {
        .@{tab-prefix-cls}-tab-inner {
          text-align: right;
        }
      }
      .@{tab-prefix-cls}-nav-container {
        margin-right: -1px;
      }
      .@{tab-prefix-cls}-nav-wrap {
        margin-right: -1px;
      }
      .@{tab-prefix-cls}-ink-bar {
        right: 1px;
      }
    }
    > .@{tab-prefix-cls}-content {
      padding-left: 24px;
      border-left: 1px solid @border-color-split;
    }
  }

  &-vertical&-right {
    > .@{tab-prefix-cls}-bar {
      float: right;
      border-left: 1px solid @border-color-split;
      margin-left: -1px;
      margin-bottom: 0;
      .@{tab-prefix-cls}-nav-container {
        margin-left: -1px;
      }
      .@{tab-prefix-cls}-nav-wrap {
        margin-left: -1px;
      }
      .@{tab-prefix-cls}-ink-bar {
        left: 1px;
      }
    }
    > .@{tab-prefix-cls}-content {
      padding-right: 24px;
      border-right: 1px solid @border-color-split;
    }
  }

  &-bottom > &-bar {
    margin-bottom: 0;
    margin-top: 16px;
  }

  // card style
  &&-card &-nav-container {
    height: 36px;
  }
  &&-card &-ink-bar {
    visibility: hidden;
  }
  &&-card &-tab {
    margin: 0;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s @ease-in-out;
    background: #f9f9f9;
    margin-right: 2px;
  }
  &&-card &-tab-inner {
    padding: 7px 16px 6px;
    transition: all 0.3s @ease-in-out;
  }
  &&-card &-tab-active {
    background: #fff;
    transform: translateZ(0);
    border-color: @border-color-base;
    color: @primary-color;
  }
  &&-card &-tab-active &-tab-inner {
    padding-bottom: 7px;
    transform: translateZ(0);
  }
  &&-card &-nav-wrap {
    margin-bottom: 0;
  }
  &&-card &-tab-inner .anticon-cross {
    margin-right: 0;
    color: #999;
    transition: all 0.3s @ease-in-out;
    .iconfont-size-under-12px(9px);
    transform-origin: 100% 50%;
    width: 0;
    text-align: right;
    vertical-align: middle;
    overflow: hidden;
    &:hover {
      color: #404040;
      font-weight: bold;
    }
  }

  &&-editable-card &-tab:not(&-tab-active):hover &-tab-inner {
    padding-left: 8px;
    padding-right: 8px;
  }

  &&-card &-tab-active .anticon-cross,
  &&-card &-tab:hover .anticon-cross {
    width: 16px;
    transform: translateZ(0);
  }

  &-extra-content {
    float: right;
    line-height: 32px;

    .@{tab-prefix-cls}-new-tab {
      width: 20px;
      height: 20px;
      line-height: 20px;
      text-align: center;
      cursor: pointer;
      border-radius: 3px;
      border: 1px solid @border-color-base;
      font-size: 12px;
      .iconfont-size-under-12px(10px);
      color: #999;
      transition: color 0.3s ease;
      &:hover {
        color: #404040;
      }
    }
  }
}

@tab-prefix-cls: ant-tabs;

.@{tab-prefix-cls} {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  .clearfix;
  color: @text-color;

  &-bar {
    outline: none;
  }

  &-ink-bar {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 1px;
    box-sizing: border-box;
    height: 2px;
    background-color: @primary-color;
    transform: scaleX(1);
    transform-origin: 0 0;
    &-transition-forward {
      transition: right 0.3s @ease-in-out,
      left 0.3s @ease-in-out 0.3s * 0.3;
      transform: translateZ(0);
    }
    &-transition-backward {
      transition: right 0.3s @ease-in-out 0.3s * 0.3,
      left 0.3s @ease-in-out;
      transform: translateZ(0);
    }
  }

  &-bar {
    border-bottom: 1px solid @border-color-base;
    margin-bottom: 16px;
  }

  &-nav-container {
    overflow: hidden;
    font-size: 14px;
    line-height: @line-height-base;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    margin-bottom: -1px;
    .clearfix;
  }

  &-nav-container-scrolling {
    padding-left: 32px;
    padding-right: 32px;
  }

  &-tab-prev,
  &-tab-next {
    user-select: none;
    z-index: 2;
    margin-right: -2px;
    margin-top: 3px;
    width: 32px;
    height: 100%;
    line-height: 32px;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    position: absolute;
    text-align: center;
    color: #999;
    transition: color 0.3s ease;

    &:hover {
      color: #666;
    }

    &-icon {
      position: relative;
      display: inline-block;
      font-style: normal;
      font-weight: bold;
      font-variant: normal;
      line-height: inherit;
      vertical-align: baseline;
      text-align: center;
      text-transform: none;
      font-family: sans-serif;
      .iconfont-size-under-12px(10px);

      &:before {
        display: block;
        font-family: "anticon" !important;
      }
    }
  }

  &-tab-btn-disabled {
    cursor: not-allowed;
    &,
    &:hover {
      color: #ccc;
    }
  }

  &-tab-next {
    right: 2px;

    &-icon:before {
      content: "\e600";
    }
  }

  &-tab-prev {
    left: 0;
    &-icon:before {
      content: "\e601";
    }
    :root & {
      filter: none;
    }
  }

  &-nav-wrap {
    overflow: hidden;
    margin-bottom: -1px;
  }

  &-nav-scroll {
    width: 99999px;
    overflow: hidden;
  }

  &-nav {
    box-sizing: border-box;
    padding-left: 0;
    transition: left 0.5s @ease-in-out;
    position: relative;
    margin: 0;
    list-style: none;
    float: left;

    &:before,
    &:after {
      display: table;
      content: " ";
    }

    &:after {
      clear: both;
    }

    .@{tab-prefix-cls}-tab-disabled {
      pointer-events: none;
      cursor: default;

      .@{tab-prefix-cls}-tab-inner {
        color: #ccc;
      }
    }

    .@{tab-prefix-cls}-tab {
      float: left;
      height: 100%;
      margin-right: 24px;
      box-sizing: border-box;
      position: relative;

      &-inner {
        padding: 8px 20px;
        transition: color 0.3s @ease-in-out;
        display: block;
        cursor: pointer;
        text-decoration: none;

        &:hover {
          color: tint(@primary-color, 20%);
        }

        &:active {
          color: shade(@primary-color, 5%);
          transform: translateZ(0);
        }

        .anticon {
          width: 14px;
          height: 14px;
          margin-right: 8px;
        }
      }
    }

    .@{tab-prefix-cls}-tab-active .@{tab-prefix-cls}-tab-inner {
      color: @primary-color;
      transform: translateZ(0);
    }
  }

  &-mini &-nav-container {
    font-size: 12px;
  }

  &-mini &-tab {
    margin-right: 0;
    .@{tab-prefix-cls}-tab-inner {
      padding: 8px 16px;
    }
  }

  &-tabpane-hidden {
    display: none;
  }

  &-content {
    position: relative;
    width: 100%;
  }

  &-slide-horizontal-backward-enter {
    .motion-common();
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
    opacity: 0;
    animation-duration: 0.4s;
  }

  &-slide-horizontal-backward-enter&-slide-horizontal-backward-enter-active {
    animation-name: antMoveLeftIn;
    transform: translateZ(0);
    animation-play-state: running;
  }

  &-slide-horizontal-backward-leave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    .motion-common();
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
    animation-duration: 0.4s;
  }

  &-slide-horizontal-backward-leave&-slide-horizontal-backward-leave-active {
    animation-name: antMoveRightOut;
    transform: translateZ(0);
    animation-play-state: running;
  }

  &-slide-horizontal-forward-enter {
    .motion-common();
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
    opacity: 0;
    animation-duration: 0.4s;
  }

  &-slide-horizontal-forward-enter&-slide-horizontal-forward-enter-active {
    animation-name: antMoveRightIn;
    animation-play-state: running;
    transform: translateZ(0);
  }

  &-slide-horizontal-forward-leave {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    .motion-common();
    animation-duration: 0.4s;
    animation-play-state: paused;
    animation-timing-function: @ease-in-out-quint;
  }

  &-slide-horizontal-forward-leave&-slide-horizontal-forward-leave-active {
    transform: translateZ(0);
    animation-name: antMoveLeftOut;
    animation-play-state: running;
  }

  &-vertical {
    .@{tab-prefix-cls}-tab {
      float: none;
      margin-right: 0;
      margin-bottom: 16px;
      &:last-child {
        margin-bottom: 0;
      }
      .@{tab-prefix-cls}-tab-inner {
        padding: 8px 24px;
      }
    }

    .@{tab-prefix-cls}-nav-scroll {
      width: auto;
    }

    .@{tab-prefix-cls}-bar {
      border-bottom: 0;
    }

    .@{tab-prefix-cls}-nav-container {
      margin-bottom: 0;
    }

    .@{tab-prefix-cls}-nav-wrap {
      margin-bottom: 0;
    }

    .@{tab-prefix-cls}-ink-bar {
      width: 2px;
      left: auto;
      height: auto;
      &-transition-forward {
        transition: bottom 0.3s @ease-in-out,
        top 0.3s @ease-in-out 0.3s * 0.3;
      }
      &-transition-backward {
        transition: bottom 0.3s @ease-in-out 0.3s * 0.3,
        top 0.3s @ease-in-out;
      }
    }

    .@{tab-prefix-cls}-container {
      margin-bottom: 0;
    }

    .@{tab-prefix-cls}-content {
      overflow: hidden;
      width: auto;
    }
  }

  &-vertical&-left {
    .@{tab-prefix-cls}-bar {
      float: left;
      border-right: 1px solid @border-color-split;
      margin-right: -1px;
      margin-bottom: 0;
    }
    .@{tab-prefix-cls}-tab {
      .@{tab-prefix-cls}-tab-inner {
        text-align: right;
      }
    }
    .@{tab-prefix-cls}-nav-container {
      margin-right: -1px;
    }
    .@{tab-prefix-cls}-nav-wrap {
      margin-right: -1px;
    }
    .@{tab-prefix-cls}-ink-bar {
      right: 1px;
    }
    .@{tab-prefix-cls}-content {
      padding-left: 24px;
      border-left: 1px solid @border-color-split;
    }
  }

  &-vertical&-right {
    .@{tab-prefix-cls}-bar {
      float: right;
      border-left: 1px solid @border-color-split;
      margin-left: -1px;
      margin-bottom: 0;
    }
    .@{tab-prefix-cls}-nav-container {
      margin-left: -1px;
    }
    .@{tab-prefix-cls}-nav-wrap {
      margin-left: -1px;
    }
    .@{tab-prefix-cls}-ink-bar {
      left: 1px;
    }
    .@{tab-prefix-cls}-content {
      padding-right: 24px;
      border-right: 1px solid @border-color-split;
    }
  }

  &-bottom &-bar {
    margin-bottom: 0;
    margin-top: 16px;
  }

  // card style
  &&-card &-nav-container {
    height: 36px;
  }
  &&-card &-ink-bar {
    visibility: hidden;
  }
  &&-card &-tab {
    margin: 0;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s @ease-in-out;
    background: #f9f9f9;
    margin-right: 2px;
  }
  &&-card &-tab-inner {
    padding: 7px 16px 6px;
    transition: all 0.3s @ease-in-out;
  }
  &&-card &-tab-active {
    background: #fff;
    transform: translateZ(0);
    border-color: @border-color-base;
    color: @primary-color;
  }
  &&-card &-tab-active &-tab-inner {
    padding-bottom: 7px;
    transform: translateZ(0);
  }
  &&-card &-nav-wrap {
    margin-bottom: 0;
  }
  &&-card &-tab-inner .anticon-cross {
    margin-right: 0;
    color: #999;
    transition: all 0.3s @ease-in-out;
    .iconfont-size-under-12px(9px);
    transform-origin: 100% 50%;
    width: 0;
    text-align: right;
    vertical-align: middle;
    overflow: hidden;
    &:hover {
      color: #404040;
      font-weight: bold;
    }
  }

  &&-editable-card &-tab:not(&-tab-active):hover &-tab-inner {
    padding-left: 8px;
    padding-right: 8px;
  }

  &&-card &-tab-active .anticon-cross,
  &&-card &-tab:hover .anticon-cross {
    width: 16px;
    transform: translateZ(0);
  }

  &-extra-content {
    float: right;
    line-height: 32px;

    .@{tab-prefix-cls}-new-tab {
      width: 20px;
      height: 20px;
      line-height: 20px;
      text-align: center;
      cursor: pointer;
      border-radius: 3px;
      border: 1px solid @border-color-base;
      font-size: 12px;
      .iconfont-size-under-12px(10px);
      color: #999;
      transition: color 0.3s ease;
      &:hover {
        color: #404040;
      }
    }
  }
}


add arrow to category dropdown (bug 789286)

@import 'lib';

#filters {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: @bg;
    .grain();
    top: 0;
    display: none;
    form > div {
        padding: 0 15px;
        margin-top: 84px;
        > h2 {
            font-size: 16px;
            margin: 35px 0 10px;
        }
    }
    .classic-header {
        .apply, .back {
            display: block;
        }
        h1 {
            font-weight: 400;
            font-size: 18px;
            line-height: 50px;
            display: block;
            color: @white;
            text-align: center;
            position: absolute;
            width: 100%;
        }
    }
}
.force-mobile #filters {
    max-width: 320px;
}
.toggles {
    padding: 0;
    margin: 0;
    list-style-type: none;
    font-size: 14px;
    .border-radius(5px);
    li {
        float: left;
        width: 33%;
        .box-shadow(0 1px 0 0 #f2f4f5);
        height: 35px;
        a {
            &:hover {
                text-decoration: none;
            }
        }
        &:first-child, &:first-child a, &:nth-child(3n+1), &:nth-child(3n+1) a {
            .border-radius(5px 0 0 5px);
        }
        &:last-child, &:last-child a, &:nth-child(3n), &:nth-child(3n) a {
            .border-radius(0 5px 5px 0);
        }
    }
}
.toggles li a, .picker {
    line-height: 33px;
    border: 1px solid #cdcbcb;
    display: inline-block;
    width: 100%;
    text-align: center;
    .gradient-two-color(#f7f7f7, @faint-gray);
    font-weight: 600;
    color: @text;
    .ellipsis();
    &.sel, &:active {
        background: rgba(68,82,91,.08);
        border-top: 1px solid #a5b0b6;
    }
}
.picker {
    margin: 0;
    .border-radius(5px);
    cursor: pointer;
    font-size: 14px;
    width: auto;
    padding: 0 30px 0 15px;
    position: relative;
    &:after {
        border-color: @note-gray transparent transparent;
        border-style: solid;
        border-width: 5px 5px 0;
        content: "";
        margin: 5px 0 0 5px;
        position: absolute;
        height: 0;
        top: 10px;
        width: 0;
    }
    &:hover:after {
        border-top-color: #333;
    }
}
.confirm-action {
    display: none;
    position: absolute; // This should be 'fixed' but FF18 doesn't repaint.
    z-index: 99;
    bottom: 0;
    left: 0;
    padding: 21px 19px;
    background: @grain-src @bg;
    list-style-type: none;
    width: 100%;
    margin: 0;
    .border-radius(5px 5px 0 0);
    .box-shadow(0 0 5px 2px rgba(0,0,0,0.5));
    li {
        a {
            .border-radius(5px);
            width: 100%;
            margin-bottom: 6px;
            font-size: 14px;
            .ellipsis();
            &.cancel {
                margin-top: 13px;
            }
        }
    }
    &.two-col {
        li {
            float: left;
            width: 50%;
            text-align: left;
            a {
                width: 138px;
            }
            &:nth-child(2n) {
                text-align: right;
            }
            &:last-child {
                float: none;
                width: 100%;
                a {
                    width: 100%;
                }
            }
        }
    }
    &.show {
        display: block;
    }
}
.footer-action {
    top: auto;
    bottom: 0;
    text-align: center;
    a {
        padding: 0 30px;
        &:hover {
            line-height: 31px;
        }
    }
}
// Ugh!
.force-mobile .confirm-action {
    max-width: 320px;
    left: 50%;
    margin-left: -160px;
}

@import 'lib';

#filters {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: @bg;
    .grain();
    top: 0;
    display: none;
    form > div {
        padding: 0 15px;
        margin-top: 84px;
        > h2 {
            font-size: 16px;
            margin: 35px 0 10px;
        }
    }
    .classic-header {
        .apply, .back {
            display: block;
        }
        h1 {
            font-weight: 400;
            font-size: 18px;
            line-height: 50px;
            display: block;
            color: @white;
            text-align: center;
            position: absolute;
            width: 100%;
        }
    }
}
.force-mobile #filters {
    max-width: 320px;
}
.toggles {
    padding: 0;
    margin: 0;
    list-style-type: none;
    font-size: 14px;
    .border-radius(5px);
    li {
        float: left;
        width: 33%;
        .box-shadow(0 1px 0 0 #f2f4f5);
        height: 35px;
        a {
            &:hover {
                text-decoration: none;
            }
        }
        &:first-child, &:first-child a, &:nth-child(3n+1), &:nth-child(3n+1) a {
            .border-radius(5px 0 0 5px);
        }
        &:last-child, &:last-child a, &:nth-child(3n), &:nth-child(3n) a {
            .border-radius(0 5px 5px 0);
        }
    }
}
.toggles li a, .picker {
    line-height: 33px;
    border: 1px solid #cdcbcb;
    display: inline-block;
    width: 100%;
    text-align: center;
    .gradient-two-color(#f7f7f7, @faint-gray);
    font-weight: 600;
    color: @text;
    .ellipsis();
    &.sel, &:active {
        background: rgba(68,82,91,.08);
        border-top: 1px solid #a5b0b6;
    }
}
.picker {
    margin: 0;
    .border-radius(5px);
    cursor: pointer;
    font-size: 14px;
    width: auto;
    padding: 0 15px;
}
.confirm-action {
    display: none;
    position: absolute; // This should be 'fixed' but FF18 doesn't repaint.
    z-index: 99;
    bottom: 0;
    left: 0;
    padding: 21px 19px;
    background: @grain-src @bg;
    list-style-type: none;
    width: 100%;
    margin: 0;
    .border-radius(5px 5px 0 0);
    .box-shadow(0 0 5px 2px rgba(0,0,0,0.5));
    li {
        a {
            .border-radius(5px);
            width: 100%;
            margin-bottom: 6px;
            font-size: 14px;
            .ellipsis();
            &.cancel {
                margin-top: 13px;
            }
        }
    }
    &.two-col {
        li {
            float: left;
            width: 50%;
            text-align: left;
            a {
                width: 138px;
            }
            &:nth-child(2n) {
                text-align: right;
            }
            &:last-child {
                float: none;
                width: 100%;
                a {
                    width: 100%;
                }
            }
        }
    }
    &.show {
        display: block;
    }
}
.footer-action {
    top: auto;
    bottom: 0;
    text-align: center;
    a {
        padding: 0 30px;
        &:hover {
            line-height: 31px;
        }
    }
}
// Ugh!
.force-mobile .confirm-action {
    max-width: 320px;
    left: 50%;
    margin-left: -160px;
}


Add nav styles

Add nav styles

with bootstrap patterns

fatal: unable to access 'https://github.com/ABS-org/cdp_strap.git/': The requested URL returned error: 403


show footer on desktop again (thanks, @mattbasta)

@import 'lib';

// Site-wide or structural styles only in this file.
// Can't find a better file for your style? Create one!
// This is not your diaper.

* {
    .border-box;
    word-wrap: break-word;
}

.js-hidden, .hidden {
    display: none;
}

.emaillink-wrapper {
    /* Necessary when emaillink is in a paragraph. */
    display: inline-block;
}

span.emaillink {
    direction: rtl;
    unicode-bidi: bidi-override;
    .i {
        display: none;
    }
}

a {
    text-decoration: none;
    color: @link;
    &:hover {
        text-decoration: underline;
    }
}

body {
    background: @grain-src @bg;
    color: @text;
    overflow-x: hidden;
}

// Specificified!
body .loading-fragment {
    background-color: rgba(0,0,0,0.5);
    z-index: 11;  // To cover the header.
    em {
        .border-radius(4px);
        background: url(../../img/zamboni/mobile/loading-white.png) rgba(0,0,0,.25) 50% 50% no-repeat;
        display: inline-block;
        height: 66px;
        width: 66px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -33px 0 0 -33px;
    }
}

.notification-box {
    .box-shadow(0 -1px 0 #ddd inset, 0 1px 0 rgba(0,0,0,.1));
    padding: 15px;
    background: rgba(255,255,255,0.6);
    form {
        line-height: 28px;
        button {
            float: right;
        }
    }
    ol, ul {
        &:last-child {
            margin-bottom: 0;
        }
    }
    p {
        margin: .5em 0 0;
    }
    b {
        color: #333;
    }
    h1 {
        color: maroon;
        font-size: 14px;
    }
    h2 {
        color: #458;
        font-size: 12px;
        font-weight: bold;
        margin: 0;
    }
    &.error {
        background: #FEE3E5;
        border-color: #E0C9D6;
        h2 {
            color: #B14949;
        }
    }
    &.warning {
        background: #fd9;
        border: 1px solid darken(#fd9, 60%);
    }
    &.full {
        a:last-child {
            font-weight: bold;
        }
        p {
            margin: 0;
            + p {
                font-size: 12px;
                margin-top: 5px;
            }
        }
    }
}

#site-header, #page {
    min-width: 320px;
    > section {
        margin-left: auto;
        margin-right: auto;
        &:after {
            content: '';
            display: block;
            clear: both;
        }
        &.full {
            width: 100%;
            > div {
                margin-left: auto;
                margin-right: auto;
            }
        }
    }
}

#page {
    position: relative;
    > section {
        &:only-child {
            padding-top: 24px;
            padding-bottom: 12px;
        }
    }
}

.row {
    clear: both;
}

.col {
    float: left;
    margin-left: @gutter * @px;
    &:first-child {
        margin-left: 0;
    }
}

.html-rtl .col {
    float: right;
    margin-right: @gutter * @px;
    margin-left: auto;
    &:first-child {
        margin-right: 0;
    }
}

// TODO potch: Belongs with the "collapsible" widget.
.more {
    display: none;
    &.expand {
        display: block;
    }
}

// Fixes z-index footer issue on login page.
.login #site-footer {
    background: none;
    position: relative;
    z-index: 2;
}

.hidden {
    display: none;
}

.force-mobile {
    #site-header > section,
    #page > section,
    #site-footer {
        max-width: 600px;
        margin: 0 auto;
    }
    #page > .overlay {
        max-width: 100%;
    }
}

// Controlling styles this way causes style repaints when JS applies the type.
// 'Notice' pages have a padded body and a home icon in the header.
// 'Alpha' pages have a padded body and a back icon.
body[data-page-type=notice], body[data-page-type=alpha] {
    section.primary {
        padding: 15px;
        h2 {
            font-size: 20px;
            border-bottom: 1px solid @dark-gray;
            padding-bottom: 10px;
        }
    }
}

#offline-pixel {
    display: none;
    width: 1px;
    height: 1px;
}

#site-footer {
    display: none;
    padding: 15px 0 30px;

    margin-top: 15px;
    border-top: 1px solid rgba(3, 16, 26, 0.13);
    .box-shadow(inset 0 1px fade(#fff, 50%));

    .account {
        color: @dark-gray;
        font-weight: 400;
        margin-bottom: 5px;
        a {
            font-weight: 600;
        }
        .logout {
            font-weight: 200;
        }
    }
    // Reviewers should always see a footer.
    &.reviewer {
        display: block;
    }
}

@media (min-width: @7col) {
    #site-footer {
        display: block;
    }
    body:not(.force-mobile) {
        .account.anonymous,
        .account.anonymous + .footer-links {
            text-align: center;
        }
        .account.anonymous + .footer-links {
            margin-top: 10px;
        }
        .footer-links {
            p {
                margin: 0;
                + p {
                    margin-top: 5px;
                }
            }
            a:first-child {
                padding-right: 5px;
            }
            a + a {
                border-left: 1px solid @light-gray;
                padding-left: 10px;
                padding-right: 5px;
                line-height: 15px;
            }
        }
    }
}

.force-mobile {
    .account, .footer-links a {
        padding: 4px;
    }
    .footer-links {
        p {
            margin: 0;
        }
        a {
            display: block;
            &:hover {
                background-color: rgba(255,255,255,.35);
                color: @link-dark;
                text-decoration: underline;
            }
        }
        p + p,
        a + a {
            border-top: 1px solid @light-gray;
        }
    }
}

@import 'lib';

// Site-wide or structural styles only in this file.
// Can't find a better file for your style? Create one!
// This is not your diaper.

* {
    .border-box;
    word-wrap: break-word;
}

.js-hidden, .hidden {
    display: none;
}

.emaillink-wrapper {
    /* Necessary when emaillink is in a paragraph. */
    display: inline-block;
}

span.emaillink {
    direction: rtl;
    unicode-bidi: bidi-override;
    .i {
        display: none;
    }
}

a {
    text-decoration: none;
    color: @link;
    &:hover {
        text-decoration: underline;
    }
}

body {
    background: @grain-src @bg;
    color: @text;
    overflow-x: hidden;
}

// Specificified!
body .loading-fragment {
    background-color: rgba(0,0,0,0.5);
    z-index: 11;  // To cover the header.
    em {
        .border-radius(4px);
        background: url(../../img/zamboni/mobile/loading-white.png) rgba(0,0,0,.25) 50% 50% no-repeat;
        display: inline-block;
        height: 66px;
        width: 66px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -33px 0 0 -33px;
    }
}

.notification-box {
    .box-shadow(0 -1px 0 #ddd inset, 0 1px 0 rgba(0,0,0,.1));
    padding: 15px;
    background: rgba(255,255,255,0.6);
    form {
        line-height: 28px;
        button {
            float: right;
        }
    }
    ol, ul {
        &:last-child {
            margin-bottom: 0;
        }
    }
    p {
        margin: .5em 0 0;
    }
    b {
        color: #333;
    }
    h1 {
        color: maroon;
        font-size: 14px;
    }
    h2 {
        color: #458;
        font-size: 12px;
        font-weight: bold;
        margin: 0;
    }
    &.error {
        background: #FEE3E5;
        border-color: #E0C9D6;
        h2 {
            color: #B14949;
        }
    }
    &.warning {
        background: #fd9;
        border: 1px solid darken(#fd9, 60%);
    }
    &.full {
        a:last-child {
            font-weight: bold;
        }
        p {
            margin: 0;
            + p {
                font-size: 12px;
                margin-top: 5px;
            }
        }
    }
}

#site-header, #page {
    min-width: 320px;
    > section {
        margin-left: auto;
        margin-right: auto;
        &:after {
            content: '';
            display: block;
            clear: both;
        }
        &.full {
            width: 100%;
            > div {
                margin-left: auto;
                margin-right: auto;
            }
        }
    }
}

#page {
    position: relative;
    > section {
        &:only-child {
            padding-top: 24px;
            padding-bottom: 12px;
        }
    }
}

.row {
    clear: both;
}

.col {
    float: left;
    margin-left: @gutter * @px;
    &:first-child {
        margin-left: 0;
    }
}

.html-rtl .col {
    float: right;
    margin-right: @gutter * @px;
    margin-left: auto;
    &:first-child {
        margin-right: 0;
    }
}

// TODO potch: Belongs with the "collapsible" widget.
.more {
    display: none;
    &.expand {
        display: block;
    }
}

// Fixes z-index footer issue on login page.
.login #site-footer {
    background: none;
    position: relative;
    z-index: 2;
}

.hidden {
    display: none;
}

.force-mobile {
    #site-header > section,
    #page > section,
    #site-footer {
        max-width: 600px;
        margin: 0 auto;
    }
    #page > .overlay {
        max-width: 100%;
    }
}

// Controlling styles this way causes style repaints when JS applies the type.
// 'Notice' pages have a padded body and a home icon in the header.
// 'Alpha' pages have a padded body and a back icon.
body[data-page-type=notice], body[data-page-type=alpha] {
    section.primary {
        padding: 15px;
        h2 {
            font-size: 20px;
            border-bottom: 1px solid @dark-gray;
            padding-bottom: 10px;
        }
    }
}

#offline-pixel {
    display: none;
    width: 1px;
    height: 1px;
}

#site-footer {
    display: none;
    padding: 15px 0 30px;

    margin-top: 15px;
    border-top: 1px solid rgba(3, 16, 26, 0.13);
    .box-shadow(inset 0 1px fade(#fff, 50%));

    .account {
        color: @dark-gray;
        font-weight: 400;
        margin-bottom: 5px;
        a {
            font-weight: 600;
        }
        .logout {
            font-weight: 200;
        }
    }
    // Reviewers should always see a footer.
    &.reviewer {
        display: block;
    }
}

@media (min-width: @7col) {
    body:not(.force-mobile) {
        .account.anonymous,
        .account.anonymous + .footer-links {
            text-align: center;
        }
        .account.anonymous + .footer-links {
            margin-top: 10px;
        }
        .footer-links {
            p {
                margin: 0;
                + p {
                    margin-top: 5px;
                }
            }
            a:first-child {
                padding-right: 5px;
            }
            a + a {
                border-left: 1px solid @light-gray;
                padding-left: 10px;
                padding-right: 5px;
                line-height: 15px;
            }
        }
    }
}

.force-mobile {
    .account, .footer-links a {
        padding: 4px;
    }
    .footer-links {
        p {
            margin: 0;
        }
        a {
            display: block;
            &:hover {
                background-color: rgba(255,255,255,.35);
                color: @link-dark;
                text-decoration: underline;
            }
        }
        p + p,
        a + a {
            border-top: 1px solid @light-gray;
        }
    }
}


Explicitly set buttons to lowercase

Explicitly set buttons to lowercase