diff --git a/packages/client/hmi-client/src/assets/css/theme/_fonts.scss b/packages/client/hmi-client/src/assets/css/theme/_fonts.scss index 0acc6a427a..de8cb68d42 100644 --- a/packages/client/hmi-client/src/assets/css/theme/_fonts.scss +++ b/packages/client/hmi-client/src/assets/css/theme/_fonts.scss @@ -13,18 +13,17 @@ h2 { } h4 { - font-size: 20px; - letter-spacing: 0.15px; + font-size: $fontBodyLarge; } h5 { - font-size: 16px; + font-size: $fontBodyMedium; } h6 { - font-size: 14px; + font-size: $fontBodySmall; } h7 { - font-size: var(--font-caption); -} \ No newline at end of file + font-size: $fontCaption; +} diff --git a/packages/client/hmi-client/src/assets/css/theme/_variables.scss b/packages/client/hmi-client/src/assets/css/theme/_variables.scss index e01036906f..e60ab2cb1d 100644 --- a/packages/client/hmi-client/src/assets/css/theme/_variables.scss +++ b/packages/client/hmi-client/src/assets/css/theme/_variables.scss @@ -35,13 +35,13 @@ $fontBodySmall: 14px; $fontBodyMedium: 16px; $fontBodyLarge: 18px; $fontFamily: Figtree, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif !default; -$fontSize: $fontBodyMedium; +$fontSize: $fontBodySmall; $fontWeight: 400 !default; $fontWeightSemiBold: 600; //global $textColor: rgb(16, 24, 40); -$textSecondaryColor: $emphasis-medium !default; +$textSecondaryColor: $emphasis-medium !default; $borderRadius: 4px !default; $mediumBorderRadius: 6px !default; $bigBorderRadius: 8px !default; @@ -58,6 +58,7 @@ $disabledOpacity: .38 !default; $maskBg: rgba(0, 0, 0, 0.32) !default; $loadingIconFontSize: 2rem !default; $errorColor: #B00020 !default; +$padding: .5rem !default; //selected state $highlightBg: #E9FFFC; @@ -86,7 +87,7 @@ $actionIconHoverColor: $textSecondaryColor !default; $actionIconBorderRadius: 50% !default; //input field (e.g. inputtext, spinner, inputmask) -$inputPadding: 1rem 1rem !default; +$inputPadding: $padding $padding !default; $inputTextFontSize: $fontSize; $inputBg: #ffffff !default; $inputTextColor: $emphasis-high !default; @@ -693,7 +694,7 @@ $overlayMenuBg: $menuBg !default; $overlayMenuBorder: 0 none !default; $overlayMenuShadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12) !default; $verticalMenuPadding: .5rem 0 !default; -$menuSeparatorMargin: .5rem 0 !default; +$menuSeparatorMargin: .5rem 0 !default; $breadcrumbPadding: 1rem !default; $breadcrumbBg: #ffffff !default; @@ -956,4 +957,4 @@ $petri-inputBox: var(--surface-0); --node-header-hover: var(--text-color-subdued); --z-index-modal: 1000; --keyboard-zindex: calc(var(--z-index-modal) + 100); -} \ No newline at end of file +} diff --git a/packages/client/hmi-client/src/assets/css/theme/designer/components/panel/_accordion.scss b/packages/client/hmi-client/src/assets/css/theme/designer/components/panel/_accordion.scss index fb13b18df6..3e40c65b59 100644 --- a/packages/client/hmi-client/src/assets/css/theme/designer/components/panel/_accordion.scss +++ b/packages/client/hmi-client/src/assets/css/theme/designer/components/panel/_accordion.scss @@ -13,7 +13,6 @@ .p-accordion-toggle-icon { margin-right: $inlineSpacing; - color: var(--text-color-subdued); } &:focus { @@ -77,7 +76,7 @@ border-bottom-left-radius: $borderRadius; } - + .p-accordion-tab { margin-bottom: $accordionSpacing; @@ -132,4 +131,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/client/hmi-client/src/assets/css/theme/extensions/_accordion.scss b/packages/client/hmi-client/src/assets/css/theme/extensions/_accordion.scss index d5f828eda5..0377c72aae 100644 --- a/packages/client/hmi-client/src/assets/css/theme/extensions/_accordion.scss +++ b/packages/client/hmi-client/src/assets/css/theme/extensions/_accordion.scss @@ -16,11 +16,7 @@ border-bottom-right-radius: $borderRadius; } - - .p-accordion-toggle-icon { - order: 1; - margin-left: auto; transition: transform $transitionDuration; } @@ -54,4 +50,4 @@ color: var(--text-color-subdued); content: ' (' attr(data-count)')'; } -} \ No newline at end of file +} diff --git a/packages/client/hmi-client/src/components/model/petrinet/model-diagrams/tera-model-diagram.vue b/packages/client/hmi-client/src/components/model/petrinet/model-diagrams/tera-model-diagram.vue index 5fa65c8518..f7884ed03e 100644 --- a/packages/client/hmi-client/src/components/model/petrinet/model-diagrams/tera-model-diagram.vue +++ b/packages/client/hmi-client/src/components/model/petrinet/model-diagrams/tera-model-diagram.vue @@ -469,11 +469,6 @@ section math-editor { justify-content: center; } -.edit-button { - margin-left: 5px; - margin-right: 5px; -} - /* Let svg dynamically resize when the sidebar opens/closes or page resizes */ :deep(.graph-element svg) { width: 100%; @@ -492,6 +487,14 @@ section math-editor { background-color: var(--surface-secondary); height: 100%; } + +:deep(.graph-element .p-button) { + &, + &:hover { + background-color: var(--surface-secondary); + } +} + .legend { position: absolute; bottom: 0; diff --git a/packages/client/hmi-client/src/components/navbar/tera-navbar.vue b/packages/client/hmi-client/src/components/navbar/tera-navbar.vue index aa1edba408..521b80dd14 100644 --- a/packages/client/hmi-client/src/components/navbar/tera-navbar.vue +++ b/packages/client/hmi-client/src/components/navbar/tera-navbar.vue @@ -19,14 +19,6 @@
-