From ccdf64ab8b1c751f758ec3f0b08cd88308143384 Mon Sep 17 00:00:00 2001 From: none Date: Fri, 2 Feb 2024 18:33:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=BE=D0=BB=D0=B5=D0=B5=20=D0=B3=D0=BB?= =?UTF-8?q?=D0=B0=D0=B4=D0=BA=D0=B8=D0=B9=20=D1=88=D1=80=D0=B8=D1=84=D1=82?= =?UTF-8?q?=20=D0=B8=20+-=20=D0=B0=D0=B4=D0=B0=D0=BF=D1=82=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D1=82=D0=B5=D0=BB=D0=B5?= =?UTF-8?q?=D1=84=D0=BE=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/style.css | 11 +++++++++++ site.py | 12 ++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/assets/style.css b/assets/style.css index d5b7bd9..59a5bbe 100644 --- a/assets/style.css +++ b/assets/style.css @@ -17,6 +17,7 @@ body { .Select-control { background-color: rgb(25, 25, 25) !important; color: #fff; + font-family: 'Mulish', sans-serif; } .Select-menu-outer { background-color: rgb(27, 29, 30); @@ -27,6 +28,14 @@ body { color: white; } +.Select-value { + font-family: 'Mulish', sans-serif; +} +.Select-placeholder { + font-family: 'Mulish', sans-serif; +} + + /* Верхняя панель */ .panel { background-color: #161819; @@ -65,6 +74,7 @@ body { padding-right: 4%; align-items: center; height: 60%; + max-height: 35px; } /* Текст социалок */ .soc_text { @@ -72,4 +82,5 @@ body { text-decoration: auto; padding-left: 8%; font-size: 1rem; + font-family: 'Mulish', sans-serif; } diff --git a/site.py b/site.py index 7250135..53c78cd 100644 --- a/site.py +++ b/site.py @@ -96,20 +96,20 @@ html.Div([ html.Div([ dcc.Dropdown(list_form(els), id='reaction', placeholder="Реакция", maxHeight=500, style={'font-size': '120%', 'font-family': 'NotaSans'}) - ], style={'flex': 4}), + ], style={'flex': 4, 'min-width': '200px'}), # Объём html.Div([ dcc.Dropdown(list_form([30, 50, 100, 300, 1000]), 100, id='amount', clearable=False, searchable=False - , style={'font-family': '"Source Sans Pro", sans-serif', 'font-size': '120%'}) #, 'background-color': 'rgb(27, 29, 30)'}) - ], style={'flex': 1, 'padding-left': 25}) + , style={'font-family': '"Mulish", sans-serif', 'font-size': '120%'}) + ], style={'flex': 1, 'padding-left': 25, 'min-width': '100px'}) ], style={'display': 'flex', 'flexDirection': 'row'}), # Вывод html.Div(id='output', style={'text-align': 'center', 'padding-left': '15%', 'padding-right': '15%'}) -], style={'padding': '5%', 'margin-left': '30%', 'margin-right': '30%'}) +], style={'padding': '5%', 'margin-left': '25vw', 'margin-right': '25vw'}) ]) # vh - высота окна, vw - ширина окна @@ -158,5 +158,5 @@ def update_output(reaction, amount): if __name__ == '__main__': -# app.run(debug=True) - app.run(debug=False) + app.run(debug=True) +# app.run(debug=False)