overleaf/services/web/public/stylesheets/app/editor/online-users.less
Jessica Lawshe 41d4fabc78 Merge pull request #2358 from overleaf/ns-important-war
improve color contrast in online user dropdown

GitOrigin-RevId: cf3930932689c40c7dc63874f775d192450da476
2019-11-13 14:39:53 +00:00

44 lines
783 B
Text

@online-user-color: rgb(0, 170, 255);
.online-users {
display: flex;
.online-user {
background-color: @online-user-color;
width: 24px;
display: inline-block;
height: 24px;
margin-right: 8px;
text-align: center;
color: white;
text-transform: uppercase;
border-radius: 3px;
cursor: pointer;
}
.online-user-multi {
width: auto;
min-width: 24px;
padding-left: 8px;
padding-right: 5px;
display: flex;
align-items: center;
}
.dropdown-menu {
margin-right: 8px;
a {
// Override toolbar link styles
display: block;
padding: 4px 10px 5px;
margin: 1px 2px;
color: @text-color;
&:hover, &:active {
color: @text-color!important;
background-color: @gray-lightest;
text-shadow: none;
.box-shadow(none);
}
}
}
}