From e58b8ff97d41ee7200ae3a1ad8551661c4c335ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Thuret?= Date: Sun, 24 Oct 2021 12:53:52 +0200 Subject: [PATCH] Add switch type (text or files ) button --- app/static/css/main.css | 19 +++++++++++++++++++ app/templates/index.html | 5 ++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/app/static/css/main.css b/app/static/css/main.css index 728093b..78b7601 100644 --- a/app/static/css/main.css +++ b/app/static/css/main.css @@ -23,6 +23,10 @@ h3.header { margin-top: 0 !important; } +.mb-1 { + margin-bottom: 1rem; +} + .position-relative { position: relative; } @@ -114,6 +118,21 @@ h3.header { display: flex; } +.btn-switch-type { + background-color: #fff; + color: #42A5F5; +} + +.btn-switch-type:hover { + background-color: #eee; + color: #42A5F5; +} + +.btn-switch-type.active { + background-color: #42A5F5; + color: #fff; +} + .btn-action { display: flex; align-items: center; diff --git a/app/templates/index.html b/app/templates/index.html index e2a6f8c..d3f1577 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -105,7 +105,10 @@