mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
168 lines
3.0 KiB
CSS
168 lines
3.0 KiB
CSS
/*
|
|
Copyright 2015 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.
|
|
*/
|
|
|
|
html {
|
|
/* hack to stop overscroll bounce on OSX and iOS.
|
|
N.B. Breaks things when we have legitimate horizontal overscroll */
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Myriad Pro', Helvetica, Arial, Sans-Serif;
|
|
font-size: 16px;
|
|
color: #454545;
|
|
border: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
div.error {
|
|
color: red;
|
|
}
|
|
|
|
h2 {
|
|
color: #454545;
|
|
font-weight: 400;
|
|
font-size: 20px;
|
|
margin-top: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
a:hover,
|
|
a:link,
|
|
a:visited {
|
|
color: #76cfa6;
|
|
}
|
|
|
|
.mx_ContextualMenu_background {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 1.0;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.mx_ContextualMenu {
|
|
border: 1px solid #a4a4a4;
|
|
border-radius: 8px;
|
|
background-color: #fff;
|
|
color: #747474;
|
|
position: fixed;
|
|
z-index: 2001;
|
|
padding: 6px;
|
|
}
|
|
|
|
.mx_ContextualMenu_chevron_right {
|
|
padding: 12px;
|
|
position: absolute;
|
|
right: -21px;
|
|
top: 0px;
|
|
}
|
|
|
|
.mx_ContextualMenu_chevron_left {
|
|
padding: 12px;
|
|
position: absolute;
|
|
left: -21px;
|
|
top: 0px;
|
|
}
|
|
|
|
.mx_ContextualMenu_field {
|
|
padding: 3px 6px 3px 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.mx_Dialog_background {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #000;
|
|
opacity: 0.2;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.mx_Dialog_wrapper {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
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;
|
|
}
|
|
|
|
.mx_Dialog {
|
|
background-color: #fff;
|
|
color: #747474;
|
|
text-align: center;
|
|
z-index: 2010;
|
|
font-weight: 300;
|
|
font-size: 16px;
|
|
position: relative;
|
|
border-radius: 8px;
|
|
max-width: 75%;
|
|
}
|
|
|
|
.mx_ImageView {
|
|
margin: 6px;
|
|
/* hack: flexbox bug? */
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.mx_Dialog_content {
|
|
margin: 24px;
|
|
}
|
|
|
|
.mx_Dialog_buttons {
|
|
padding-bottom: 24px;
|
|
}
|
|
|
|
.mx_Dialog button {
|
|
border: 0px;
|
|
height: 36px;
|
|
border-radius: 36px;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
background-color: #76cfa6;
|
|
margin-left: 8px;
|
|
margin-right: 8px;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.mx_ErrorDialogTitle,
|
|
.mx_QuestionDialogTitle {
|
|
min-height: 16px;
|
|
padding: 12px;
|
|
border-bottom: 1px solid #a4a4a4;
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
line-height: 1.4;
|
|
}
|