Merge pull request #2554 from vector-im/luke/feature-show-integration-error-popup

Add some CSS for  scalar error popup
pull/2565/head
Luke Barnard 2016-11-08 11:27:49 +00:00 committed by GitHub
commit abc306be6c
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;