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:
authordanikachhour <35312692+danikachhour@users.noreply.github.com>2018-01-18 23:38:44 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2018-01-18 23:38:44 +0300
commit61e772fddc70dfb295c59c84c8a76c1fbdfaf3f6 (patch)
tree78c8263f2e7a6edd3a79836b335e64aca144400e /plugins
parent69352ce8862db4eba0ba165c13228f5a42169db0 (diff)
Improved Print Versions (#12447)
* added print, hiding related reports in print version * removed hover from showing in print version. * Improved print version of report to remove next, view visitor profile. Added padding to the top and bottom of own visitor column * Improved print version by removing search, add new page from print. Centered the page counter. * Imroved print version by creating columns in visitor log instead of white space * Removed box shadow from print version when hovered over * Removed totals * Update GetPageTitlesFollowingSiteSearch.php * Update TotalEvents.php * Update Events.php
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/stylesheets/dataTable/_dataTable.less6
-rw-r--r--plugins/CoreHome/stylesheets/dataTable/_rowActions.less3
-rw-r--r--plugins/CoreHome/stylesheets/layout.less1
-rw-r--r--plugins/Events/Columns/TotalEvents.php2
-rw-r--r--plugins/Live/stylesheets/live.less22
-rw-r--r--plugins/Morpheus/stylesheets/ui/_cards.less8
-rw-r--r--plugins/MultiSites/angularjs/dashboard/dashboard.directive.less18
7 files changed, 56 insertions, 4 deletions
diff --git a/plugins/CoreHome/stylesheets/dataTable/_dataTable.less b/plugins/CoreHome/stylesheets/dataTable/_dataTable.less
index 11e4582c2b..0659b508c6 100644
--- a/plugins/CoreHome/stylesheets/dataTable/_dataTable.less
+++ b/plugins/CoreHome/stylesheets/dataTable/_dataTable.less
@@ -281,6 +281,9 @@ table.dataTable img {
&:hover {
text-decoration: underline;
}
+ @media print{
+ display: none;
+ }
}
.datatableRelatedReports {
@@ -288,6 +291,9 @@ table.dataTable img {
font-size: 12px;
padding-bottom: 5px;
margin-top: 6px;
+ @media print{
+ display: none;
+ }
}
.datatableRelatedReports span {
diff --git a/plugins/CoreHome/stylesheets/dataTable/_rowActions.less b/plugins/CoreHome/stylesheets/dataTable/_rowActions.less
index 9bd0475d21..d6c445883e 100644
--- a/plugins/CoreHome/stylesheets/dataTable/_rowActions.less
+++ b/plugins/CoreHome/stylesheets/dataTable/_rowActions.less
@@ -21,6 +21,9 @@ table.dataTable .dataTableRowActions a {
color: @theme-color-text;
}
}
+ @media print{
+ display: none;
+ }
}
table.dataTable .dataTableRowActions a.leftmost {
diff --git a/plugins/CoreHome/stylesheets/layout.less b/plugins/CoreHome/stylesheets/layout.less
index 9d9c05d6c7..e21c560963 100644
--- a/plugins/CoreHome/stylesheets/layout.less
+++ b/plugins/CoreHome/stylesheets/layout.less
@@ -414,4 +414,3 @@ nav {
margin-bottom: -20px !important;
}
}
-
diff --git a/plugins/Events/Columns/TotalEvents.php b/plugins/Events/Columns/TotalEvents.php
index f96392c194..6a8aeffb95 100644
--- a/plugins/Events/Columns/TotalEvents.php
+++ b/plugins/Events/Columns/TotalEvents.php
@@ -61,4 +61,4 @@ class TotalEvents extends VisitDimension
{
return ($action && $action->getActionType() == Action::TYPE_EVENT);
}
-} \ No newline at end of file
+}
diff --git a/plugins/Live/stylesheets/live.less b/plugins/Live/stylesheets/live.less
index f2dfcc2302..a9b1e07088 100644
--- a/plugins/Live/stylesheets/live.less
+++ b/plugins/Live/stylesheets/live.less
@@ -275,6 +275,10 @@ a.visitor-log-visitor-profile-link {
margin-top: -2px;
margin-bottom: -3px;
}
+
+ @media print {
+ display: none;
+ }
}
.visitorLog {
@@ -370,4 +374,20 @@ a.visitor-log-visitor-profile-link {
.own-visitor-column {
margin: 10px 0;
}
-} \ No newline at end of file
+}
+
+@media print{
+ .col.s12.m3{
+ width: 20%;
+ }
+
+ .row .col.s12.own-visitor-column{
+ width: 15%;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ }
+
+ .col.s12.m7.column {
+ width:65%;
+ }
+}
diff --git a/plugins/Morpheus/stylesheets/ui/_cards.less b/plugins/Morpheus/stylesheets/ui/_cards.less
index 4589d53999..01d3fc6bdf 100644
--- a/plugins/Morpheus/stylesheets/ui/_cards.less
+++ b/plugins/Morpheus/stylesheets/ui/_cards.less
@@ -7,6 +7,12 @@ h1, h2, h3, h4 {
}
}
+.card.hoverable:hover{
+ @media print{
+ box-shadow:0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
+ }
+}
+
.card {
h1, h2, h3, h4 {
color: @theme-color-text;
@@ -43,4 +49,4 @@ h1, h2, h3, h4 {
.card-table + .tableActionBar {
margin: 0 0 0 -20px;
-} \ No newline at end of file
+}
diff --git a/plugins/MultiSites/angularjs/dashboard/dashboard.directive.less b/plugins/MultiSites/angularjs/dashboard/dashboard.directive.less
index 5d24df1b1d..dccbb713ac 100644
--- a/plugins/MultiSites/angularjs/dashboard/dashboard.directive.less
+++ b/plugins/MultiSites/angularjs/dashboard/dashboard.directive.less
@@ -43,10 +43,28 @@
padding-bottom: 5px;
}
+ @media print{
+ .add_new_site{
+ display: none;
+ }
+
+ .row .col.s6{
+ width: 100%;
+ }
+
+ .row .col.s3{
+ display: none;
+ }
+
+ }
+
.site_search {
padding: 0;
text-align: center;
border: 0 !important;
+ @media print{
+ display: none;
+ }
}
.multisites-evolution,