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:
authorJouveer <35312684+Jouveer@users.noreply.github.com>2018-01-19 01:36:53 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2018-01-19 01:36:53 +0300
commita14b54f14e82e2c5fecc8247071b5e367836ccf3 (patch)
tree40b15ed5d501f8a208a649d3fb290f1c05b56d43 /plugins
parent9d1e1d73344b89b2222c965274b3cdc92af8d192 (diff)
Aligned all icons to left of menus (#12463)
* Aligned all icons to left of menus * Minor tweaks for mobile view and horizontal alignment
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/angularjs/selector/selector.directive.less6
-rw-r--r--plugins/CoreHome/angularjs/siteselector/siteselector.directive.less9
-rw-r--r--plugins/CoreHome/templates/_headerMessage.twig2
3 files changed, 7 insertions, 10 deletions
diff --git a/plugins/CoreHome/angularjs/selector/selector.directive.less b/plugins/CoreHome/angularjs/selector/selector.directive.less
index 14382fd394..779d4c3b33 100644
--- a/plugins/CoreHome/angularjs/selector/selector.directive.less
+++ b/plugins/CoreHome/angularjs/selector/selector.directive.less
@@ -7,7 +7,7 @@
.font-default(11px, 12px);
display: inline-block;
width: 100%;
- padding: 11px 19px 10px;
+ padding: 10px 15px 11px 13px;
white-space: nowrap;
cursor: pointer;
text-transform: uppercase;
@@ -23,7 +23,7 @@
}
.icon {
- padding-left: 6px;
+ padding-right: 6px;
display: inline-block;
vertical-align: top;
@@ -33,7 +33,7 @@
}
.icon:not(.icon-fixed) {
- float: right;
+ float: left;
&:after {
clear:right;
content: ' ';
diff --git a/plugins/CoreHome/angularjs/siteselector/siteselector.directive.less b/plugins/CoreHome/angularjs/siteselector/siteselector.directive.less
index d9634a30f2..22ff6c205c 100644
--- a/plugins/CoreHome/angularjs/siteselector/siteselector.directive.less
+++ b/plugins/CoreHome/angularjs/siteselector/siteselector.directive.less
@@ -4,9 +4,6 @@
}
.siteSelector {
a.title {
- .icon.collapsed {
- margin-top: -1px;
- }
.icon.collapsed.iconHidden {
visibility: visible;
}
@@ -56,11 +53,11 @@
}
.siteSelector.piwikSelector a.title {
- padding: 11px 30px 10px 19px;
+ padding: 10px 15px 11px 13px;
- .icon:not(.icon-fixed) {
+ /*.icon:not(.icon-fixed) {
margin-right: -11px;
- }
+ }*/
> span {
max-width: 161px;
diff --git a/plugins/CoreHome/templates/_headerMessage.twig b/plugins/CoreHome/templates/_headerMessage.twig
index 23e07b87c0..c6fc807eec 100644
--- a/plugins/CoreHome/templates/_headerMessage.twig
+++ b/plugins/CoreHome/templates/_headerMessage.twig
@@ -5,8 +5,8 @@
{% set updateCheck %}
<span id="updateCheckLinkContainer">
- {{ 'CoreHome_CheckForUpdates'|translate }}
<span class="icon icon-fixed icon-reload"></span>
+ {{ 'CoreHome_CheckForUpdates'|translate }}
</span>
{% endset %}