Add some CSS for an error popup that appears next to the `Manage Integrations` button if there was a problem contacting Scalar

pull/2554/head
Luke Barnard 2016-11-08 10:54:03 +00:00
parent e033ce6c43
commit b30df2115c
1 changed files with 18 additions and 1 deletions

View File

@ -20,7 +20,9 @@ limitations under the License.
}
.mx_RoomSettings_leaveButton,
.mx_RoomSettings_integrationsButton {
.mx_RoomSettings_integrationsButton,
.mx_RoomSettings_integrationsButton_error {
position: relative;
height: 36px;
background-color: #76cfa6;
border-radius: 36px;
@ -33,6 +35,21 @@ limitations under the License.
padding-left: 12px;
padding-right: 12px;
}
.mx_RoomSettings_integrationsButton_error {
pointer: not-allowed;
}
.mx_RoomSettings_integrationsButton_errorPopup {
position: absolute;
top: 110%;
left: -26%;
width: 150%;
padding: 2%;
font-size: 10pt;
line-height: 1.5em;
border-radius: 5px;
background-color: #000;
color: #fff;
}
.mx_RoomSettings_e2eIcon {
padding-left: 4px;