ui: improve waiting for keys layout in editor
This commit is contained in:
@@ -232,9 +232,18 @@
|
|||||||
property="'right'"
|
property="'right'"
|
||||||
)
|
)
|
||||||
.section(ng-show='self.note.errorDecrypting')
|
.section(ng-show='self.note.errorDecrypting')
|
||||||
p.medium-padding(style='padding-top: 0 !important;')
|
.sn-component#error-decrypting-container
|
||||||
| There was an error decrypting this item. Ensure you are running the
|
.sk-panel#error-decrypting-panel
|
||||||
| latest version of this app, then sign out and sign back in to try again.
|
.sk-panel-header
|
||||||
|
.sk-panel-header-title {{self.note.waitingForKey ? 'Waiting for Key' : 'Unable to Decrypt'}}
|
||||||
|
.sk-panel-content
|
||||||
|
.sk-panel-section
|
||||||
|
p.sk-p(ng-if='self.note.waitingForKey')
|
||||||
|
| This note is awaiting its encryption key to be ready. Please wait for syncing to complete
|
||||||
|
| for this note to be decrypted.
|
||||||
|
p.sk-p(ng-if='!self.note.waitingForKey')
|
||||||
|
| There was an error decrypting this item. Ensure you are running the
|
||||||
|
| latest version of this app, then sign out and sign back in to try again.
|
||||||
#editor-pane-component-stack(ng-show='self.note')
|
#editor-pane-component-stack(ng-show='self.note')
|
||||||
#component-stack-menu-bar.sk-app-bar.no-edges(ng-if='self.state.stackComponents.length')
|
#component-stack-menu-bar.sk-app-bar.no-edges(ng-if='self.state.stackComponents.length')
|
||||||
.left
|
.left
|
||||||
|
|||||||
@@ -15,6 +15,18 @@ $heading-height: 75px;
|
|||||||
color: var(--sn-stylekit-editor-foreground-color);
|
color: var(--sn-stylekit-editor-foreground-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#error-decrypting-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100%;
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#error-decrypting-panel {
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
#editor-title-bar {
|
#editor-title-bar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@@ -41,7 +53,7 @@ $heading-height: 75px;
|
|||||||
|
|
||||||
> .input {
|
> .input {
|
||||||
float: left;
|
float: left;
|
||||||
text-overflow:ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -53,7 +65,6 @@ $heading-height: 75px;
|
|||||||
color: var(--sn-stylekit-editor-foreground-color);
|
color: var(--sn-stylekit-editor-foreground-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#save-status {
|
#save-status {
|
||||||
@@ -69,7 +80,8 @@ $heading-height: 75px;
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
.desc, .message:not(.warning):not(.danger) {
|
.desc,
|
||||||
|
.message:not(.warning):not(.danger) {
|
||||||
// color: var(--sn-stylekit-editor-foreground-color);
|
// color: var(--sn-stylekit-editor-foreground-color);
|
||||||
opacity: 0.35;
|
opacity: 0.35;
|
||||||
}
|
}
|
||||||
@@ -97,7 +109,6 @@ $heading-height: 75px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.tags-input {
|
.tags-input {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: var(--sn-stylekit-foreground-color);
|
color: var(--sn-stylekit-foreground-color);
|
||||||
@@ -107,7 +118,8 @@ $heading-height: 75px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-content, #editor-content {
|
.editor-content,
|
||||||
|
#editor-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
z-index: $z-index-editor-content;
|
z-index: $z-index-editor-content;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
|||||||
Reference in New Issue
Block a user