:root {
--e-primary-color: #FD1C00;
--e-secondary-color: #aaaaaa;
--e-background-light: #eee;
--e-background-dark: #D5D5D5;
--e-border-color: #b7b7b7;
--e-border-color-s: #d6d6d6;
--e-hover-color: #cccccc;
--e-active-color: #bbbbbb;
--e-font-color: #333;
--e-white: #ffffff;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'poppins', sans-serif;
}
body {
height: 100vh;
}
.container {
height: 450px;
background-color: var(--e-background-light);
border: 1px solid var(--e-border-color-s);
}
.expand-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow-y: hidden;
z-index: 99999;
}
.outer-e-head {
height: 40px;
border-bottom: 1px solid var(--e-border-color);
}
.inner-e-head {
display: none;
}
.container.expand-container .outer-e-head {
height: 120px;
}
.container.expand-container .inner-e-head {
display: flex;
justify-content: space-between;
padding: 10px 40px;
align-items: center;
height: 100%;
}
.editor-logo img {
width: 50px;
height: auto;
}
.editor-logo p,
.editor-link p {
color: var(--e-font-color);
margin-bottom: 0 !important;
}
.fa-youtube {
font-size: 30px;
}
.editor-ad {
/*background-color: var(--e-background-dark);*/
height: 100px;
width: 728px;
display: flex;
align-items: center;
justify-content: center;
}
.main {
height: calc(100% - 40px);
width: 100%;
display: flex;
}
.container.expand-container .main {
height: calc(100% - 120px);
}
.sidebar {
width: 0px;
color: var(--e-font-color);
}
.container.expand-container .sidebar {
width: 40px;
border-right: 1px solid var(--e-border-color);
}
.content {
width: 100%;
height: 100%;
overflow-y: hidden;
}
.container.expand-container .content {
width: calc(100% - 40px);
}
.c-inner {
width: 100%;
display: flex;
height: calc(100% - 30px);
}
.editor {
width: 50%;
height: 100%;
}
.e-bar {
display: flex;
justify-content: space-between;
align-items: center;
height: 40px;
background-color: var(--e-background-dark);
color: var(--e-font-color);
}
.ct-tabs {
display: flex;
height: 100%;
}
.fa-brands {
color: var(--e-primary-color) !important;
}
.tab {
padding: 0 15px;
border-right: 1px solid var(--e-border-color);
height: 100%;
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
}
.tab:hover {
background-color: var(--e-hover-color);
color: var(--e-font-color);
}
.tab:active {
background-color: var(--e-border-color);
}
.tab.t-active {
background-color: var(--e-secondary-color);
}
.t-run {
border-left: 1px solid var(--e-border-color);
font-size: 25px !important;
}
.e-tabs {
height: calc(100% - 40px);
}
.CodeMirror {
height: 100% !important;
width: 100%;
line-height: 1.8;
border: 0;
}
.container.expand-container .CodeMirror {
font-size: 14px;
}
.CodeMirror-code {
margin-bottom: 800px;
}
.container ::-webkit-scrollbar {
width: 6px;
height: 10px;
}
.container ::-webkit-scrollbar-track {
background: var(--e-background-light);
}
.container ::-webkit-scrollbar-thumb {
background: var(--e-background-dark);
}
.container ::-webkit-scrollbar-thumb:hover {
background: var(--e-primary-color);
}
.bar {
width: 0px;
height: 99%;
background-color: var(--e-border-color);
cursor: col-resize;
display: flex;
align-items: center;
}
.drag {
z-index: 9999999;
margin-left: -15px;
border: 1px solid var(--e-border-color);
padding: 4px;
position: absolute;
height: 25px !important;
width: 25px !important;
border-radius: 50%;
color: var(--e-font-color);
background: linear-gradient(var(--e-background-dark), var(--e-border-color));
}
.iframewraper {
height: 100%;
width: 50%;
flex: 1;
}
.i-bar {
justify-content: right;
}
.fa-expand,
.fa-theme,
.fa-r-theme {
border-left: 1px solid var(--e-border-color);
padding: 0 20px;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.fa-theme,
.fa-r-theme {
display: none;
}
.container.expand-container .fa-theme {
display: flex;
}
.fa-expand:hover,
.fa-theme:hover,
.fa-r-theme:hover {
background-color: var(--e-hover-color);
}
.fa-expand:active,
.fa-theme:active {
background-color: var(--e-border-color);
}
.iframe {
width: 100% !important;
height: calc(100% - 40px);
background-color: var(--e-white);
}
#iframeResult {
width: 100%;
height: 100%;
overflow: auto;
}
.footer {
border-top: 1px solid var(--e-border-color);
height: 30px;
width: 100%;
display: flex;
justify-content: space-between;
}
.f-tab {
background-color: var(--e-background-dark);
color: var(--e-font-color);
align-items: center;
display: flex;
height: 100%;
padding: 0 20px;
gap: 10px;
cursor: pointer;
}
.f-tab:hover {
background-color: var(--e-hover-color);
}
.f-tab:active {
background-color: var(--e-secondary-color);
}
.f-tab.f-active {
background-color: var(--e-active-color);
}
.console {
height: 160px;
position: relative;
width: calc(100% - 1px);
z-index: 999999;
background-color: var(--e-background-dark);
display: none;
border-top: 1px solid var(--e-border-color);
overflow-y: auto;
padding: 10px;
font-size: 12px;
}
.console.f-active {
display: block !important;
position: absolute;
top: 260px;
z-index: 999999 !important;
}
.container.expand-container .console.f-active {
bottom: 30px;
top: auto;
left: 40px;
width: calc(100% - 40px);
}
.r-btn {
opacity: 0;
}
@media screen and (max-width: 1100px) {
.editor-logo,
.editor-link {
display: none;
}
.container.expand-container .inner-e-head {
padding: 10px;
}
.editor-ad {
width: 100%;
}
.c-inner {
flex-direction: column;
}
.editor {
width: 100%;
height: 100%;
}
.ed-inactive {
display: none;
}
.bar {
display: none;
}
.iframewraper {
width: 100%;
height: 100%;
display: none;
background-color: var(--e-white);
}
.if-active {
display: block;
}
.iframe {
height: calc(100% - 49px);
}
.container.expand-container .iframe {
height: calc(100% - 40px);
}
.r-btn {
opacity: 1;
display: flex;
gap: 1px;
}
.container.expand-container .fa-r-theme {
display: flex;
}
.r-theme{
display: none;
}
}
@media screen and (max-width: 770px) {
.editor-logo,
.editor-link {
display: none;
}
.container.expand-container .inner-e-head {
padding: 10px;
}
.editor-ad {
width: 100%;
}
.content {
width: 100%;
}
.container.expand-container .content {
width: 100%;
}
.sidebar {
display: none;
}
.container.expand-container .sidebar {
display: none;
}
.c-inner {
flex-direction: column;
}
.editor {
width: 100%;
height: 100%;
display: block;
}
.ed-inactive {
display: none;
}
.bar {
display: none;
}
.iframewraper {
width: 100%;
height: 100%;
display: none;
background-color: var(--e-white);
}
.if-active {
display: block;
}
.iframe {
height: calc(100% - 40px);
}
.container.expand-container .iframe {
height: calc(100% - 40px);
}
.footer {
height: 30px;
}
.console {
left: 0;
width: 100%;
}
.ct-tabs .tab {
font-size: 0;
}
.ct-tabs .tab i {
font-size: 20px;
}
.container.expand-container .console.f-active {
width: 100%;
left: 0;
}
.r-btn {
opacity: 1;
display: flex;
gap: 1px;
}
.container.expand-container .fa-r-theme {
display: flex;
}
.r-theme{
display: none;
}
}