Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="header-main">
    <div class="header-basf system-local" ng-reflect-klass="header-basf" ng-reflect-ng-class="system-local"><a
            class="logo" ng-reflect-router-link="/dashboard" href="#/dashboard"></a>
        <div class="project-name">AFON/AdMixtures</div>
        <div class="user ng-star-inserted"><a alt="Logout" class="user-logout"><span>Marcus Lehmann</span></a>
        </div>
    </div>

    <div class="header-primary">
        <div _ngcontent-c22="" class="header-display-left ng-tns-c22-9"><a _ngcontent-c22=""
                class="header-back-button ng-tns-c22-9 ng-star-inserted"
                ng-reflect-router-link="/project/show,5b62d357d337a371" href="#/project/show/5b62d357d337a371b43fb9e1">
                <icons-sprite _ngcontent-c22="" class="up" _nghost-c3="" ng-reflect-icon="back"
                    ng-reflect-color="#009FDE" ng-reflect-width="23px" ng-reflect-height="19px"
                    style="color: rgb(0, 159, 222); width: 23px; height: 19px;">
                    <div _ngcontent-c3="" class="svg-wrap" ng-reflect-ng-switch="back"><svg _ngcontent-c3=""
                            xmlns:xlink="http://www.w3.org/1999/xlink" height="21px" version="1.1" viewBox="0 0 24 21"
                            width="24px" xmlns="http://www.w3.org/2000/svg" class="ng-star-inserted">
                            <title _ngcontent-c3="">icn_back</title>
                            <desc _ngcontent-c3="">Created with Sketch.</desc>
                            <defs _ngcontent-c3=""></defs>
                            <g _ngcontent-c3="" fill="none" fill-rule="evenodd" id="Styles-&amp;-Elements" stroke="none"
                                stroke-width="1">
                                <g _ngcontent-c3="" fill="#009FDE" id="Icons"
                                    transform="translate(-208.000000, -273.000000)">
                                    <g _ngcontent-c3="" id="icn_back" transform="translate(208.000000, 273.000000)">
                                        <polygon _ngcontent-c3="" id="Line"
                                            points="0.897058824 11 24 11 24 10 0.897058824 10"></polygon>
                                        <polygon _ngcontent-c3="" id="Path-102"
                                            points="10.3629763 1.34387232 9.63702366 0.656127676 0.311249877 10.5 9.63702366 20.3438723 10.3629763 19.6561277 1.68875012 10.5">
                                        </polygon>
                                    </g>
                                </g>
                            </g>
                        </svg></div>
                </icons-sprite>
            </a></div>
        <div _ngcontent-c22="" class="header-display ng-tns-c22-9">
            <div _ngcontent-c22="" class="header-headline-group ng-tns-c22-9 ng-star-inserted">
                <h1 _ngcontent-c22="" class="header-headline">Setup</h1>
            </div>
            <div _ngcontent-c22="" class="header-edit-controls" style="display: flex;">
                <button _ngcontent-c22="" class="btn is-cta is-icon-left ng-tns-c22-9 ng-star-inserted" disabled="" style="margin-right: 10px;">
                    <icons-sprite _ngcontent-c22="" class="up" _nghost-c3="" ng-reflect-icon="edit"
                        ng-reflect-color="#FFF" ng-reflect-width="23px" ng-reflect-height="19px"
                        style="color: rgb(255, 255, 255); width: 23px; height: 19px;">
                        <div _ngcontent-c3="" class="svg-wrap" ng-reflect-ng-switch="edit" style="position: relative;
	top: -5px;"><svg _ngcontent-c3=""
                                xmlns:xlink="http://www.w3.org/1999/xlink" height="18px" version="1.1"
                                viewBox="0 0 18 18" width="18px" xmlns="http://www.w3.org/2000/svg"
                                class="ng-star-inserted">
                                <title _ngcontent-c3="">edit</title>
                                <desc _ngcontent-c3="">Created with Sketch.</desc>
                                <defs _ngcontent-c3="">
                                    <polygon _ngcontent-c3="" id="path-1"
                                        points="2.75575286 0.779237747 7.67460948 0.779237747 7.67460948 18.8150454 5.21518117 22.0942831 2.75575286 18.8150454">
                                    </polygon>
                                    <mask _ngcontent-c3="" fill="white" height="21.3150454" id="mask-2"
                                        maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox"
                                        width="4.91885662" x="0" y="0">
                                        <use _ngcontent-c3="" xlink:href="#path-1"></use>
                                    </mask>
                                </defs>
                                <g _ngcontent-c3="" fill="none" fill-rule="evenodd" id="ASSETS" stroke="none"
                                    stroke-width="1">
                                    <g _ngcontent-c3="" id="edit" stroke="#FFFFFF" stroke-width="2"
                                        transform="translate(-14.000000, -7.000000)">
                                        <g _ngcontent-c3="" id="pen"
                                            transform="translate(22.513140, 16.709292) rotate(-330.000000) translate(-22.513140, -16.709292) translate(17.013140, 5.209292)">
                                            <use _ngcontent-c3="" xlink:href="#path-1" id="edit" mask="url(#mask-2)"
                                                transform="translate(5.215181, 11.436760) rotate(-345.000000) translate(-5.215181, -11.436760) ">
                                            </use>
                                        </g>
                                    </g>
                                </g>
                            </svg></div>
                    </icons-sprite> Edit
                </button>
                
                <button _ngcontent-c1="" class="btn is-primary is-icon-left">
                    <span _ngcontent-c1="" class="btn-flex-inner">
                        <icons-sprite _ngcontent-c1="" class="up" color="#FFFFFF" height="15px" icon="check"
                            width="18px" _nghost-c3="" ng-reflect-icon="check" ng-reflect-color="#FFFFFF"
                            ng-reflect-width="18px" ng-reflect-height="15px"
                            style="color: rgb(255, 255, 255); width: 18px; height: 15px;">
                            <div _ngcontent-c3="" class="svg-wrap" ng-reflect-ng-switch="check" style="position: relative;
	top: -7px;"><svg _ngcontent-c3=""
                                    xml:space="preserve" xmlns:xlink="http://www.w3.org/1999/xlink"
                                    enable-background="new 0 0 18 15" height="15px" id="Ebene_1" version="1.1"
                                    viewBox="0 0 18 15" width="18px" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"
                                    class="ng-star-inserted">
                                    <title _ngcontent-c3="">check</title>
                                    <desc _ngcontent-c3="">Created with Sketch.</desc>
                                    <g _ngcontent-c3="" id="ASSETS">
                                        <g _ngcontent-c3="" id="Artboard-Copy-3"
                                            transform="translate(-10.000000, -10.000000)">
                                            <path _ngcontent-c3="" d="M24.219,10.639c0.193-0.186,0.499-0.186,0.692,0l2.435,2.333c0.205,0.197,0.205,0.525,0,0.722
                  l-11.13,10.667c-0.193,0.186-0.499,0.186-0.692,0l-4.87-4.667c-0.205-0.196-0.205-0.525,0-0.722l2.435-2.333
                  c0.193-0.186,0.499-0.186,0.692,0l2.089,2.001L24.219,10.639z M16.215,19.694c-0.193,0.186-0.499,0.186-0.692,0l-2.089-2.002
                  l-1.712,1.642l4.147,3.974l10.408-9.974l-1.712-1.641L16.215,19.694z" fill="#FFFFFF" id="check"></path>
                                        </g>
                                    </g>
                                </svg></div>
                        </icons-sprite> Save changes
                    </span>
                </button>
            </div>
        </div>
    </div>
</div>

<div class="content" style="padding: 20px;">
  <div id="widget"></div>
</div>
              
            
!

CSS

              
                /**
 * styleguide colors
 * https://app.frontify.com/d/8Gd7Oa9pUxwg/basf-oase-style-guide#/basics/colors
 */
$basf-orange: #f39500;
$basf-orange-hover: #ef7f00;
$light-blue: #009fde;
$light-blue-hover: #0088d3;
$basf-blue: #004a96;
$basf-blue-hover: #003067;
$midnight-blue: #003067;
$midnight-blue-hover: #003e7e;
$dark-blue-gray: #8996ab;
$light-blue-gray: #e2e6ec;
$athens-gray: #f6f7f9;
$athens-gray-dark: #e1e5ea;
$atlantis: #a2d029;

$charcoal: #222;
$white: #fff;
$black: #000;
$mine-shaft: #303030;
$rolling-stone: #7b7d80;
$midnight: #001940;
$prussian-blue: #00204c;
$polo-blue: #80a4ca;
$alto: #cfcfcf;

$gallery: #ededed;
$ghost: #c3cad5;

$alizarin-crimson: #ec2e2e;
$pippin: #ffe1e1;

// semantic vars
$default-text-color: $black;
$default-background-color: $light-blue-gray;
$secondary-text-color: $charcoal;
$grading-background-color: $white;
$dark-background-color: $midnight-blue;
$highlight-background-color: $basf-blue;
$placeholder-dark-color: $polo-blue;
$error-background-color: $pippin;
$error-text-color: $alizarin-crimson;
$disable-background-color: #ebebe4;

$header-height: 76px;
$aside-width: 340px;
$border-radius: 4px;

$default-font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Verdana, sans-serif;

/* You can add global styles to this file, and also import other style files */
body {
	background-color: $default-background-color;

	&.dark {
		background-color: $midnight-blue;
	}
}

html,
body {
  margin: 0;
  
	color: $default-text-color;
	height: 100%;
	font-family: $default-font-family;
	line-height: 1.7;
}

html {
	box-sizing: border-box;
}

*,
::before,
::after {
	box-sizing: inherit;
}

/* Helpers */
.float-right {
	float: right;
}

.float-left {
	float: left;
}

// Custom Bootstrap container padding
.container {
	max-width: 1440px;
	padding-left: 30px;
	padding-right: 30px;
}

.container-fluid {
	padding-left: 30px;
	padding-right: 30px;

	.container {
		padding-left: 0;
		padding-right: 0;
	}

	.container-fluid {
		padding-left: 0;
		padding-right: 0;
	}
}

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

a {
	text-transform: uppercase;
}

a:link {
	color: $light-blue;
	text-decoration: none;
}

a:hover {
	color: $light-blue;
	text-decoration: underline;
}

a:active {
	color: $light-blue;
	text-decoration: underline;
}

a:visited {
	color: $light-blue;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 100%;
	margin: 0;
	padding: 0;
}

input::-ms-clear {
	display: none;
}

input[type='text'],
input[type='password'],
input[type='number'],
input[type='email'],
input[type='url'],
input[type='tel'],
input[type='date'],
input[type='search'] {
	padding: 0 6px;
	outline-offset: -3px;
}

a[href],
input[type='submit'],
input[type='image'],
label[for],
select,
button,
.pointer {
	cursor: pointer;
}

.btn {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	border: none;
	border-radius: 4px;
	outline-offset: -2px;
	letter-spacing: .01em;
	font-weight: bold;
	font-size: 12px;
	line-height: 40px;
	text-transform: uppercase;
	padding: 0 15px;
	width: auto;
	height: 40px;
	display: block;

	&:hover,
	&:link,
	&:active,
	&:visited,
	&:focus {
		outline: none;
		text-decoration: none;
	}

	&.is-primary {
		background-color: $basf-orange;
		color: $white;
		display: flex;
		align-items: center;

		&.is-icon-left > icons-sprite {
			margin-right: 10px;
		}

		&.is-icon-right > icons-sprite {
			margin-left: 10px;
		}

		&:hover,
		&:focus {
			background-color: $basf-orange-hover;
		}

		&:disabled,
		.is-disabled {
			background-color: $basf-orange;
			cursor: not-allowed;
			opacity: .5;
		}
	}

	&.is-secondary {
		background-color: transparent;
		border: 1px solid $light-blue;
		color: $light-blue;
		display: flex;
		align-items: center;

		&:hover,
		&:link,
		&:active,
		&:visited,
		&:focus {
			text-decoration: none;
		}

		&:hover,
		&:focus {
			background-color: $light-blue;
			color: $white;

			path {
				fill: $white;
			}

			&.is-active-white {
				path,
				polygon {
					stroke: $white;
				}
			}
		}

		&:disabled {
			background-color: $basf-blue;
			cursor: not-allowed;
			opacity: .5;
		}
	}

	&.is-link {
		background-color: transparent;
		color: $light-blue;
		display: flex;
		align-items: center;
		height: 35px;
		white-space: nowrap;

		&:hover,
		&:link,
		&:active,
		&:visited,
		&:focus {
			text-decoration: none;
		}

		&:hover,
		&:focus {
			color: $basf-blue;

			path {
				fill: $basf-blue;
			}
		}

		&:disabled {
			cursor: not-allowed;
			opacity: .5;
		}
	}

	&.is-cta {
		background-color: $light-blue;
		color: $white;
		display: flex;
		align-items: center;

		&.is-icon-left > icons-sprite {
			margin-right: 10px;
		}

		&.is-icon-right > icons-sprite {
			margin-left: 10px;
		}

		&:hover,
		&:focus {
			background-color: $light-blue-hover;
		}

		&.is-secondary {
			background-color: $basf-blue;
		}

		&:disabled {
			background-color: $light-blue;
			cursor: not-allowed;
			opacity: .5;
		}

		&-small {
			height: 30px;
			line-height: 30px;
		}
	}

	&.is-danger {
		background-color: transparent;
		border: 1px solid $alizarin-crimson;
		color: $alizarin-crimson;
		display: flex;
		align-items: center;

		&:focus,
		&:hover,
		&:active {
			background-color: $alizarin-crimson;
			color: $white;

			path,
			polygon {
				fill: $white;
			}
		}

		&:disabled {
			cursor: not-allowed;
			opacity: .5;
		}
	}
}

.btn-flex-inner {
	display: flex;
	align-items: center;
	flex-direction: row;

	.is-icon-left & > icons-sprite {
		margin-right: 10px;
	}

	.is-icon-right & > icons-sprite {
		margin-left: 10px;
	}
}

.has-margin-top-10 {
	margin-top: 10px;
}

.has-margin-bottom-10 {
	margin-bottom: 10px;
}

.has-margin-top-20 {
	margin-top: 20px;
}

.has-margin-bottom-20 {
	margin-bottom: 20px;
}

.has-margin-top-30 {
	margin-top: 30px;
}

.has-margin-bottom-30 {
	margin-bottom: 30px;
}

.has-margin-top-40 {
	margin-top: 40px;
}

.has-margin-bottom-40 {
	margin-bottom: 40px;
}

.section-description {
	font-weight: bold;
	font-size: 16px;
	margin-top: 0;
	margin-bottom: 10px;
}

/* Form Components */
.form-label {
	font-weight: bold;
	display: block;
	font-size: 12px;

	&.is-inline {
		display: inline-block;
	}
}

.form-input,
.form-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid $dark-blue-gray;
	border-radius: 4px;
	display: block;
	width: 100%;
	padding: 0 10px;
	height: 32px;

	&:disabled {
		background-color: $disable-background-color;
	}
}

.form-select {
	background-color: $white;

	&::-ms-expand {
		display: none;
	}
}

.form-select-wrapper {
	position: relative;
	width: 100%;

	&::before {
		display: block;
		pointer-events: none;
		content: '';
		width: 35px;
		position: absolute;
		top: 2px;
		right: 5px;
		bottom: 2px;
		background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
	}

	&::after {
		display: block;
		pointer-events: none;
		content: '';
		width: 25px;
		position: absolute;
		top: 1px;
		right: 5px;
		bottom: 1px;
		background: transparent url('/assets/icon/svg/triangle-down.svg') no-repeat center center;
		background-size: 10px 7px;
	}
}

.form-group {
	display: flex;

	&-prepend,
	&-append {
		padding: 0 6px;
		height: 32px;
		line-height: 32px;
	}

	&.is-inline {
		display: inline-block;
	}
}

.form-control {
	flex-grow: 1;

	&.is-inline {
		display: inline-block;
	}

	&.has-errors {
		.form-input,
		.form-select {
			border-color: $error-text-color;
			border-width: 2px;
		}
	}

	&.form-control-required {
		label::after {
			content: "*";
			display: inline-block;
		}
	}

	input[disabled],
	select[disabled] {
		cursor: not-allowed;
		opacity: .5;
	}
}

.form-row {
	margin-top: 10px;

	&.is-inline {
		display: flex;
		align-items: flex-end;

		.form-group,
		.form-control {
			align-self: flex-start;
		}
	}

	&.is-wrapper {
		margin-top: 0;
		flex-wrap: wrap;
	}
}

.form-errors {
	background-color: $error-background-color;
	border-radius: $border-radius;
	color: $error-text-color;
	font-size: 12px;
	font-weight: bold;
	list-style: none;
	margin: 10px 1px 0;
	padding: 5px 10px;
	position: relative;

	&::before {
		border-color: transparent transparent $error-background-color transparent;
		border-style: solid;
		border-width: 0 8px 8px;
		content: '';
		display: block;
		height: 0;
		left: 10px;
		position: absolute;
		top: -8px;
		width: 0;
	}
}

.form-error {
	padding: 0;
	margin: 0;
	display: block;
}

.form-help {
	font-size: 10px;
	color: $dark-blue-gray;
	display: inline-block;
	padding: 5px 0;
}

.form-text {
	line-height: 32px;
	display: inline-block;
}

.link {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	color: $light-blue;
}

.link-title {
	.has-icon & {
		padding-left: 6px;
	}
}

/* Block */
.block {
	background: $white;
	border-radius: 4px;
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.block-header {
	display: flex;
	min-height: 1.6em;
}

.block-body {
	flex-grow: 1;
}

.block-no-grow {
	flex-grow: 0;
}

.block-footer {
	flex-grow: 0;
	margin-top: 20px;
}

.block-title {
	display: block;
	flex-grow: 1;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

.block-subtitle {
	display: block;
	flex-grow: 0;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: .5em 0;
}

.block-actions {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.block-action {
	display: block;
	padding: 0;
}

/* Icon Block */
.icon-block {
	display: flex;
}

.icon-block-icon {
	display: block;
	margin-right: 5px;
	margin-top: 2px;
	min-width: 14px;
	flex-shrink: 0;
}

.icon-block-text {
	display: block;
}

// remove blue background on select boxes IE
select::-ms-value {
	background: none;
	color: black;

	.selection-add & {
		color: white;
	}
}

// remove number spinners on chrome and firefox
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

// workaround for IE 11 svg in table cell
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	/* IE10+ specific styles go here */
	trial-details-superplasticizer {
		.grid-col-2 {
			.svg-wrap {
				& > svg {
					transform: scale(.5) !important;
					overflow: visible;
					position: absolute;
					top: -3px;
					left: -3px;
				}
			}
		}
	}
}


/* -------------------
   DEV Extreme - START
   ------------------- */

@import '../node_modules/devextreme/dist/css/dx.common.css';
@import '../node_modules/devextreme/dist/css/dx.light.css';

.dx-widget,
.dx-widget input,
.dx-widget textarea {
	font-family: $default-font-family;
}

.dx-datagrid-table + .dx-datagrid-focus-overlay {
	display: none;
}

.dx-datagrid-headers {
	color: $default-text-color;
	font-weight: 700;

	.dx-header-row:nth-child(n + 2) {
		font-weight: 600;
	}

	.is-grading {
		background-color: $ghost !important;
	}

	.is-grading-light {
		background-color: $athens-gray !important;
	}

	td.grouped-with-next {
		border-right: 0 none;

		+ td {
			border-left: 0 none;
		}
	}
}

.dx-datagrid {
	background: none;

	.dx-toolbar {
		background: none;
	}

	.dx-highlight-outline {
		position: initial;

		input {
			width: 100%;
		}
	}

	.experiment-number {
		text-align: right !important;

		span {
			position: relative;
			top: -2px;
		}

		.fa {
			color: #cbd1db;
			font-size: 20px;
			margin-left: 6px;
			cursor: pointer;

			&.active {
				color: #009fde;
			}

			&:hover {
				color: #0088d3;
			}
		}
	}

	td {
		&.editable {
			cursor: text;
			padding: 4px;
			position: relative;

			.fa {
				cursor: pointer;
				position: absolute;
				font-size: 14px;
				right: 8px;
				margin: 0;
				top: 11px;
			}

			&.dx-focused,
			&.dx-editor-cell,
			&.dx-editor-cell.dx-focused,
			&.dx-editor-cell.dx-focused.is-grading-light {
				padding: 4px !important;
				background-color: #e6e6e6 !important;
				border: 0 none;

				.dx-texteditor-input,
				.dx-texteditor.dx-editor-outlined {
					border-radius: 0;
				}

				input {
					display: block;
					height: 27px;
					min-height: 0;
					line-height: 21px;
					padding: 2px 4px;
					border: 1px solid #8996ab;
					background: $white;
				}
			}

			&.has-calculator {
				&.dx-editor-cell,
				&.dx-editor-cell.dx-focused,
				&.dx-editor-cell.dx-focused.is-grading-light {
					input {
						padding-right: 23px;
					}
				}
			}

			span {
				display: block;
				height: 27px;
				line-height: 21px;
				padding: 2px 4px;
				border: 1px solid $white;
				background: $white;
			}

			&.has-calculator span {
				padding-right: 23px;
			}
		}

		&.download-button {
			padding: 2px;
			text-align: center !important;

			button {
				display: inline-block;
			}
		}
	}

	tr.dx-selection,
	tr.dx-state-hover {
		td.editable {
			span {
				border-color: #8996ab;
			}
		}
	}
}

.dx-datagrid-content .dx-datagrid-table .dx-row:not(.dx-selection) {
	> td,
	> tr:not(.dx-selection) > td {
		background: $grading-background-color;

		&.is-grading-light {
			background-color: $athens-gray;
		}
	}
}

/* -------------------
   DEV Extreme - END
   ------------------- */

.mat-radio-label {
	padding-right: 10px;
}

.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {
	border-color: #009fde;
}

.mat-radio-button.mat-accent .mat-radio-inner-circle {
	background-color: #009fde;
}

.mat-checkbox-checked.mat-accent .mat-checkbox-background,
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {
	background-color: #009fde;
}

.mat-checkbox-checked.mat-warn .mat-checkbox-background,
.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background {
	background-color: #009fde;
}





.header-basf {
	height: 75px;
	background-color: #21a0d2;
	position: relative;

	&.system-dev {
		background-color: #c70606;
	}

	&.system-test {
		background-color: #efd603;
	}

	&.system-local {
		// background-color: green;
	}

	.logo {
		position: absolute;
		top: 0;
		left: 0;
		height: 75px;
		width: 150px;
		background-image: url(https://rocked.smart-innovation.basf.net/admixture/BASFo_180x180lb_3c.80090e5679f1fcb80756.png);
		background-size: auto 150px;
		background-repeat: no-repeat;
		background-position: left center;
	}

	.project-name {
		padding-left: 180px;
		height: 75px;
		padding-right: 160px;
		color: #fff;
		line-height: 75px;
		font-size: 20px;
		font-weight: bold;
	}

	.user {
		position: absolute;
		right: 0;
		top: 0;
		height: 75px;
		width: 75px;
		color: #fff;
		font-size: 20px;
		line-height: 75px;
		text-align: center;

		a {
			color: inherit;
			display: block;

			//&:hover {
			//	color: $basf-blue-hover;
			//}

			span {
				display: inline-block;
				position: absolute;
				font-size: 12px;
				// right: 60px;
				right: 20px;
				white-space: nowrap;
				text-transform: none;
			}
		}

		.dev-mode-userinfo {
			display: inline-block;
			white-space: nowrap;
			position: absolute;
			top: 0;
			right: 0;
			left: auto;
			font-size: 12px;
			color: white;
			background: #a00;
			height: auto;
			line-height: normal;
			padding: 5px;
			cursor: pointer;
			text-align: left;
			overflow: hidden;
			text-overflow: ellipsis;
			max-width: 1000px;
			font-family: monospace, monospace;
			z-index: 1;

			opacity: .2;

			&:hover {
				opacity: 1;
			}

			&.active {
				opacity: 1;
				white-space: pre;
				max-width: 300px;
			}

			&.in-visible {
				opacity: 0;
			}
		}
	}
}

.header-main {
	background-color: transparent;
	flex-direction: column;
	min-height: 75px;
}

.header-primary {
	background-color: $midnight-blue;
	display: flex;
	min-height: 20px;
	width: 100%;
}

.header-back-button {
	background-color: $basf-blue;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 75px;
	height: 75px;
	min-width: 75px;
}

.header-display {
	align-items: center;
	justify-content: space-between;
	display: flex;
	width: calc(100% - 40px);
	margin-left: 20px;
	margin-right: 20px;
	min-height: 75px;
}

.header-headline {
	color: $white;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 20px;
	line-height: 120%;
	margin-top: 0;
}

.header-subheadline {
	color: $white;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 12px;
	margin-top: 0;
}

.dx-tabpanel-container {
  background: #fff;
  
  .dx-multiview-wrapper {
    padding: 20px;
  }
}

              
            
!

JS

              
                var selectLists = [
    { id: 1, type: 'Project Type', value: 'Customer trial' },
    { id: 2, type: 'Project Type', value: 'Product development' },
    { id: 3, type: 'Project Type', value: 'Production support' },
    { id: 4, type: 'Project Type', value: 'Technical service' },
    { id: 5, type: 'Project Type', value: 'Technical marketing' },
                   
    { id: 20, type: 'Technology', value: 'Air Control' },
    { id: 21, type: 'Technology', value: 'Hydrationcontrol' },
    { id: 22, type: 'Technology', value: 'Rheology' },

    { id: 30, type: 'Application', value: 'Flowable Grout' },
    { id: 31, type: 'Application', value: 'Joint Filler' },
    { id: 32, type: 'Application', value: 'Render' },
    { id: 33, type: 'Application', value: 'Repair Mortar' },
    { id: 34, type: 'Application', value: 'SLO' },
    { id: 35, type: 'Application', value: 'SLU' },
    { id: 36, type: 'Application', value: 'Skim Coat' },
    { id: 37, type: 'Application', value: 'Tile Adhesive' },
    { id: 38, type: 'Application', value: 'Tile Grout' },
    { id: 39, type: 'Application', value: 'Wallboard' },
    { id: 40, type: 'Application', value: 'EIFS' },

    { id: 50, type: 'Experiment type', value: 'Mortar' },

    { id: 60, type: 'Production site', value: '' },

    { id: 70, type: 'Purpose', value: 'Superplasticizer' },

    { id: 80, type: 'Admixture Type', value: '' },

    { id: 90, type: 'Binder Type', value: 'OPC' },
    { id: 91, type: 'Binder Type', value: 'CSA' },
    { id: 92, type: 'Binder Type', value: 'CAC' },
    { id: 93, type: 'Binder Type', value: 'AH' },
    { id: 94, type: 'Binder Type', value: 'HH' },
    { id: 95, type: 'Binder Type', value: 'Gypsum' },

    { id: 100, type: 'Binder Classification - Value 1', value: 'I' },
    { id: 101, type: 'Binder Classification - Value 1', value: 'I-SR 0' },
    { id: 102, type: 'Binder Classification - Value 1', value: 'I-SR 3' },
    { id: 103, type: 'Binder Classification - Value 1', value: 'I-SR 5' },
    { id: 104, type: 'Binder Classification - Value 1', value: 'II/A-S' },
    { id: 105, type: 'Binder Classification - Value 1', value: 'II/B-S' },
    { id: 106, type: 'Binder Classification - Value 1', value: 'II/A-D' },

    { id: 110, type: 'Binder Classification - Value 2', value: '32.5 R' },
    { id: 111, type: 'Binder Classification - Value 2', value: '32.5 N' },
    { id: 112, type: 'Binder Classification - Value 2', value: '42.5 R' },
    { id: 113, type: 'Binder Classification - Value 2', value: '42.5 N' },
    { id: 114, type: 'Binder Classification - Value 2', value: '52.5 R' },
    { id: 115, type: 'Binder Classification - Value 2', value: '52.5 N' },

    { id: 120, type: 'Aggregate drying conditions', value: '' },

    { id: 130, type: 'SCM Type', value: '' },
];


  
var updateContent = function() {
  console.log('updateContent()');
  
  $("#widget_material").dxTabPanel({
    dataSource: [
      { title: "Raw Material" },
      { title: "Admixture/Additive" },
      { title: "Admixture Composition" },
      { title: "Binder/Cement", disabled: true },
      { title: "Aggregate", disabled: true },
      { title: "SCM", disabled: true },
    ],
    height: 250
  });

  $("#widget_selectlist").dxDataGrid({
    dataSource: selectLists,
    showBorders: true,
    grouping: { autoExpandAll: true, },
    groupPanel: { visible: true, },
    paging: { enabled: false, },
    hoverStateEnabled: true,
    selection: { mode: "single", },
    columns: [
      // "type",
      "value",
      { dataField: "type", groupIndex: 0 },
    ]
  });
};


$(function(){
  $("#widget").dxTabPanel({
    dataSource: [
        { title: "Materials", html: '<div id="widget_material"></div>' },
        { title: "Select lists", html: '<div id="widget_selectlist"></div>' },
        { title: "Templates", disabled: true },
        { title: "User Settings", disabled: true },
        { title: "Mix Procedures", disabled: true },
        { title: "Test Methods", disabled: true },
        { title: "Devices", disabled: true }
    ],
    height: "auto",
    onSelectionChanged: updateContent,
    onContentReady: updateContent,
  });
});
              
            
!
999px

Console