mirror of
https://github.com/bfloydd/streams.git
synced 2026-07-22 05:49:02 +00:00
icon update
This commit is contained in:
parent
b20e9d1514
commit
0cefaa6c68
2 changed files with 19 additions and 12 deletions
|
|
@ -218,7 +218,10 @@ export class CreateFileViewEncrypted extends ItemView {
|
|||
|
||||
// Private indicator
|
||||
const privateIndicator = contentBox.createDiv('streams-create-file-encrypted-private-indicator');
|
||||
privateIndicator.setText('Private');
|
||||
const privateIcon = privateIndicator.createSpan('streams-create-file-encrypted-private-icon');
|
||||
setIcon(privateIcon, this.stream.icon || 'book');
|
||||
const privateText = privateIndicator.createSpan('streams-create-file-encrypted-private-text');
|
||||
privateText.setText('Private');
|
||||
|
||||
// Date display
|
||||
const dateEl = contentBox.createDiv('streams-create-file-encrypted-date');
|
||||
|
|
|
|||
26
styles.css
26
styles.css
|
|
@ -1707,23 +1707,27 @@
|
|||
}
|
||||
|
||||
.streams-create-file-encrypted-private-indicator {
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 12px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 12px;
|
||||
gap: 8px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.streams-create-file-encrypted-private-indicator::before {
|
||||
content: "🔒";
|
||||
font-size: 16px;
|
||||
.streams-create-file-encrypted-private-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.streams-create-file-encrypted-private-icon svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.streams-create-file-encrypted-private-text {
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue