|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@import "shared/utils"; |
|
|
|
|
|
* { |
|
|
font-family: $sans; |
|
|
} |
|
|
|
|
|
body { |
|
|
color: var(--color-text); |
|
|
-webkit-font-smoothing: subpixel-antialiased; |
|
|
} |
|
|
|
|
|
html, |
|
|
input, |
|
|
select, |
|
|
textarea { |
|
|
font-family: $sans; |
|
|
} |
|
|
|
|
|
|
|
|
.btn { |
|
|
background: var(--color-primary); |
|
|
border: 1px solid var(--color-primary-40); |
|
|
color: var(--color-text-inverted); |
|
|
border-width: 1px 1px 2px; |
|
|
cursor: pointer; |
|
|
font-size: 14px; |
|
|
font-weight: 500; |
|
|
vertical-align: top; |
|
|
box-sizing: border-box; |
|
|
line-height: 21px; |
|
|
border-radius: 4px; |
|
|
padding: 7px 14px 9px; |
|
|
appearance: none; |
|
|
width: auto; |
|
|
&:hover { |
|
|
border-color: var(--color-primary-dark); |
|
|
} |
|
|
&:active, |
|
|
&:active:enabled { |
|
|
outline: 0; |
|
|
border-width: 2px 1px 1px; |
|
|
padding: 7px 14px 9px; |
|
|
color: var(--color-text-inverted); |
|
|
} |
|
|
&:focus { |
|
|
border-color: var(--color-primary-dark); |
|
|
box-shadow: 0 0 0 2px var(--color-primary-light); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
input[type="text"], |
|
|
input[type="password"], |
|
|
input[type="email"], |
|
|
input[type="tel"], |
|
|
input[type="number"], |
|
|
input[type="url"], |
|
|
textarea { |
|
|
@extend %form-field; |
|
|
-webkit-font-smoothing: subpixel-antialiased; |
|
|
|
|
|
&::-webkit-input-placeholder { |
|
|
color: var(--color-neutral-light); |
|
|
} |
|
|
} |
|
|
textarea { |
|
|
vertical-align: inherit; |
|
|
} |
|
|
|
|
|
.minimized-view, |
|
|
.maximized-view { |
|
|
background: #f2f6f8; |
|
|
} |
|
|
.minimized-view { |
|
|
background: var(--color-surface); |
|
|
box-shadow: 0 1px 10px rgba(46, 68, 83, 0.1); |
|
|
border: 1px solid var(--color-neutral-5); |
|
|
} |
|
|
.maximized-view.is-ask-view { |
|
|
top: 0; |
|
|
} |
|
|
.message-list-transition-wrapper { |
|
|
background: #f2f6f8; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.header-container { |
|
|
border-bottom: 1px solid var(--color-neutral-0); |
|
|
box-shadow: none; |
|
|
flex: 0 0 32px; |
|
|
height: 32px; |
|
|
|
|
|
.header-title { |
|
|
text-transform: uppercase; |
|
|
font-size: 11px; |
|
|
font-weight: 700; |
|
|
color: var(--color-neutral-light); |
|
|
} |
|
|
|
|
|
|
|
|
.menu { |
|
|
border-right: none; |
|
|
flex: 0 0 40px; |
|
|
.svg-icon { |
|
|
color: var(--color-neutral-light); |
|
|
} |
|
|
&.disabled { |
|
|
background: transparent; |
|
|
.svg-icon { |
|
|
color: var(--color-neutral-5); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.minimize-container { |
|
|
border-left: none; |
|
|
flex: 0 0 40px; |
|
|
.svg-icon { |
|
|
color: var(--color-neutral-light); |
|
|
} |
|
|
} |
|
|
|
|
|
.thread-view-title-container { |
|
|
&.has-notification { |
|
|
border-bottom-color: #14abdd; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.chat-list-view-container { |
|
|
.chat-list-container { |
|
|
top: 32px; |
|
|
.question-bar, |
|
|
.question-bar.closed { |
|
|
background: var(--color-neutral-light); |
|
|
padding: 10px 14px; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.chat-list-view-item-container { |
|
|
background: var(--color-neutral-0); |
|
|
border-bottom: 1px solid var(--color-neutral-5); |
|
|
color: var(--color-text); |
|
|
padding: 18px 10px 18px 24px; |
|
|
.chat-list-item-title { |
|
|
margin-bottom: 2px; |
|
|
font-size: 16px; |
|
|
} |
|
|
.chat-list-item-meta { |
|
|
color: var(--color-neutral-light); |
|
|
} |
|
|
.unread-message-dot { |
|
|
background: var(--color-success); |
|
|
left: 10px; |
|
|
top: 25px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.chat-list-view-minimized { |
|
|
.chat-list-status { |
|
|
margin-top: 2px; |
|
|
} |
|
|
.svg-icon { |
|
|
color: var(--color-primary); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.ask-question-form-container { |
|
|
.input-group { |
|
|
padding-bottom: 12px; |
|
|
margin-top: 0; |
|
|
label { |
|
|
text-transform: none; |
|
|
font-size: 14px; |
|
|
font-weight: 600; |
|
|
margin-bottom: 5px; |
|
|
strong { |
|
|
font-weight: inherit; |
|
|
} |
|
|
} |
|
|
} |
|
|
.submit { |
|
|
width: 100%; |
|
|
padding-bottom: 9px; |
|
|
.svg-icon { |
|
|
display: none; |
|
|
} |
|
|
strong { |
|
|
margin-top: 0; |
|
|
font-weight: 500; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.thread-view-container { |
|
|
.expert-response-time { |
|
|
color: var(--color-neutral-light); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.message-container { |
|
|
font-size: 14px; |
|
|
border-radius: 8px; |
|
|
|
|
|
&.is-poster { |
|
|
background: #14abdd; |
|
|
margin-left: inherit; |
|
|
margin-right: 20px; |
|
|
border-top-right-radius: 0; |
|
|
position: relative; |
|
|
&::after { |
|
|
|
|
|
position: absolute; |
|
|
top: 0; |
|
|
right: -10px; |
|
|
content: ""; |
|
|
display: block; |
|
|
width: 0; |
|
|
height: 0; |
|
|
border-style: solid; |
|
|
border-width: 10px 10px 0 0; |
|
|
border-color: #14abdd transparent transparent; |
|
|
} |
|
|
} |
|
|
|
|
|
&.is-expert { |
|
|
border: none; |
|
|
border-radius: 8px; |
|
|
border-top-left-radius: 0; |
|
|
margin-right: inherit; |
|
|
margin-left: 20px; |
|
|
position: relative; |
|
|
&::after { |
|
|
|
|
|
position: absolute; |
|
|
top: 0; |
|
|
left: -10px; |
|
|
content: ""; |
|
|
display: block; |
|
|
width: 0; |
|
|
height: 0; |
|
|
border-style: solid; |
|
|
border-width: 0 10px 10px 0; |
|
|
border-color: transparent var(--color-border-inverted) transparent transparent; |
|
|
} |
|
|
.author img { |
|
|
|
|
|
width: 32px !important; |
|
|
height: 32px !important; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.author { |
|
|
.name-wrapper { |
|
|
font-size: 12px; |
|
|
font-weight: 500; |
|
|
} |
|
|
.profile .reputation { |
|
|
color: var(--color-neutral-20); |
|
|
} |
|
|
} |
|
|
.avatar { |
|
|
background: var(--color-neutral-5); |
|
|
} |
|
|
|
|
|
.system-message { |
|
|
border: 1px solid var(--color-neutral-5); |
|
|
background: var(--color-neutral-0); |
|
|
font-size: 14px; |
|
|
margin-right: 0; |
|
|
border-radius: 8px; |
|
|
&.has-sibling + .system-message { |
|
|
border-top: 1px solid var(--color-neutral-5); |
|
|
} |
|
|
|
|
|
|
|
|
&.success { |
|
|
border-color: var(--color-success); |
|
|
background: #dceee5; |
|
|
} |
|
|
|
|
|
|
|
|
&.success.inverted { |
|
|
border-color: transparent; |
|
|
background: var(--color-success); |
|
|
color: var(--color-text-inverted); |
|
|
a { |
|
|
color: var(--color-text-inverted); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&.warning { |
|
|
background: var(--color-warning); |
|
|
border-color: transparent; |
|
|
color: var(--color-text-inverted); |
|
|
a { |
|
|
color: var(--color-text-inverted); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&.alerting-experts { |
|
|
.expert-name:empty { |
|
|
background: var(--color-neutral-5); |
|
|
} |
|
|
.expert-last-active-date { |
|
|
color: var(--color-neutral-light); |
|
|
&:empty { |
|
|
background: var(--color-neutral-5); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.icon-avatar { |
|
|
background: var(--color-neutral-5); |
|
|
} |
|
|
|
|
|
|
|
|
.icon { |
|
|
margin-top: 0; |
|
|
&.icon-primary { |
|
|
background-color: #14abdd; |
|
|
} |
|
|
&.icon-success { |
|
|
background-color: var(--color-surface); |
|
|
color: var(--color-success); |
|
|
} |
|
|
&.icon-warning { |
|
|
background-color: var(--color-surface); |
|
|
color: var(--color-warning); |
|
|
} |
|
|
} |
|
|
&.inverted .icon.icon-success { |
|
|
background-color: var(--color-surface); |
|
|
color: var(--color-success); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.expert-carousel { |
|
|
box-shadow: none; |
|
|
} |
|
|
|
|
|
|
|
|
.thread-view-footer { |
|
|
border-top: 1px solid var(--color-neutral-0); |
|
|
box-shadow: none; |
|
|
background: var(--color-surface); |
|
|
} |
|
|
|
|
|
|
|
|
.chat-view-minimized { |
|
|
|
|
|
.alerting { |
|
|
color: var(--color-neutral-light); |
|
|
.beacon { |
|
|
background: var(--color-primary); |
|
|
margin: 5px auto; |
|
|
&::after { |
|
|
background: var(--color-primary); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.chatting img { |
|
|
height: 64px; |
|
|
width: 64px; |
|
|
} |
|
|
.notification { |
|
|
background: var(--color-primary); |
|
|
font-size: 12px; |
|
|
font-weight: 500; |
|
|
min-width: 24px; |
|
|
line-height: 24px; |
|
|
margin-top: -3px; |
|
|
margin-left: -3px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.message-form-container { |
|
|
.message-input { |
|
|
padding-right: 10px; |
|
|
align-self: center; |
|
|
} |
|
|
textarea:focus { |
|
|
box-shadow: none; |
|
|
} |
|
|
.submit-btn[disabled] { |
|
|
background-color: var(--color-neutral-5); |
|
|
border: none; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.toolbar-accepted-container, |
|
|
.toolbar-default-container, |
|
|
.toolbar-rate-container { |
|
|
border-top: 1px solid var(--color-neutral-0); |
|
|
} |
|
|
.toolbar-container { |
|
|
.tooltip-wrapper { |
|
|
border-left: 1px solid var(--color-neutral-0); |
|
|
} |
|
|
.toolbar-btn { |
|
|
color: var(--color-neutral-light); |
|
|
border-left: 1px solid var(--color-neutral-0); |
|
|
.svg-icon { |
|
|
color: var(--color-success); |
|
|
} |
|
|
} |
|
|
.rate-icon { |
|
|
.dot { |
|
|
&.dot-green { |
|
|
background: var(--color-success); |
|
|
} |
|
|
&.dot-yellow { |
|
|
background: var(--color-warning); |
|
|
} |
|
|
&.dot-red { |
|
|
background: var(--color-error); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.ActionBar { |
|
|
background: var(--color-surface); |
|
|
} |
|
|
.ActionBar__button { |
|
|
box-shadow: none; |
|
|
&:hover { |
|
|
box-shadow: none; |
|
|
transform: none; |
|
|
} |
|
|
} |
|
|
|