mirror of https://github.com/shuang854/Turtle
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.1 KiB
CSS
70 lines
1.1 KiB
CSS
.message-content {
|
|
overflow-y: auto;
|
|
height: calc(100% - 160px);
|
|
}
|
|
|
|
.message-grid {
|
|
margin-right: 0;
|
|
height: 100%;
|
|
user-select: text;
|
|
}
|
|
|
|
.right-align {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.my-msg {
|
|
padding: 6px;
|
|
border-radius: 5px;
|
|
margin-bottom: 4px;
|
|
max-width: 70%;
|
|
background: var(--ion-color-secondary);
|
|
color: #fff;
|
|
}
|
|
|
|
.other-msg {
|
|
padding: 6px;
|
|
border-radius: 5px;
|
|
margin-bottom: 4px;
|
|
max-width: 70%;
|
|
background: var(--ion-color-primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.message-toolbar {
|
|
padding-left: 5px;
|
|
--background: var(--ion-color-light);
|
|
}
|
|
|
|
.footer-ios ion-toolbar:first-of-type {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
ion-footer ion-toolbar:last-of-type {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.message-input {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 1px solid var(--ion-color-secondary);
|
|
border-radius: 5px;
|
|
text-align: left;
|
|
}
|
|
|
|
.send-button {
|
|
align-self: center;
|
|
margin: 0 5px 0 5px;
|
|
--box-shadow: 0 3px 2px -1px rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.message-input {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.native-input.sc-ion-input-ios {
|
|
padding-inline-start: 5px;
|
|
}
|
|
}
|