mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-18 05:17:53 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
63 lines
802 B
SCSS
63 lines
802 B
SCSS
|
|
$form-control-height: 28px !default;
|
|
|
|
@import "form/_checkbox.scss";
|
|
@import "form/_switch.scss";
|
|
@import "form/_dropdown.scss";
|
|
@import "form/_coloreditor.scss";
|
|
@import "form/_colorproperty.scss";
|
|
|
|
.form
|
|
{
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.field-group
|
|
{
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.field-header
|
|
{
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.field
|
|
{
|
|
color: white;
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
|
|
> .label
|
|
{
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
font-weight: 600;
|
|
opacity: 0.4;
|
|
width: 20%;
|
|
font-size: 13px;
|
|
}
|
|
|
|
> .control
|
|
{
|
|
flex-shrink: 0;
|
|
flex-grow: 1;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.is-vertical > .field, .field.is-vertical
|
|
{
|
|
flex-direction: column;
|
|
|
|
> .label
|
|
{
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
} |