2018-04-12 01:23:35 +02:00
|
|
|
/*
|
|
|
|
Copyright 2017 Travis Ralston
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_PinnedEventTile {
|
|
|
|
min-height: 40px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 5px; // for the hover
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_PinnedEventTile:hover {
|
|
|
|
background-color: $event-selected-color;
|
|
|
|
}
|
|
|
|
|
2018-05-27 03:42:09 +02:00
|
|
|
.mx_PinnedEventTile .mx_PinnedEventTile_sender,
|
|
|
|
.mx_PinnedEventTile .mx_PinnedEventTile_timestamp {
|
2018-04-12 01:23:35 +02:00
|
|
|
color: #868686;
|
|
|
|
font-size: 0.8em;
|
|
|
|
vertical-align: top;
|
2018-05-27 03:42:09 +02:00
|
|
|
display: inline-block;
|
2018-04-12 01:23:35 +02:00
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2018-05-27 03:42:09 +02:00
|
|
|
.mx_PinnedEventTile .mx_PinnedEventTile_timestamp {
|
|
|
|
padding-left: 15px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-05-27 02:21:24 +02:00
|
|
|
.mx_PinnedEventTile .mx_PinnedEventTile_senderAvatar .mx_BaseAvatar {
|
2018-04-12 01:23:35 +02:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-07-10 17:55:03 +02:00
|
|
|
.mx_PinnedEventTile_actions {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-05-27 03:42:09 +02:00
|
|
|
.mx_PinnedEventTile:hover .mx_PinnedEventTile_timestamp {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_PinnedEventTile:hover .mx_PinnedEventTile_actions {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_PinnedEventTile_unpinButton {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_PinnedEventTile_gotoButton {
|
|
|
|
display: inline-block;
|
2018-05-27 02:16:05 +02:00
|
|
|
font-size: 0.7em; // Smaller text to avoid conflicting with the layout
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
2018-05-27 02:40:48 +02:00
|
|
|
|
|
|
|
.mx_PinnedEventTile_message {
|
|
|
|
margin-left: 50px;
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2019-07-09 19:15:10 +02:00
|
|
|
}
|