element-web/res/css/views/messages/_DateSeparator.scss

51 lines
1.2 KiB
SCSS
Raw Normal View History

/*
Copyright 2017 Vector Creations Ltd
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_DateSeparator {
clear: both;
2018-10-23 11:25:04 +03:00
margin: 4px 0;
display: flex;
align-items: center;
font-size: $font-14px;
2018-10-23 11:25:04 +03:00
color: $roomtopic-color;
}
2018-10-23 11:25:04 +03:00
.mx_DateSeparator > hr {
flex: 1 1 0;
height: 0;
border: none;
}
.mx_DateSeparator > div {
2018-10-23 11:25:04 +03:00
margin: 0 25px;
flex: 0 0 auto;
}
.mx_DateSeparator_jumpToDateMenu {
display: flex;
}
.mx_DateSeparator_chevron {
align-self: center;
width: 16px;
height: 16px;
mask-position: center;
mask-size: contain;
mask-repeat: no-repeat;
mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
background-color: $tertiary-content;
}