Merge pull request #1806 from vector-im/wmwragg/modal-restyle
Wmwragg/modal restyle
This commit is contained in:
commit
cd865bbe8f
1 changed files with 33 additions and 15 deletions
|
@ -66,6 +66,11 @@ input[type=text]:focus, textarea:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prevent ugly dotted highlight around selected elements in Firefox */
|
||||||
|
::-moz-focus-inner {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* applied to side-panels and messagepanel when in RoomSettings */
|
/* applied to side-panels and messagepanel when in RoomSettings */
|
||||||
.mx_fadable {
|
.mx_fadable {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -154,13 +159,14 @@ input[type=text]:focus, textarea:focus {
|
||||||
.mx_Dialog {
|
.mx_Dialog {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #747474;
|
color: #747474;
|
||||||
text-align: center;
|
|
||||||
z-index: 4010;
|
z-index: 4010;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 8px;
|
padding-left: 58px;
|
||||||
max-width: 80%;
|
width: 60%;
|
||||||
|
max-width: 704px;
|
||||||
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_background {
|
.mx_Dialog_background {
|
||||||
|
@ -169,12 +175,13 @@ input[type=text]:focus, textarea:focus {
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #000;
|
background-color: #e9e9e9;
|
||||||
opacity: 0.2;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_lightbox .mx_Dialog_background {
|
.mx_Dialog_lightbox .mx_Dialog_background {
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
|
background-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_lightbox .mx_Dialog {
|
.mx_Dialog_lightbox .mx_Dialog {
|
||||||
|
@ -188,34 +195,45 @@ input[type=text]:focus, textarea:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_content {
|
.mx_Dialog_content {
|
||||||
margin: 24px;
|
margin: 24px 58px 68px 0;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #4a4a4a;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_buttons {
|
.mx_Dialog_buttons {
|
||||||
padding-bottom: 24px;
|
padding-bottom: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog button, .mx_Dialog input[type="submit"] {
|
.mx_Dialog button, .mx_Dialog input[type="submit"] {
|
||||||
border: 0px;
|
border: 0px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
border-radius: 36px;
|
border-radius: 40px;
|
||||||
|
border: solid 1px #76cfa6;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 8px;
|
||||||
|
padding-left: 1.5em;
|
||||||
|
padding-right: 1.5em;
|
||||||
|
outline: none;
|
||||||
|
|
||||||
|
color: #76cfa6;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_Dialog button.mx_Dialog_primary, .mx_Dialog input[type="submit"].mx_Dialog_primary {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #76cfa6;
|
background-color: #76cfa6;
|
||||||
margin-left: 8px;
|
|
||||||
margin-right: 8px;
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_title {
|
.mx_Dialog_title {
|
||||||
min-height: 16px;
|
min-height: 16px;
|
||||||
padding: 12px;
|
padding-top: 40px;
|
||||||
border-bottom: 1px solid #a4a4a4;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 18px;
|
font-size: 22px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
color: #454545;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_TextInputDialog_label {
|
.mx_TextInputDialog_label {
|
||||||
|
|
Loading…
Reference in a new issue