Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-12-08 03:11:42 +0300
committerGitHub <noreply@github.com>2021-12-08 03:11:42 +0300
commit5f2aaa359c70348da841c883fdcefc396dff69d4 (patch)
tree320fdd8cb5af7d76422cf5a76243b36b54456476 /plugins/Morpheus
parent2da215c65d77fb273c7899fd23e65c67bc50c4f8 (diff)
Improve site without data page (#18462)
* Improve site without data page * updates expected screenshots * use less mixin for matomo font css * fix typo * updates expected test files * Wording tweaks * Updated UI test screenshots Co-authored-by: Justin Velluppillai <justin@innocraft.com>
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/stylesheets/base/mixins.less13
-rw-r--r--plugins/Morpheus/stylesheets/general/_jqueryUI.less7
-rw-r--r--plugins/Morpheus/stylesheets/main.less9
3 files changed, 16 insertions, 13 deletions
diff --git a/plugins/Morpheus/stylesheets/base/mixins.less b/plugins/Morpheus/stylesheets/base/mixins.less
index 5028d33592..ddb5502633 100644
--- a/plugins/Morpheus/stylesheets/base/mixins.less
+++ b/plugins/Morpheus/stylesheets/base/mixins.less
@@ -20,6 +20,19 @@ strong {
line-height: @line;
}
+.matomo-icon() {
+ /* copied from icons.css */
+ font-family: 'matomo' !important;
+ speak: none;
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
.border-radius (@radius: 6px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
diff --git a/plugins/Morpheus/stylesheets/general/_jqueryUI.less b/plugins/Morpheus/stylesheets/general/_jqueryUI.less
index 744605f6bf..ac3db8f80b 100644
--- a/plugins/Morpheus/stylesheets/general/_jqueryUI.less
+++ b/plugins/Morpheus/stylesheets/general/_jqueryUI.less
@@ -294,12 +294,9 @@ body .ui-tooltip.small {
}
.ui-dialog-titlebar .ui-icon-closethick {
- font-family: 'matomo';
+ .matomo-icon();
+ line-height: inherit;
font-weight: bold;
-
- /* Better Font Rendering =========== */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
font-size: 8px;
background-image: none !important;
text-indent: 0 !important;
diff --git a/plugins/Morpheus/stylesheets/main.less b/plugins/Morpheus/stylesheets/main.less
index 647c27c28f..af452f5fb4 100644
--- a/plugins/Morpheus/stylesheets/main.less
+++ b/plugins/Morpheus/stylesheets/main.less
@@ -499,14 +499,7 @@ div.dataTableVizHtmlTable,
div.dataTableVizAllColumns,
div.dataTableVizGoals {
tr.subDataTable > td > span.label::before {
- font-family: 'matomo' !important;
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
+ .matomo-icon();
.font-default(16px, 18px);
color: #aaa;
margin-right: 8px;