business logic, customer communication.
This commit is contained in:
242
lib/app/communications/style.scss
Normal file
242
lib/app/communications/style.scss
Normal file
@ -0,0 +1,242 @@
|
||||
:root {
|
||||
--dark-fore-color: #fff;
|
||||
--dark-fore-opacity-color: rgba(255, 255, 255, .6);
|
||||
--title-color: #fff;
|
||||
--title-bg-color: rgb(68, 114, 196);
|
||||
--strong-color: #333;
|
||||
--medium-font-size: .875rem;
|
||||
}
|
||||
|
||||
.comm {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 320px;
|
||||
background-color: var(--dark-fore-color);
|
||||
border: 1px solid var(--title-bg-color);
|
||||
|
||||
.roundbtn {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
padding: 7px;
|
||||
margin-left: 10px;
|
||||
fill: var(--dark-fore-color);
|
||||
border-radius: 15px;
|
||||
border: none;
|
||||
outline: none;
|
||||
transition: background-color .2s;
|
||||
user-select: none;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--dark-fore-opacity-color);
|
||||
|
||||
>svg {
|
||||
opacity: .6;
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
fill: lightgray;
|
||||
background-color: transparent !important;
|
||||
|
||||
&:hover {
|
||||
opacity: unset;
|
||||
}
|
||||
}
|
||||
|
||||
>svg {
|
||||
width: 13px;
|
||||
height: 14px;
|
||||
display: block;
|
||||
transition: opacity .2s;
|
||||
}
|
||||
}
|
||||
|
||||
.image-check-box {
|
||||
user-select: none;
|
||||
|
||||
>input[type="checkbox"] {
|
||||
display: none;
|
||||
|
||||
&:checked~.unchecked {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:checked~.checked {
|
||||
display: unset;
|
||||
}
|
||||
}
|
||||
|
||||
>.unchecked {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
>.checked {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.title-bar {
|
||||
flex: 0 0 auto;
|
||||
padding: 5px 0 5px 10px;
|
||||
color: var(--title-color);
|
||||
background-color: var(--title-bg-color);
|
||||
line-height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
>div {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
>.title-functions {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
|
||||
>label {
|
||||
margin: 0 4px;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-color: var(--dark-fore-color);
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background-color .2s;
|
||||
|
||||
>svg {
|
||||
fill: var(--strong-color);
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
transition: opacity .2s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--dark-fore-opacity-color);
|
||||
|
||||
>svg {
|
||||
opacity: .6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contact-bar {
|
||||
flex: 0 0 auto;
|
||||
padding: 4px 0;
|
||||
display: flex;
|
||||
border-bottom: 1px solid var(--title-bg-color);
|
||||
|
||||
>svg {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
.contact-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 22px;
|
||||
|
||||
>svg {
|
||||
flex: 0 0 auto;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 6px;
|
||||
fill: var(--strong-color);
|
||||
}
|
||||
|
||||
>span {
|
||||
flex: 1 1 auto;
|
||||
color: var(--strong-color);
|
||||
font-size: var(--medium-font-size);
|
||||
}
|
||||
}
|
||||
|
||||
.roundbtn {
|
||||
float: right;
|
||||
margin: 4px 10px 10px;
|
||||
|
||||
>svg {
|
||||
width: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.message-bar {
|
||||
flex: 0 0 auto;
|
||||
border-bottom: 1px solid var(--title-bg-color);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
>textarea {
|
||||
padding: 10px 10px 0;
|
||||
border: none;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
>div {
|
||||
padding: 0 10px 10px;
|
||||
}
|
||||
|
||||
&+div {
|
||||
flex: 1 1 auto;
|
||||
overflow: auto;
|
||||
margin-top: 8px;
|
||||
|
||||
.msgdiv {
|
||||
margin-top: 5px;
|
||||
border-bottom: solid 1px lightgray;
|
||||
padding: 3px 10px 5px;
|
||||
line-height: 1.5rem;
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
overflow: hidden;
|
||||
font-size: .8125rem;
|
||||
color: #333;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.msgposter {
|
||||
font-weight: bold;
|
||||
|
||||
&+div {
|
||||
line-height: 1.2rem;
|
||||
padding: 8px 20px;
|
||||
background-color: rgb(244, 244, 244);
|
||||
border-radius: 5px;
|
||||
white-space: pre-wrap;
|
||||
text-align: left;
|
||||
word-break: break-word;
|
||||
|
||||
&.txtself {
|
||||
max-width: 240px;
|
||||
margin-right: 10px;
|
||||
background-color: #9eea6a;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&.txtother {
|
||||
max-width: 240px;
|
||||
margin-left: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.msgtime {
|
||||
text-align: right;
|
||||
color: #aaa;
|
||||
font-size: .7rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user