forked from matrix/element-web
Updated to highlight the primary button in the dialog, i.e. the first one
This commit is contained in:
parent
579f210cfc
commit
adbad509f4
|
@ -194,15 +194,35 @@ input[type=text]:focus, textarea:focus {
|
||||||
.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;
|
||||||
color: #fff;
|
|
||||||
background-color: #76cfa6;
|
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
padding-right: 1.5em;
|
padding-right: 1.5em;
|
||||||
|
|
||||||
|
color: #76cfa6;
|
||||||
|
background-color: #fff;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The first button in a dialog is the primary */
|
||||||
|
.mx_Dialog button:first-child, .mx_Dialog input[type="submit"]:first-child {
|
||||||
|
border: 0px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 40px;
|
||||||
|
border: solid 1px #76cfa6;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 15px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 8px;
|
||||||
|
padding-left: 1.5em;
|
||||||
|
padding-right: 1.5em;
|
||||||
|
|
||||||
|
color: #fff;
|
||||||
|
background-color: #76cfa6;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue