2015-06-23 16:41:25 +01:00
|
|
|
/*
|
2016-01-07 04:17:56 +00:00
|
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
2015-06-23 16:41:25 +01: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 17:50:24 +01:00
|
|
|
html {
|
2015-10-11 18:04:01 +01:00
|
|
|
/* hack to stop overscroll bounce on OSX and iOS.
|
|
|
|
N.B. Breaks things when we have legitimate horizontal overscroll */
|
2015-10-11 17:50:24 +01:00
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2015-07-07 02:10:10 +01:00
|
|
|
body {
|
2015-11-30 17:17:09 +00:00
|
|
|
/* Open Sans lacks combining diacritics, so these will fall through
|
2015-11-30 01:13:59 +00:00
|
|
|
to the next font. Helevetica's diacritics however do not combine
|
2015-11-30 17:17:09 +00:00
|
|
|
nicely with Open Sans (on OSX, at least) and result in a huge
|
2015-11-30 01:13:59 +00:00
|
|
|
horizontal mess. Arial empirically gets it right, hence prioritising
|
|
|
|
Arial here. */
|
2015-11-30 17:17:09 +00:00
|
|
|
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
|
|
|
|
font-size: 15px;
|
2015-07-18 00:48:22 +01:00
|
|
|
color: #454545;
|
2015-07-14 12:11:01 +01:00
|
|
|
border: 0px;
|
|
|
|
margin: 0px;
|
2016-08-10 11:51:23 +01:00
|
|
|
/* This should render the fonts the same accross browsers */
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
2015-07-07 02:10:10 +01:00
|
|
|
}
|
|
|
|
|
2015-06-11 18:23:02 +01:00
|
|
|
div.error {
|
|
|
|
color: red;
|
|
|
|
}
|
2015-07-13 01:51:24 +01:00
|
|
|
|
|
|
|
h2 {
|
2015-10-23 02:32:49 +01:00
|
|
|
color: #454545;
|
2015-07-13 01:51:24 +01:00
|
|
|
font-weight: 400;
|
2015-11-30 17:17:09 +00:00
|
|
|
font-size: 18px;
|
2015-07-13 01:51:24 +01:00
|
|
|
margin-top: 16px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
2016-07-14 17:08:25 +01:00
|
|
|
|
2015-10-11 17:28:36 +01:00
|
|
|
a:hover,
|
|
|
|
a:link,
|
|
|
|
a:visited {
|
2015-10-23 02:32:49 +01:00
|
|
|
color: #76cfa6;
|
2015-10-11 17:28:36 +01:00
|
|
|
}
|
|
|
|
|
2016-08-03 11:38:19 +01:00
|
|
|
input[type=text].error, input[type=password].error {
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
|
2016-01-15 16:32:23 +00:00
|
|
|
input[type=text]:focus, textarea:focus {
|
2015-12-11 01:35:05 +00:00
|
|
|
border: 1px solid #76CFA6;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2016-07-15 11:22:10 +01:00
|
|
|
/* Prevent ugly dotted highlight around selected elements in Firefox */
|
|
|
|
::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2016-04-12 17:17:08 +01:00
|
|
|
/* applied to side-panels and messagepanel when in RoomSettings */
|
|
|
|
.mx_fadable {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transition: opacity 0.2s ease-in-out;
|
|
|
|
-moz-transition: opacity 0.2s ease-in-out;
|
|
|
|
-ms-transition: opacity 0.2s ease-in-out;
|
|
|
|
-o-transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2015-11-13 02:29:59 +00: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 {
|
2016-03-17 18:26:00 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2016-08-07 21:35:41 +01:00
|
|
|
/* Expand thumbs on hoverover */
|
|
|
|
.gm-scrollbar {
|
|
|
|
border-radius: 5px ! important;
|
|
|
|
}
|
2016-03-17 18:26:00 +00:00
|
|
|
.gm-scrollbar.-vertical {
|
2016-08-07 21:35:41 +01:00
|
|
|
width: 6px;
|
|
|
|
transition: width 120ms ease-out ! important;
|
|
|
|
}
|
|
|
|
.gm-scrollbar.-vertical:hover,
|
|
|
|
.gm-scrollbar.-vertical:active {
|
|
|
|
width: 8px;
|
|
|
|
transition: width 120ms ease-out ! important;
|
|
|
|
}
|
|
|
|
.gm-scrollbar.-horizontal {
|
|
|
|
height: 6px;
|
|
|
|
transition: height 120ms ease-out ! important;
|
|
|
|
}
|
|
|
|
.gm-scrollbar.-horizontal:hover,
|
|
|
|
.gm-scrollbar.-horizontal:active {
|
|
|
|
height: 8px;
|
|
|
|
transition: height 120ms ease-out ! important;
|
2015-11-13 02:29:59 +00:00
|
|
|
}
|
|
|
|
|
2015-09-21 19:22:29 +02:00
|
|
|
.mx_Dialog_wrapper {
|
2015-07-16 09:37:14 +01:00
|
|
|
position: fixed;
|
2015-11-19 10:46:49 +00:00
|
|
|
z-index: 4000;
|
2015-07-16 09:37:14 +01:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-07-23 01:33:10 -07: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 09:37:14 +01:00
|
|
|
}
|
|
|
|
|
2016-07-18 10:31:17 +01:00
|
|
|
/* Spinner Dialog overide */
|
2016-07-17 21:20:11 +01:00
|
|
|
.mx_Dialog_wrapper.mx_Dialog_spinner .mx_Dialog {
|
|
|
|
width: auto;
|
|
|
|
border-radius: 8px;
|
|
|
|
padding-left: 0px;
|
2016-07-18 10:31:17 +01:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* View Source Dialog overide */
|
|
|
|
.mx_Dialog_wrapper.mx_Dialog_viewsource .mx_Dialog {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2016-07-17 21:20:11 +01:00
|
|
|
}
|
|
|
|
|
2015-07-16 09:37:14 +01:00
|
|
|
.mx_Dialog {
|
|
|
|
background-color: #fff;
|
2015-07-21 16:48:55 -07:00
|
|
|
color: #747474;
|
2015-11-14 00:14:41 +00:00
|
|
|
z-index: 4010;
|
2015-07-21 16:48:55 -07:00
|
|
|
font-weight: 300;
|
2015-11-30 17:17:09 +00:00
|
|
|
font-size: 15px;
|
2015-07-16 09:37:14 +01:00
|
|
|
position: relative;
|
2016-07-14 16:55:41 +01:00
|
|
|
padding-left: 58px;
|
|
|
|
width: 60%;
|
|
|
|
max-width: 704px;
|
|
|
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2);
|
2015-07-23 01:33:10 -07:00
|
|
|
}
|
|
|
|
|
2015-11-19 10:49:24 +00:00
|
|
|
.mx_Dialog_background {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2016-07-14 15:41:23 +01:00
|
|
|
background-color: #e9e9e9;
|
|
|
|
opacity: 0.8;
|
2015-11-19 10:49:24 +00:00
|
|
|
}
|
|
|
|
|
2015-10-25 23:33:28 +00:00
|
|
|
.mx_Dialog_lightbox .mx_Dialog_background {
|
|
|
|
opacity: 0.85;
|
2016-07-15 14:54:15 +01:00
|
|
|
background-color: #000;
|
2015-10-25 23:33:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_lightbox .mx_Dialog {
|
|
|
|
border-radius: 0px;
|
2015-10-27 01:39:19 +00:00
|
|
|
background-color: transparent;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
2015-10-29 00:39:12 +00:00
|
|
|
pointer-events: none;
|
2015-07-16 09:37:14 +01:00
|
|
|
}
|
2015-07-20 16:26:47 +01:00
|
|
|
|
2015-07-21 16:48:55 -07:00
|
|
|
.mx_Dialog_content {
|
2016-07-14 16:55:41 +01:00
|
|
|
margin: 24px 58px 68px 0;
|
|
|
|
font-size: 14px;
|
2016-07-19 12:13:29 +01:00
|
|
|
color: #4a4a4a;
|
2016-07-14 16:55:41 +01:00
|
|
|
word-wrap: break-word;
|
2015-07-21 16:48:55 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog_buttons {
|
2016-07-14 16:55:41 +01:00
|
|
|
padding-bottom: 36px;
|
2015-07-21 16:48:55 -07:00
|
|
|
}
|
|
|
|
|
2016-02-04 11:50:29 +00:00
|
|
|
.mx_Dialog button, .mx_Dialog input[type="submit"] {
|
2015-07-21 16:48:55 -07:00
|
|
|
border: 0px;
|
|
|
|
height: 36px;
|
2016-07-14 17:59:06 +01:00
|
|
|
border-radius: 40px;
|
|
|
|
border: solid 1px #76cfa6;
|
2015-07-21 16:48:55 -07:00
|
|
|
font-weight: 400;
|
2015-11-30 17:17:09 +00:00
|
|
|
font-size: 15px;
|
2016-07-14 16:55:41 +01:00
|
|
|
margin-left: 0px;
|
2015-07-21 17:02:06 -07:00
|
|
|
margin-right: 8px;
|
2016-07-14 16:55:41 +01:00
|
|
|
padding-left: 1.5em;
|
|
|
|
padding-right: 1.5em;
|
2016-07-15 11:22:10 +01:00
|
|
|
outline: none;
|
2016-07-14 17:59:06 +01:00
|
|
|
|
|
|
|
color: #76cfa6;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2016-07-15 12:33:56 +01:00
|
|
|
.mx_Dialog button.mx_Dialog_primary, .mx_Dialog input[type="submit"].mx_Dialog_primary {
|
2015-07-21 16:48:55 -07:00
|
|
|
color: #fff;
|
2015-10-23 02:32:49 +01:00
|
|
|
background-color: #76cfa6;
|
2015-07-21 16:48:55 -07:00
|
|
|
}
|
|
|
|
|
2016-08-03 11:38:19 +01:00
|
|
|
.mx_Dialog button.danger, .mx_Dialog input[type="submit"].danger {
|
|
|
|
background-color: #ff0064;
|
|
|
|
border: solid 1px #ff0064;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dialog button:disabled, .mx_Dialog input[type="submit"]:disabled {
|
|
|
|
background-color: #777777;
|
|
|
|
border: solid 1px #777777;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2016-01-13 16:36:57 +01:00
|
|
|
.mx_Dialog_title {
|
2015-07-20 16:26:47 +01:00
|
|
|
min-height: 16px;
|
2016-07-14 16:55:41 +01:00
|
|
|
padding-top: 40px;
|
2015-07-20 16:26:47 +01:00
|
|
|
font-weight: bold;
|
2016-07-14 16:55:41 +01:00
|
|
|
font-size: 22px;
|
2015-07-20 16:26:47 +01:00
|
|
|
line-height: 1.4;
|
2016-07-14 16:55:41 +01:00
|
|
|
color: #454545;
|
2015-09-24 00:19:40 +02:00
|
|
|
}
|
2016-01-13 16:36:57 +01:00
|
|
|
|
2016-08-03 11:38:19 +01:00
|
|
|
.mx_Dialog_title.danger {
|
|
|
|
color: #ff0064;
|
|
|
|
}
|
|
|
|
|
2016-01-13 16:36:57 +01:00
|
|
|
.mx_TextInputDialog_label {
|
|
|
|
text-align: left;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_TextInputDialog_input {
|
|
|
|
font-size: 15px;
|
2016-02-15 19:37:19 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #f0f0f0;
|
|
|
|
padding: 9px;
|
|
|
|
color: #454545;
|
2016-03-03 14:37:11 +00:00
|
|
|
background-color: #fff;
|
2016-01-13 16:36:57 +01:00
|
|
|
}
|
2016-04-01 06:22:13 +05:30
|
|
|
|
2016-08-27 23:59:15 +01:00
|
|
|
.mx_emojione {
|
2016-04-01 06:22:13 +05:30
|
|
|
height: 1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2016-05-28 12:20:21 +05:30
|
|
|
|
|
|
|
::-moz-selection {
|
|
|
|
background-color: #76CFA6;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background-color: #76CFA6;
|
|
|
|
color: white;
|
|
|
|
}
|
2016-08-01 13:46:14 +01:00
|
|
|
|
|
|
|
/** green button with rounded corners */
|
2016-08-27 23:59:15 +01:00
|
|
|
.mx_textButton {
|
2016-08-01 13:46:14 +01:00
|
|
|
color: #fff;
|
|
|
|
background-color: #76cfa6;
|
|
|
|
border-radius: 17px;
|
|
|
|
text-align: center;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline;
|
|
|
|
}
|