mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
* add random usernames * add username state * add username input * ability to set names * fix tests * set username oon mobile * remove auto generated names * remove commented code * always string * updaate snapshots * maintain username when clearing canvas * Update src/renderer/renderScene.ts Co-Authored-By: Lipis <lipiridis@gmail.com> * add border * fix styles Co-authored-by: Pete Hunt <petehunt@users.noreply.github.com> Co-authored-by: Faustino Kialungila <faustino.kialungila@gmail.com> Co-authored-by: Lipis <lipiridis@gmail.com>
83 lines
1.5 KiB
SCSS
83 lines
1.5 KiB
SCSS
.RoomDialog-modalButton.is-collaborating {
|
|
background-color: #ebfbee; // OC GREEN-0
|
|
color: #2b8a3e; // OC GREEN-9
|
|
}
|
|
|
|
.RoomDialog-modalButton-collaborators {
|
|
min-width: 1em;
|
|
position: absolute;
|
|
bottom: -5px;
|
|
right: -5px;
|
|
padding: 3px;
|
|
border-radius: 50%;
|
|
background-color: #40c057; // OC GREEN-6
|
|
color: #fff;
|
|
font-size: 0.7em;
|
|
font-family: var(--ui-font);
|
|
}
|
|
|
|
.RoomDialog-linkContainer {
|
|
display: flex;
|
|
margin: 1.5em 0;
|
|
}
|
|
|
|
.RoomDialog-link {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
margin-left: 1em;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
border: none;
|
|
height: 2.5rem;
|
|
line-height: 2.5rem;
|
|
padding: 0 0.5rem;
|
|
white-space: nowrap;
|
|
border-radius: var(--space-factor);
|
|
background-color: #eee;
|
|
}
|
|
|
|
.RoomDialog-usernameContainer {
|
|
display: flex;
|
|
margin: 1.5em 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.RoomDialog-usernameLabel {
|
|
}
|
|
|
|
.RoomDialog-username {
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
margin-left: 1em;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
border: none;
|
|
height: 2.5rem;
|
|
line-height: 2.5rem;
|
|
padding: 0 0.5rem;
|
|
white-space: nowrap;
|
|
border-radius: var(--space-factor);
|
|
background-color: #fff;
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
.RoomDialog-link:hover {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.RoomDialog-link:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px steelblue;
|
|
}
|
|
|
|
.RoomDialog-sessionStartButtonContainer {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.RoomDialog-stopSession {
|
|
background-color: #ffe3e3; // OC RED-1
|
|
color: #c92a2a; // OC RED-9
|
|
}
|