Fix App body height.

App warning colours.
App loading styling.
This commit is contained in:
Richard Lewis 2017-07-27 16:40:33 +01:00
parent ff2554c8a6
commit 0bee03e86f
1 changed files with 21 additions and 2 deletions
src/skins/vector/css/matrix-react-sdk/views/rooms

View File

@ -88,6 +88,11 @@ limitations under the License.
border-radius: 2px;
}
.mx_AppTileBody{
height: 350px;
overflow: hidden;
}
.mx_AppTileBody iframe {
width: 100%;
height: 350px;
@ -171,7 +176,7 @@ form.mx_Custom_Widget_Form div {
.mx_AppPermissionWarning {
text-align: center;
padding: 30px 0;
background-color: $lightbox-bg-color;
background-color: $primary-bg-color;
}
.mx_AppPermissionWarningImage {
@ -183,7 +188,7 @@ form.mx_Custom_Widget_Form div {
}
.mx_AppPermissionWarningText {
max-width: 300px;
max-width: 400px;
margin: 10px auto 10px auto;
color: $primary-fg-color;
}
@ -200,4 +205,18 @@ form.mx_Custom_Widget_Form div {
padding: 5px;
border-radius: 5px;
color: $warning-color;
background-color: $primary-bg-color;
}
.mx_AppPermissionButton:hover {
background-color: $primary-fg-color;
}
.mx_AppLoading {
min-height: 305px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-weight: bold;
}