Skip to content

Commit adbad50

Browse files
committed
Updated to highlight the primary button in the dialog, i.e. the first one
1 parent 579f210 commit adbad50

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

src/skins/vector/css/common.css

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,35 @@ input[type=text]:focus, textarea:focus {
194194
.mx_Dialog button, .mx_Dialog input[type="submit"] {
195195
border: 0px;
196196
height: 36px;
197-
border-radius: 36px;
197+
border-radius: 40px;
198+
border: solid 1px #76cfa6;
198199
font-weight: 400;
199200
font-size: 15px;
200-
color: #fff;
201-
background-color: #76cfa6;
202201
margin-left: 0px;
203202
margin-right: 8px;
204203
padding-left: 1.5em;
205204
padding-right: 1.5em;
205+
206+
color: #76cfa6;
207+
background-color: #fff;
208+
outline: none;
209+
}
210+
211+
/* The first button in a dialog is the primary */
212+
.mx_Dialog button:first-child, .mx_Dialog input[type="submit"]:first-child {
213+
border: 0px;
214+
height: 36px;
215+
border-radius: 40px;
216+
border: solid 1px #76cfa6;
217+
font-weight: 400;
218+
font-size: 15px;
219+
margin-left: 0px;
220+
margin-right: 8px;
221+
padding-left: 1.5em;
222+
padding-right: 1.5em;
223+
224+
color: #fff;
225+
background-color: #76cfa6;
206226
outline: none;
207227
}
208228

0 commit comments

Comments
 (0)