mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-09-19 09:02:41 +01:00
913dd3dcbf
- Lift the login error state into HostedExplorer so failures from the connect form and from a postMessage login share one source of truth - Show the message returned by the service instead of falling back to a generic unreachable message - Move isAuthorizationError into AuthorizationUtils alongside the other shared auth helpers - Widen getErrorMessage to accept unknown so catch variables no longer need a cast - Show the connect screen error tooltip beside the icon and widen it so long service messages fit - Consolidate the repeated account lookup and login steps in the SQL connection string spec
110 lines
2.7 KiB
Plaintext
110 lines
2.7 KiB
Plaintext
.connectExplorerContainer {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.connectExplorerContainer .connectExplorerFormContainer {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.connectExplorerContainer .connectExplorer {
|
|
text-align: center;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: -ms-flex;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
height: 100%;
|
|
margin-bottom: 60px;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .welcomeText {
|
|
font-size: 14px;
|
|
color: #393939;
|
|
margin: 8px 8px 16px 8px;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .switchConnectTypeText {
|
|
margin: 8px;
|
|
font-size: 12px;
|
|
color: #0058ad;
|
|
cursor: pointer;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectStringText {
|
|
font-size: 12px;
|
|
color: #393939;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent {
|
|
margin: 8px;
|
|
color: #393939;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .inputToken {
|
|
width: 300px;
|
|
padding: 0px 4px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .inputToken::placeholder {
|
|
font-style: italic;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .errorDetailsInfoTooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding-left: 4px;
|
|
vertical-align: top;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .errorDetailsInfoTooltip:hover .errorDetails {
|
|
visibility: visible;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .errorDetailsInfoTooltip .errorDetails {
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
left: 100%;
|
|
margin-left: 10px;
|
|
width: 320px;
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
visibility: hidden;
|
|
background-color: #393939;
|
|
color: #ffffff;
|
|
position: absolute;
|
|
z-index: 1;
|
|
padding: 6px;
|
|
text-align: left;
|
|
white-space: normal;
|
|
overflow-wrap: break-word;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .errorDetailsInfoTooltip:hover:after {
|
|
border-width: 8px 8px 8px 0px;
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
left: 100%;
|
|
margin-left: 2px;
|
|
border-style: solid;
|
|
width: 0;
|
|
height: 0;
|
|
border-color: transparent #393939;
|
|
}
|
|
.connectExplorerContainer .connectExplorer .connectExplorerContent .errorDetailsInfoTooltip .errorImg {
|
|
height: 14px;
|
|
width: 14px;
|
|
}
|
|
|
|
.filterbtnstyle {
|
|
background: #0058ad;
|
|
width: 90px;
|
|
height: 25px;
|
|
color: white;
|
|
border: solid 1px;
|
|
}
|