This commit is contained in:
345
www/style.css
345
www/style.css
@@ -1103,6 +1103,57 @@ canvas {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content.content--users {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
align-items: stretch;
|
||||
align-content: stretch;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
.content.content--users > #pageUsers {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content.content--user-groups {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
align-items: stretch;
|
||||
align-content: stretch;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
.content.content--user-groups > #pageUserGroups {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content.content--io-modules {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
align-items: stretch;
|
||||
align-content: stretch;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
}
|
||||
.content.content--io-modules > #pageIoModules {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.missionsPage { min-width: 0; width: 100%; }
|
||||
|
||||
.soundVolumeRow {
|
||||
@@ -3141,6 +3192,45 @@ body.auth-readonly-integrations .integrationToolbar .btn.primary { pointer-event
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#pageUsers {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#usersListView {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#pageUserGroups {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#userGroupsListView {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#pageIoModules {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#ioModulesListView {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#mapsListView[hidden],
|
||||
#mapsCreateView[hidden],
|
||||
#mapEditorView[hidden] {
|
||||
@@ -3590,6 +3680,261 @@ body.auth-readonly-integrations .integrationToolbar .btn.primary { pointer-event
|
||||
.mapsMirTable--transitions thead th:nth-child(4) { width: 22%; }
|
||||
.mapsMirTable--transitions thead th:nth-child(5) { width: 16%; }
|
||||
|
||||
.mapsMirTable--users thead th.usersMirThIcon { width: 52px; }
|
||||
.mapsMirTable--users thead th:nth-child(2) { width: 18%; }
|
||||
.mapsMirTable--users thead th:nth-child(3) { width: 14%; }
|
||||
.mapsMirTable--users thead th:nth-child(4) { width: 16%; }
|
||||
.mapsMirTable--users thead th:nth-child(5) { width: 22%; }
|
||||
.mapsMirTable--users thead th:nth-child(6) { width: 72px; }
|
||||
|
||||
.usersMirIcon {
|
||||
color: var(--mir-green, #5cb85c);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.usersMirCellIcon {
|
||||
width: 52px;
|
||||
text-align: center;
|
||||
padding-left: 12px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
|
||||
.usersMirNameLink {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.usersMirDisabledTag {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #a94442;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
body.auth-readonly-users #userCreateBtn { display: none !important; }
|
||||
|
||||
body.auth-readonly-users .usersMirRow .userEditBtn,
|
||||
body.auth-readonly-users .usersMirRow .userDeleteBtn { pointer-events: none; opacity: 0.55; }
|
||||
|
||||
.mapsMirTable--userGroups thead th.userGroupsMirThIcon { width: 52px; }
|
||||
.mapsMirTable--userGroups thead th:nth-child(2) { width: 20%; }
|
||||
.mapsMirTable--userGroups thead th:nth-child(3) { width: 12%; }
|
||||
.mapsMirTable--userGroups thead th:nth-child(4) { width: 12%; }
|
||||
.mapsMirTable--userGroups thead th:nth-child(5) { width: auto; }
|
||||
|
||||
.userGroupsMirIcon {
|
||||
color: var(--mir-green, #5cb85c);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.userGroupsMirCellIcon {
|
||||
width: 52px;
|
||||
text-align: center;
|
||||
padding-left: 12px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
|
||||
.userGroupsMirNameLink { font-weight: 600; }
|
||||
|
||||
.userGroupsMirCellPerms {
|
||||
font-size: 13px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
body.auth-readonly-user-groups #userGroupCreateBtn { display: none !important; }
|
||||
|
||||
body.auth-readonly-user-groups .userGroupsMirRow .userGroupEditBtn,
|
||||
body.auth-readonly-user-groups .userGroupsMirRow .userGroupDeleteBtn { pointer-events: none; opacity: 0.55; }
|
||||
|
||||
.mapsMirTable--ioModules thead th.ioModulesMirThIcon { width: 52px; }
|
||||
.mapsMirTable--ioModules thead th:nth-child(2) { width: 20%; }
|
||||
.mapsMirTable--ioModules thead th:nth-child(3) { width: 14%; }
|
||||
.mapsMirTable--ioModules thead th:nth-child(4) { width: 18%; }
|
||||
.mapsMirTable--ioModules thead th:nth-child(5) { width: 14%; }
|
||||
|
||||
.ioModulesMirIcon {
|
||||
color: var(--mir-green, #5cb85c);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ioModulesMirCellIcon {
|
||||
width: 52px;
|
||||
text-align: center;
|
||||
padding-left: 12px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
|
||||
.ioModulesMirNameLink { font-weight: 600; }
|
||||
|
||||
.ioModulesMirStatus {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.ioModulesMirStatus--on {
|
||||
color: #2d6a2d;
|
||||
background: #e8f5e8;
|
||||
}
|
||||
|
||||
.ioModulesMirStatus--off {
|
||||
color: #666;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
body.auth-readonly-io-modules #ioModuleCreateBtn { display: none !important; }
|
||||
|
||||
body.auth-readonly-io-modules .ioModulesMirRow .ioModuleEditBtn,
|
||||
body.auth-readonly-io-modules .ioModulesMirRow .ioModuleDeleteBtn { pointer-events: none; opacity: 0.55; }
|
||||
|
||||
.dashboardIoConnectBtn { width: 100%; }
|
||||
|
||||
.dashboardIoWidgetMeta {
|
||||
margin: 8px 0 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.dashboardIoStatusCard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.dashboardIoStatusName {
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.dashboardIoStatusLine {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.dashboardIoStatusBadge {
|
||||
display: inline-block;
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 3px 10px;
|
||||
border-radius: 10px;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.dashboardIoStatusBadge.is-on {
|
||||
color: #2d6a2d;
|
||||
background: #e8f5e8;
|
||||
}
|
||||
|
||||
.dashboardIoStatusBadge.is-off {
|
||||
color: #666;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
|
||||
.dashboardIoConfigHead {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.dashboardIoConfigPorts {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.dashboardIoConfigRow {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto;
|
||||
gap: 0.35rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.dashboardIoConfigPortLabel {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.dashboardIoConfigToggle {
|
||||
padding: 0.25rem 0.55rem;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border, #d1d5db);
|
||||
background: #fff;
|
||||
font-size: 0.8rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dashboardIoConfigToggle.is-primary {
|
||||
border-color: #16a34a;
|
||||
color: #15803d;
|
||||
}
|
||||
|
||||
.dashboardIoConfigToggle.is-active {
|
||||
background: #16a34a;
|
||||
color: #fff;
|
||||
border-color: #16a34a;
|
||||
}
|
||||
|
||||
.missionIfBlock {
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
|
||||
.mapsMirDialog--wide {
|
||||
width: min(520px, calc(100vw - 32px));
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.userGroupsPermSection {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.userGroupsPermTitle {
|
||||
margin: 0 0 4px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.userGroupsPermTable {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.userGroupsPermTable th,
|
||||
.userGroupsPermTable td {
|
||||
padding: 8px 10px;
|
||||
border-top: 1px solid #eee;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.userGroupsPermTable thead th {
|
||||
font-weight: 700;
|
||||
color: #444;
|
||||
background: #fafafa;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.userGroupsPermTable th[scope="row"] {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
.userGroupsPermSelect {
|
||||
width: 100%;
|
||||
min-width: 120px;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.transMirIcon {
|
||||
color: var(--mir-green, #5cb85c);
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user