element-web/skins/base/css/common.css

121 lines
2.3 KiB
CSS
Raw Normal View History

/*
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.
*/
body {
2015-07-17 23:48:22 +00:00
font-family: 'Lato', Helvetica, Arial, Sans-Serif;
font-size: 16px;
color: #454545;
border: 0px;
margin: 0px;
}
2015-06-11 17:23:02 +00:00
div.error {
color: red;
}
2015-07-13 00:51:24 +00:00
h2 {
2015-07-16 23:12:36 +00:00
color: #80cef4;
2015-07-13 00:51:24 +00:00
font-weight: 400;
font-size: 20px;
margin-top: 16px;
margin-bottom: 16px;
}
/* FIXME: show them on hoverover, and fix for firefox */
::-webkit-scrollbar {
display: none;
}
html {
overflow: -moz-scrollbars-none;
}
.mx_Dialog_Background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
2015-07-21 23:48:55 +00:00
background-color: #000;
opacity: 0.2;
z-index: 2000;
}
.mx_Dialog_Wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
2015-07-23 08:33:10 +00: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;
}
.mx_Dialog {
background-color: #fff;
2015-07-21 23:48:55 +00:00
color: #747474;
text-align: center;
z-index: 2010;
font-weight: 300;
font-size: 16px;
position: relative;
2015-07-21 23:48:55 +00:00
border-radius: 8px;
2015-07-23 08:33:10 +00:00
}
.mx_ImageView {
margin: 6px;
/* hack: flexbox bug? */
margin-bottom: 4px;
}
2015-07-21 23:48:55 +00:00
.mx_Dialog_content {
2015-07-23 08:33:10 +00:00
margin: 24px;
2015-07-21 23:48:55 +00:00
}
.mx_Dialog_buttons {
2015-07-23 08:33:10 +00:00
padding-bottom: 24px;
2015-07-21 23:48:55 +00:00
}
.mx_Dialog button {
border: 0px;
height: 36px;
border-radius: 36px;
font-weight: 400;
font-size: 16px;
color: #fff;
background-color: #80cef4;
2015-07-22 00:02:06 +00:00
margin-left: 8px;
margin-right: 8px;
padding-left: 1em;
padding-right: 1em;
2015-07-21 23:48:55 +00:00
}
.mx_ErrorDialogTitle {
min-height: 16px;
2015-07-21 23:48:55 +00:00
padding: 12px;
border-bottom: 1px solid #a9dbf4;
font-weight: bold;
2015-07-21 23:48:55 +00:00
font-size: 20px;
line-height: 1.4;
}