Use shared auth and server-side HA calls
This commit is contained in:
+106
-37
@@ -1,17 +1,18 @@
|
||||
.find-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
.find-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
background: #f2f2f7;
|
||||
border-radius: 16px;
|
||||
padding: 12px;
|
||||
user-select: none;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.password-container {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.password-container {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: fit-content;
|
||||
@@ -20,31 +21,32 @@
|
||||
border-radius: 16px;
|
||||
padding: 12px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#findMyShortcut input[type="password"] {
|
||||
padding: 8px 12px;
|
||||
font-size: 16px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid #ccc;
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
appearance: none;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#findMyShortcut input[type="password"] {
|
||||
padding: 8px 12px;
|
||||
font-size: 16px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid #ccc;
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
appearance: none;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
#findMyShortcut input[type="password"]:focus {
|
||||
border-color: #999;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#findMyShortcut button {
|
||||
padding: 10px 12px;
|
||||
#findMyShortcut button {
|
||||
padding: 10px 12px;
|
||||
font-size: 15px;
|
||||
border-radius: 16px;
|
||||
background-color: #007aff;
|
||||
@@ -52,8 +54,8 @@
|
||||
border: none;
|
||||
margin-left: 8px;
|
||||
font-weight: 500;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
|
||||
#findMyShortcut button:active {
|
||||
background-color: #0051c7;
|
||||
@@ -97,10 +99,77 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#failMsg {
|
||||
font-size: 13px;
|
||||
color: red;
|
||||
min-height: 18px;
|
||||
margin-top: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
#failMsg {
|
||||
font-size: 13px;
|
||||
color: red;
|
||||
min-height: 18px;
|
||||
margin-top: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.launcher-manage {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 6px;
|
||||
padding: 4px 7px !important;
|
||||
margin: 0 !important;
|
||||
border-radius: 999px !important;
|
||||
background: rgba(255, 255, 255, 0.68) !important;
|
||||
color: #8e8e93 !important;
|
||||
font-size: 11px !important;
|
||||
line-height: 1 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.launcher-form-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.launcher-form-header {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
min-width: 280px;
|
||||
margin-bottom: 6px;
|
||||
padding: 8px 0;
|
||||
font-size: 16px;
|
||||
color: #000;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
.launcher-back {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 1px;
|
||||
font-size: 16px;
|
||||
color: #007aff;
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.launcher-back .backArrow {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-right: 1px;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.launcher-input-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#findMyShortcut .launcher-text-button {
|
||||
margin: 2px 0 0 0;
|
||||
padding: 4px 8px;
|
||||
background: transparent;
|
||||
color: #007aff;
|
||||
font-size: 13px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user