:root {
	--explorer-width: 240px;
	--editor-width: 60%;
	--editor-height: 100%;
	--previewer-width: 40%;
	--previewer-height: 100%;
	--boundary-width: 2px;
	--boundary-handle-width: 5px;
	--boundary-handle-height: 20px;
	--transition-time: 0.5s;
}
*::-webkit-scrollbar {
	width: 16px;
}

*::-webkit-scrollbar-track {
	background: var(--color-gray-900);
}

*::-webkit-scrollbar-thumb {
	background-color: var(--color-gray-800);
	border-radius: 20px;
	border: 3px solid var(--color-gray-900);
	min-height: 28px;
}
*::-webkit-scrollbar-thumb:hover {
	background-color: var(--color-gray-600);;
}
body {
	background-color: var(--text-dark-high);
	scrollbar-color: var(--color-gray-800) var(--color-gray-900);
	scrollbar-width: thin;
}
a, span {
	display: inline;
}
body.onLeft #editorContainer{
	right: 0;
}
#mainContainer {
	width: 100vw;
	height: 100vh;
	/*todo*/
	display: grid;
	grid-template-columns: 100vw;
	overflow: hidden;
}

#editorTopRight {
	height: 32px;
	padding: 4px 8px;
	display: flex;
}

#editorTopRight>* {
	margin: 0px 8px;
}

#explorerToggleBtn {
	order: 0;
}

#fileTitleTab {
	order: 1;
}
.indicator {
	order: 4;
	flex-grow: 1;
}
#shortcutsWrapper {
	order: 20;
}

#editor {
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 32px);
}

#loader {
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	background-color: #232323;
}

#loader i {
	animation: reveal ease 1s;
}

@keyframes reveal {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

#body>div {
	position: absolute;
}


#editorTopRight .connectindicator {
	order:10;
	text-align:right;
	float:right;
	flex-grow:unset;
}

#editorTopRight .messageindicator {
	order:9;
	text-align:right;
	float:right;
	flex-grow:unset;
}

#editorTopRight .indicator.connected {
	color:lightgreen;
}

#editorTopRight .indicator.warning {
	color:orange;
}

#editorTopRight .indicator.error {
	color:pink;
}

#editorTopRight .indicator.collabindicator {
	width:100px;
}

#editorTopRight .indicator.collabindicator .message {
	color: white;
	display:inline;
}

#editorTopRight .indicator.collabindicator .message::after {
  display: inline-block;
  animation: dotty steps(1,end) 1s infinite;
  content: '';
  margin-left:-3px;
}

@keyframes dotty {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}