humhub/static/less/mentioning.less
2020-10-19 15:54:24 +02:00

128 lines
2.2 KiB
Plaintext

//
//Mentioning (uses old atwho style)
//
.atwho-view {
position: absolute;
top: 0;
left: 0;
display: none;
margin-top: 18px;
background: white;
color: #555555;
font-size: 14px;
font-weight: 400;
border: 1px solid #d7d7d7;
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
min-width: 120px;
max-width: 265px;
z-index: 11110 !important;
padding: 5px 0;
}
.atwho-view strong, .atwho-view b {
font-weight: normal;
}
.atwho-view ul li.hint {
background: #fff !important;
border-left: 3px solid transparent !important;
font-size: 12px;
color: #999;
}
.atwho-view .cur small {
color: red;
}
.atwho-view strong {
background-color: #f9f0d2;
}
.atwho-view .cur strong {
background-color: #f9f0d2;
}
.atwho-view ul {
/* width: 100px; */
list-style: none;
padding: 0;
margin: auto;
}
.atwho-view ul li {
display: block;
padding: 5px 10px;
border-left: 3px solid transparent;
padding: 4px 15px 4px 8px;
cursor: pointer;
/* border-top: 1px solid #C8C8C8; */
}
.atwho-view small {
font-size: smaller;
color: #777;
font-weight: normal;
}
.atwho-input.form-control {
min-height: 36px;
height: auto;
padding-right: 95px;
word-wrap: break-word;
}
.atwho-input p {
padding: 0;
margin: 0;
}
.atwho-placeholder {
color: #bebebe !important;
}
.atwho-emoji-entry {
float: left;
padding: 4px !important;
margin: 0px !important;
border: none !important;
}
.atwho-emoji-entry:hover, .atwho-emoji-entry:active, .atwho-emoji-entry:focus {
padding: 4px !important;
margin: 0px !important;
border: none !important;
background-color: #f7f7f7 !important;
border-radius: 3px;
}
.atwho-view .cur {
border-left: 3px solid @info;
background-color: #f7f7f7 !important;
}
.atwho-user,
.atwho-space,
.atwho-input a {
color: @link;
}
.atwho-input a:hover {
color: @link;
}
.atwho-view strong {
background-color: #f9f0d2;
}
.atwho-view .cur strong {
background-color: #f9f0d2;
}
.atwho-view span {
padding: 5px;
}