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:
authorThomas Steur <thomas.steur@gmail.com>2015-09-09 17:53:39 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-10-07 14:42:28 +0300
commit10d482f1d3deb4c717fbb87f523428196634a326 (patch)
treefe4ba19fe7a69afed399812fdeed70e123e79579 /plugins/Dashboard/stylesheets
parent8d2e4b1d1ae867b8a1fedcc0d937ef2ad00431b0 (diff)
Left menu design
Diffstat (limited to 'plugins/Dashboard/stylesheets')
-rw-r--r--plugins/Dashboard/stylesheets/dashboard.less47
-rw-r--r--plugins/Dashboard/stylesheets/standalone.css9
-rw-r--r--plugins/Dashboard/stylesheets/widget.less2
3 files changed, 12 insertions, 46 deletions
diff --git a/plugins/Dashboard/stylesheets/dashboard.less b/plugins/Dashboard/stylesheets/dashboard.less
index fad10183e7..cd928a97da 100644
--- a/plugins/Dashboard/stylesheets/dashboard.less
+++ b/plugins/Dashboard/stylesheets/dashboard.less
@@ -1,40 +1,17 @@
#dashboard {
- margin: 0 -7px;
+ margin: 0 -6px;
}
-#root>.top_controls {
- margin-left:15px;
- margin-right:15px;
-}
-.top_controls {
- position: relative;
- height: 32px;
- clear: left;
-}
-
-@media all and (max-width: 749px) {
- .top_controls {
- height: auto;
- }
-
- .top_controls #periodString,
- .top_controls .dashboardSettings,
- .top_controls .segmentEditorPanel {
- position: static !important;
- margin: 0 0 10px;
- float: none;
- }
-}
#dashboard {
.col {
min-height: 100px;
// Customize Bootstrap gutter between columns
- padding-right: 7px;
- padding-left: 7px;
+ padding-right: 6px;
+ padding-left: 6px;
>.sortable {
- padding: 5px 0 10px 0;
+ padding: 5px 0 8px 0;
}
}
}
@@ -152,10 +129,8 @@
z-index: 120;
background: #f7f7f7;
border: 1px solid #e4e5e4;
- padding: 5px 10px 6px 10px;
border-radius: 4px;
color: @theme-color-text-light;
- font-size: 14px;
cursor: pointer;
overflow: hidden;
}
@@ -165,9 +140,9 @@
border-color: #a9a399;
}
-.dashboardSettings.visible {
+.dashboardSettings.expanded {
z-index: 1020; /* More than .jqplot-seriespicker-popover (1010) */
- min-width: 700px;
+ min-width: 800px;
}
.dashboardSettings > span {
@@ -182,10 +157,9 @@
float: left;
}
-.dashboardSettings.visible ul.submenu {
+.dashboardSettings.expanded ul.submenu {
display: block;
list-style: square outside none;
- margin-left: 15px;
}
.dashboardSettings > ul.submenu > li {
@@ -328,7 +302,6 @@ div.widgetpreview-preview {
min-height: 0;
height: auto;
margin-right: 10px;
- min-width: 180px;
}
.dashboardSettings .submenu {
@@ -372,8 +345,8 @@ div.widgetpreview-preview {
display: none;
}
-.dashboardSettings.visible .widgetpreview-widgetlist,
-.dashboardSettings.visible .widgetpreview-preview {
+.dashboardSettings.expanded .widgetpreview-widgetlist,
+.dashboardSettings.expanded .widgetpreview-preview {
display: block;
}
@@ -416,7 +389,7 @@ div.widgetpreview-preview {
}
#dashboardWidgetsArea {
- margin-top: 5px;
+ margin-top: -5px;
}
@media all and (max-width: 749px) {
diff --git a/plugins/Dashboard/stylesheets/standalone.css b/plugins/Dashboard/stylesheets/standalone.css
index 5a2b0d90d9..292d3e63c0 100644
--- a/plugins/Dashboard/stylesheets/standalone.css
+++ b/plugins/Dashboard/stylesheets/standalone.css
@@ -45,17 +45,10 @@ body {
}
#Dashboard > ul > li:hover,
-#Dashboard > ul > li:hover a,
-#Dashboard > ul > li.sfHover,
-#Dashboard > ul > li.sfHover a {
+#Dashboard > ul > li:hover a {
color: #e87500;
}
-#Dashboard > ul > li.sfHover,
-#Dashboard > ul > li.sfHover a {
- font-weight: bold;
-}
-
.top_controls > #Dashboard,
.top_controls > #periodString,
.top_controls > .dashboardSettings {
diff --git a/plugins/Dashboard/stylesheets/widget.less b/plugins/Dashboard/stylesheets/widget.less
index a06564f033..558da41ab9 100644
--- a/plugins/Dashboard/stylesheets/widget.less
+++ b/plugins/Dashboard/stylesheets/widget.less
@@ -16,7 +16,7 @@
font-weight: normal;
font-size: 15px;
margin: 0;
- color: #0D0D0D;
+ color: @theme-color-text;
text-shadow: none;
padding: 15px 15px 10px 12px;
}