diff options
author | Adam Hovorka <[email protected]> | 2020-04-26 16:58:12 -0600 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2020-04-26 16:58:12 -0600 |
commit | ea2dc3f10d975977691bf920b72e180635a5912f (patch) | |
tree | 0a899d30fc600f9c51a41cfe479aed2f526f27fb /style.css | |
parent | fc875923d8cba63a9240f05244db5444fa4c3b55 (diff) |
Add "read-only" mode
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -96,6 +96,12 @@ div.material-icons { color: var(--text); } +html.read-only #open { display: none; } +html.read-only #save { display: none; } +html.read-only .edit-btn { display: none; } +html.read-only #disable-edit { display: none; } +html:not(.read-only) #enable-edit { display: none; } + h1 { margin-bottom: 12px; font-size: 42px; |