realtimecursor
Version:
Real-time collaboration system with cursor tracking and approval workflow
96 lines (82 loc) • 1.44 kB
CSS
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0;
padding: 0;
background-color: #f8f9fa;
}
.app {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
header {
margin-bottom: 30px;
text-align: center;
}
header h1 {
margin-bottom: 10px;
}
main {
background-color: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
footer {
margin-top: 30px;
text-align: center;
color: #6c757d;
}
footer a {
color: #0d6efd;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.collaborators {
margin-bottom: 20px;
}
.collaborator-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.collaborator {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background-color: #f0f9ff;
border-radius: 20px;
}
.avatar {
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
}
.typing-indicator {
margin-left: 5px;
font-style: italic;
color: #6c757d;
}
.editor-container {
position: relative;
margin-top: 20px;
}
.editor {
width: 100%;
height: 300px;
padding: 16px;
font-family: monospace;
font-size: 16px;
line-height: 1.5;
border: 1px solid #ccc;
border-radius: 8px;
resize: vertical;
}