|
| 1 | +/* |
| 2 | +Copyright 2015, 2016 OpenMarket Ltd |
| 3 | +
|
| 4 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +you may not use this file except in compliance with the License. |
| 6 | +You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | +Unless required by applicable law or agreed to in writing, software |
| 11 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +See the License for the specific language governing permissions and |
| 14 | +limitations under the License. |
| 15 | +*/ |
| 16 | + |
| 17 | +.mx_AppsDrawer { |
| 18 | +} |
| 19 | + |
| 20 | +.mx_AppsContainer { |
| 21 | + display: flex; |
| 22 | + flex-direction: row; |
| 23 | + align-items: center; |
| 24 | +} |
| 25 | + |
| 26 | +.mx_AddWidget_button { |
| 27 | + order: 2; |
| 28 | + cursor: pointer; |
| 29 | + padding-right: 12px; |
| 30 | + padding: 0; |
| 31 | + margin: 0 0 5px 0; |
| 32 | + color: $accent-color; |
| 33 | + font-size: 12px; |
| 34 | +} |
| 35 | + |
| 36 | +.mx_SetAppURLDialog_input { |
| 37 | + border-radius: 3px; |
| 38 | + border: 1px solid $input-border-color; |
| 39 | + padding: 9px; |
| 40 | + color: $primary-hairline-color; |
| 41 | + background-color: $primary-bg-color; |
| 42 | + font-size: 15px; |
| 43 | +} |
| 44 | + |
| 45 | +.mx_AppTile { |
| 46 | + width: 50%; |
| 47 | + margin: 0 5px 2px 0; |
| 48 | + border: 1px solid $primary-hairline-color; |
| 49 | + border-radius: 2px; |
| 50 | + // height: 350px; |
| 51 | + // display: inline-block; |
| 52 | +} |
| 53 | + |
| 54 | +.mx_AppTileFullWidth { |
| 55 | + width: 100%; |
| 56 | + margin: 0; |
| 57 | + padding: 0; |
| 58 | + border: 1px solid $primary-hairline-color; |
| 59 | + border-radius: 2px; |
| 60 | + // height: 350px; |
| 61 | + // display: inline-block; |
| 62 | +} |
| 63 | + |
| 64 | +.mx_AppTileMenuBar { |
| 65 | + // height: 15px; |
| 66 | + margin: 0; |
| 67 | + padding: 2px 10px; |
| 68 | + // background-color: $e2e-verified-color; |
| 69 | + border-bottom: 1px solid $primary-hairline-color; |
| 70 | + font-size: 10px; |
| 71 | +} |
| 72 | + |
| 73 | +.mx_AppTileMenuBarWidgets { |
| 74 | + float: right; |
| 75 | +} |
| 76 | +.mx_AppTileMenuBarWidget { |
| 77 | + // pointer-events: none; |
| 78 | + cursor: pointer; |
| 79 | +} |
| 80 | + |
| 81 | +.mx_AppTileBody iframe { |
| 82 | + width: 100%; |
| 83 | + height: 350px; |
| 84 | + overflow: hidden; |
| 85 | + border: none; |
| 86 | + padding: 0; |
| 87 | + margin: 0; |
| 88 | + display: block; |
| 89 | +} |
| 90 | + |
| 91 | +.mx_CloseAppWidget { |
| 92 | +} |
| 93 | + |
| 94 | +.mx_AppTileMenuBarWidgetPadding { |
| 95 | + margin-right: 5px; |
| 96 | +} |
| 97 | + |
| 98 | +.mx_AppIconTile { |
| 99 | + background-color: $lightbox-bg-color; |
| 100 | + border: 1px solid rgba(0, 0, 0, 0); |
| 101 | + width: 200px; |
| 102 | + box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); |
| 103 | + transition: 0.3s; |
| 104 | + border-radius: 3px; |
| 105 | + margin: 5px; |
| 106 | + display: inline-block; |
| 107 | +} |
| 108 | + |
| 109 | +.mx_AppIconTile.mx_AppIconTile_active { |
| 110 | + color: $accent-color; |
| 111 | + border-color: $accent-color; |
| 112 | +} |
| 113 | + |
| 114 | +.mx_AppIconTile:hover { |
| 115 | + border: 1px solid $accent-color; |
| 116 | + box-shadow: 0 0 10px 5px rgba(200,200,200,0.5); |
| 117 | +} |
| 118 | + |
| 119 | +.mx_AppIconTile_content { |
| 120 | + padding: 2px 16px; |
| 121 | + height: 60px; |
| 122 | + overflow: hidden; |
| 123 | +} |
| 124 | + |
| 125 | +.mx_AppIconTile_content h4 { |
| 126 | + margin-top: 5px; |
| 127 | + margin-bottom: 2px; |
| 128 | +} |
| 129 | + |
| 130 | +.mx_AppIconTile_content p { |
| 131 | + margin-top: 0; |
| 132 | + margin-bottom: 5px; |
| 133 | + font-size: smaller; |
| 134 | +} |
| 135 | + |
| 136 | +.mx_AppIconTile_image { |
| 137 | + padding: 10px; |
| 138 | + width: 75%; |
| 139 | + max-width:100px; |
| 140 | + max-height:100px; |
| 141 | + width: auto; |
| 142 | + height: auto; |
| 143 | +} |
| 144 | + |
| 145 | +.mx_AppIconTile_imageContainer { |
| 146 | + text-align: center; |
| 147 | + width: 100%; |
| 148 | + background-color: white; |
| 149 | + border-radius: 3px 3px 0 0; |
| 150 | + height: 155px; |
| 151 | + display: flex; |
| 152 | + justify-content: center; |
| 153 | + align-items: center; |
| 154 | +} |
| 155 | + |
| 156 | +form.mx_Custom_Widget_Form div { |
| 157 | + margin-top: 10px; |
| 158 | + margin-bottom: 10px; |
| 159 | +} |
0 commit comments