Skip to content

Commit 58b1d62

Browse files
committed
CSS for deactivate account dialog
(Inc some generic CSS for error & danger fields)
1 parent 75ea62f commit 58b1d62

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

‎src/skins/vector/css/common.css‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ a:visited {
5252
color: #76cfa6;
5353
}
5454

55+
input[type=text].error, input[type=password].error {
56+
border: 1px solid red;
57+
}
58+
5559
input[type=text]:focus, textarea:focus {
5660
border: 1px solid #76CFA6;
5761
outline: none;
@@ -233,6 +237,17 @@ input[type=text]:focus, textarea:focus {
233237
background-color: #76cfa6;
234238
}
235239

240+
.mx_Dialog button.danger, .mx_Dialog input[type="submit"].danger {
241+
background-color: #ff0064;
242+
border: solid 1px #ff0064;
243+
}
244+
245+
.mx_Dialog button:disabled, .mx_Dialog input[type="submit"]:disabled {
246+
background-color: #777777;
247+
border: solid 1px #777777;
248+
opacity: 0.7;
249+
}
250+
236251
.mx_Dialog_title {
237252
min-height: 16px;
238253
padding-top: 40px;
@@ -242,6 +257,10 @@ input[type=text]:focus, textarea:focus {
242257
color: #454545;
243258
}
244259

260+
.mx_Dialog_title.danger {
261+
color: #ff0064;
262+
}
263+
245264
.mx_TextInputDialog_label {
246265
text-align: left;
247266
padding-bottom: 12px;

‎src/skins/vector/css/matrix-react-sdk/structures/UserSettings.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ limitations under the License.
9494
cursor: pointer;
9595
}
9696

97+
.mx_UserSettings_button.danger {
98+
background-color: #ff0064;
99+
}
100+
97101
.mx_UserSettings_section {
98102
margin-left: 63px;
99103
margin-top: 28px;

0 commit comments

Comments
 (0)