2018-04-12 01:23:35 +02:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 OpenMarket 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_ImageView {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-02-24 11:15:59 +01:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_image_wrapper {
|
2020-12-19 09:26:09 +01:00
|
|
|
display: flex;
|
2020-12-20 19:48:24 +01:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2021-02-24 11:15:59 +01:00
|
|
|
height: 100%;
|
2020-12-20 17:40:16 +01:00
|
|
|
overflow: hidden;
|
2020-12-20 10:07:03 +01:00
|
|
|
}
|
|
|
|
|
2021-02-24 11:15:59 +01:00
|
|
|
.mx_ImageView_image {
|
2020-12-20 19:48:24 +01:00
|
|
|
pointer-events: all;
|
2021-03-16 19:57:14 +01:00
|
|
|
max-width: 95%;
|
|
|
|
max-height: 95%;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2020-12-19 09:26:09 +01:00
|
|
|
.mx_ImageView_panel {
|
2021-02-24 08:11:53 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 68px;
|
2021-02-24 07:54:36 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-02-24 08:11:53 +01:00
|
|
|
align-items: center;
|
2020-12-19 09:26:09 +01:00
|
|
|
}
|
|
|
|
|
2021-02-24 14:43:33 +01:00
|
|
|
.mx_ImageView_info_wrapper {
|
2021-02-25 11:50:50 +01:00
|
|
|
pointer-events: all;
|
2021-02-24 14:43:33 +01:00
|
|
|
padding-left: 32px;
|
2018-04-12 01:23:35 +02:00
|
|
|
display: flex;
|
2021-02-24 14:43:33 +01:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2021-02-25 11:50:50 +01:00
|
|
|
color: $lightbox-fg-color;
|
2021-02-24 14:43:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_info {
|
|
|
|
padding-left: 12px;
|
2021-02-24 20:04:25 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2021-04-02 08:31:42 +02:00
|
|
|
.mx_ImageView_info_sender {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2021-02-25 11:50:50 +01:00
|
|
|
.mx_ImageView_toolbar {
|
|
|
|
padding-right: 16px;
|
|
|
|
pointer-events: all;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-12-20 19:48:24 +01:00
|
|
|
.mx_ImageView_button {
|
2021-02-25 08:10:54 +01:00
|
|
|
margin-left: 24px;
|
2021-02-24 14:43:33 +01:00
|
|
|
display: block;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
mask-position: center;
|
|
|
|
display: block;
|
|
|
|
background-color: $icon-button-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_button_rotateCW::before {
|
|
|
|
mask-image: url('$(res)/img/image-view/rotate-cw.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_button_rotateCCW::before {
|
|
|
|
mask-image: url('$(res)/img/image-view/rotate-ccw.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_button_zoomOut::before {
|
|
|
|
mask-image: url('$(res)/img/image-view/zoom-out.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_button_zoomIn::before {
|
|
|
|
mask-image: url('$(res)/img/image-view/zoom-in.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ImageView_button_download::before {
|
|
|
|
mask-image: url('$(res)/img/image-view/download.svg');
|
|
|
|
}
|
|
|
|
|
2021-02-24 18:13:12 +01:00
|
|
|
.mx_ImageView_button_more::before {
|
|
|
|
mask-image: url('$(res)/img/image-view/more.svg');
|
|
|
|
}
|
|
|
|
|
2021-02-24 14:43:33 +01:00
|
|
|
.mx_ImageView_button_close {
|
2021-02-25 08:10:54 +01:00
|
|
|
border-radius: 100%;
|
2021-02-25 08:25:34 +01:00
|
|
|
background: #21262c;
|
2021-02-24 14:43:33 +01:00
|
|
|
&::before {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
mask-image: url('$(res)/img/image-view/close.svg');
|
2021-02-25 08:10:54 +01:00
|
|
|
mask-size: 40%;
|
2021-02-24 14:43:33 +01:00
|
|
|
}
|
2020-12-20 19:48:24 +01:00
|
|
|
}
|