2018-04-11 23:23:35 +00:00
|
|
|
/*
|
|
|
|
Copyright 2015, 2016 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_AppsDrawer {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppsDrawer_hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppsContainer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddWidget_button {
|
|
|
|
order: 2;
|
|
|
|
cursor: pointer;
|
|
|
|
padding-right: 12px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 5px auto 5px auto;
|
|
|
|
color: $accent-color;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AddWidget_button_full_width {
|
|
|
|
max-width: 960px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_SetAppURLDialog_input {
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid $input-border-color;
|
|
|
|
padding: 9px;
|
|
|
|
color: $primary-hairline-color;
|
|
|
|
background-color: $primary-bg-color;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTile {
|
|
|
|
max-width: 960px;
|
|
|
|
width: 50%;
|
|
|
|
margin-right: 5px;
|
2019-02-01 10:02:02 +00:00
|
|
|
border: 5px solid $widget-menu-bar-bg-color;
|
|
|
|
border-radius: 4px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTile:last-child {
|
|
|
|
margin-right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileFullWidth {
|
|
|
|
max-width: 960px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2019-02-01 10:02:02 +00:00
|
|
|
border: 5px solid $widget-menu-bar-bg-color;
|
|
|
|
border-radius: 4px;
|
2018-04-11 23:23:35 +00:00
|
|
|
}
|
|
|
|
|
2018-07-23 14:58:07 +00:00
|
|
|
.mx_AppTile_mini {
|
2018-07-23 14:08:17 +00:00
|
|
|
max-width: 960px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTile_persistedWrapper {
|
|
|
|
height: 280px;
|
|
|
|
}
|
|
|
|
|
2018-07-23 14:58:07 +00:00
|
|
|
.mx_AppTile_mini .mx_AppTile_persistedWrapper {
|
2018-07-23 14:08:17 +00:00
|
|
|
height: 114px;
|
|
|
|
}
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_AppTileMenuBar {
|
|
|
|
margin: 0;
|
2019-02-01 10:02:02 +00:00
|
|
|
font-size: 12px;
|
2018-04-11 23:23:35 +00:00
|
|
|
background-color: $widget-menu-bar-bg-color;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-02-01 10:02:02 +00:00
|
|
|
.mx_AppTileMenuBar_expanded {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_AppTileMenuBarTitle {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2019-02-01 10:02:02 +00:00
|
|
|
.mx_AppTileMenuBarTitle > :last-child {
|
|
|
|
margin-left: 9px;
|
|
|
|
}
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_AppTileMenuBarWidgets {
|
|
|
|
float: right;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-02-01 10:02:02 +00:00
|
|
|
.mx_AppTileMenuBar_iconButton {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-position: 0 center;
|
|
|
|
mask-size: auto 12px;
|
|
|
|
background-color: $topleftmenu-color;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_minimise {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/minimise.svg');
|
|
|
|
background-color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_maximise {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/maximise.svg');
|
|
|
|
background-color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_reload {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/refresh.svg');
|
|
|
|
mask-size: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_popout {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/external-link.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_snapshot {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/camera.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_edit {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/edit.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_delete {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/bin.svg');
|
|
|
|
background-color: $warning-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBar_iconButton.mx_AppTileMenuBar_iconButton_cancel {
|
|
|
|
mask-image: url('$(res)/img/feather-icons/widget/x-circle.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
/* delete ? */
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_AppTileMenuBarWidget {
|
|
|
|
cursor: pointer;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
padding: 1px;
|
|
|
|
transition-duration: 500ms;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBarWidgetDelete {
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBarWidget:hover {
|
|
|
|
border: 1px solid $primary-fg-color;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileBody{
|
|
|
|
height: 280px;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2018-07-12 17:43:49 +00:00
|
|
|
.mx_AppTileBody_mini {
|
2018-07-23 14:08:17 +00:00
|
|
|
height: 112px;
|
2018-07-12 17:43:49 +00:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2018-07-23 14:08:17 +00:00
|
|
|
.mx_AppTileBody_mini iframe {
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_AppTileBody iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 280px;
|
|
|
|
overflow: hidden;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppTileMenuBarWidgetPadding {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile {
|
|
|
|
background-color: $lightbox-bg-color;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0);
|
|
|
|
width: 200px;
|
|
|
|
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
|
|
|
transition: 0.3s;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile.mx_AppIconTile_active {
|
|
|
|
color: $accent-color;
|
|
|
|
border-color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile:hover {
|
|
|
|
border: 1px solid $accent-color;
|
|
|
|
box-shadow: 0 0 10px 5px rgba(200,200,200,0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile_content {
|
|
|
|
padding: 2px 16px;
|
|
|
|
height: 60px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile_content h4 {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile_content p {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile_image {
|
|
|
|
padding: 10px;
|
|
|
|
width: 75%;
|
|
|
|
max-width:100px;
|
|
|
|
max-height:100px;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppIconTile_imageContainer {
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
background-color: white;
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
height: 155px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
form.mx_Custom_Widget_Form div {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionWarning {
|
|
|
|
text-align: center;
|
|
|
|
background-color: $primary-bg-color;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionWarningImage {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionWarningImage img {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionWarningText {
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 10px auto 10px auto;
|
|
|
|
color: $primary-fg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionWarningTextLabel {
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionWarningTextURL {
|
|
|
|
color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppPermissionButton {
|
2019-02-01 22:24:56 +00:00
|
|
|
border: none;
|
|
|
|
padding: 5px 20px;
|
2018-04-11 23:23:35 +00:00
|
|
|
border-radius: 5px;
|
2019-02-01 22:24:56 +00:00
|
|
|
background-color: $button-bg-color;
|
|
|
|
color: $button-fg-color;
|
2018-04-11 23:23:35 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppLoading {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: bold;
|
|
|
|
position: relative;
|
|
|
|
height: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AppLoading .mx_Spinner {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2018-05-09 15:41:45 +00:00
|
|
|
.mx_AppLoading_spinner_fadeIn {
|
|
|
|
animation-fill-mode: backwards;
|
|
|
|
animation-duration: 200ms;
|
|
|
|
animation-delay: 500ms;
|
|
|
|
animation-name: mx_AppLoading_spinner_fadeIn_animation;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mx_AppLoading_spinner_fadeIn_animation {
|
|
|
|
from { opacity: 0 }
|
|
|
|
to { opacity: 1 }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-04-11 23:23:35 +00:00
|
|
|
.mx_AppLoading iframe {
|
|
|
|
display: none;
|
|
|
|
}
|