Repos / pytaku / bda5dc9848
commit bda5dc984804b0375145bf3763cd728bf70df52d
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Thu Aug 6 00:21:54 2020 +0700

    gray button

diff --git a/src/pytaku/static/base.css b/src/pytaku/static/base.css
index 6b9f446..2599471 100644
--- a/src/pytaku/static/base.css
+++ b/src/pytaku/static/base.css
@@ -6,6 +6,8 @@ :root {
   --btn-green-bottom: #338a0d;
   --btn-blue: #009ee8;
   --btn-blue-bottom: #26789f;
+  --btn-gray: #444;
+  --btn-gray-bottom: #555;
   --bg-black: #231f20;
   --border-radius: 3px;
   --body-padding: 0.5rem;
@@ -85,6 +87,10 @@ .button.blue {
   background-color: var(--btn-blue);
   border-bottom: 4px solid var(--btn-blue-bottom);
 }
+.button.gray {
+  background-color: var(--btn-gray);
+  border-bottom: 4px solid var(--btn-gray-bottom);
+}
 .button.disabled,
 .button.disabled:hover,
 .button.disabled:active {
diff --git a/src/pytaku/templates/base.html b/src/pytaku/templates/base.html
index a917622..d3363f9 100644
--- a/src/pytaku/templates/base.html
+++ b/src/pytaku/templates/base.html
@@ -50,7 +50,7 @@
         {% if session.get('user') %}
         <span>Hi there <strong>{{ session.user['username'] }}</strong>!</span>
         <form method="POST" action="{{ url_for('logout_view') }}">
-          {{ ibutton(left_icon='log-out', text='Logout') }}
+          {{ ibutton(left_icon='log-out', text='Logout', color='gray') }}
         </form>
         {% else %}
         <a href="/auth">