lib: Add form-layout, to auto-position form elements

Closes #10793
Fixes #10703

:root {
  // CSS variable to define the number of (label + control) columns.
  // It dynamically changes on narrow pages (see media query below).
  --ct-form-layout-columns: 2;
}

// Cockpit Form Layout: Automatically have Cockpit display your form in
// an optimal layout.
//
// By default, all labels are aligned and sized properly and form elements
// stretch to take up the remaining space.
//
//
// There are additional classes and attributes you can add to each
// control directly under `ct-form-layout`:
//
// `ct-form-layout-split`: The grid can be split on a `form-control`
// level by adding a this class. If you want two elements next to each
// other, both should have this class.
//
// `ct-form-layout-relax`: Form elements normally stretch to take up the
// full space. You can relax their width by adding this class to the
// control. Inputs with a size attribute are auto-relaxed and do not
// need this class.
//
// `ct-form-layout-stretch`: If a control has a width specified
// elsewhere, you can force it to stretch. This is mainly useful when
// using
 to group elements.
//
// role="group": When there are two related elements, such as a text
// input and a dropdown, you can group them together using this HTML
// attribute. It's similar in purpose to a <fieldset>, but works for
// layouts in Chrome (unlike fieldset). This can be attached to any
// container element, but will most likely be used with
. The role
// adds semantic meaning to the element for screen readers, and we key
// the CSS off of the role.
//
//
: While this is an element, it has a special meaning and is used
// to add some vertical spacing to a form.
//
// Most of the time, you can ignore all the optional classes (and
// attribute and hr element) and simply wrap your labels & controls in
// a <form class="ct-form-layout"> and layout magic happens.

.ct-form-layout {
  display: grid;
  grid-gap: 0 10px;
  // Repeat a label that is a minimum of 4em and its control that
  // fills the remaining space by a CSS variable (default: 2)
  grid-template-columns: repeat(var(--ct-form-layout-columns), minmax(4em, max-content) 1fr);
  place-items: baseline stretch;

  // Horizontal rules directly under a form-layout container serve to
  // add some vertical space in forms. This is useful for visually
  // grouping similar elements with whitespace.
  //
  // It's not the same as actually grouping elements (which can be done
  // in the usual ways as well as adding a role="group".
  > hr {
    border: none;
    // LESS needs this to be escaped with ~"". You'll see it below too.
    // CSS wants the string to be 1 / -1 without escaping.
    grid-column: ~"1 / -1";
    height: 15px;
    margin: 0;
    padding: 0;
  }

  label {
    // Make labels are the same height as controls,
    // to ensure vertical alignment happens properly
    line-height: 26px;
  }

  // All  elements describing form elements in PatternFly are
  // supposed to have a `control-label` class.
  // These precede control elements.
  > .control-label {
    align-self: flex-start;
    padding-left: 1em;
    text-align: right;
  }

  // Put all control elements to the right of the labels,
  // stretching to the rightmost column
  > div,
  > span,
  > p,
  > dl,
  > ol,
  > ul,
  > fieldset,
  > input,
  > samp,
  > pre,
  > code,
  > kbd,
  > label:not(.control-label) {
    grid-column: ~"2 / -1";
    line-height: 26px;
    margin: 0;
    width: auto;
  }

  // Auto-relax inputs with size
  > input[size] {
    justify-self: start;
  }

  // Some elements need special width considerations
  // as PatternFly normally fixes the width
  > .bootstrap-select,
  > .btn-group,
  > .dropdown {
    width: auto !important;
  }

  // Elements with role="group" are used to group elements —
  // fieldset was going to be used, but Chrome doesn't allow
  // grid or flex placement for fieldsets (yet).
  //
  // Adding a group role is the same thing accessibilty-wise
  // and lets us target all browsers properly.
  //
  // You can use this like:
  //

  //
  // And non-div elements are also supported.
  > [role=group] {
    align-self: start;
    display: grid;
    grid-gap: 5px;
    grid-auto-flow: column;
    grid-template-columns: max-content;
    justify-content: start;

    // Allow dropdowns to be less wide
    > .dropdown {
      width: auto !important;
    }

    > .form-control {
      width: auto;
    }
  }

  // Vertically align checkboxes and radios properly using flex
  .checkbox > label,
  .radio > label,
  .checkbox-inline,
  .radio-inline {
    display: inline-flex;
    padding-left: 0;
    padding-right: 10px;

    > input[type="checkbox"],
    > input[type="radio"] {
      height: 16px;
      margin: 5px 0.5em 5px 0;
      position: static;
    }
  }

  // Remove vertical spacing for fieldsets,
  // as this is handled by the grid gap
  fieldset {
    > .checkbox,
    > .radio {
      &:first-child {
        margin-top: 0;
      }

      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  // List groups override the grid gap, so we're adding it manually
  .list-group {
    margin-bottom: 5px;
  }

  // Relax split elements to only take up one column
  > .ct-form-layout-split {
    grid-column: ~"auto / auto";
  }
}

// Force a form element to stretch. Add as a class to `form-control`.
.ct-form-layout-stretch {
  justify-content: stretch !important;
}

// Instruct a `form-control` to not stretch.
.ct-form-layout-relax {
  justify-self: start;
}

// Reset .ct-form-layout-split for small dialogs, as they don't have
// much width. This allows for using the same HTML layout in both
// narrow and normal dialogs.
.modal-dialog.modal-sm .ct-form-layout > .ct-form-layout-split {
  grid-column: ~"2 / -1";
}

@media (max-width: 640px) {
  // When the page isn't wide enough, collapse (label + control) columns
  // down to 1, to force splits on their own lines
  :root {
    --ct-form-layout-columns: 1;
  }
}

@media (max-width: 480px) {
  // When the page is very narrow, collapse the grid further,
  // so labels are above controls
  .ct-form-layout {
    // Completely deconstruct the grid layout
    grid-template-columns: initial;

    > * {
      // Don't restrict grid placement
      grid-column: auto;
      // Use default PatternFly line height
      line-height: inherit;
      max-width: 100%;
      overflow: auto;
    }

    // As control labels fill the row, left align and remove padding
    > .control-label {
      padding: 0;
      text-align: left;

      // Everything but the first label should have space to breathe
      &:not(:first-child) {
        padding: 10px 0 0;
      }
    }

    // Reduce vertical height spacing between groups of elements
    > hr {
      height: 10px;
    }
  }
}

error: pathspec 'pkg/lib/form-layout.less' did not match any file(s) known to git


fixed css

fixed css

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


use css transforms for vertical header page title centering

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/lukesmmr/piracanga.git/'


Add margin left on button navbar home on desktop

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/sonatra/sonatra-theme-gluon.git/'


Style: fix tag component border radius to 6px

@import "../mixins/index";
@tag-prefix-cls: ~"@{css-prefix}tag";

.@{tag-prefix-cls} {
  display: inline-block;
  line-height: 22px;
  height: 22px;
  padding: 0 8px;
  border-radius: @border-radius-base;
  background: #f3f3f3;
  font-size: @font-size-base;
  margin-right: 4px;
  margin-bottom: 8px;
  transition: all 0.3s @ease-in-out-circ;
  transform-origin: 100% 50%;
  vertical-align: middle;
  opacity: 0.85;
  overflow: hidden;

  &:hover {
    opacity: 1;
  }

  &,
  a,
  a:hover {
    color: @text-color;
  }

  .anticon-cross {
    .iconfont-size-under-12px(10px);
    cursor: pointer;
    font-weight: bold;
    margin-left: 3px;
    color: #666;
    transition: all 0.3s ease;
    opacity: 0.66;

    &:hover {
      opacity: 1;
    }
  }

  &-blue,
  &-green,
  &-yellow,
  &-red {
    &,
    a,
    a:hover,
    .anticon-cross,
    .anticon-cross:hover {
      color: #fff;
    }
  }

  &-blue {
    background: @link-color;
  }

  &-green {
    background: @success-color;
  }

  &-yellow {
    background: @warning-color;
  }

  &-red {
    background: @error-color;
  }

  &-close {
    width: 0 !important;
    padding: 0;
    margin-right: 0;
  }

  &-zoom-leave {
    animation: antZoomOut .2s @ease-in-out-circ;
    animation-fill-mode: both;
  }
}

@import "../mixins/index";
@tag-prefix-cls: ~"@{css-prefix}tag";

.@{tag-prefix-cls} {
  display: inline-block;
  line-height: 22px;
  height: 22px;
  padding: 0 8px;
  border-radius: 20px;
  background: #f3f3f3;
  font-size: @font-size-base;
  margin-right: 4px;
  margin-bottom: 8px;
  transition: all 0.3s @ease-in-out-circ;
  transform-origin: 100% 50%;
  vertical-align: middle;
  opacity: 0.85;
  overflow: hidden;

  &:hover {
    opacity: 1;
  }

  &,
  a,
  a:hover {
    color: @text-color;
  }

  .anticon-cross {
    .iconfont-size-under-12px(10px);
    cursor: pointer;
    font-weight: bold;
    margin-left: 3px;
    color: #666;
    transition: all 0.3s ease;
    opacity: 0.66;

    &:hover {
      opacity: 1;
    }
  }

  &-blue,
  &-green,
  &-yellow,
  &-red {
    &,
    a,
    a:hover,
    .anticon-cross,
    .anticon-cross:hover {
      color: #fff;
    }
  }

  &-blue {
    background: @link-color;
  }

  &-green {
    background: @success-color;
  }

  &-yellow {
    background: @warning-color;
  }

  &-red {
    background: @error-color;
  }

  &-close {
    width: 0 !important;
    padding: 0;
    margin-right: 0;
  }

  &-zoom-leave {
    animation: antZoomOut .3s @ease-in-out-circ;
    animation-fill-mode: both;
  }
}


[page] clean up background definitions

[page] clean up background definitions

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/Buzzvil/honey-website.git/'


Fix images path

Fix images path

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


pubblica fasciuone 7 cloud in offerta

pubblica fasciuone 7 cloud in offerta

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


Use font variable

Use font variable

/**
 *    Copyright 2015-2017 ppy Pty. Ltd.
 *
 *    This file is part of osu!web. osu!web is distributed with the hope of
 *    attracting more community contributions to the core ecosystem of osu!.
 *
 *    osu!web is free software: you can redistribute it and/or modify
 *    it under the terms of the Affero GNU General Public License version 3
 *    as published by the Free Software Foundation.
 *
 *    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
 *    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *    See the GNU Affero General Public License for more details.
 *
 *    You should have received a copy of the GNU Affero General Public License
 *    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 */

.notification-icon {
  @top: notification-icon;
  .link-white();
  .link-plain();
  .center-content();
  display: flex;

  padding-bottom: 5px;
  margin-right: 15px;

  &__count {
    font-size: @font-size--normal;
    font-weight: 500;

    .@{top}--mobile & {
      font-size: @font-size--small;
    }
  }

  &__inbox {
    .@{top}--mobile & {
      padding-bottom: 2px;
    }
  }

  &--mobile {
    flex-direction: column;
    padding-top: 10px;
    margin-right: 10px;
  }

  &--glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
}

/**
 *    Copyright 2015-2017 ppy Pty. Ltd.
 *
 *    This file is part of osu!web. osu!web is distributed with the hope of
 *    attracting more community contributions to the core ecosystem of osu!.
 *
 *    osu!web is free software: you can redistribute it and/or modify
 *    it under the terms of the Affero GNU General Public License version 3
 *    as published by the Free Software Foundation.
 *
 *    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
 *    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *    See the GNU Affero General Public License for more details.
 *
 *    You should have received a copy of the GNU Affero General Public License
 *    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 */

.notification-icon {
  @top: notification-icon;
  .link-white();
  .link-plain();
  .center-content();
  display: flex;

  padding-bottom: 5px;
  margin-right: 15px;

  &__count {
    font-size: 12px;
    font-weight: 500;

    .@{top}--mobile & {
      font-size: @font-size--small;
    }
  }

  &__inbox {
    .@{top}--mobile & {
      padding-bottom: 2px;
    }
  }

  &--mobile {
    flex-direction: column;
    padding-top: 10px;
    margin-right: 10px;
  }

  &--glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
}


fix(components): 2192 comma spacing term separator

Closes #2192

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/NCI-GDC/portal-ui-legacy.git/'


Added LESS

Added LESS

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


Updates select2 design

Updates select2 design

fatal: unable to access 'https://github.com/sonatra/sonatra-select2-responsive.git/': The requested URL returned error: 403


All songs list style updated

All songs list style updated

error: pathspec 'imports/ui/songs/songsList.less' did not match any file(s) known to git


Add font-awesome stacked file

Add font-awesome stacked file

with font-awesome patterns

// Stacked Icons
// -------------------------

.@{fa-css-prefix}-stack {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
.@{fa-css-prefix}-inverse { color: @fa-inverse; }

error: pathspec 'cp-strap/src/stylesheets/icons/font-awesome/less/stacked.less' did not match any file(s) known to git


[NEW][REF] Very preliminary Bootstrapified Jqui theme.

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@50853 b456876b-0849-0410-b77d-98878d47e9d5

// $Id$
@import "../vendor/twitter/bootstrap/less/bootstrap.less";
@import "../vendor/twitter/bootstrap/less/mixins.less";
@import "jqui/custom-variables.less";
@import "jqui/custom-other.less";
@import "../vendor/twitter/bootstrap/less/utilities.less";

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


Add material design colors in less syntax

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/feoktistov95/liof.git/'


Add dataTable styles

Add dataTable styles

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


Multiple arguments on LESS transition function

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


Don't use hover effect on depth-0 menu items that aren't links

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/pradeepmurugesan/incubator-freemarker-docgen.git/'


Nav tweaks

Nav tweaks

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/putterschool/styleguide.git/'


svg url fix

svg url fix

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


har fjernet top menu på gebyrer landing page

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/Det-Kongelige-Bibliotek/rex.git/'


轮播组件支持手动触发一下个或前一个动作

轮播组件支持手动触发一下个或前一个动作

& {
    height: 100px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 100px;
    font-size: 60px;
}

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


stylo

stylo

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/fhirbase/fhirplace.git/'


test2

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/fslzrr/fslzrr-theme.git/'


forgot buttons.less

forgot buttons.less

.buttons-container{
	position: absolute;
	bottom: 10%;
	left:50%;
	margin-left: -85px;
	width: 170px;

	div {
		font-family: 'Roboto-Consensed', sans-serif;
		border-radius: 4px;
		background-color: #E6151C;
		text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
		box-shadow: 0 3px 8px black;
		color: white;
		font-weight: bold;
		text-decoration: none;
		font-size: 20;
		width: 80px;
		height: 80px;
		display: inline-block;
		font-size: 32px;
		text-align: center;
		line-height: 80px;
	}
	@media screen and (max-width:800px){
		&{
			display:none;
		}
	}
}

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


Update main.less

Update main.less

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/latviancoder/blog.git/'


Keyframes for motion fill on interactive text

The inner text "interactive design" will be animated with color
transitions.


add starting color/type variables for less

@black:                 #000;
@gray_darkest:          #111;
@gray_darker:           #333;
@gray_dark:             #555;
@gray:                  #888;
@gray_light:            #ccc;
@gray_lighter:          #ddd;
@gray_lightest:         #eee;
@white:                 #fff;

@font_size: 16px;
@font_height: 24px;
@font_color: @gray_dark;

@tile: (@font_size * 4);

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


Create snapnavigation.less

Create snapnavigation.less

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/KnowitLabs/knowit-snapnavigation.git/'


Widget styles

Widget styles

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


Style cleanup for OSX

Style cleanup for OSX

@import "./mixins";

html, body, #squelch-root, #main-view {
	width: 100%;
	height: 100%;
}

html {
  font-family: "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  .margin-reset;
}

body {
  .margin-reset;
}

.channel-view {
	overflow-x: hidden;
	overflow-y: hidden;
	height: 100%;
	background-color: #EEE;
	display: flex;
	flex-direction: row;

	.io-container {
		display: flex;
		flex-direction: column;
		flex-grow: 1;

		.message-container {
			flex-grow: 1;
			overflow-x: hidden;
			overflow-y: auto;
			font-size: 14px;
			ul {
				.margin-reset;
				list-style-type: none;
				width: 100%;
				height: 100%;
				li {
					padding-left: 8px;
				}
			}
		}

		.input-wrapper {
			.margin-reset;
			flex-shrink: 0;
			height: 25px;
			border: none;
			border-top: 1px solid #BBB;

			input {
				.margin-reset;
				box-sizing: border-box;
				border: none;
				width: 100%;
				height: 100%;
				padding-left: 4px;
				padding-right: 4px;
				outline: none;
			}
		}
	}

	.userlist-container {
		background-color: #222;
		color: #CCC;
		font-size: 12px;
		text-shadow: 0px 1px 1px black;
		flex-shrink: 0;
		width: 125px;
		height: 100%;

		.userlist-title {
			#sidebar .sidebar-title;
		}

		ul {
			.margin-reset;
			list-style-type: none;

			li {
				padding-left: 12px;
				padding-top: 4px;
				padding-bototm: 4px;
			}
		}
	}
}

#sidebar {
	background-color: #222;
	color: #CCC;
	font-size: 12px;
	text-shadow: 0px 1px 1px black;
	width: 150px;
	height: 100%;
	float: left;
	overflow: hidden;

	.sidebar-title {
		color: #777;
		padding-left: 12px;
		padding-top: 4px;
		font-weight: bold;
	}

	ul {
		.margin-reset;
		list-style-type: none;

		li {
			padding-left: 12px;
			padding-top: 4px;
			padding-bototm: 4px;
		}
	}
}

@import "./mixins";

html, body, #squelch-root, #main-view {
	width: 100%;
	height: 100%;
}

html {
  font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  .margin-reset;
}

body {
  .margin-reset;
}

.channel-view {
	overflow-x: hidden;
	overflow-y: hidden;
	height: 100%;
	background-color: #EEE;
	display: flex;
	flex-direction: row;

	.io-container {
		display: flex;
		flex-direction: column;
		flex-grow: 1;

		.message-container {
			flex-grow: 1;
			overflow-x: hidden;
			overflow-y: auto;
			font-size: 14px;
			ul {
				.margin-reset;
				list-style-type: none;
				width: 100%;
				height: 100%;
				li {
					padding-left: 8px;
				}
			}
		}

		.input-wrapper {
			.margin-reset;
			flex-shrink: 0;
			height: 25px;
			border: none;
			border-top: 1px solid #BBB;

			input {
				.margin-reset;
				box-sizing: border-box;
				border: none;
				width: 100%;
				height: 100%;
				padding-left: 4px;
				padding-right: 4px;
				outline: none;
			}
		}
	}

	.userlist-container {
		background-color: #222;
		color: #CCC;
		font-size: 13px;
		text-shadow: 0px 1px 1px black;
		flex-shrink: 0;
		width: 125px;
		height: 100%;

		.userlist-title {
			#sidebar .sidebar-title;
		}

		ul {
			.margin-reset;
			list-style-type: none;

			li {
				padding-left: 8px;
			}
		}
	}
}

#sidebar {
	background-color: #222;
	color: #CCC;
	font-size: 13px;
	text-shadow: 0px 1px 1px black;
	width: 150px;
	height: 100%;
	float: left;
	overflow: hidden;

	.sidebar-title {
		font-size: 14px;
		color: #777;
		padding-left: 8px;
		padding-top: 3px;
		padding-bottom: 3px;
		text-transform: uppercase;
		font-weight: bold;
	}

	ul {
		.margin-reset;
		list-style-type: none;

		li {
			padding-left: 8px;
		}
	}
}


add a better font 黑体 is better than Arial Unicode MS

/**
 *    Copyright 2015-2017 ppy Pty. Ltd.
 *
 *    This file is part of osu!web. osu!web is distributed with the hope of
 *    attracting more community contributions to the core ecosystem of osu!.
 *
 *    osu!web is free software: you can redistribute it and/or modify
 *    it under the terms of the Affero GNU General Public License version 3
 *    as published by the Free Software Foundation.
 *
 *    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
 *    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *    See the GNU Affero General Public License for more details.
 *
 *    You should have received a copy of the GNU Affero General Public License
 *    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 */

@import "app";

@brand-primary: @pink;
@brand-success: @green;
@brand-warning: @yellow;
@brand-danger: @red;
@brand-info: @blue;

@text-color: @gray;

@link-color: @blue-darker;
@link-hover-color: @blue;

@font-family-sans-serif: "Exo 2", "Arial Grande",Tahoma,Helvetica,Arial,"黑体","Arial Unicode MS",sans-serif;

@font-size-base: 16px;

@line-height-base: 1.25; // 20/16

@headings-color: @pink-text;

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

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

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

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

@input-color: @gray-dark;
@input-border-focus: @pink;

@screen-sm-min: 840px;
@screen-lg-min: 1300px;
@screen-md-min: @screen-sm-min;

@grid-gutter-width: 40px;

@container-tablet: 1000px;
@container-sm: @container-tablet;
@container-desktop: @container-tablet;
@container-md: @container-tablet;
@container-large-desktop: @container-tablet;
@container-lg: @container-tablet;

@well-bg: @gray-lighter;

@badge-color: @purple-darker;
@badge-link-hover-color: @pink-dark;
@badge-bg: #fff;

@navbar-default-bg: @pink-darker;

@navbar-default-brand-color: #fff;
@navbar-default-brand-hover-color: #fff;

@navbar-default-toggle-border-color: fade(#fff, 50%);
@navbar-default-toggle-hover-bg: fade(#fff, 50%);

@navbar-height: 60px;
@navbar-padding-horizontal: 10px;
@navbar-padding-vertical: 10px;

@nav-link-hover-bg: transparent;
@nav-link-padding: 10px;

/**
 *    Copyright 2015-2017 ppy Pty. Ltd.
 *
 *    This file is part of osu!web. osu!web is distributed with the hope of
 *    attracting more community contributions to the core ecosystem of osu!.
 *
 *    osu!web is free software: you can redistribute it and/or modify
 *    it under the terms of the Affero GNU General Public License version 3
 *    as published by the Free Software Foundation.
 *
 *    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
 *    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *    See the GNU Affero General Public License for more details.
 *
 *    You should have received a copy of the GNU Affero General Public License
 *    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 */

@import "app";

@brand-primary: @pink;
@brand-success: @green;
@brand-warning: @yellow;
@brand-danger: @red;
@brand-info: @blue;

@text-color: @gray;

@link-color: @blue-darker;
@link-hover-color: @blue;

@font-family-sans-serif: "Exo 2", "Arial Grande",Tahoma,Helvetica,Arial,"Arial Unicode MS",sans-serif;

@font-size-base: 16px;

@line-height-base: 1.25; // 20/16

@headings-color: @pink-text;

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

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

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

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

@input-color: @gray-dark;
@input-border-focus: @pink;

@screen-sm-min: 840px;
@screen-lg-min: 1300px;
@screen-md-min: @screen-sm-min;

@grid-gutter-width: 40px;

@container-tablet: 1000px;
@container-sm: @container-tablet;
@container-desktop: @container-tablet;
@container-md: @container-tablet;
@container-large-desktop: @container-tablet;
@container-lg: @container-tablet;

@well-bg: @gray-lighter;

@badge-color: @purple-darker;
@badge-link-hover-color: @pink-dark;
@badge-bg: #fff;

@navbar-default-bg: @pink-darker;

@navbar-default-brand-color: #fff;
@navbar-default-brand-hover-color: #fff;

@navbar-default-toggle-border-color: fade(#fff, 50%);
@navbar-default-toggle-hover-bg: fade(#fff, 50%);

@navbar-height: 60px;
@navbar-padding-horizontal: 10px;
@navbar-padding-vertical: 10px;

@nav-link-hover-bg: transparent;
@nav-link-padding: 10px;


hotfix/fix button hover on mobile (#279)

* fix(button): to restrict hover rules apply only to devices that support :hover

* fix(button): lint error media-feature-colon-space-after

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/seekinternational/seek-asia-style-guide.git/'


Create variables.less

Create variables.less

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


by xuheng

by xuheng

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/mob-framework/mob.git/'


OR-2539 Add disabled css to btn-link

OR-2539 Add disabled css to btn-link

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


Add iconfont with import

Add iconfont with import

@import '//at.alicdn.com/t/font_317125_w38304xqpt6pf1or.css';

.iconfont {
  font-size: 26px;
}

@font-primary: Whitney,"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
@font-alt: WhitneyMedium,"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
@font-text: 'Source Sans Pro', sans-serif;


Fix vertical align of last cell

Fix vertical align of last cell

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/sonatra/sonatra-theme-gluon.git/'


removed

removed

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/dedalozzo/pit-bootstrap.git/'


fixed a bug to use margin-bottom = gutter


Minor tree-view tweak

Minor tree-view tweak

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/jasonhulbert/termal-ui.git/'


Prevent last image in a post from filling the full width of viewport

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


Add styling improvements to sign up form


Rudimentary way off showing and hiding the whackamole sign up input


Create rotated-flipped.less

Create rotated-flipped.less

// Rotated & Flipped Icons
// -------------------------

.@{fa-css-prefix}-rotate-90  { .fa-icon-rotate(90deg, 1);  }
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }

.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
.@{fa-css-prefix}-flip-vertical   { .fa-icon-flip(1, -1, 2); }

// Hook for IE8-9
// -------------------------

:root .@{fa-css-prefix}-rotate-90,
:root .@{fa-css-prefix}-rotate-180,
:root .@{fa-css-prefix}-rotate-270,
:root .@{fa-css-prefix}-flip-horizontal,
:root .@{fa-css-prefix}-flip-vertical {
  filter: none;
}

error: pathspec 'font-awesome/less/rotated-flipped.less' did not match any file(s) known to git


Fixes menu lang separator position

Fixes menu lang separator position

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