2015-06-23 18:41:25 +03:00
|
|
|
/*
|
2016-01-07 07:17:56 +03:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2015-06-23 18:41:25 +03:00
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2015-10-11 19:50:24 +03:00
|
|
|
html {
|
2015-10-11 20:04:01 +03:00
|
|
|
/* hack to stop overscroll bounce on OSX and iOS.
|
|
|
|
N.B. Breaks things when we have legitimate horizontal overscroll */
|
2015-10-11 19:50:24 +03:00
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2015-07-07 04:10:10 +03:00
|
|
|
body {
|
2015-11-30 20:17:09 +03:00
|
|
|
/* Open Sans lacks combining diacritics, so these will fall through
|
2015-11-30 04:13:59 +03:00
|
|
|
to the next font. Helevetica's diacritics however do not combine
|
2015-11-30 20:17:09 +03:00
|
|
|
nicely with Open Sans (on OSX, at least) and result in a huge
|
2015-11-30 04:13:59 +03:00
|
|
|
horizontal mess. Arial empirically gets it right, hence prioritising
|
|
|
|
Arial here. */
|
2015-11-30 20:17:09 +03:00
|
|
|
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
|
|
|
|
font-size: 15px;
|
2015-07-18 02:48:22 +03:00
|
|
|
color: #454545;
|
2015-07-14 14:11:01 +03:00
|
|
|
border: 0px;
|
|
|
|
margin: 0px;
|
2015-07-07 04:10:10 +03:00
|
|
|
}
|
|
|
|
|
2015-06-11 20:23:02 +03:00
|
|
|
div.error {
|
|
|
|
color: red;
|
|
|
|
}
|
2015-07-13 03:51:24 +03:00
|
|
|
|
|
|
|
h2 {
|
2015-10-23 04:32:49 +03:00
|
|
|
color: #454545;
|
2015-07-13 03:51:24 +03:00
|
|
|
font-weight: 400;
|
2015-11-30 20:17:09 +03:00
|
|
|
font-size: 18px;
|
2015-07-13 03:51:24 +03:00
|
|
|
margin-top: 16px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2015-07-16 11:37:14 +03:00
|
|
|
|
2015-10-11 19:28:36 +03:00
|
|
|
a:hover,
|
|
|
|
a:link,
|
|
|
|
a:visited {
|
2015-10-23 04:32:49 +03:00
|
|
|
color: #76cfa6;
|
2015-10-11 19:28:36 +03:00
|
|
|
}
|
|
|
|
|
2015-12-11 04:35:05 +03:00
|
|
|
input[type=text]:focus, textarea:focus, .mx_RoomSettings textarea:focus {
|
|
|
|
border: 1px solid #76CFA6;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2015-11-13 05:29:59 +03:00
|
|
|
/* XXX: critical hack to GeminiScrollbar to allow them to work in FF 42 and Chrome 48.
|
|
|
|
Stop the scrollbar view from pushing out the container's overall sizing, which causes
|
|
|
|
flexbox to adapt to the new size and cause the view to keep growing.
|
|
|
|
*/
|
|
|
|
.gm-scrollbar-container .gm-scroll-view {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2015-09-21 20:22:29 +03:00
|
|
|
.mx_ContextualMenu_background {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 1.0;
|
|
|
|
z-index: 2000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ContextualMenu {
|
2015-10-25 04:03:22 +03:00
|
|
|
border: 1px solid #a4a4a4;
|
2015-09-21 20:22:29 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
background-color: #fff;
|
2015-09-22 02:16:45 +03:00
|
|
|
color: #747474;
|
2015-09-21 20:22:29 +03:00
|
|
|
position: fixed;
|
2015-09-22 02:16:45 +03:00
|
|
|
z-index: 2001;
|
2015-09-21 20:22:29 +03:00
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
2015-10-21 21:02:02 +03:00
|
|
|
.mx_ContextualMenu_chevron_right {
|
2015-09-21 20:22:29 +03:00
|
|
|
padding: 12px;
|
|
|
|
position: absolute;
|
|
|
|
right: -21px;
|
|
|
|
top: 0px;
|
|
|
|
}
|
|
|
|
|
2015-10-21 21:02:02 +03:00
|
|
|
.mx_ContextualMenu_chevron_left {
|
|
|
|
padding: 12px;
|
|
|
|
position: absolute;
|
|
|
|
left: -21px;
|
|
|
|
top: 0px;
|
|
|
|
}
|
|
|
|
|
2015-09-21 20:22:29 +03:00
|
|
|
.mx_ContextualMenu_field {
|
2015-09-22 02:16:45 +03:00
|
|
|
padding: 3px 6px 3px 6px;
|
|
|
|
cursor: pointer;
|
2015-09-21 20:22:29 +03:00
|
|
|
}
|
|
|
|
|
2015-10-27 19:56:37 +03:00
|
|
|
.mx_ContextualMenu_spinner {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2015-07-27 20:26:51 +03:00
|
|
|
|
2015-09-21 20:22:29 +03:00
|
|
|
.mx_Dialog_wrapper {
|
2015-07-16 11:37:14 +03:00
|
|
|
position: fixed;
|
2015-11-19 13:46:49 +03:00
|
|
|
z-index: 4000;
|
2015-07-16 11:37:14 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-07-23 11:33:10 +03:00
|
|
|
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -moz-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
-webkit-align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
justify-content: center;
|
2015-07-16 11:37:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog {
|
|
|
|
background-color: #fff;
|
2015-07-22 02:48:55 +03:00
|
|
|
color: #747474;
|
|
|
|
text-align: center;
|
2015-11-14 03:14:41 +03:00
|
|
|
z-index: 4010;
|
2015-07-22 02:48:55 +03:00
|
|
|
font-weight: 300;
|
2015-11-30 20:17:09 +03:00
|
|
|
font-size: 15px;
|
2015-07-16 11:37:14 +03:00
|
|
|
position: relative;
|
2015-07-22 02:48:55 +03:00
|
|
|
border-radius: 8px;
|
2015-10-27 04:39:19 +03:00
|
|
|
max-width: 80%;
|
2015-07-23 11:33:10 +03:00
|
|
|
}
|
|
|
|
|
2015-11-19 13:49:24 +03:00
|
|
|
.mx_Dialog_background {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: #000;
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
2015-10-26 02:33:28 +03:00
|
|
|
.mx_Dialog_lightbox .mx_Dialog_background {
|
|
|
|
opacity: 0.85;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_lightbox .mx_Dialog {
|
|
|
|
border-radius: 0px;
|
2015-10-27 04:39:19 +03:00
|
|
|
background-color: transparent;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
2015-10-29 03:39:12 +03:00
|
|
|
pointer-events: none;
|
2015-07-16 11:37:14 +03:00
|
|
|
}
|
2015-07-20 18:26:47 +03:00
|
|
|
|
2015-07-22 02:48:55 +03:00
|
|
|
.mx_Dialog_content {
|
2015-07-23 11:33:10 +03:00
|
|
|
margin: 24px;
|
2015-07-22 02:48:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_buttons {
|
2015-07-23 11:33:10 +03:00
|
|
|
padding-bottom: 24px;
|
2015-07-22 02:48:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog button {
|
|
|
|
border: 0px;
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 36px;
|
|
|
|
font-weight: 400;
|
2015-11-30 20:17:09 +03:00
|
|
|
font-size: 15px;
|
2015-07-22 02:48:55 +03:00
|
|
|
color: #fff;
|
2015-10-23 04:32:49 +03:00
|
|
|
background-color: #76cfa6;
|
2015-07-22 03:02:06 +03:00
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 8px;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
2015-07-22 02:48:55 +03:00
|
|
|
}
|
|
|
|
|
2015-07-27 20:26:51 +03:00
|
|
|
.mx_ErrorDialogTitle,
|
|
|
|
.mx_QuestionDialogTitle {
|
2015-07-20 18:26:47 +03:00
|
|
|
min-height: 16px;
|
2015-07-22 02:48:55 +03:00
|
|
|
padding: 12px;
|
2015-10-25 04:03:22 +03:00
|
|
|
border-bottom: 1px solid #a4a4a4;
|
2015-07-20 18:26:47 +03:00
|
|
|
font-weight: bold;
|
2015-11-30 20:17:09 +03:00
|
|
|
font-size: 18px;
|
2015-07-20 18:26:47 +03:00
|
|
|
line-height: 1.4;
|
2015-09-24 01:19:40 +03:00
|
|
|
}
|