diff --git a/src/index.html b/src/index.html index c6a928f336ca52e3cd40c0b0c09b0a43d2538490..0b2980f25015f6975ddc7baff22711ac0b7d7230 100644 --- a/src/index.html +++ b/src/index.html @@ -88,7 +88,7 @@ <button onclick="setNetwork('netexp1')">Add nodes</button> -<div style="max-width: 80vw; width: 1276px; height: 600px"> +<div style="max-width: 80vw; width: 1276px; height: 600px; text-align: center"> <drugst-one id="netexp1" pluginId="2" diff --git a/src/stylesheets/bulma.scss b/src/stylesheets/bulma.scss index 1047cdd46d8e4531cb309f05e09c2bc64279a50f..fccdbad9fd5428a1d1e31537ecf6e8f5a7fc4483 100644 --- a/src/stylesheets/bulma.scss +++ b/src/stylesheets/bulma.scss @@ -10,7 +10,7 @@ height: var(--drgstn-height, 500px); margin: 0; - font-family: Roboto, "Helvetica Neue", sans-serif; + font-family: var(--drgstn-font-family); p { margin-bottom: .4rem !important; diff --git a/src/stylesheets/default-theme.css b/src/stylesheets/default-theme.css index cf1c9163acb9a460e7f30de2cccc46747baf96e4..fc88a9a6582d4ee8447891daa632c840b6d72bdf 100644 --- a/src/stylesheets/default-theme.css +++ b/src/stylesheets/default-theme.css @@ -13,4 +13,5 @@ --drgstn-tooltip: rgba(74, 74, 74, 0.9); --drgstn-panel-secondary: #FFFFFF; --drgstn-height: 600px; + --drgstn-font-family: Helvetica Neue, Helvetica, Ubuntu, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Cantarell, Fira Sans, Droid Sans, Arial, sans-serif } diff --git a/src/stylesheets/primeng.scss b/src/stylesheets/primeng.scss index 5af1000fe9feb4d3a1ff7f6783cf9348c4ac4c5a..ec4782dc61b7d700e0577bdecf0efbaa344ce34a 100644 --- a/src/stylesheets/primeng.scss +++ b/src/stylesheets/primeng.scss @@ -73,7 +73,7 @@ border-radius: 4px !important; padding: .5rem 1rem .5rem 1rem !important; color: var(--drgstn-text-secondary) !important; - font-family: Roboto, Helvetica Neue, sans-serif !important; + font-family: var(--drgstn-font-family) !important; font-size: .75rem !important; } diff --git a/src/stylesheets/styles.scss b/src/stylesheets/styles.scss index e87b019eb20bd6a5f06cf100ec7ca8b5d3870b23..1c9b569fd7dc188344e8e4c3decc6166316ea920 100644 --- a/src/stylesheets/styles.scss +++ b/src/stylesheets/styles.scss @@ -6,6 +6,8 @@ @import "variables"; #appWindow { + font-family: var(--drgstn-font-family) !important; + all: initial; position: relative; @import "~@ng-select/ng-select/themes/default.theme"; diff --git a/src/stylesheets/toast.scss b/src/stylesheets/toast.scss index 5b40b1a87a9aebcd6e34c82f6ac24dcaa93b6fcc..88d4267aaf54b9ff343d3afd409ead18215dc134 100644 --- a/src/stylesheets/toast.scss +++ b/src/stylesheets/toast.scss @@ -3,7 +3,6 @@ border-radius: 4px; position: relative; padding: 1.25rem 2.5rem 1.25rem 1.5rem; - font-family: BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif; font-weight: 400; font-size: 1em; line-height: 1.5;