profoundjs
Version:
Profound.js Framework and Server
89 lines (76 loc) • 1.3 kB
CSS
/* Body reset and layout */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
}
.container {
display: flex;
flex: 1;
overflow: hidden;
}
.iframe-container {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
}
#left-iframe-container {
min-width: 200px;
}
#right-iframe-container {
min-width: 200px;
}
iframe {
flex: 1;
width: 100%;
height: 100%;
border: none;
}
.resizer {
width: 5px;
cursor: ew-resize;
background-color: #ddd;
position: relative;
z-index: 10;
user-select: none;
}
.resizer:hover {
background-color: #bbb;
}
#page-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
color: #ecf0f1;
background-color: #555;
border-bottom: 1px solid #ccc;
}
#page-header h1 {
margin: 0;
font-size: 24px;
}
#refresh-button {
background-color: transparent;
border: none;
border-radius: 5px;
color: #ecf0f1;
font-size: 16px;
display: flex;
align-items: center;
cursor: pointer;
padding: 5px;
transition: color 0.3s ease;
}
#refresh-button .material-symbols-outlined {
font-size: 20px;
margin-right: 5px;
}
#refresh-button:hover {
background-color: #00a0f6;
}