update Piwik to version 2.16 (fixes #91)

This commit is contained in:
oliver 2016-04-10 18:55:57 +02:00
commit d885a4baa9
5833 changed files with 418860 additions and 226988 deletions

View file

@ -1,8 +1,8 @@
.piwik-donate-call {
padding: 1em;
padding: 13px;
border: 1px solid #CCC;
border-radius: 4px;
max-width: 432px;
max-width: 458px;
position: relative;
}
@ -50,11 +50,9 @@
.piwik-donate-slider .slider-donate-amount {
display: inline-block;
padding: .3em .5em .3em .5em;
margin: 16px 8px 0 0;
vertical-align: top;
width: 48px;
text-align: center;
background-color: #CCC;
color: #333;
@ -73,10 +71,11 @@
}
.piwik-donate-call .donate-submit input {
margin-left: 13px;
border-style: none;
margin-left: 13px !important;
border-style: none !important;
box-shadow: none !important;
background-image: none;
padding: 0;
padding: 0 !important;
}
.piwik-donate-call .donate-submit a {
@ -112,7 +111,7 @@
.donate-form-instructions {
font-size: .8em;
margin: 0 1.25em 0 1.25em;
color: #666;
color: @theme-color-text-lighter;
font-style: italic;
}

View file

@ -1,3 +1,15 @@
@-moz-document url-prefix() {
// see bug in Firefox 30+
// https://github.com/piwik/piwik/issues/5242
// https://bugzilla.mozilla.org/show_bug.cgi?id=1012640
.tagCloud + .dataTableFeatures {
clear: left;
}
.tagCloud .word {
float: left;
}
}
.tagCloud {
padding: 10px;

View file

@ -1,56 +1,35 @@
h1 {
font-size: 18px;
font-weight: bold;
color: #7e7363;
padding: 3px 0 7px 0;
clear: both;
}
.home {
h2 {
font-size: 18px;
padding: 16px 0 16px 0;
border: none;
margin: 0;
}
h2 {
font-size: 18px;
font-weight: normal;
color: #7e7363;
padding: 12px 0 7px 0;
clear: both;
}
h2 a {
text-decoration: none;
color: #7e7363;
}
h3 {
font-size: 1.3em;
margin-top: 2em;
color: #1D3256;
}
.home p {
padding-bottom: 1em;
margin-right: 1em;
margin-left: 1em;
}
.nav_sep {
height: 39px;
border-radius: 0 4px 0 0;
border: 1px solid #DDD;
}
.pageWrap {
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
min-height: 10px;
overflow: visible;
padding: 15px 15px 0;
position: relative;
font-size: 13px;
h3 {
font-size: 1.3em;
margin-top: 2em;
}
p {
padding-bottom: 1em;
margin-right: 1em;
margin-left: 1em;
}
}
/* Content */
#content.home {
padding-top: 5px;
font-size: 14px;
display: inline-block;
width: 100%;
> h2:first-child {
padding-top: 7px;
}
}
#content.admin {
display: inline-block;
}
/* 2 columns reports */
@ -71,6 +50,18 @@ h3 {
width: auto;
}
.accessibility-skip-to-content {
font-size: 14px;
position: absolute;
left: -10000px;
top: 21px;
}
.accessibility-skip-to-content:focus {
display: block;
position: absolute;
left: 140px;
}
/* Calendar*/
div.ui-datepicker {
font-size: 62.5%;
@ -111,12 +102,13 @@ div.ui-datepicker {
#inputCalendarFrom, #inputCalendarTo {
margin-left: 10px;
width: 95px;
padding: 5px 10px;
font-size: 12px;
line-height: 12px;
}
#calendarRangeApply {
display: none;
#calendarApply {
margin-top: 10px;
margin-left: 10px;
}
#invalidDateRange {
@ -128,7 +120,6 @@ div .sparkline {
clear: both;
padding-bottom: 1px;
margin-top: 10px;
border-bottom: 1px solid white;
}
.sparkline img {
@ -148,18 +139,19 @@ div.pk-emptyGraph {
* Popover
* @see popover.js
*/
#Piwik_Popover {
font-family: Arial, Helvetica, sans-serif;
min-height: 0 !important;
}
#Piwik_Popover .alert {
margin: 20px;
}
.Piwik_Popover_Loading_Name {
padding: 50px 0 65px 0;
font-size: 16px;
line-height: 20px;
font-weight: normal;
text-align: center;
background: url(plugins/Zeitgeist/images/loading-blue.gif) no-repeat center 20px;
background: url(plugins/Morpheus/images/loading-blue.gif) no-repeat center 20px;
}
.Piwik_Popover_Loading_NameWithSubject {
@ -179,28 +171,24 @@ div.pk-emptyGraph {
}
.Piwik_Popover_Error_Title {
color: #E87500;
font-weight: bold;
font-size: 16px;
}
.Piwik_Popover_Error_Title span {
color: #222;
font-weight: normal;
font-size: 16px;
}
.Piwik_Popover_Error_Message {
color: #7e7363;
padding: 20px 0 0 0;
font-size: 14px;
font-size: 13px;
}
a.Piwik_Popover_Error_Back {
display: block;
margin: 20px 0 0 0;
color: #1D3256;
font-size: 14px;
font-size: 13px;
text-decoration: underline;
}
#alert.ui-confirm input {
@ -208,10 +196,6 @@ a.Piwik_Popover_Error_Back {
margin: 10px auto 5px !important;
}
.header_short #updateCheckLinkContainer .icon {
display: none;
}
.header_full #updateCheckLinkContainer {
margin-top: -2px;
}
@ -222,39 +206,23 @@ a.Piwik_Popover_Error_Back {
}
}
#updateCheckLinkContainer {
opacity: 0.7;
}
#updateCheckLinkContainer:hover {
opacity: 1;
}
#updateCheckLinkContainer {
float: right;
cursor: pointer;
}
#updateCheckLinkContainer>* {
vertical-align: middle;
}
#header_message #checkForUpdates {
font-size: 10px;
line-height: 16px;
display: inline-block;
vertical-align: middle;
text-transform: uppercase;
}
#header_message #checkForUpdates {
text-decoration: none;
}
#header_message #checkForUpdates:hover {
text-decoration: underline;
#userMenu .items {
margin-left: -117px;
width: 160px;
}
/* Used to link within content text, without adding visual clutter */
.linkContent { color:#333; text-decoration:none}
.linkContent:hover { text-decoration:underline;}
.linkContent:hover { text-decoration:underline;}
.ui-confirm h2 {
border-bottom: 0 none;
margin:0;
font-size:18px;
}
#pluginSettings {
.settingIntroduction {
font-weight: bold;
}
}

View file

@ -9,16 +9,15 @@
td .ratio {
color: #999999;
font-size: 12px;
display:none;
display: inline-block;
visibility: hidden;
text-align: right;
min-width: 45px;
margin-left: 4px;
margin-right: 4px;
font-weight: normal;
}
td.highlight > .ratio {
display: inline-block;
line-height: 15px;
visibility: visible;
}
}
@ -43,6 +42,10 @@ table.dataTable img {
margin-left: 0.5em;
}
table.subDataTable img.link {
transform: translateY(-50%);
}
table.dataTable tr.subDataTable {
cursor: pointer;
@ -63,7 +66,6 @@ table.dataTable th {
background: @dataTable-header-background;
font-size: 12px;
font-weight: normal;
border-left: 1px solid #d4d0c4;
vertical-align: top;
}
@ -73,56 +75,29 @@ table.dataTable th.sortable {
table.dataTable th.columnSorted {
font-weight: bold;
padding-right: 20px;
background: @dataTable-headerActive-background;
}
table.dataTable td {
padding: 5px 5px 5px 12px;
background: #fff;
border-left: 1px solid #e7e7e7;
padding: 5px 1px 5px 12px;
background: @theme-color-background-base;
}
table.dataTable td,
table.dataTable td a {
margin: 0;
text-decoration: none;
color: #444;
}
table.dataTable tr:hover > td,
table.dataTable tr:hover > td .dataTableRowActions {
background-color: #FFFFF7;
}
table.dataTable tr.subDataTable:hover > td,
table.dataTable tr.subDataTable:hover > td .dataTableRowActions {
background-color: #ffffcb;
}
table.dataTable tr:hover > td.cellSubDataTable
table.dataTable tr:hover > td.cellSubDataTable .dataTableRowActions {
background-color: #fff;
color: @theme-color-text-light;
}
td.clean {
background-color: #fff;
background-color: @theme-color-background-base;
}
table.dataTable td.column {
white-space: nowrap;
}
table.dataTable td.columneven {
background: #efeeec;
}
table.dataTable td.columnodd {
background: #f6f5f3;
}
.dataTable tr.highlight td {
background-color: #ECF9DD;
font-weight: bold;
}
@ -170,12 +145,17 @@ table.dataTable img {
width: 450px;
}
div.dataTable, div.dataTable > .dataTableWrapper {
margin-bottom: 9px; // same height as expand/contract button (so datatable height will encompass the
// expand/contract button)
}
.subDataTable > .dataTableWrapper {
width: 95%;
}
.sortIconContainer {
float: right;
float: left;
position: relative;
}
@ -188,6 +168,7 @@ table.dataTable img {
color: #888;
text-align: left;
margin: 10px;
margin-left: 1px;
}
.dataTablePages {
@ -202,7 +183,7 @@ table.dataTable img {
height: 20px;
display: block;
white-space: nowrap;
background: url(plugins/Zeitgeist/images/search_bg.png) no-repeat center 0;
background: url(plugins/Morpheus/images/search_bg.png) no-repeat center 0;
text-align: center;
}
@ -224,7 +205,7 @@ table.dataTable img {
width: 114px;
height: auto;
overflow: visible;
padding: 2px 6px;
padding: 2px 6px !important;
opacity: 1;
cursor: text;
filter: Alpha(opacity=100);
@ -285,102 +266,147 @@ table.dataTable img {
padding-bottom: 4px;
}
#dashboard {
.dataTableFeatures {
&.expanded {
.dataTableFooterIcons {
display: block;
}
.expandDataTableFooterDrawer {
display: none;
}
}
&.hasEvolution {
.dataTableFooterIcons {
margin-top: 17px;
}
.expandDataTableFooterDrawer {
margin-top: 20px;
}
.dataTableFeatures {
&.expanded {
.dataTableFooterIcons {
display: block;
}
.expandDataTableFooterDrawer {
display: block;
margin-top: 5px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
background-color: #D9D9D9;
height: 7px;
width: 70px;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
line-height: 0px;
img {
margin-bottom: 0px;
line-height: 0px;
}
display: none;
}
}
.dataTableFooterIcons {
&.hasEvolution {
.dataTableFooterIcons {
margin-top: 17px;
}
.expandDataTableFooterDrawer {
margin-top: 20px;
}
}
display: none;
.expandDataTableFooterDrawer {
display: block;
margin-top: 5px;
height: auto;
margin-bottom: -1px;
margin-left: auto;
margin-right: auto;
background-color: @theme-color-widget-background;
border: 1px solid @theme-color-background-tinyContrast;
height: 9px;
width: 70px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
line-height: 0px;
div {
padding-bottom: 2px;
}
.foldDataTableFooterDrawer {
display: block;
padding-bottom: 0px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color: #D9D9D9;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
img {
margin-bottom: 0px;
line-height: 0px;
height: 7px;
width: 70px;
clear: both;
img {
margin-top: 2px;
margin-bottom: 0px;
line-height: 0px;
}
}
}
}
.controls {
padding: 15px 0px;
text-align: left;
color: #333;
.dataTableFeatures {
border-bottom: 1px solid @theme-color-background-tinyContrast;
}
.widget .dataTableFeatures {
border-bottom-style: none !important;
}
.dataTableFooterIcons {
display: none;
margin-top: 5px;
height: auto;
div {
padding-bottom: 2px;
}
.foldDataTableFooterDrawer {
display: block;
padding-bottom: 0px;
margin-bottom: -1px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
background-color: @theme-color-widget-background;
border: 1px solid @theme-color-background-tinyContrast;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
line-height: 0px;
height: 9px;
width: 70px;
clear: both;
img {
margin-top: 2px;
margin-bottom: 0px;
line-height: 0px;
}
}
.controls {
clear: left;
padding: 0px 0px 15px;
text-align: left;
color: #333;
}
}
#dashboard .dataTableFeatures,.widget .dataTableFeatures {
.expandDataTableFooterDrawer {
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
-webkit-border-bottom-left-radius: 0px;
-webkit-border-bottom-right-radius: 0px;
-moz-border-radius-bottomleft: 0px;
-moz-border-radius-bottomright: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
}
.dataTableFooterIcons .foldDataTableFooterDrawer,
.dataTableFeatures .expandDataTableFooterDrawer {
display: none;
cursor: pointer;
}
.widget .foldDataTableFooterDrawer {
margin-bottom: -9px;
}
// customizing footer appearance for row evolution graph
.ui-dialog .dataTableVizEvolution {
.expandDataTableFooterDrawer,.foldDataTableFooterDrawer {
display: none !important;
}
.dataTableFooterIcons {
display: block;
}
.dataTableFeatures {
border-bottom-style: none !important;
margin-top: 0 !important;
}
}
@-moz-document url-prefix() {
#dashboard .dataTableFeatures .expandDataTableFooterDrawer {
@ -394,10 +420,10 @@ table.dataTable img {
}
.dataTableFooterIcons {
height: 20px;
min-height: 26px;
white-space: nowrap;
font-size: 10px;
padding: 6px 5px;
padding: 6px 5px 0px;
border-top: 1px solid #B6B0A6;
}
@ -498,7 +524,7 @@ table.dataTable img {
}
/* Actions table */
.dataTableActions table.dataTable tr td.labelodd {
.dataTableActions table.dataTable tr td.label {
background-image: none;
}
@ -559,7 +585,7 @@ tr.level12 td.label {
}
tr td.label img.plusMinus {
margin-left: -1em;
margin-left: -10px;
margin-right: 3px;
margin-top: -5px;
}
@ -567,8 +593,13 @@ tr td.label img.plusMinus {
.pk-emptyDataTable {
padding-top: 20px;
padding-bottom: 10px;
padding-left: 1px;
}
.widget .pk-emptyDataTable {
padding-left: 0px;
padding-top: 33px;
text-align: center;
font-style: italic;
}
.helpDate {
@ -610,4 +641,4 @@ td.cellSubDataTable .loadingPiwik {
cursor: pointer;
display: inline;
}
}
}

View file

@ -13,11 +13,11 @@
.limitSelection > div {
border: 1px solid #DFDFDF;
border-radius: 4px;
background: url(plugins/Zeitgeist/images/sort_subtable_desc_light.png) no-repeat right 2px;
background: url(plugins/Morpheus/images/sort_subtable_desc_light.png) no-repeat right 2px;
padding: 0 14px 0 4px;
display: block;
width: 24px;
height: 20px;
width: 41px;
height: 26px;
cursor: pointer;
}
@ -29,24 +29,23 @@
.limitSelection.visible > div {
border-radius: 0 0 4px 4px;
background-image: url(plugins/Zeitgeist/images/sort_subtable_asc_light.png)
background-image: url(plugins/Morpheus/images/sort_subtable_asc_light.png)
}
.limitSelection > ul {
margin-top: 1px;
overflow: visible;
background-color: #fff;
background-color: @theme-color-background-base;
}
.limitSelection > ul > li {
cursor: pointer;
width: 28px;
padding: 0 10px 0 4px;
font-size: 1.1em;
font-weight: bold;
height: 20px;
margin-top: -40px;
background-color: #fff;
background-color: @theme-color-background-base;
border-left: 1px solid #DFDFDF;
border-right: 1px solid #DFDFDF;
vertical-align: middle;
@ -65,4 +64,4 @@
.limitSelection span {
padding-top: 3px;
display: inline-block;
}
}

View file

@ -4,7 +4,7 @@ table.dataTable th .columnDocumentation {
width: 165px;
text-align: left;
background: #f7f7f7;
color: #444;
color: @theme-color-text-light;
font-size: 11px;
font-weight: normal;
border: 1px solid #e4e5e4;
@ -17,9 +17,8 @@ table.dataTable th .columnDocumentation {
}
table.dataTable th .columnDocumentationTitle {
background: url(plugins/Zeitgeist/images/help.png) no-repeat;
line-height: 14px;
padding: 2px 0 3px 21px;
padding: 3px 0;
font-weight: bold;
}
@ -38,24 +37,6 @@ table.dataTable th .columnDocumentationTitle {
.reportDocumentation p {
padding: 5px 10px 6px 10px;
margin: 0;
color: #444;
color: @theme-color-text-light;
font-size: 12px;
}
.reportDocumentationIcon {
display: block;
width: 16px;
height: 16px;
margin: 10px 0;
background: url(plugins/Zeitgeist/images/help.png) no-repeat;
}
h2 .reportDocumentationIcon {
position: absolute;
margin: 4px 0 0 0;
display: none;
}
h2 .reportDocumentationIcon.hidden {
background: none;
}

View file

@ -1,10 +1,10 @@
table.dataTable .dataTableRowActions {
position: absolute;
display: none;
overflow: hidden;
margin-top: -5px;
background-color: inherit !important;
z-index: 1000; /* Work around FF bug to make sure it displays over ellipsis */
}

View file

@ -14,7 +14,7 @@ table.subDataTable thead th {
border-bottom: 1px solid #e7e7e7;
}
table.subDataTable td.labeleven, table.subDataTable td.labelodd {
table.subDataTable td.label {
background-image: none;
}
@ -27,7 +27,7 @@ table.subDataTable td, table.subDataTable td a {
color: #615B53;
}
table.subDataTable td.labeleven, table.subDataTable td.columneven {
table.subDataTable td.label, table.subDataTable td.column {
color: #2D2A27;
}

View file

@ -10,7 +10,7 @@ a.tableConfigurationIcon {
display: block;
width: 30px;
height: 22px;
background: url(plugins/Zeitgeist/images/configure.png) no-repeat center 2px;
background: url(plugins/Morpheus/images/configure.png) no-repeat center 2px;
position: absolute;
z-index: 9;
right: 0;
@ -20,7 +20,7 @@ a.tableConfigurationIcon.highlighted {
display: block;
width: 30px;
height: 22px;
background-image: url(plugins/Zeitgeist/images/configure-highlight.png);
background-image: url(plugins/Morpheus/images/configure-highlight.png);
position: absolute;
z-index: 9;
right: 0;
@ -43,7 +43,7 @@ a.tableConfigurationIcon.highlighted {
font-size: 1.1em;
height: 40px;
margin-top: -80px;
background-color: #fff;
background-color: @theme-color-background-base;
border: 1px solid #DFDFDF;
border-width: 0 1px;
vertical-align: middle;
@ -70,7 +70,7 @@ a.tableConfigurationIcon.highlighted {
cursor: pointer;
padding: 5px 10px;
line-height: 15px;
color: #444;
color: @theme-color-text-light;
}
.tableConfiguration div.configItem:hover {
@ -79,4 +79,4 @@ a.tableConfigurationIcon.highlighted {
.tableConfiguration div.configItem span.action {
color: @dataTable-link-color;
}
}

View file

@ -44,7 +44,7 @@
}
.evolution-graph-colors[data-name=single-metric-label] {
color: #666;
color: @theme-color-text-lighter;
}
// bar graph colors
@ -93,7 +93,7 @@
}
.bar-graph-colors[data-name=single-metric-label] {
color: #666;
color: @theme-color-text-lighter;
}
// pie graph colors
@ -146,5 +146,5 @@
}
.pie-graph-colors[data-name=single-metric-label] {
color: #666;
color: @theme-color-text-lighter;
}

View file

@ -59,7 +59,7 @@
}
.ui-corner-all {
border-radius: 4px;
border-radius: 0;
}
.ui-menu .ui-menu-item a.ui-state-focus {

View file

@ -0,0 +1,399 @@
#header {
padding: 0 15px;
background-color: @theme-color-background-base;
height: 50px;
/* Clear fix */
&:after {
display: table;
clear: both;
content: "";
}
.icon-menu-hamburger {
display: none;
}
#logo {
}
#topRightBar {
li {
display: inline-block;
}
.topBarElem {
color: @theme-color-text;
text-decoration: none;
padding: 14px 12px;
display: inline-block;
height: 100%;
transition: background-color 150ms linear;
&:hover, &:focus {
background-color: @theme-color-menu-contrast-background;
}
&.active {
color: @theme-color-brand;
}
.menuDropdown {
color: @theme-color-text;
.title:after {
color: @theme-color-text;
border-top-color: @theme-color-text;
}
}
}
.navbar-right {
height: 48px;
position: absolute;
right: 10px;
font-size: 13px;
}
}
}
.navbar {
a {
text-decoration: none;
&:hover, &:focus {
text-decoration: none;
}
}
}
// start #secondNavBar fadeInLeft animation
@-webkit-keyframes fadeInLeft {
0% {
opacity: 0;
-webkit-transform: translateX(-20px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0);
}
}
@keyframes fadeInLeft {
0% {
opacity: 0;
transform: translateX(-20px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
// end #secondNavBar fadeInLeft animation
#root {
.pageWrap {
padding-left: 18px;
padding-right: 15px;
}
#secondNavBar + .pageWrap {
margin-left: 224px;
}
#root>.top_controls {
margin-left:15px;
margin-right:15px;
}
@media all and (max-width: 749px) {
.pageWrap {
margin-left: 0 !important;
}
#header {
min-height: 50px;
height: auto;
}
#topRightBar {
.navbar-right {
text-align: left;
margin-left: 2px;
display: inline-block;
position: relative;
height: auto;
min-height: 48px;
}
}
#navbar-collapse1 {
margin-left: 45px;
}
#secondNavBar:not(.standalone) {
z-index: 9999;
position: absolute;
border-right: 1px solid @theme-color-background-tinyContrast;
border-top: 1px solid @theme-color-background-tinyContrast;
-webkit-box-shadow: 4px 4px 18px 1px rgba(0,0,0,0.75);
-moz-box-shadow: 4px 4px 18px 1px rgba(0,0,0,0.75);
box-shadow: 4px 4px 18px 1px rgba(0,0,0,0.75);
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
display: none;
&.open {
display: block;
-webkit-animation-name: fadeInLeft;
animation-name: fadeInLeft;
}
#search {
display: none;
}
}
.top_controls {
height: auto;
.isPiwikDemo,
.piwikTopControl {
position: static !important;
margin: 0 0 10px;
float: none;
display: inline-block;
}
.isPiwikDemo {
margin-top: 8px;
}
}
.icon-menu-hamburger {
padding: 10px 10px 10px;
display: inline-block;
float: left;
cursor: pointer;
font-size: 23px;
}
#logo {
display: none;
}
}
#ajaxLoadingDiv {
margin-top: 10px;
}
#secondNavBar {
width: 224px;
float:left;
#search {
padding: 8px 0 13px 8px;
height: 61px;
.quick-access {
z-index: 1000;
position: absolute;
width: 216px;
input {
height: 33px;
font-size: 11px;
padding: 10px 12px 10px 10px;
}
}
}
.navbar {
background-color: @theme-color-menu-contrast-background;
border-bottom: 1px solid @theme-color-menu-contrast-background;
.menu-icon {
padding-right: 13px;
}
> li {
display: inline-block;
width: 100%;
.border-radius(0px);
border: 0;
background: none;
.item {
display: inline-block;
width: 100%;
font-family: Verdana, sans-serif;
.font-default(13px, 21px);
padding: 12px 21px 12px 19px;
color: @theme-color-menu-contrast-text;
decoration: none !important;
word-break: break-word;
&:hover, &:focus {
decoration: none !important;
}
}
> .item {
cursor: default;
font-weight: bold;
&:hover, &:focus {
text-decoration: none;
}
}
> ul {
li {
.item {
.font-default(13px, 16px);
padding: 11px 22px 11px 45px;
decoration: none;
transition: background-color 200ms linear;
&:hover, &:focus {
text-decoration: none;
color: @theme-color-menu-contrast-textActive;
}
}
&.sfActive {
.item {
color: @theme-color-menu-contrast-textSelected;
background-color: @theme-color-background-base;
decoration: none;
}
}
}
}
}
.menuDropdown {
.items {
width: 224px;
box-shadow: 0 1px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
.search {
margin: 15px 16px 10px 17px;
}
.item {
padding: 10px 16px 10px !important;
min-height: 25px;
height: auto;
}
}
.title {
color: @theme-color-menu-contrast-text;
display: block;
padding: 15px 22px 11px 45px;
font-size: 13px;
font-weight: normal;
&:hover, &:focus {
color: @theme-color-menu-contrast-textActive;
}
&:after {
color: @theme-color-menu-contrast-text;
border-top: 5px solid @theme-color-menu-contrast-text;
top: 20px;
right: 3px;
}
}
}
}
&.Menu--dashboard .navbar > li {
> ul {
display: none;
@media all and (max-width: 749px) {
display: block;
}
}
> .item {
cursor: pointer;
&:hover, &:focus {
color: @theme-color-menu-contrast-textActive;
}
}
&.sfActive {
ul {
display: block;
}
.icon-arrow-right:before {
content: "\e63b";
}
}
}
&.Menu--admin .navbar > li {
> .item {
padding: 14px 21px 6px 19px;
}
.item .icon-arrow-right:before {
content: "\e63b";
}
}
}
}
#root {
.top_controls {
visibility: hidden;
opacity: 0;
.piwikTopControl {
margin-top: 8px;
margin-bottom: 8px;
}
}
}
#root, #standalone {
.top_controls {
min-height: 51px;
position: relative;
background-color: @theme-color-background-base;
height: auto;
margin-bottom: 10px;
.piwikTopControl {
display: inline-block;
float: none;
position: absolute;
margin-right: 18px;
vertical-align: top;
font-size: 11px;
}
}
}
#root, #standalone, .ui-dialog, .ngdialog {
.borderedControl {
background-color: @theme-color-background-base;
border: 1px solid @theme-color-background-tinyContrast;
transition: box-shadow 150ms linear;
&.expanded,
&:hover, &:focus {
box-shadow: 0 1px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
}
}
.widgetize {
width: auto;
}

View file

@ -1,131 +0,0 @@
.Menu--dashboard {
position: relative;
}
.Menu--dashboard > .Menu-tabList {
line-height: 1;
display: table; // The nav has the height og his children
margin-bottom: -1px; // Allow tabs to merge with the submenu
}
.Menu--dashboard > .Menu-tabList ul {
background: #fff; /*IE6 needs this*/
float: left;
position: relative;
}
/* LEVEL1 NORMAL */
.Menu--dashboard > .Menu-tabList > li {
background: #f1f1f1;
float: left;
list-style: none;
z-index: 49;
margin-right: -1px;
border: 1px solid #ddd;
border-bottom: 0;
border-radius: 4px 4px 0 0;
}
.Menu--dashboard > .Menu-tabList a {
color: #444;
font-size: 18px;
display: block;
float: left;
padding: 8px 27px 0;
height: 25px;
text-decoration: none;
font-weight: normal;
}
/* LEVEL1 HOVER */
.Menu--dashboard > .Menu-tabList > li:hover,
.Menu--dashboard > .Menu-tabList > li.sfHover {
background: #fff;
}
.Menu--dashboard > .Menu-tabList > li:hover > a,
.Menu--dashboard > .Menu-tabList > li.sfHover > a,
.Menu--dashboard > .Menu-tabList > li.sfActive > a,
.Menu--dashboard > .Menu-tabList a:hover {
color: #e87500;
}
.Menu--dashboard > .Menu-tabList > li:hover > a {
text-decoration: underline;
}
.Menu--dashboard > .Menu-tabList > li.sfHover > a {
border-bottom: 1px solid #fff;
}
/* LEVEL2 NORMAL */
.Menu--dashboard > .Menu-tabList > li > ul {
padding: 9px 0 5px 0;
left: 0;
top: -999em;
position: absolute;
min-height: 25px;
width: 100%;
background: none;
}
.Menu--dashboard > .Menu-tabList > li li {
float: left;
background: none;
border: 0;
text-align: center;
}
.Menu--dashboard > .Menu-tabList > li li > a {
padding: 5px 15px;
font-size: 14px;
border: 0;
float: none;
display: inline-block;
height: auto;
background: none;
color: #444;
text-decoration: none;
}
/* LEVEL2 HOVER */
.Menu--dashboard > .Menu-tabList > li.sfHover > ul,
.Menu--dashboard > .Menu-tabList > li:hover > ul {
z-index: 1;
top: 100%;
opacity: 1;
-webkit-transition: opacity 300ms ease-out 10ms; /* property duration timing-function delay */
-moz-transition: opacity 300ms ease-out 10ms;
-o-transition: opacity 300ms ease-out 10ms;
transition: opacity 300ms ease-out 10ms;
}
.Menu--dashboard > .Menu-tabList > li li:hover > a,
.Menu--dashboard > .Menu-tabList > li li.sfHover > a {
color: #e87500;
}
.Menu--dashboard > .Menu-tabList > li li.sfHover > a {
font-weight: bold;
text-decoration: none !important;
}
@media all and (max-width: 949px) {
.nav {
clear: right;
}
}
@media all and (max-width: 749px) {
.Menu--dashboard > .Menu-tabList a {
padding-left: 8px;
padding-right: 8px;
}
}
@media all and (max-width: 549px) {
.Menu--dashboard > ul.Menu-tabList > li.sfHover > a,
.Menu--dashboard > ul.Menu-tabList > li.sfActive.sfHover > a {
border-bottom: 0;
}
}

View file

@ -1,93 +1,5 @@
#content.admin #notificationContainer {
width: 750px;
display: table-header-group; /* no overlap with About Piwik box */
.notification {
margin: 10px;
margin: 0 0 10px 0;
}
}
.system.notification {
color: #9b7a44;
float: none;
padding: 15px 35px 15px 15px;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
background-color: #ffffe0;
border: 1px solid #e6db55;
border-radius: 3px;
font-size: 14px;
margin: 0px;
margin-bottom: 16px;
a {
color: #9b7a44;
text-decoration: underline;
}
.close {
position: relative;
top: -5px;
right: -28px;
line-height: 20px;
}
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
.close {
float: right;
font-size: 20px;
font-weight: bold;
line-height: 20px;
color: #000000;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
filter: alpha(opacity=20);
}
&.notification-success {
background-color: #dff0d8;
border-color: #c3d6b7;
color: #468847;
a {
color: #468847
}
}
&.notification-danger,
&.notification-error {
background-color: #f2dede;
border-color: #d5bfc4;
color: #b94a48;
a {
color: #b94a48
}
}
&.notification-info {
background-color: #d9edf7;
border-color: #a7d3e3;
color: #3a87ad;
a {
color: #3a87ad
}
}
&.notification-block {
padding-top: 14px;
padding-bottom: 14px;
}
&.notification-block > p,
&.notification-block > ul {
margin-bottom: 0;
}
&.notification-block p + p {
margin-top: 5px;
}
}
}

View file

@ -1,5 +1,5 @@
#piwik-promo-thumbnail {
background: #fff url(plugins/CoreHome/images/promo_splash.png) no-repeat 0 0;
background: @theme-color-background-base url(plugins/CoreHome/images/promo_splash.png) no-repeat 0 0;
background-position: center;
width: 321px;
margin: 0 auto 0 auto;
@ -63,10 +63,10 @@
font-size: .8em;
font-style: italic;
margin: 1em 0 0 1.25em;
color: #666;
color: @theme-color-text-lighter;
display: inline-block;
}
#piwik-promo-videos-link:hover {
text-decoration: none;
}
}

View file

@ -1,13 +1,3 @@
// sparkline styles
div.sparkline {
border-bottom: 1px solid white;
}
div.sparkline:hover {
cursor: pointer;
border-bottom: 1px dashed #c3c3c3;
}
// sparkline colors
.sparkline-colors[data-name=backgroundColor] {
color: white;

View file

@ -0,0 +1,106 @@
#content:not(.admin), .widget, .ui-widget {
.UserCountryMap .dataTableFooterIcons {
display: block;
}
/* DATATABLES */
table.dataTable {
th.sortable {
border-left: 0px;
border-bottom: 0px;
}
th.columnSorted {
font-weight: normal !important;
}
tr.subDataTable {
font-weight: normal !important;
}
tr.subDataTable td.label .plusMinus + .label .value {
font-weight: bold !important;
}
tr td {
padding-top: 7px;
padding-bottom: 7px;
}
}
.dataTableActions.dataTableVizHtmlTable > .dataTableWrapper {
width: 100%;
}
.dataTableActions table.dataTable {
td.column
th.sortable:not(.first) {
width: 50px;
}
}
.dataTableVizHtmlTable > .dataTableWrapper {
width: 500px;
}
.dataTableFooterNavigation {
padding: 7px 0;
}
.dataTableFooterIcons {
border-top: 0px;
}
.goalEntry:first-of-type {
padding-top: 20px;
}
.goalEntry {
border-bottom: 0px;
}
.relatedReferrerReports {
display: none;
}
div[data-report="Goals.getItemsSku"] > .dataTableWrapper,
div[data-report="Goals.getItemsName"] > .dataTableWrapper,
div[data-report="Goals.getItemsCategory"] > .dataTableWrapper,
div[data-report="Referrers.getReferrerType"] > .dataTableWrapper,
div[data-report="Referrers.getAll"] > .dataTableWrapper {
width: 800px;
}
.reportsByDimensionView .entityList {
margin-left: 13px;
}
}
#content:not(.admin), .widget {
h2:nth-of-type(n+2) {
margin-top: 40px;
}
h2 {
padding-left: 0;
font-size: 21px;
padding: 16px 0 12px 0;
}
}
#root #dashboard .widget {
h2 {
padding-left: 10px;
}
}
.widget {
h2:nth-of-type(n+2) {
padding-top: 40px!important;
margin-top: 0!important;
}
}
.dataTableFeatures .expandDataTableFooterDrawer {
margin-bottom: -9px;
}