This commit is contained in:
405
www/style.css
405
www/style.css
@@ -1034,3 +1034,408 @@ canvas {
|
||||
.integrationCode { font-size: 13px; word-break: break-all; }
|
||||
.integrationTestRow .integrationTestActions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
|
||||
.integrationTestRow select { min-width: 220px; }
|
||||
|
||||
/* --- Auth / Sign in (MiR §2.1) --- */
|
||||
.shell.auth-locked { display: none !important; }
|
||||
.loginScreen[hidden] { display: none !important; }
|
||||
.loginForm[hidden] { display: none !important; }
|
||||
.loginHelp[hidden] { display: none !important; }
|
||||
.loginError[hidden] { display: none !important; }
|
||||
|
||||
.loginPanel {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 40px;
|
||||
padding: 36px 40px 40px;
|
||||
}
|
||||
|
||||
.loginPanel--pin {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.loginPanel[hidden] { display: none !important; }
|
||||
|
||||
.loginScreen {
|
||||
--mir-blue: #3d6cb3;
|
||||
--mir-blue-dark: #2f5a9a;
|
||||
--mir-green: #5cb85c;
|
||||
--mir-green-hover: #4cae4c;
|
||||
--mir-tab-inactive: #c8c8c8;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 32px 24px;
|
||||
background: var(--mir-blue);
|
||||
font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.loginFrame {
|
||||
width: min(920px, 100%);
|
||||
}
|
||||
|
||||
.loginHeader {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
flex-wrap: wrap;
|
||||
padding: 0 8px 0 4px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
.loginHeaderBrand {
|
||||
color: #fff;
|
||||
font-size: clamp(2rem, 5vw, 2.75rem);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.loginHeaderRight {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 14px;
|
||||
flex-wrap: wrap;
|
||||
margin-left: auto;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.loginHeaderPrompt {
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.loginTabs {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.loginTab {
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
padding: 12px 18px;
|
||||
border-radius: 6px 6px 0 0;
|
||||
background: var(--mir-tab-inactive);
|
||||
color: #333;
|
||||
transition: background 0.15s ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.loginTab:hover:not(.active) {
|
||||
background: #d8d8d8;
|
||||
}
|
||||
|
||||
.loginTab.active {
|
||||
background: #fff;
|
||||
color: #111;
|
||||
padding-bottom: 13px;
|
||||
}
|
||||
|
||||
.loginCard {
|
||||
background: #fff;
|
||||
border-radius: 0 8px 8px 8px;
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
|
||||
min-height: 320px;
|
||||
}
|
||||
|
||||
.loginHelpNote {
|
||||
font-size: 13px;
|
||||
color: #888;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.loginPinLeft {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.loginPinBoxes {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.loginPinCell {
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
border: 2px solid #c8c8c8;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 32px;
|
||||
line-height: 1;
|
||||
color: #111;
|
||||
transition: border-color 0.15s ease;
|
||||
}
|
||||
|
||||
.loginPinCell.filled::after {
|
||||
content: "•";
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.loginPinCell.active {
|
||||
border-color: var(--mir-blue);
|
||||
box-shadow: 0 0 0 2px rgba(61, 108, 179, 0.2);
|
||||
}
|
||||
|
||||
.loginPinError {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.loginKeypad {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 10px;
|
||||
width: min(100%, 300px);
|
||||
margin: 0 auto;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.loginKey {
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
background: var(--mir-green);
|
||||
color: #fff;
|
||||
font-size: 26px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
padding: 20px 0;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
transition: background 0.12s ease, transform 0.08s ease;
|
||||
min-height: 64px;
|
||||
}
|
||||
|
||||
.loginKey:hover {
|
||||
background: var(--mir-green-hover);
|
||||
}
|
||||
|
||||
.loginKey:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
.loginKey--wide {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.loginKey--back {
|
||||
background: #3a3a3a;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.loginKey--back:hover {
|
||||
background: #2a2a2a;
|
||||
}
|
||||
|
||||
.loginScreen.is-loading .loginKey {
|
||||
opacity: 0.55;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.loginHelp {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.loginHelpTitle {
|
||||
margin: 0 0 16px;
|
||||
color: #222;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.loginHelp p {
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
|
||||
.loginHelp p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.loginForms {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.loginForm {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.loginField {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.loginFieldLabel {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.loginField input {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
font-size: 15px;
|
||||
border: 1px solid #c5c5c5;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
color: #111;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.loginField input:focus {
|
||||
outline: 2px solid rgba(61, 108, 179, 0.35);
|
||||
border-color: var(--mir-blue);
|
||||
}
|
||||
|
||||
.loginField input:-webkit-autofill {
|
||||
-webkit-box-shadow: 0 0 0 1000px #fff8d6 inset;
|
||||
box-shadow: 0 0 0 1000px #fff8d6 inset;
|
||||
}
|
||||
|
||||
.loginSubmit {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
align-self: flex-start;
|
||||
margin-top: 4px;
|
||||
padding: 10px 22px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: var(--mir-green);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease;
|
||||
}
|
||||
|
||||
.loginSubmit:hover {
|
||||
background: var(--mir-green-hover);
|
||||
}
|
||||
|
||||
.loginSubmit:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.loginSubmitIcon {
|
||||
flex-shrink: 0;
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.loginScreen.is-loading .loginSubmit {
|
||||
opacity: 0.75;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.loginError {
|
||||
color: #b42318;
|
||||
font-size: 13px;
|
||||
margin: 12px 0 0;
|
||||
padding: 10px 12px;
|
||||
border-radius: 6px;
|
||||
background: rgba(239, 68, 68, 0.08);
|
||||
border: 1px solid rgba(239, 68, 68, 0.25);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.loginHeader {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.loginHeaderRight {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.loginHeaderPrompt {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.loginTabs {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.loginTab {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
border-radius: 6px 6px 0 0;
|
||||
white-space: normal;
|
||||
font-size: 13px;
|
||||
padding: 10px 8px;
|
||||
}
|
||||
|
||||
.loginPanel {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 24px;
|
||||
padding: 24px 20px 28px;
|
||||
}
|
||||
|
||||
.loginKeypad {
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
.loginCard {
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.userMenuWrap { position: relative; }
|
||||
.userMenuBtn { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.userMenuPanel {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
right: 0;
|
||||
min-width: 220px;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow2);
|
||||
padding: 8px;
|
||||
z-index: 50;
|
||||
}
|
||||
.userMenuHeader { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
|
||||
.userMenuName { font-weight: 600; }
|
||||
.userMenuGroup { font-size: 12px; }
|
||||
.userMenuItem {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border: none;
|
||||
background: transparent;
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
}
|
||||
.userMenuItem:hover { background: var(--panel2); }
|
||||
.userMenuItemDanger { color: var(--danger); }
|
||||
|
||||
body.auth-readonly-config #saveLayoutBtn,
|
||||
body.auth-readonly-config .btn.primary[data-write-config] { display: none !important; }
|
||||
body.auth-readonly-missions .missionToolbar .btn.primary,
|
||||
body.auth-readonly-missions #missionCreateBtn { pointer-events: none; opacity: 0.45; }
|
||||
body.auth-readonly-integrations .integrationToolbar .btn.primary { pointer-events: none; opacity: 0.45; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user