aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2020-04-26 16:58:12 -0600
committerAdam Hovorka <[email protected]>2020-04-26 16:58:12 -0600
commitea2dc3f10d975977691bf920b72e180635a5912f (patch)
tree0a899d30fc600f9c51a41cfe479aed2f526f27fb /style.css
parentfc875923d8cba63a9240f05244db5444fa4c3b55 (diff)
Add "read-only" mode
Diffstat (limited to 'style.css')
-rw-r--r--style.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/style.css b/style.css
index bba39b5..fe59f89 100644
--- a/style.css
+++ b/style.css
@@ -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;