@risecx/carespace-chat-ui
Version:
carespace-chat-ui React component
116 lines (106 loc) • 2.03 kB
CSS
.sc-header {
background: #844eff;
min-height: 65px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
color: white;
position: relative;
box-sizing: border-box;
display: flex;
}
.sc-header--img {
border-radius: 50%;
align-self: center;
padding: 10px;
max-width: 50px;
}
.sc-header--team-name {
align-self: center;
padding: 10px 0;
flex: 1;
user-select: none;
border-radius: 5px;
}
.sc-header--close-button {
width: 40px;
align-self: center;
height: 40px;
margin-right: 10px;
box-sizing: border-box;
cursor: pointer;
border-radius: 5px;
position: absolute;
right: 0;
}
.sc-header--close-button:hover {
background: #4882ed;
}
.sc-header--close-button img {
width: 100%;
height: 100%;
padding: 13px;
box-sizing: border-box;
}
@media (max-width: 450px) {
.sc-header {
border-radius: 0px;
}
}
.sc-sub--header {
font-size: 11px;
color: rgba(255, 255, 255, 0.5);
}
.sc-sub-header {
background: #895ff0;
min-height: 37px;
color: white;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
position: relative;
box-sizing: border-box;
display: flex;
overflow: hidden;
}
.sc-sub-header > .toolbar {
margin: 0;
list-style: none;
width: 100%;
padding: 0;
}
.sc-sub-header > .toolbar li {
float: right;
cursor: pointer;
text-transform: uppercase;
font-size: 12px;
font-weight: 500;
padding: 10px 10px;
color: rgba(255, 255, 255, 0.4);
}
.sc-sub-header > .toolbar li.back {
float: left;
}
.sc-sub-header > .toolbar li.back img {
padding: 0 0 0 0;
opacity: 0.4;
height: 13px;
}
.sc-sub-header > .toolbar li.label {
cursor: default;
color: #fff;
}
.sc-sub-header > .toolbar li.label:hover {
background: #825be2;
}
.sc-sub-header > .toolbar li:hover,
.sc-sub-header > .toolbar li.active {
background: #825be2;
color: #fff;
}
.sc-sub-header > .toolbar li img {
padding: 0 8px 0 0;
opacity: 0.4;
height: 13px;
}
.sc-sub-header > .toolbar li.active img,
.sc-sub-header > .toolbar li:hover img {
opacity: 1;
}