File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed
projects/igniteui-angular/src/lib/core/styles/components/dialog Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 148148 }
149149
150150 %igx-dialog-title {
151+ display : flex ;
151152 color : --var ($theme , ' title-color' );
152153 padding : $dialog-title-padding ;
153154
Original file line number Diff line number Diff line change 33}
44
55.login-form {
6- padding : 24px ;
6+ padding : 0 24 px 24 px 24px ;
77}
88
99.icon {
Original file line number Diff line number Diff line change @@ -90,5 +90,38 @@ <h4 class="sample-title">Custom Dialog</h4>
9090 </ div >
9191 </ igx-dialog >
9292 </ article >
93+
94+ < article class ="sample-column ">
95+ < h4 class ="sample-title "> Templated Dialog</ h4 >
96+ < p class ="sample-description "> Detailed description to be added</ p >
97+ < br >
98+ < button igxButton ="raised " igxRipple (click) ="templated.open() "> Trigger</ button >
99+
100+ < igx-dialog #templated [closeOnOutsideSelect] ="true ">
101+ < igx-dialog-title > Title</ igx-dialog-title >
102+
103+ < div class ="login-form ">
104+ < igx-input-group >
105+ < igx-prefix >
106+ < igx-icon > person</ igx-icon >
107+ </ igx-prefix >
108+ < input type ="text " igxInput />
109+ < label igxLabel > Username</ label >
110+ </ igx-input-group >
111+ < igx-input-group >
112+ < igx-prefix >
113+ < igx-icon > lock</ igx-icon >
114+ </ igx-prefix >
115+ < label igxLabel > Password</ label >
116+ < input type ="password " igxInput />
117+ </ igx-input-group >
118+ </ div >
119+
120+ < igx-dialog-actions >
121+ < button igxButton (click) ="templated.close() "> CANCEL</ button >
122+ < button igxButton (click) ="templated.close() "> SIGN IN</ button >
123+ </ igx-dialog-actions >
124+ </ igx-dialog >
125+ </ article >
93126 </ section >
94127</ div >
You can’t perform that action at this time.
0 commit comments