2016-08-31 21:45:23 +00:00
|
|
|
$ios-header-border-color: rgba(0,0,0,0.05);
|
|
|
|
$ios-border-color: rgba(0,0,0,0.1);
|
|
|
|
|
2016-08-29 06:57:33 +00:00
|
|
|
.ios {
|
2016-08-30 23:54:16 +00:00
|
|
|
#header {
|
2016-08-31 01:27:54 +00:00
|
|
|
height: $header-height;
|
2016-08-31 21:45:23 +00:00
|
|
|
border-bottom: 1px solid $ios-header-border-color;
|
|
|
|
border-width: 0 1px 1px 0;
|
2016-08-30 23:54:16 +00:00
|
|
|
background-color: $grey_l;
|
|
|
|
color: $grey_d;
|
|
|
|
h1 { display: none; }
|
|
|
|
}
|
2016-08-31 21:45:23 +00:00
|
|
|
.gutter {
|
|
|
|
border-right: 1px solid $ios-border-color;
|
|
|
|
.content {
|
|
|
|
height: calc(100% - #{$header-height});
|
|
|
|
background: $ios-border-color;
|
|
|
|
}
|
|
|
|
.contact {
|
|
|
|
background: $grey_l;
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background: $blue;
|
|
|
|
color: white;
|
|
|
|
.last-timestamp {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-31 01:27:54 +00:00
|
|
|
}
|
2017-06-14 00:36:32 +00:00
|
|
|
.banner {
|
|
|
|
top: 15px;
|
|
|
|
}
|
|
|
|
|
2016-08-30 23:54:16 +00:00
|
|
|
.tool-bar {
|
|
|
|
float: left;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2016-08-31 21:45:23 +00:00
|
|
|
input[type=text]:active,
|
|
|
|
input[type=text]:focus,
|
|
|
|
input[type=search]:active,
|
|
|
|
input[type=search]:focus,
|
|
|
|
input[type=search].active,
|
|
|
|
form.active {
|
|
|
|
outline-offset: 0;
|
|
|
|
outline: -webkit-focus-ring-color auto 5px;
|
|
|
|
}
|
2016-08-30 23:54:16 +00:00
|
|
|
input.search {
|
|
|
|
border-radius: 5px;
|
2016-08-31 01:27:54 +00:00
|
|
|
width: 220px;
|
2016-08-30 23:54:16 +00:00
|
|
|
height: 34px;
|
2017-03-30 19:00:43 +00:00
|
|
|
padding-left: $search-padding-left-ios;
|
2016-08-30 23:54:16 +00:00
|
|
|
line-height: 34px;
|
2016-08-31 01:27:54 +00:00
|
|
|
background-color: #dddddd;
|
2017-03-30 19:00:43 +00:00
|
|
|
&.active.rtl {
|
|
|
|
background-position : left $search-padding-left-ios center;
|
|
|
|
}
|
2016-08-30 23:54:16 +00:00
|
|
|
}
|
|
|
|
.conversation-header {
|
|
|
|
background-color: $grey_l;
|
|
|
|
color: $grey_d;
|
2016-08-31 21:45:23 +00:00
|
|
|
border-color: $ios-header-border-color;
|
|
|
|
text-align: left;
|
2016-08-31 01:27:54 +00:00
|
|
|
|
2018-03-08 02:51:30 +00:00
|
|
|
// Without this, it interacts poorly with 100% height placeholder shown on startup
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
|
2016-08-31 01:27:54 +00:00
|
|
|
.conversation-title {
|
|
|
|
line-height: $header-height;
|
2017-06-14 21:06:36 +00:00
|
|
|
|
|
|
|
.verified-icon {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', #454545);
|
2017-06-14 21:06:36 +00:00
|
|
|
}
|
2016-08-31 01:27:54 +00:00
|
|
|
}
|
2017-06-14 21:06:36 +00:00
|
|
|
|
2016-08-31 01:27:54 +00:00
|
|
|
.avatar { display: none; }
|
|
|
|
}
|
2018-03-16 20:33:42 +00:00
|
|
|
|
|
|
|
.conversation .panel {
|
2018-03-20 18:26:08 +00:00
|
|
|
position: absolute;
|
|
|
|
top: $header-height;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2018-03-16 20:33:42 +00:00
|
|
|
}
|
|
|
|
|
2016-10-08 02:15:56 +00:00
|
|
|
.settings h3,
|
|
|
|
.menu-list li {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
2016-08-31 01:27:54 +00:00
|
|
|
.bottom-bar {
|
|
|
|
padding: 15px;
|
|
|
|
min-height: 30px;
|
2016-08-31 21:45:23 +00:00
|
|
|
border-top: 1px solid $ios-border-color;
|
2016-08-31 01:27:54 +00:00
|
|
|
form.send {
|
|
|
|
border-radius: 5px;
|
2016-08-31 21:45:23 +00:00
|
|
|
border: 1px solid $ios-border-color;
|
2016-08-31 01:27:54 +00:00
|
|
|
}
|
|
|
|
}
|
2016-08-30 23:54:16 +00:00
|
|
|
|
2016-09-01 23:09:29 +00:00
|
|
|
.error-message.content,
|
2016-08-30 22:51:38 +00:00
|
|
|
.control .content {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2017-05-09 20:31:04 +00:00
|
|
|
|
2018-04-12 19:21:37 +00:00
|
|
|
.message-list {
|
|
|
|
.quote {
|
|
|
|
border-top-left-radius: 15px;
|
|
|
|
border-top-right-radius: 15px;
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
border-bottom-right-radius: 0px;
|
|
|
|
|
|
|
|
// Not ideal, but necessary to override the specificity of the android theme color
|
|
|
|
// classes used in conversations.scss
|
|
|
|
background-color: white !important;
|
|
|
|
border: 1px solid lightgray !important;
|
|
|
|
border-bottom: none !important;
|
|
|
|
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 0px;
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.text,
|
|
|
|
.filename-label,
|
|
|
|
.type-label {
|
|
|
|
border-left: 2px solid lightgray;
|
|
|
|
padding: 5px;
|
|
|
|
padding-left: 7px;
|
|
|
|
// Without this smaller bottom padding, text beyond four lines still shows up!
|
|
|
|
padding-bottom: 2px;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ios-label {
|
|
|
|
display: block;
|
|
|
|
color: lightgray;
|
|
|
|
font-size: smaller;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-container {
|
|
|
|
height: 61px;
|
|
|
|
width: 61px;
|
|
|
|
|
|
|
|
.circle-background {
|
|
|
|
left: 12px;
|
|
|
|
right: 12px;
|
|
|
|
top: 12px;
|
|
|
|
bottom: 12px;
|
|
|
|
|
|
|
|
background-color: $blue !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
left: 18px;
|
|
|
|
right: 18px;
|
|
|
|
top: 18px;
|
|
|
|
bottom: 18px;
|
|
|
|
|
|
|
|
background-color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.from-me {
|
|
|
|
.primary {
|
|
|
|
.text,
|
|
|
|
.filename-label,
|
|
|
|
.type-label {
|
|
|
|
border-left: 2px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.incoming {
|
|
|
|
.bubble {
|
|
|
|
.quote {
|
|
|
|
background-color: lightgray !important;
|
|
|
|
border-left: none;
|
|
|
|
|
|
|
|
.ios-label {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
.text,
|
|
|
|
.filename-label,
|
|
|
|
.type-label {
|
|
|
|
border-left: 2px solid white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
.quote.from-me {
|
|
|
|
.primary {
|
|
|
|
.text,
|
|
|
|
.filename-label,
|
|
|
|
.type-label {
|
|
|
|
border-left: 2px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.outgoing .bubble .quote,
|
|
|
|
.private .message-list .incoming .bubble .quote {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outgoing .bubble .quote .icon-container .circle-background {
|
|
|
|
background-color: lightgray !important;
|
|
|
|
}
|
|
|
|
}
|
2017-05-09 20:31:04 +00:00
|
|
|
|
2017-06-16 18:14:47 +00:00
|
|
|
.attachments .bubbled {
|
2017-05-09 20:31:04 +00:00
|
|
|
border-radius: 15px;
|
|
|
|
|
|
|
|
padding: 10px;
|
2018-04-06 21:51:52 +00:00
|
|
|
padding-top: 0px;
|
|
|
|
padding-bottom: 5px;
|
2017-05-11 23:45:26 +00:00
|
|
|
|
2017-05-09 20:31:04 +00:00
|
|
|
position: relative;
|
2018-04-06 21:51:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.inner-bubble {
|
|
|
|
border-radius: 15px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
.body {
|
|
|
|
margin-top: 0;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px;
|
|
|
|
position: relative;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachments img {
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner-bubble.with-tail {
|
|
|
|
position: relative;
|
2017-05-09 20:31:04 +00:00
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
border-radius: 20px;
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
right: -1px;
|
|
|
|
bottom: -3px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background: $blue;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
height: 11px;
|
|
|
|
right: -6px;
|
|
|
|
bottom: -3px;
|
2017-06-16 18:14:47 +00:00
|
|
|
background: #eee;
|
2017-05-09 20:31:04 +00:00
|
|
|
}
|
|
|
|
|
2016-09-01 17:38:13 +00:00
|
|
|
.attachments img {
|
2018-04-06 21:51:52 +00:00
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
border-bottom-right-radius: 0px;
|
2016-09-01 17:38:13 +00:00
|
|
|
}
|
2018-04-06 21:51:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outgoing .inner-bubble.with-tail {
|
|
|
|
background-color: $blue;
|
|
|
|
max-width: 100%;
|
|
|
|
&, .body, a {
|
|
|
|
@include invert-text-color;
|
2016-08-29 08:11:13 +00:00
|
|
|
}
|
2018-04-06 21:51:52 +00:00
|
|
|
float: right;
|
2016-08-29 06:57:33 +00:00
|
|
|
}
|
2017-05-09 20:31:04 +00:00
|
|
|
|
2018-04-06 21:51:52 +00:00
|
|
|
.incoming .inner-bubble.with-tail {
|
2017-05-31 23:08:32 +00:00
|
|
|
background-color: white;
|
2017-05-09 20:31:04 +00:00
|
|
|
color: black;
|
|
|
|
float: left;
|
2017-07-06 00:58:37 +00:00
|
|
|
max-width: 100%;
|
2017-05-09 20:31:04 +00:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
left: -1px;
|
2017-05-31 23:08:32 +00:00
|
|
|
background-color: white;
|
2017-05-09 20:31:04 +00:00
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
left: -6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-11 23:45:26 +00:00
|
|
|
.outgoing .attachments .fileView .icon {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/file.svg', white);
|
2017-07-06 00:58:37 +00:00
|
|
|
&.audio {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/audio.svg', white);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.video {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/video.svg', white);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.voice {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/voice.svg', white);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-05-09 20:31:04 +00:00
|
|
|
}
|
|
|
|
|
2016-08-29 08:11:13 +00:00
|
|
|
.attachment {
|
|
|
|
a {
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
2016-08-29 06:57:33 +00:00
|
|
|
}
|
2016-09-23 23:50:03 +00:00
|
|
|
.hourglass {
|
|
|
|
@include hourglass(#999);
|
|
|
|
}
|
2016-08-29 06:57:33 +00:00
|
|
|
}
|