55< title > OAuth sign-in</ title >
66< link rel ="stylesheet " href ="previews.css ">
77< style >
8- . oauth { width : 44px ; height : 44px ; }
9- . oauth svg { width : 20px ; height : 20px ; }
8+ . or { display : flex; align-items : center; gap : 12px ; font-size : 12px ; line-height : 16px ; color : var ( --muted ) ; }
9+ . or :: before , . or :: after { content : "" ; flex : 1 ; height : 1px ; background : var ( --border ) ; }
10+ . oauth { width : auto; }
11+ . oauth svg { width : 18px ; height : 18px ; }
1012</ style >
1113</ head >
1214< body >
13- <!-- core LoginView with the provider buttons of the OAuth plugin (iconOnly) under the login button -->
15+ <!-- core LoginView on DialogPanel with the provider buttons of the OAuth plugin (iconOnly) under an "or" divider -->
1416< div class ="screen center ">
15- < div style ="width: 368px; background: var(--surface); border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1 ) ">
16- < div style ="padding: 20px; border-bottom: 1px solid var(--border) ">
17- < h3 style ="font-size: 20px ; line-height: 28px ; font-weight: 600 "> Sign in to My Admin</ h3 >
17+ < div style ="width: 368px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-xs ) ">
18+ < div style ="padding: 20px 24px ; border-bottom: 1px solid var(--border) ">
19+ < h3 style ="font-size: 18px ; line-height: 24px ; font-weight: 600 "> Sign in to My Admin</ h3 >
1820 </ div >
19- < div style ="padding: 20px; display: flex; flex-direction: column; gap: 16px; font-size: 14px ">
21+ < div style ="padding: 20px 24px 24px ; display: flex; flex-direction: column; gap: 16px; font-size: 14px ">
2022 < div >
2123 < div style ="margin-bottom: 8px; font-weight: 500 "> Your email</ div >
2224 < div class ="input "> adminforth</ div >
@@ -25,9 +27,9 @@ <h3 style="font-size: 20px; line-height: 28px; font-weight: 600">Sign in to My A
2527 < div style ="margin-bottom: 8px; font-weight: 500 "> Your password</ div >
2628 < div class ="input " style ="justify-content: space-between; letter-spacing: 2px "> ••••••••••< svg class ="i "> < use href ="icons.svg#eye "/> </ svg > </ div >
2729 </ div >
28- < div style ="display: flex; align-items: center; gap: 8px; color: var(--text-2) "> < input class ="cb " type ="checkbox " checked > Remember me</ div >
2930 < div class ="btn btn-primary "> Login to your account</ div >
30- < div style ="display: flex; justify-content: center; gap: 12px ">
31+ < div class ="or "> or continue with</ div >
32+ < div style ="display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px ">
3133 < div class ="btn btn-secondary btn-icon oauth " style ="color: var(--text) "> < svg > < use href ="brands.svg#github "/> </ svg > </ div >
3234 < div class ="btn btn-secondary btn-icon oauth "> < svg > < use href ="brands.svg#google "/> </ svg > </ div >
3335 < div class ="btn btn-secondary btn-icon oauth "> < svg > < use href ="brands.svg#facebook "/> </ svg > </ div >
0 commit comments