Skip to content
Snippets Groups Projects
Commit 6e1e1ec7 authored by AndiMajore's avatar AndiMajore
Browse files

added font-family variable drgstn-font-family; disable inherit for drugstone plugin

parent 33e665e0
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<button onclick="setNetwork('netexp1')">Add nodes</button> <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" <drugst-one id="netexp1"
pluginId="2" pluginId="2"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
height: var(--drgstn-height, 500px); height: var(--drgstn-height, 500px);
margin: 0; margin: 0;
font-family: Roboto, "Helvetica Neue", sans-serif; font-family: var(--drgstn-font-family);
p { p {
margin-bottom: .4rem !important; margin-bottom: .4rem !important;
......
...@@ -13,4 +13,5 @@ ...@@ -13,4 +13,5 @@
--drgstn-tooltip: rgba(74, 74, 74, 0.9); --drgstn-tooltip: rgba(74, 74, 74, 0.9);
--drgstn-panel-secondary: #FFFFFF; --drgstn-panel-secondary: #FFFFFF;
--drgstn-height: 600px; --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
} }
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
border-radius: 4px !important; border-radius: 4px !important;
padding: .5rem 1rem .5rem 1rem !important; padding: .5rem 1rem .5rem 1rem !important;
color: var(--drgstn-text-secondary) !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; font-size: .75rem !important;
} }
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
@import "variables"; @import "variables";
#appWindow { #appWindow {
font-family: var(--drgstn-font-family) !important;
all: initial;
position: relative; position: relative;
@import "~@ng-select/ng-select/themes/default.theme"; @import "~@ng-select/ng-select/themes/default.theme";
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
border-radius: 4px; border-radius: 4px;
position: relative; position: relative;
padding: 1.25rem 2.5rem 1.25rem 1.5rem; 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-weight: 400;
font-size: 1em; font-size: 1em;
line-height: 1.5; line-height: 1.5;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment