patx/gitman

Expand account and repository settings and make delete button red

Commit 365e2c7 · patx · Nov 4 at 2:43AM

Changeset
365e2c733d3d1c6ede3ac2217db3d348007bcec1
Parents
ceb1360d5afd47831b2aa61b1800000de92ea157

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/static/styles.css b/static/styles.css
index 23a9fe6..cc7b12b 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -136,9 +136,9 @@ button:active, .button:active {
   color: var(--page-bg);
 }
 .button.small { min-height: 44px; padding: 8px 14px; }
-.button.danger { background: var(--ink); color: var(--page-bg); }
-.button.danger:hover { background: var(--press); }
-.button.danger:active { background: var(--chip); color: var(--ink); }
+.button.danger { background: #b91c1c; color: #ffffff; }
+.button.danger:hover { background: #991b1b; }
+.button.danger:active { background: #7f1d1d; color: #ffffff; }
 
 form button[type="submit"] { justify-self: start; }
 
@@ -530,7 +530,7 @@ th { color: var(--ink); font-weight: 700; }
 .alert { margin-bottom: 1rem; color: var(--ink); font-weight: 700; }
 .notice { margin-bottom: 1rem; color: var(--text); }
 
-.settings-page { max-width: 42rem; }
+.settings-page { width: 100%; }
 .settings-cards { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
 .settings-card > :last-child { margin-bottom: 0; }
 .settings-card > form { margin-block: 1.25rem; }
diff --git a/templates/base.tpl b/templates/base.tpl
index d475bcd..807da50 100644
--- a/templates/base.tpl
+++ b/templates/base.tpl
@@ -20,7 +20,7 @@
   % if not get('landing', False) and theme != 'light':
     <link rel="stylesheet" href="/static/vendor/highlight.js/github-dark.min.css"{{!' media="(prefers-color-scheme: dark)"' if theme == 'auto' else ''}}>
   % end
-  <link rel="stylesheet" href="/static/styles.css?v=21">
+  <link rel="stylesheet" href="/static/styles.css?v=22">
 </head>
 <body class="{{'landing-page' if get('landing', False) else ''}}">
   % if not get("landing", False):