@import "var";

.pane {
	height: 100%;
	display: flex;
	flex-direction: column-reverse;

	&:focus {
		outline: none;

		& > .background {
			background-color: mix($--pane-background-color, $--color-white, 80%);
			border-color: mix($--pane-border-color, $--color-white, 80%);
		}
		& > .title-bar > .background {
			background-color: mix($--pane-background-color, $--color-white, 80%);
			border-color: mix($--pane-border-color, $--color-white, 80%);
		}
	}

	.background{
		background-color: $--pane-background-color;
		border: 1px solid $--pane-border-color;
	}

	.content {
		display: flex;
		flex: 1;
		border-radius: 2px;
		position: relative;
		/*&.background{
			display: block;
			width: 100%;
		}*/
	}

	.title-bar {
		height: 20px;
		display: flex;
		justify-content: space-between;
		padding-right: 1px;
		color: $--color-text-regular;
		font-size: 12px;

		span {
			margin-left: 3px;
		}

		.name-icon {
			display: flex;
			align-items: center;
			height: 100%;
			padding: 0 5px;
			border-top-left-radius: 5px;
			border-top-right-radius: 5px;
			border-bottom: 0;
		}

		.el-button {
			 padding: 0 3px;
		 }
	}
}

