File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 left : 0 ;
5050 width : 100% ;
5151 height : 100% ;
52- background-color : # ccc ;
53- opacity : 0.5 ;
54- z-index : -200 ;
52+ background-color : # 000 ;
53+ opacity : 0.2 ;
54+ z-index : 2000 ;
5555}
5656
5757. mx_Dialog_Wrapper {
@@ -64,19 +64,43 @@ html {
6464
6565. mx_Dialog {
6666 background-color : # fff;
67+ color : # 747474;
68+ text-align : center;
6769 margin : auto;
6870 max-width : 500px ;
69- z-index : -100 ;
71+ z-index : 2010 ;
72+ font-weight : 300 ;
73+ font-size : 16px ;
7074 position : relative;
75+ border-radius : 8px ;
7176 top : 200px ;
7277}
7378
79+ . mx_Dialog_content {
80+ margin : 35px ;
81+ }
82+
83+ . mx_Dialog_buttons {
84+ padding-bottom : 35px ;
85+ }
86+
87+ . mx_Dialog button {
88+ border : 0px ;
89+ width : 80px ;
90+ height : 36px ;
91+ line-height : 36px ;
92+ border-radius : 36px ;
93+ font-weight : 400 ;
94+ font-size : 16px ;
95+ color : # fff;
96+ background-color : # 80cef4;
97+ }
98+
7499. mx_ErrorDialogTitle {
75- background-color : # d2322d;
76100 min-height : 16px ;
77- padding : 15 px ;
78- border-bottom : 1px solid # e5e5e5 ;
101+ padding : 12 px ;
102+ border-bottom : 1px solid # a9dbf4 ;
79103 font-weight : bold;
104+ font-size : 20px ;
80105 line-height : 1.4 ;
81- color : # fff;
82106}
Original file line number Diff line number Diff line change @@ -40,10 +40,14 @@ module.exports = React.createClass({
4040 < div className = "mx_ErrorDialogTitle" >
4141 { this . props . title }
4242 </ div >
43- { this . props . description } < br />
44- < button onClick = { this . props . onFinished } autoFocus = { this . props . focus } >
45- { this . props . button }
46- </ button >
43+ < div className = "mx_Dialog_content" >
44+ { this . props . description }
45+ </ div >
46+ < div className = "mx_Dialog_buttons" >
47+ < button onClick = { this . props . onFinished } autoFocus = { this . props . focus } >
48+ { this . props . button }
49+ </ button >
50+ </ div >
4751 </ div >
4852 ) ;
4953 }
You can’t perform that action at this time.
0 commit comments