Skip to content

Commit 579f210

Browse files
committed
Initial Modal dialog restyling
1 parent 2fb1e15 commit 579f210

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

src/skins/vector/css/common.css

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,14 @@ input[type=text]:focus, textarea:focus {
146146
.mx_Dialog {
147147
background-color: #fff;
148148
color: #747474;
149-
text-align: center;
150149
z-index: 4010;
151150
font-weight: 300;
152151
font-size: 15px;
153152
position: relative;
154-
border-radius: 8px;
155-
max-width: 80%;
153+
padding-left: 58px;
154+
width: 60%;
155+
max-width: 704px;
156+
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2);
156157
}
157158

158159
.mx_Dialog_background {
@@ -180,11 +181,14 @@ input[type=text]:focus, textarea:focus {
180181
}
181182

182183
.mx_Dialog_content {
183-
margin: 24px;
184+
margin: 24px 58px 68px 0;
185+
font-size: 14px;
186+
color: #4a4a4a;
187+
word-wrap: break-word;
184188
}
185189

186190
.mx_Dialog_buttons {
187-
padding-bottom: 24px;
191+
padding-bottom: 36px;
188192
}
189193

190194
.mx_Dialog button, .mx_Dialog input[type="submit"] {
@@ -195,19 +199,20 @@ input[type=text]:focus, textarea:focus {
195199
font-size: 15px;
196200
color: #fff;
197201
background-color: #76cfa6;
198-
margin-left: 8px;
202+
margin-left: 0px;
199203
margin-right: 8px;
200-
padding-left: 1em;
201-
padding-right: 1em;
204+
padding-left: 1.5em;
205+
padding-right: 1.5em;
206+
outline: none;
202207
}
203208

204209
.mx_Dialog_title {
205210
min-height: 16px;
206-
padding: 12px;
207-
border-bottom: 1px solid #a4a4a4;
211+
padding-top: 40px;
208212
font-weight: bold;
209-
font-size: 18px;
213+
font-size: 22px;
210214
line-height: 1.4;
215+
color: #454545;
211216
}
212217

213218
.mx_TextInputDialog_label {

0 commit comments

Comments
 (0)