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,118 +0,0 @@
.Menu--admin {
.Menu-tabList {
.border-radius(0px);
border-color: @gray;
background-image: none;
padding-left: 0;
border-top: 0;
> li {
padding-bottom: 0px;
> span {
color: @brand-black;
.font-default(18px, 26px);
border-top: 1px solid @gray;
border-bottom: 1px solid @gray;
padding: 12px 15px;
}
ul {
li {
a {
color: @silver-40 !important;
padding: 0.6em 1.1em;
&:hover {
color: @brand-black;
text-decoration: none;
}
}
}
}
}
}
}
.admin {
h2 {
border-bottom: 1px solid @gray;
margin-right:0;
}
h3 {
color: @brand-black;
.font-default(18px, 24px);
font-weight: normal;
}
a:hover {
text-decoration:underline;
}
}
.ui-state-highlight {
border-color: @silver-80 !important;
background: @silver-95 !important;
.ui-icon {
background-image: url('plugins/Morpheus/images/info.png');
background-position: 0 0;
}
}
.adminTable {
td {
padding: 0;
}
label {
cursor: pointer;
min-height: 30px;
}
.sites_autocomplete {
position: static !important;
}
}
.sites_autocomplete {
vertical-align: middle;
}
#loadingError {
color: @brand-red;
font-weight: normal;
}
.sites_autocomplete .custom_select .custom_select_block .custom_select_container .custom_select_ul_list {
margin-top: 5px;
padding-bottom: 0;
}
.form-description {
margin-left: 0;
}
.adminTable a {
color: @brand-blue;
}
.addRowSite,
.addrow {
cursor: pointer;
}
.addrow {
margin-top: 10px;
}
.addRowSite {
display: inline-block;
margin: 5px 0;
&:before {
content: url(plugins/Morpheus/images/add.png) !important;
}
}
code {
border-color: @silver-80;
border-left: 5px solid @brand-red;
}
#geoipdb-screen1>div>p {
line-height: 1.4em;
height: 6em;
}

View file

@ -0,0 +1,46 @@
/* base.less is a standalone Less file */
@import "base/colors";
@import "theme";
@import "theme-advanced";
@import "base/mixins";
@import "base/bootstrap.css";
@import "base/icons.css";
/* General styles */
@import "general/_default.less";
@import "general/_utils.less";
@import "general/_form.less";
@import "general/_jqueryUI.less";
@import "general/_misc.less";
/* Component styles */
@import "uibase/_header.less";
@import "uibase/_headerMessage.less";
@import "../../CoreHome/angularjs/siteselector/siteselector.directive.less";
@import "../../CoreHome/angularjs/menudropdown/menudropdown.directive.less";
@import "uibase/_periodSelect.less";
@import "uibase/_languageSelect.less";
@import "uibase/_loading.less";
/* Remote components */
@import "../../CoreHome/stylesheets/_donate.less";
@import "ui/_buttons";
@import "ui/_code";
@import "ui/_tables";
@import "ui/_alerts";
@import "ui/_list-group";
@import "ui/_progress-bars";
@import "ui/_navs";
@import "ui/_cards";
@import "ui/_panels";

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,44 @@
// Gray shapes
// Variable pattern: @color-<color>-<modifier>
@color-black: #000;
@color-gray: #ccc;
@color-gray-light: #f0f0f0;
@color-white: #fff;
@color-silver: #999;
@color-silver-l14: lighten(@color-black, 14%);
@color-silver-l20: lighten(@color-black, 20%);
@color-silver-l30: lighten(@color-black, 30%);
@color-silver-l40: lighten(@color-black, 40%);
@color-silver-l50: lighten(@color-black, 50%);
@color-silver-l60: lighten(@color-black, 60%);
@color-silver-l70: lighten(@color-black, 70%);
@color-silver-l80: lighten(@color-black, 80%);
@color-silver-l85: lighten(@color-black, 85%);
@color-silver-l90: lighten(@color-black, 90%);
@color-silver-l95: lighten(@color-black, 95%);
@color-silver-l98: lighten(@color-black, 98%);
@color-silver-dark: #333;
// Brand colors
// Variable pattern: @color-<color>-<modifier>
@color-black-piwik: #0d0d0d;
@color-blue-piwik: #4183C4;
@color-red-piwik: #d4291f;
@color-green-brandSocial: #009874;
@color-blue-brandSocial: #3b5998;
@color-blue-brandSocialLight: #1c87bd;
@color-blue-brandSocialVeryLight: #00aced;
@color-orange-brand: #ff9600;
@graph-colors-data-series1: #d4291f;
@graph-colors-data-series2: #1f78b4;
@graph-colors-data-series3: #ff7f00;
@graph-colors-data-series4: #33a02c;
@graph-colors-data-series5: #6a3d9a;
@graph-colors-data-series6: #b15928;
@graph-colors-data-series7: #fdbf6f;
@graph-colors-data-series8: #cab2d6;
/*
Qualitative data color series inspired from colorbrewer2.org/
next ones could be: #cab2d6 #ffff99 # #b2df8a
*/

View file

@ -0,0 +1,302 @@
@font-face {
font-family: 'piwik';
src: url('../../fonts/piwik.eot');
}
@font-face {
font-family: 'piwik';
src: url('../../fonts/piwik.ttf');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'piwik';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-alien:before {
content: "\e600";
}
.icon-annotation:before {
content: "\e601";
}
.icon-arrow-left:before {
content: "\e602";
}
.icon-arrow-right:before {
content: "\e603";
}
.icon-business:before {
content: "\e604";
}
.icon-calendar:before {
content: "\e605";
}
.icon-chart-bar:before {
content: "\e606";
}
.icon-chart-line-details:before {
content: "\e607";
}
.icon-chart-line:before {
content: "\e608";
}
.icon-chart-pie:before {
content: "\e609";
}
.icon-close:before {
content: "\e60a";
}
.icon-arrow-collapsed:before {
content: "\e60b";
}
.icon-configure:before {
content: "\e60c";
}
.icon-datepicker-arr-l:before {
content: "\e60d";
}
.icon-datepicker-arr-r:before {
content: "\e60e";
}
.icon-delete:before {
content: "\e60f";
}
.icon-document:before {
content: "\e610";
}
.icon-download:before {
content: "\e611";
}
.icon-drop:before {
content: "\e612";
}
.icon-ecommerce-abandoned-cart:before {
content: "\e613";
}
.icon-ecommerce-order:before {
content: "\e614";
}
.icon-email:before {
content: "\e615";
}
.icon-error:before {
content: "\e616";
}
.icon-export:before {
content: "\e617";
}
.icon-feed:before {
content: "\e618";
}
.icon-finance:before {
content: "\e619";
}
.icon-folder-charts:before {
content: "\e61a";
}
.icon-folder:before {
content: "\e61b";
}
.icon-fullscreen:before {
content: "\e61c";
}
.icon-goal:before {
content: "\e61d";
}
.icon-help-alt:before {
content: "\e61e";
}
.icon-help:before {
content: "\e61f";
}
.icon-code:before {
content: "\e620";
}
.icon-warning:before {
content: "\e621";
}
.icon-edit:before {
content: "\e622";
}
.icon-image:before {
content: "\e623";
}
.icon-info:before {
content: "\e624";
}
.icon-insights:before {
content: "\e625";
}
.icon-locked-2:before {
content: "\e626";
}
.icon-locked-3:before {
content: "\e627";
}
.icon-locked:before {
content: "\e628";
}
.icon-locked-4:before {
content: "\e629";
}
.icon-maximise:before {
content: "\e62a";
}
.icon-minimise:before {
content: "\e62b";
}
.icon-minus:before {
content: "\e62c";
}
.icon-newtab:before {
content: "\e62d";
}
.icon-ok:before {
content: "\e62e";
}
.icon-open-source:before {
content: "\e62f";
}
.icon-plus:before {
content: "\e630";
}
.icon-add:before {
content: "\e630";
}
.icon-puzzle:before {
content: "\e631";
}
.icon-refresh:before {
content: "\e632";
}
.icon-reload:before {
content: "\e633";
}
.icon-search:before {
content: "\e634";
}
.icon-segment:before {
content: "\e635";
}
.icon-users:before {
content: "\e635";
}
.icon-server-alt:before {
content: "\e636";
}
.icon-server:before {
content: "\e637";
}
.icon-hide:before {
content: "\e638";
}
.icon-show:before {
content: "\e639";
}
.icon-arrow-top:before {
content: "\e63a";
}
.icon-arrow-bottom:before {
content: "\e63b";
}
.icon-star:before {
content: "\e63c";
}
.icon-success:before {
content: "\e63d";
}
.icon-table-more:before {
content: "\e63e";
}
.icon-table:before {
content: "\e63f";
}
.icon-tag-cloud:before {
content: "\e640";
}
.icon-user-add:before {
content: "\e641";
}
.icon-user:before {
content: "\e642";
}
.icon-play:before {
content: "\e643";
}
.icon-visitor-profile:before {
content: "\e644";
}
.icon-zoom-in:before {
content: "\e645";
}
.icon-zoom-out:before {
content: "\e646";
}
.icon-sign-out:before {
content: "\e647";
}
.icon-sign-in:before {
content: "\e648";
}
.icon-menu-hamburger:before {
content: "\e649";
}
.icon-more-horiz:before {
content: "\e64a";
}
.icon-more-verti:before {
content: "\e64b";
}
.icon-admin-administration:before {
content: "\e64c";
}
.icon-admin-development:before {
content: "\e64d";
}
.icon-admin-diagnostic:before {
content: "\e64e";
}
.icon-admin-platform:before {
content: "\e64f";
}
.icon-admin-settings:before {
content: "\e650";
}
.icon-reporting-actions:before {
content: "\e651";
}
.icon-reporting-dashboard:before {
content: "\e652";
}
.icon-reporting-ecommerce:before {
content: "\e653";
}
.icon-reporting-goal:before {
content: "\e654";
}
.icon-reporting-referer:before {
content: "\e655";
}
.icon-reporting-visitors:before {
content: "\e656";
}
.icon-user-manage:before {
content: "\e657";
}
.icon-user-personal:before {
content: "\e658";
}
.icon-user-platform:before {
content: "\e659";
}

View file

@ -3,7 +3,7 @@
&:after {
content: "";
display: table;
clear: both;
clear: right;
}
&:before {
content: "";
@ -12,7 +12,7 @@
}
.font-default(@size: 13px, @line: 16px) {
font-family: Verdana, sans-serif;
font-family: @theme-fontFamily-base;
font-size: @size;
line-height: @line;
}
@ -27,24 +27,6 @@
background-clip: padding-box;
}
.box-shadow (@string, @string1) {
-webkit-box-shadow: @string @string1;
-moz-box-shadow: @string @string1;
box-shadow: @string @string1;
}
.box-shadow-1 (@string) {
-webkit-box-shadow: @string;
-moz-box-shadow: @string;
box-shadow: @string;
}
.no-box-shadow () {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
#gradient {
.horizontal(@start-color: #555, @end-color: #333, @start-percent: 0%, @end-percent: 100%) {
@ -53,7 +35,7 @@
background-image: -moz-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // FF 3.6+
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@start-color,@end-color)); // IE9 and down
}
.vertical(@start-color: #555, @end-color: #333, @start-percent: 0%, @end-percent: 100%) {
@ -62,7 +44,7 @@
background-image: -moz-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // FF 3.6+
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@start-color,@end-color)); // IE9 and down
}
}

View file

@ -1,58 +0,0 @@
@white: #fff;
@silver: #999;
@silverDark: #333;
@gray: #ccc;
@lightGray: #f0f0f0;
@hr: #eee;
@articleHeader: #0c0c0c;
@quoteText: #999;
@tabActiveBackground: #f4f4f4;
//new colors define
@black: #000;
@silver-14: lighten(@black, 14%);
@silver-20: lighten(@black, 20%);
@silver-20: lighten(@black, 30%);
@silver-40: lighten(@black, 40%);
@silver-50: lighten(@black, 50%);
@silver-60: lighten(@black, 60%);
@silver-70: lighten(@black, 70%);
@silver-80: lighten(@black, 80%);
@silver-85: lighten(@black, 85%);
@silver-90: lighten(@black, 90%);
@silver-95: lighten(@black, 95%);
@brand-black: #0d0d0d;
@brand-blue: #1e93d1;
@brand-red: #d4291f;
@brand-social-green: #009874;
@brand-social-blue: #3b5998;
@brand-social-blue2: #00aced;
@brand-social-lightblue: #1c87bd;
@brand-orange: #ff9600;
//charts
@theme-color-background-base: #fff;
@theme-color-background-contrast: #5F5A60;
@theme-color-background-smallContrast: #202020;
@theme-color-background-lighter: #888;
@theme-color-base-series: #ee3024;
@graph-colors-data-series1: #d4291f;
@graph-colors-data-series2: #1f78b4;
@graph-colors-data-series3: #ff7f00;
@graph-colors-data-series4: #33a02c;
@graph-colors-data-series5: #6a3d9a;
@graph-colors-data-series6: #b15928;
@graph-colors-data-series7: #fdbf6f;
@graph-colors-data-series8: #cab2d6;
/*
Qualitative data color series inspired from colorbrewer2.org/
next ones could be: #cab2d6 #ffff99 # #b2df8a
*/
.color-red {
color: @defaultRed;
}

View file

@ -1,300 +0,0 @@
input, select, textarea {
color: @brand-black;
.border-radius(0px);
margin-left: 0;
padding: 8px 10px;
min-height: 30px;
.box-sizing(border-box);
background: #fff;
}
button,
.add-trusted-host,
input[type="submit"],
button[type="button"],
.submit {
.border-radius(3px) !important;
background: none !important;
background-color: #d3291f !important;
.box-shadow(~"0 1px 1px rgba(13,13,13,.3), inset 0 -1px 0 rgba(13,13,13,.1)");
#gradient > .vertical(rgba(255,255,255,.15), rgba(255,255,255,0)) !important;
.font-default(12px, 16px) !important;
color: #fff !important;;
font-weight: normal;
padding: 5px 15px !important;
text-align: center;
cursor: pointer;
border: 0px !important;
&:hover {
background: #ff9600 !important;
background-color: #ff9600 !important;
}
em {
font-style: normal;
}
&.ui-dialog-titlebar-close {
&:hover {
background: none !important;
background-color: none !important;
}
}
}
.sites_autocomplete {
input {
min-height: 0;
}
.custom_select {
border-color: @silver-80;
.border-radius(0px);
background: #fff;
.box-shadow(~"inset 1px 1px 3px #d8d8d8");
padding: 9px 5px 7px;
color: @silver-20;
text-transform: uppercase;
.font-default(10px, 12px);
min-height: 30px;
.box-sizing(border-box);
a {
color: @silver-20;
}
.custom_select_block {
.custom_select_container{
.custom_select_ul_list {
margin-top: 20px;
}
}
}
}
}
.ajaxError {
background: @brand-red;
color: #fff;
border:0px;
.border-radius(6px);
padding: 20px 25px;
text-align: center;
font-weight: normal;
}
.sites_autocomplete--dropdown {
.custom_select_main_link:not(.loading):before {
color: @brand-red;
font-size: 0.7em;
top: 2px;
right: 5px;
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @brand-red;
}
}
.limitSelection {
> ul {
position: relative;
top: -6px;
> li {
width: 25px;
}
}
> div {
.border-radius(2px);
background-color: #fff;
.font-default(10px, 12px);
background: none;
padding: 2px 14px 2px 1px;
span {
position: relative;
background: none;
color: @brand-black;
display: block;
padding-right: 3px;
&:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @brand-red;
position: absolute;
top: 7px;
right: -9px;
}
}
}
span {
color: @brand-black;
font-weight: normal;
}
&.visible {
> div {
background-image: none;
> span:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 5px solid #d4291f;
border-top-color: transparent;
position: absolute;
top: 1px;
right: -9px;
}
}
}
}
//checkboxes and radio
.form-radio, .form-checkbox {
display: inline-block;
padding: 0;
margin: 0;
}
.form-radio, .form-checkbox {
height: 15px;
width: 15px;
float: left;
cursor: pointer;
background: url('plugins/Morpheus/images/forms-sprite.png');
margin: 2px 5px 2px 0;
}
.form-radio.disabled {
background-position:15px -16px;
}
.form-checkbox.disabled {
background-position:15px 0px;
}
.form-radio + label, .form-checkbox + label {
float:left;
display:inline-block;
+ .form-description {
margin-left:1em;
}
+ br, + .form-description + br {
clear:both;
}
+ .form-radio, + .form-checkbox {
margin-left:32px;
}
}
fieldset > .form-radio + label { // assumes <br/> after the label
display: inline-block;
margin-bottom: -.5em;
}
label {
&.hover,
&:hover {
border: 0px;
}
}
.form-radio {
background-position: 0 -16px;
&.form-hover {
background-position: -60px -16px;
}
&.checked {
background-position: -30px -16px;
&.form-hover {
background-position: -90px -16px;
}
}
}
.form-checkbox {
background-position: 0 0;
&.form-hover {
background-position: -60px 0;
}
&.checked {
background-position: -30px 0;
&.form-hover {
background-position: -90px 0;
}
}
}
.prettycheckbox a:focus, .prettyradio a:focus {
outline: 0 none;
}
.prettycheckbox label, .prettyradio label {
display: block;
float: left;
margin: 2px;
cursor: pointer;
}
.prettycheckbox a.disabled, .prettycheckbox label.disabled, .prettyradio a.disabled, .prettyradio label.disabled {
cursor: not-allowed;
}
.prettycheckbox a {
background-position: 0 0;
}
.prettycheckbox a:focus {
background-position: -15px 0;
}
.prettycheckbox a.checked {
background-position: -38px 0;
}
.prettycheckbox a.checked:focus {
background-position: -53px 0;
}
.prettycheckbox a.checked.disabled {
background-position: -99px 0;
}
.prettycheckbox a.disabled {
background-position: -76px 0;
}
.prettyradio a {
background-position: -129px 0;
}
.prettyradio a:focus {
background-position: -144px 0;
}
.prettyradio a.checked {
background-position: -167px 0;
}
.prettyradio a.checked:focus {
background-position: -182px 0;
}
.prettyradio a.checked.disabled {
background-position: -228px 0;
}
.prettyradio a.disabled {
background-position: -205px 0;
}
// specific form control overrides (for iCheck)
.indented-radio-button {
margin:0;
}
.listReports > li:after {
content:"";
display:table;
clear:both;
}
.listReports {
.form-radio + label, .form-checkbox + label {
width: 250px;
}
}
.small-form-description { // for tracking code generator
clear:both;
}

View file

@ -0,0 +1,68 @@
.ui-state-highlight {
border-color: @color-silver-l80 !important;
background: @color-silver-l95 !important;
.ui-icon {
background-image: url('plugins/Morpheus/images/info.png');
background-position: 0 0;
}
}
.adminTable {
td {
padding: 2px 0;
}
label {
cursor: pointer;
min-height: 30px;
}
}
.sites_autocomplete {
vertical-align: middle;
}
.adminTable a {
color: @theme-color-link;
}
.admin .adminTable a {
color: @theme-color-text;
text-decoration: underline;
}
.admin .adminTable .ui-inline-help a {
color: @theme-color-link;
text-decoration: none;
}
.addRowSite,
.addrow {
cursor: pointer;
}
.addrow:hover {
text-decoration: underline;
}
.addrow {
margin-top: 16px;
}
.addRowSite {
display: inline-block;
margin: 5px 0;
text-decoration: none !important;
&:before {
content: url(plugins/Morpheus/images/add.png) !important;
}
&:hover {
text-decoration: underline !important;
}
}
#geoipdb-screen1>div>p {
line-height: 1.4em;
height: 6em;
}

View file

@ -0,0 +1,72 @@
/* reset style */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
abbr {
border-bottom: 1px dotted;
}
form {
margin: 0;
}
body {
line-height: 1.33;
background-color: white;
color: #333;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
/* remember to define focus styles! */
:focus {
outline: thin dotted;
}
a:focus {
outline: thin dotted;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* start piwik styles */
body {
font-family: @theme-fontFamily-base;
font-size: 1em;
}
a {
color: #255792;
text-decoration: underline;
cursor: pointer;
}
#root {
margin: 0 10px;
position: relative;
}
/* Make sure the scroll bar is always displayed so the content does not shift when reloading menu with/without scrollbar */
html {
overflow-y: scroll;
}

View file

@ -0,0 +1,135 @@
.submit {
clear: both;
font-size: 18px;
border: 0;
float: right;
margin: 12px 0 10px 0;
cursor: pointer;
}
/* on admin screen, Save button aligned on the left */
.admin .submit {
margin-left: 0px;
margin-top: 20px;
float: none;
}
.admin .entityContainer .submit {
margin: 0;
margin-top: 20px;
}
.entityContainer .link_but {
white-space: nowrap;
display: inline-block;
margin: 0 10px 0 0;
text-decoration: none;
}
.entityContainer .link_but img {
white-space: nowrap;
margin: 0 1px 0 0 !important;
}
.entityAddContainer .entityTable th, #entityEditContainer .entityTable th, #entityEditContainer .entityTable td {
vertical-align: middle !important;
}
.entityAddContainer .entityTable tr td.first {
font-weight: bold;
vertical-align: top !important;
}
.entityAddContainer tr:hover {
background: none !important;
}
/* Add / Edit / List entities */
.entityContainer {
width: 100%;
max-width: 850px;
min-width: 600px;
font-size: 14px;
}
.entityInlineHelp {
color: #9B9B9B;
margin-top: 5px;
}
table.entityTable {
thead {
tr {
th {
background-color: @color-silver-l98 !important;
text-align: left !important;
font-size: 16px;
}
td {
padding: 10px;
}
}
}
tr {
td {
padding:10px;
}
}
}
.entityTable tr td.first, .entityTable tr th.first {
border-left: 0 !important;
vertical-align: top !important;
}
.entityTable tr th {
white-space: nowrap;
padding: 16px 10px !important;
}
.entityTable tr td, .entityTable tr th {
border-bottom: 0 !important;
}
table.entityTable tr td a {
text-decoration: underline;
}
.entityTable tr.highlighted td {
background-color: #ECF9DD;
}
/* cancel button below Forms */
.entityCancel {
padding: 10px 0;
font-size: 12px;
}
/* List with grey arrows on left */
.entityList ul.listCircle {
font-weight: normal;
list-style: none;
padding: 4px 0;
}
.entityList ul li {
background: @theme-color-background-base url(plugins/Morpheus/images/li_dbl_gray.gif) no-repeat 6px 10px;
padding: 0 0 0 21px;
line-height: 22px;
}
.entityList ul li .dimension {
cursor: pointer;
border-bottom: 1px solid #d0d0d0;
}
.entityList ul li.activeDimension .dimension {
font-weight: bold;
border: 0;
}
.entityList ul.listCircle li a {
color: #000;
}

View file

@ -0,0 +1,491 @@
form {
margin-bottom: 30px;
}
label {
cursor: pointer;
}
input:not([type="checkbox"]):not([type="submit"]):not([type="button"]), select, textarea {
border: 1px solid #d4d4d4;
font-size: 14px;
color: @theme-color-text-lighter;
.border-radius(2px);
margin-left: 0;
padding: 10px 12px;
min-height: 20px;
.box-sizing(border-box);
background: @theme-color-background-base;
}
input:not([type="checkbox"]):not([type="submit"]):not([type="button"]), textarea {
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
input[disabled] {
background: #F5F5F5 none !important;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: @theme-color-background-base;
background-image: url("plugins/Morpheus/images/select_arrow.png");
background-repeat: no-repeat;
background-position: right center;
padding-right: 30px;
}
// This class/mixin allows to restore the native style of selects when needed
.native-select {
-webkit-appearance: menulist;
-moz-appearance: menulist;
appearance: menulist;
padding: 4px 4px;
background: none;
}
.form-group {
width: 100%;
margin-bottom: 15px;
.clearfix();
label {
display: block;
margin: 8px 0 6px;
font-size: 14px;
line-height: 20px;
width: 40%;
}
input, select, textarea {
display: block;
width: 40%;
}
.input-group {
width: 40%;
}
.radio, .checkbox {
font-size: 12px;
width: 40%;
text-transform: none;
line-height: 20px;
margin: 7px 0 2px;
input[type="checkbox"], input[type="radio"] {
display: inline;
width: auto;
}
// Quickform adds a label automatically so we have to remove its formatting
// TODO remove when we get rid of Quickform
label {
text-transform: none;
display: inline;
width: auto;
font-size: inherit;
}
.form-description {
display: inline;
}
}
.form-help {
float: right;
width: 58%;
margin-bottom: 0;
}
label .form-description {
display: inline;
&:before {
content: '(';
}
&:after {
content: ')';
}
}
.form-description {
width: 40%;
display: block;
margin-top: 6px;
}
.sites_autocomplete {
position: relative;
}
}
// TODO Form helps are used outside of forms in UserCountry (old table layout)
// Once this plugin uses the new form layout, move those rules back into ".form-group .form-help"
.form-help {
.alert;
.alert-info;
// Smaller padding to match input's heights
padding: 11px 20px 10px;
&:before {
// Remove the icon
content: "";
}
}
.form-description {
color: @theme-color-text-lighter;
font-style: italic;
}
.add-cors-host,
.submit {
.btn;
}
.top_bar_sites_selector {
z-index: 143;
.sites_autocomplete .custom_select {
z-index: 139;
}
}
.sites_autocomplete {
input {
min-height: 0;
}
}
.ajaxError {
background: @theme-color-brand;
color: #fff;
border: 0px;
.border-radius(6px);
padding: 20px 25px;
text-align: center;
font-weight: normal;
}
.limitSelection {
> ul {
position: relative;
top: -6px;
}
> div {
.border-radius(2px);
background-color: @theme-color-background-base;
.font-default(10px, 12px);
background: none;
padding: 2px 14px 2px 1px;
span {
position: relative;
background: none;
color: @theme-color-text;
display: block;
padding-right: 3px;
&:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @theme-color-brand;
position: absolute;
top: 7px;
right: -9px;
}
}
}
span {
color: @theme-color-text;
font-weight: normal;
}
&.visible {
> div {
background-image: none;
> span:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 5px solid @theme-color-brand;
border-top-color: transparent;
position: absolute;
top: 1px;
right: -9px;
}
}
}
}
//checkboxes and radio
.form-radio, .form-checkbox {
display: inline-block;
padding: 0;
margin: 0;
}
.form-radio, .form-checkbox {
height: 15px;
width: 15px;
float: left;
cursor: pointer;
background: url('plugins/Morpheus/images/forms-sprite.png');
margin: 2px 5px 2px 0;
}
.form-radio.disabled {
background-position: 15px -16px;
}
.form-checkbox.disabled {
background-position: 15px 0px;
}
.form-radio + label, .form-checkbox + label {
float: left;
display: inline-block;
+ .form-description {
margin-left: 1em;
}
+ br, + .form-description + br {
clear: both;
}
+ .form-radio, + .form-checkbox {
margin-left: 32px;
}
}
fieldset > .form-radio + label { // assumes <br/> after the label
display: inline-block;
margin-bottom: -.5em;
}
label {
&.hover,
&:hover {
border: 0px;
}
}
.form-radio {
background-position: 0 -16px;
&.form-hover {
background-position: -60px -16px;
}
&.checked {
background-position: -30px -16px;
&.form-hover {
background-position: -90px -16px;
}
}
}
.form-checkbox {
background-position: 0 0;
&.form-hover {
background-position: -60px 0;
}
&.checked {
background-position: -30px 0;
&.form-hover {
background-position: -90px 0;
}
}
}
.prettycheckbox a:focus, .prettyradio a:focus {
outline: 0 none;
}
.prettycheckbox label, .prettyradio label {
display: block;
float: left;
margin: 2px;
cursor: pointer;
}
.prettycheckbox a.disabled, .prettycheckbox label.disabled, .prettyradio a.disabled, .prettyradio label.disabled {
cursor: not-allowed;
}
.prettycheckbox a {
background-position: 0 0;
}
.prettycheckbox a:focus {
background-position: -15px 0;
}
.prettycheckbox a.checked {
background-position: -38px 0;
}
.prettycheckbox a.checked:focus {
background-position: -53px 0;
}
.prettycheckbox a.checked.disabled {
background-position: -99px 0;
}
.prettycheckbox a.disabled {
background-position: -76px 0;
}
.prettyradio a {
background-position: -129px 0;
}
.prettyradio a:focus {
background-position: -144px 0;
}
.prettyradio a.checked {
background-position: -167px 0;
}
.prettyradio a.checked:focus {
background-position: -182px 0;
}
.prettyradio a.checked.disabled {
background-position: -228px 0;
}
.prettyradio a.disabled {
background-position: -205px 0;
}
// specific form control overrides (for iCheck)
.indented-radio-button {
margin: 0;
}
.listReports > li:after {
content: "";
display: table;
clear: both;
}
.listReports {
.form-radio + label, .form-checkbox + label {
width: 250px;
}
}
// Bootstrap input groups
// --------------------------------------------------
.input-group {
position: relative; // For dropdowns
display: table;
border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
// Undo padding and float of grid classes
&[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0;
}
input {
// Ensure that the input is always above the *appended* addon button for
// proper border colors.
position: relative;
z-index: 2;
// IE9 fubars the placeholder attribute in text inputs and the arrows on
// select elements in input groups. To fix it, we float the input. Details:
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
float: left;
width: 100%;
margin-bottom: 0;
}
}
// Display as table-cell
.input-group-addon,
.input-group-btn,
.input-group input {
display: table-cell;
&:not(:first-child):not(:last-child) {
border-radius: 0;
}
}
// Addon and addon wrapper for buttons
.input-group-addon,
.input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: middle; // Match the inputs
}
// Text input groups
.input-group-addon {
padding: 6px 12px;
font-size: 14px;
font-weight: normal;
color: @theme-color-text-lighter;
line-height: 1;
text-align: center;
background-color: @theme-color-background-base;
border: 1px solid #d4d4d4;
border-radius: 2px;
// Nuke default margins from checkboxes and radios to vertically center within.
input[type="radio"],
input[type="checkbox"] {
margin-top: 0;
}
}
// Reset rounded corners
.input-group input:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.input-group-addon:first-child {
border-right: 0;
}
.input-group input:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.input-group-addon:last-child {
border-left: 0;
}
// Button input groups
.input-group-btn {
position: relative;
// Jankily prevent input button groups from wrapping with `white-space` and
// `font-size` in combination with `inline-block` on buttons.
font-size: 0;
white-space: nowrap;
// Negative margin for spacing, position for bringing hovered/focused/actived
// element above the siblings.
> .btn {
position: relative;
+ .btn {
margin-left: -1px;
}
// Bring the "active" button to the front
&:hover,
&:focus,
&:active {
z-index: 2;
}
}
// Negative margin to only have a 1px border between the two
&:first-child {
> .btn,
> .btn-group {
margin-right: -1px;
}
}
&:last-child {
> .btn,
> .btn-group {
z-index: 2;
margin-left: -1px;
}
}
}

View file

@ -0,0 +1,283 @@
/* jQuery Tooltip */
#tooltip h3 {
font-weight: normal;
font-size: .85em;
font-style: italic;
color: #162540;
margin: 0;
padding: 0;
}
#tooltip {
position: absolute;
z-index: 3000;
border: 1px solid #E4E2D7 /*#111*/;
padding: 5px 7px 5px 7px;
background-color: #F5F7FF;
opacity: 0.95;
}
/* jQuery Ajax */
.ajaxError {
color: red;
text-align: center;
font-weight: bold;
width: 550px;
border: 3px solid red;
margin: 10px;
padding: 10px;
border-radius: 9px;
}
.ajaxSuccess {
font-size: 14px;
margin: 10px;
padding: 15px;
color: #301901;
display: inline-block;
background-color: #ffffe0;
border: 1px solid #e6db55;
border-radius: 3px;
}
/* extending the jquery UI css, for visitor Log popover */
.ui-widget .dataTable {
font-size: 14px;
}
/* for inline help */
.ui-widget {
text-align: justify;
}
.ui-inline-help {
display: inline-block;
background-color: #f4f8fa;
margin: 0px;
font-size: 12px;
padding: 20px;
color: #3a87ad;
opacity: 1.0;
border-left: 1px solid #bce8f1;
text-align: justify;
line-height: 1.3em;
max-width: 550px;
}
div.ui-state-highlight {
border-color: #545903;
background-color: #FFFFD6;
}
.ui-datepicker {
border: 1px solid #fff !important;
border-radius: 0 !important;
font-size: 11px !important;
padding: 0 !important;
width: 160px !important;
}
.ui-datepicker-header {
color: #fff !important;
border-radius: 0 !important;
}
.ui-datepicker select {
padding: 0;
}
.ui-datepicker-header .ui-icon-circle-triangle-w,
.ui-datepicker-header .ui-icon-circle-triangle-e {
content: " \25BC";
font-size: 1px;
color: @theme-color-brand;
border-top: 4px solid rgba(0, 0, 0, 0);
border-bottom: 4px solid rgba(0, 0, 0, 0);
border-left: 5px solid @theme-color-brand;
margin-left: 7px;
display: inline-block;
vertical-align: sub;
background: none !important;
height: auto;
width: auto;
}
.ui-datepicker-header .ui-icon-circle-triangle-w {
border-left: 0px;
border-right: 5px solid @theme-color-brand;
}
.ui-datepicker-prev {
background: none !important;
left: 5px !important;
top: 3px !important;
}
.ui-datepicker-next {
background: none !important;
right: 2px !important;
top: 3px !important;
}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
margin-left: -5px;
margin-top: -5px;
}
.ui-datepicker .ui-datepicker-next-hover,
.ui-datepicker .ui-datepicker-prev-hover {
background: none !important;
border-color: #f1f0eb !important;
}
.ui-datepicker table {
font-size: 11px !important;
margin: 0 !important;
}
.ui-datepicker th {
color: #887f71 !important;
font-weight: normal !important;
background: #f1f0eb !important;
padding: 3px 0 !important;
}
.ui-datepicker th.ui-datepicker-week-end {
background: #d4d0c7 !important;
}
.ui-datepicker td {
padding: 0 !important;
}
.ui-state-default {
border: 1px solid #f2f6f9 !important;
border-right: 0 !important;
background: @theme-color-background-base !important;
color: #000 !important;
text-align: center !important;
}
.ui-datepicker td.ui-datepicker-week-end .ui-state-default {
background: #f6f6f6 !important;
}
.ui-datepicker td.ui-datepicker-current-period a.ui-state-default, td .ui-state-active, .ui-datepicker td.ui-datepicker-current-period a.ui-state-active, .ui-datepicker td.ui-datepicker-week-end .ui-state-active, .ui-datepicker td.ui-datepicker-other-month.ui-datepicker-current-period {
border-color: #887f71 !important;
background: #887f71 !important;
color: #fff !important;
opacity: 1 !important;
}
.ui-datepicker td .ui-state-hover, .ui-datepicker td .ui-state-hover:hover, .ui-datepicker .ui-datepicker td.ui-datepicker-current-period a.ui-state-hover, .ui-datepicker td.ui-datepicker-week-end .ui-state-hover {
background: #e5e3e0 !important;
color: #000 !important;
}
.ui-datepicker td .ui-state-active.ui-state-hover {
color: #fff !important;
}
td.ui-datepicker-other-month.ui-state-hover {
background: #e5e3e0 !important;
color: #000 !important;
opacity: 1 !important;
border-style: none;
cursor: pointer !important;
}
.ui-datepicker select.ui-datepicker-month {
width: 46%;
}
.ui-datepicker select.ui-datepicker-year {
width: 54%;
}
.ui-datepicker-month:disabled {
border-color: #ccc !important;
background: #f5f3f0 !important;
}
/* Piwik jQuery UI Tooltips */
.ui-tooltip {
position: absolute;
z-index: 2000;
text-align: left;
background: #f7f7f7;
color: @theme-color-text-light;
font-size: 12px;
font-weight: normal;
border: 1px solid #e4e5e4;
padding: 5px 10px 6px 10px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px @theme-color-text-lighter;
-webkit-box-shadow: 1px 1px 2px @theme-color-text-lighter;
box-shadow: 1px 1px 2px @theme-color-text-lighter;
overflow: hidden;
max-width: 600px;
min-width: 50px;
line-height: 14px;
left: -28000px;
top: -28000px;
display: none;
}
.ui-tooltip h3 {
font-weight: bold;
color: #7E7363;
}
.ui-tooltip h3 {
font-size: 12px;
margin: 0 0 2px 0;
line-height: 14px;
}
body .ui-tooltip.small {
font-size: 11px;
padding: 3px 5px 3px 6px;
}
/* Popover */
.ui-dialog .ui-widget-header {
background: none;
border: 0;
font: bold 18px @theme-fontFamily-base;
color: #7e7363;
clear: both;
}
.ui-dialog-titlebar-help {
position: absolute;
right: 33px;
top: 50%;
width: 16px;
margin: -8px 0 0 0;
padding: 0;
height: 16px;
background: url(plugins/Morpheus/images/help.png);
overflow: hidden;
}
.ui-dialog ~ .ui-dialog {
border: 1px solid #aaa;
}
.ui-dialog-titlebar .ui-icon-closethick {
font-family: 'piwik';
font-weight: bold;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size:8px;
background-image: none !important;
text-indent: 0px !important;
opacity: 1 !important;
color:@theme-color-brand-contrast;
&:before{
content:"\e60a";
}
}

View file

@ -0,0 +1,37 @@
#topApiRef {
color: #95AECB;
}
.section-toggler-link {
font-size: .8em;
font-style: italic;
text-decoration: none;
}
.section-toggler-link:hover {
text-decoration: underline;
}
.metricEvolution {
display: inline-block;
font-size: 9pt;
opacity: 0.75;
}
.metricEvolution > .positive-evolution {
color: green;
}
.metricEvolution > .negative-evolution {
color: #e02a3b;
}
.reportsByDimensionView > .entityList {
float: left;
width: 220px;
min-height: 450px;
}
.dimensionCategory {
margin-top: 10px;
}

View file

@ -0,0 +1,116 @@
h1, h2, h3, h4, h5 {
font-family: @theme-fontFamily-base;
}
a {
color: @theme-color-link;
text-decoration: none;
}
h1 {
font-size: 30px;
margin-bottom: 20px;
}
h2 {
color: @theme-color-text;
}
.datatableRelatedReports {
color: @theme-color-text-lighter;
}
.tableIcon {
background: none;
padding: 2px 4px 4px 4px;
&.activeIcon {
background: @color-silver-l80;
}
}
.exportToFormatItems {
background: @color-silver-l80;
padding-top: 5px;
padding-bottom: 4px;
color: #000;
a {
color: @theme-color-brand !important;
}
}
.dataTableFooterActiveItem {
display: none;
}
#topApiRef {
color: @theme-color-text;
}
.tableConfiguration div.configItem span.action {
color: @theme-color-link;
}
.dataTablePages {
color: @theme-color-text;
font-weight: normal;
.font-default(10px, 12px);
}
.datatableRelatedReports {
color: #808080;
span {
color: @theme-color-text;
font-weight: normal;
}
}
.dataTableSearchPattern {
img {
top: 7px !important
}
}
.tagCloud span, .tagCloud span a {
color: @theme-color-link !important;
}
ul.widgetpreview-widgetlist, ul.widgetpreview-categorylist {
color: #4d4d4d;
}
.dataTableRowActions {
background: none !important;
}
a {
color: @theme-color-link;
}
.Piwik_Popover_Loading_Subject {
color: @theme-color-link !important;
}
.segmentFooterNote {
margin-top: -3px;
font-family: @theme-fontFamily-base !important;
a {
color: @theme-color-link !important;
}
}
body > a.ddmetric {
background-color: @color-gray-light !important;
border-color: @color-gray !important;
color: #000 !important;
font-family: @theme-fontFamily-base !important;
}
// Bootstrap classes (can be removed in the future)
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}

View file

@ -0,0 +1,30 @@
/* br clear="all" deprecated */
br.clearAll {
clear: both;
height: 0;
line-height: 0;
font-size: 0; /*for IE*/
}
br.clear,
div.clear {
clear: both;
height: 0;
overflow: hidden;
}
/* IE < 9 will use this */
body.old-ie .ie-hide {
display: none;
}
.centerLargeDiv {
width: 850px;
margin: auto;
}
.center {
margin: auto;
text-align: center;
padding-bottom: 10px;
}

View file

@ -0,0 +1,37 @@
.ui-dialog.ui-widget-content {
z-index: 1003!important;
}
.ui-widget-overlay {
z-index: 1002!important;
}
.widgetContent {
width: 99.8%;
overflow: hidden;
}
#topLeftBar {
z-index: 300!important;
}
.submit {
height: 30px;
}
input[type=checkbox], input[type=radio] {
border: none;
background: transparent none;
}
.jqplot-seriespicker-popover p input {
width: 15px;
margin: 0;
padding: 0;
}
/* Don't override select style */
select {
background: transparent;
padding-right: 12px;
}

View file

@ -0,0 +1,788 @@
@import "theme";
@import "theme-advanced";
@import "base/mixins";
@import "general/_typography";
@import "general/_forms";
@import "general/_admin";
@import "ui/_components";
@import "ui/_popups";
@import "ui/_tooltip";
@import "ui/_charts";
@import "ui/_map";
body {
background: @theme-color-background-base;
font-family: @theme-fontFamily-base;
}
h2 {
font-weight: normal;
border-bottom: 1px solid @color-gray;
margin: 15px -15px 20px 0;
font-size: 24px;
width: 100%;
a, a:hover {
text-decoration: none;
color: @color-black-piwik;
}
}
h3 {
color: @theme-color-text;
.font-default(18px, 24px);
font-weight: normal;
}
a:hover {
text-decoration:underline;
}
#content {
p {
margin-left: 0px;
margin-right: 0px;
.font-default(13px, 18px);
}
}
#leftcolumn {
width: 49%;
margin-right: 1%;
}
#rightcolumn {
float: left;
width: 50%;
}
.entityTable {
.border-radius(0px)!important;
border: 1px solid @color-silver-l90 !important;
tr {
&.first {
th {
border-left: 0px !important;
}
}
}
}
table.entityTable tr td a:hover {
text-decoration: underline !important;
}
#root {
margin: 0 0 100px 0;
padding: 0;
.widgetize {
width: auto;
}
}
.dashboardSettings {
border: 1px solid @theme-color-background-lowContrast;
background: @theme-color-background-base;
z-index: 10;
.border-radius(0px);
> span {
position: relative;
background: none;
text-transform: uppercase;
&:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @color-silver-l20;
position: absolute;
top: 3px;
right: 7px;
}
}
ul.submenu {
margin-left: 0;
padding-right: 0;
li {
list-style-type: none;
> div {
.font-default(11px, 14px);
color: @theme-color-text;
}
text-transform: none;
color: @color-silver-l20;
&.widgetpreview-choosen {
color: @theme-color-text;
font-weight: normal;
background: @color-silver-l95;
position: relative;
&:after {
position: absolute;
content: '';
top: 6px;
right: 10px;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 5px solid @theme-color-brand;
}
}
}
}
}
.segmentEditorPanel {
border: 1px solid @theme-color-background-lowContrast;
background: @theme-color-background-base;
.border-radius(0px);
.dropdown-body {
background:@theme-color-background-base;
padding: 8px 19px 0;
.border-radius(0px);
border-top-width: 0px;
}
&:hover .dropdown-body {
background:@theme-color-background-base;
}
.segmentationContainer {
> span > strong {
color: @theme-color-brand;
}
.submenu {
li {
font-weight: normal;
.font-default(12px, 14px) !important;
color: @color-silver-l30;
}
ul li:hover {
color: @theme-color-text;
}
}
}
.segmentListContainer {
.segmentationContainer {
.submenu {
li {
.font-default(13px, 16px);
color: @theme-color-text-light;
&:hover {
border-color: @color-silver-l80 !important;
background:@theme-color-background-base !important;
.border-radius(0px);
}
}
}
}
}
}
.segmentEditorPanel:hover,
.dashboardSettings:hover {
background: @theme-color-background-base;
border: 1px solid @theme-color-background-lowContrast;
}
/* Iframed Embed dashboard style */
#standalone {
#Dashboard {
position: relative;
&:hover ul {
background-color: @theme-color-background-base;
}
ul {
padding: 0 19px;
color: @theme-color-text-light;
min-height: 33px;
line-height:0.5em;
.border-radius(0px);
border: 0;
background-color: @theme-color-background-base;
}
> ul > li {
white-space: nowrap;
margin-right: 0px;
a {
padding-left: 0;
}
&.sfActive {
a {
color: @theme-color-menu-contrast-textActive;
}
}
}
> ul > li:hover,
> ul > li:hover a {
color: @theme-color-brand;
}
}
}
.rss-title {
color: @theme-color-link !important;
font-weight: normal;
.font-default(15px, 18px);
text-decoration: none;
display: block;
width: 100%;
margin-top: 14px;
}
.rss li:first-child .rss-title {
margin-top: 0;
}
.rss-date {
display: block;
color: @color-silver-l60;
.font-default(11px, 26px);
}
.rss-description {
p {
margin: 0;
color: @theme-color-text-lighter;
.font-default(13px, 18px);
}
}
table.dataTable {
thead {
tr {
th {
background: @color-silver-l98;
text-transform: uppercase;
color: @theme-color-text;
.font-default(11px, 12px);
padding-top: 12px;
padding-bottom: 12px;
vertical-align: middle;
&:not(.first) {
text-align: right;
padding-left: 28px;
padding-right: 12px;
}
&.first + th {
// first column after label should have a bit less padding
padding-left: 13px;
}
#thDIV {
display: inline;
}
&.columnSorted {
.sortIcon {
display: inline-block;
position: absolute;
margin: 0px;
height: 12px;
margin-top: -1px;
margin-left: -14px;
&.asc {
margin-top: -7px;
}
}
&.first {
.sortIcon {
margin-top: -1px;
margin-left: 4px;
&.asc {
margin-top: -6px;
}
}
}
.sortIcon.asc:after {
content: " \25B2";
border-bottom: 5px solid @theme-color-brand;
border-top: 0px;
}
.sortIcon:after {
content: " \25BC";
font-size: 1px;
color: @theme-color-brand;
border-left: 4px solid rgba(0, 0, 0, 0);
border-right: 4px solid rgba(0, 0, 0, 0);
border-top: 5px solid @theme-color-brand;
}
}
}
}
}
tr {
td {
border-bottom: 1px solid @color-silver-l95 !important;
border-color: @color-silver-l95 !important;
color: @theme-color-text;
background: @theme-color-background-base;
&:not(.value) {
.font-default(13px, 16px);
}
.label {
line-height: normal;
}
.value {
.font-default(13px, 16px);
}
&:first-child {
border-left: 0px;
}
&.label + td.column {
// first column after label should have a bit less padding
padding-left: 10px;
}
&.label .label {
text-align: left;
}
&.column:not(.label) {
padding-left: 28px;
padding-right: 12px;
text-align: right;
}
a {
text-decoration: none !important;
color: @theme-color-link;
width: inherit;
&.withIcon {
color: @theme-color-text;
}
}
div.label,
a.label,
span.label {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
width: inherit;
display: inline-block;
}
}
&:hover {
td:not(.cellSubDataTable) {
background-color: @color-silver-l95;
}
.cellSubDataTable td {
background: @theme-color-background-base;
}
.cellSubDataTable tr:hover td {
background-color: @color-silver-l95;
}
}
}
&.entityTable tr {
td {
background-color: @theme-color-background-base !important;
}
&.inactive-plugin td,
&:hover td {
background-color: @color-silver-l95 !important;
}
}
&.dataTableVizVisitorLog {
}
}
div.dataTableVizHtmlTable:not(.dataTableActions), div.dataTableVizAllColumns, div.dataTableVizGoals {
tr.subDataTable > td:first-child:before {
display: inline-block;
float: left;
top: 0;
width: 12px;
height: 12px;
margin-left:-1px;
margin-top:4px;
margin-right:8px;
content: '';
}
tr.subDataTable:not(.expanded) > td:first-child:before {
background-image: url(plugins/Morpheus/images/plus.png);
}
tr.subDataTable.expanded > td:first-child:before {
background-image: url(plugins/Morpheus/images/minus.png);
}
}
table.dataTable .dataTableRowActions {
margin-top: -7px;
}
.visitsLiveFooter {
padding-left: 10px;
a.rightLink {
.font-default(13px, 16px);
margin-top: 10px;
margin-bottom: 10px;
padding-right: 10px;
}
}
.dataTableFooterIcons {
padding: 6px 12px 0px;
border-top: 1px solid @color-silver-l90;
}
.UserCountryMap-btn-zoom {
padding-left: 0px;
}
div.sparkline {
display: block;
border-bottom: 0;
margin-bottom: 10px;
&.linked {
border-bottom: 1px solid transparent;
&:hover {
cursor: pointer;
border-bottom: 1px dashed #c3c3c3;
}
}
}
.widgetpreview-base li.widgetpreview-choosen {
background: @color-silver-l95;
position: relative;
color: @theme-color-text;
font-weight: normal;
text-transform: none;
&:after {
position: absolute;
content: '';
top: 6px;
right: 10px;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 5px solid @theme-color-brand;
}
}
.dataTableNext, .dataTablePrevious {
color: @theme-color-link;
text-transform: uppercase;
.font-default(10px, 12px);
}
.UserCountryMap-info-btn {
z-index: 1;
}
.dataTableSearchPattern {
background: none;
height: auto;
input {
color: @theme-color-text !important;
.border-radius(0px);
margin-left: 0;
padding: 8px 10px;
min-height: 30px !important;
.box-sizing(border-box);
border: 1px solid @color-silver-l80;
.opacity(1);
&[type="text"] {
width: 40% !important;
padding-right: 30px !important;
padding-bottom: 2px !important;
&:focus {
border-color: @color-silver-l60;
}
}
&[type="submit"] {
margin: 0;
float: none;
.font-default(10px, 12px) !important;
padding: 0 !important;
position: relative;
right: 33px;
background: no-repeat 0 7px url('plugins/Morpheus/images/search_ico.png') !important;
text-indent: 999999px;
width: 17px !important;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
}
}
.dataTable .searchReset>img {
left: -45px;
}
.visitor-profile a {
color: @theme-color-link;
font-weight: normal;
}
.visitor-profile-info {
box-shadow: none !important;
}
.visitor-profile-latest-visit-loc {
display: inline-block;
position: absolute;
right: 4px;
top: -19px;
}
.visitor-profile-date {
padding-top: 3px;
}
.visitor-profile-more-info > a {
color: @theme-color-link;
.font-default(12px, 16px);
}
.visitor-profile-more-info {
margin: 5px 0 15px 0;
}
.visitor-profile-visits-container {
padding: 0;
margin: 0;
li {
margin: 0 !important;
background: @color-silver-l95;
padding: 5px 10px !important;
border-bottom: 1px solid @color-silver-l80;
> div {
border: 0px !important;
margin: 0 !important;
}
&:first-child {
border-top: 1px solid @color-silver-l80;
}
}
ol.visitor-profile-visits {
> li {
padding: 0 0 0 !important;
span {
color: @theme-color-text-lighter;
.font-default(13px, 18px);
font-weight: normal;
margin-right: 20px;
}
h2 {
margin-left: 20px;
margin-bottom: 12px;
}
ol {
background: @theme-color-background-base !important;
border-top: 0 !important;
li {
background: @theme-color-background-base !important;
.font-default(11px, 19px);
font-weight: normal;
color: @theme-color-text-lighter;
&:last-child {
border-bottom: 0px !important;
}
}
}
}
}
}
.visitor-profile-visit-title-row {
padding-top:10px;
&:hover {
background-color: @color-silver-l90;
}
}
.widget .visitor-profile .visitor-profile-info > div > div {
min-width: 100% !important;
}
.visitor-profile {
background: none;
border: 0;
.border-radius(0px);
.visitor-profile-info {
.border-radius(0px);
border: 0px;
> div {
border: 0px !important;
}
.visitor-profile-image-frame {
background: none !important;
}
.visitor-profile-avatar {
> div > img {
display: none;
}
}
}
h1 {
.font-default(15px, 20px);
font-weight: normal;
color: @theme-color-text;
}
h2 {
.font-default(13px, 18px);
color: @theme-color-text;
}
p {
margin-left: 0;
margin-right: 0;
.font-default(13px, 18px);
color: @color-silver-l60;
strong {
.font-default(13px, 18px);
color: @theme-color-text;
font-weight: normal;
}
span {
.font-default(13px, 18px);
}
}
.visitor-profile-avatar {
ul {
width: 100% !important;
li {
display: block;
border: 0px;
&:first-child {
border: 0px !important;
}
span {
color: @theme-color-text-lighter;
.font-default(13px, 18px);
padding-left: 0;
}
strong {
color: @theme-color-text;
.font-default(13px, 18px);
font-weight: normal;
}
.visitor-profile-os,
.visitor-profile-browser {
margin-left: 0;
img {
margin-right: 5px;
}
}
}
}
}
.visitor-profile-avatar > div:nth-child(2n) {
width: 376px;
}
.visitor-profile-latest-visit {
.visitor-profile-latest-visit-column {
display: inline-block;
margin-left: 0;
}
.visitor-profile-latest-visit-column:first-child {
width: 50%;
margin-right:-4px;
}
.visitor-profile-latest-visit-column:last-child {
width: 50%;
margin-right:-4px;
}
}
}
.annotationView {
.font-default(10px, 12px);
text-transform: uppercase;
color: @theme-color-text;
}
.datatableFooterMessage {
.font-default(13px, 18px);
color: @color-silver;
font-weight: normal;
}
.multisites_asc,
.multisites_desc {
background-repeat: no-repeat;
height: 6px;
}
.dataTableFooterIcons, .dataTableFooterIcons a {
color: @theme-color-link;
}
#visitsLive .datetime {
background: @color-silver-l95;
border-top: 0;
}
.metricValueBlock input {
padding: 5px !important;
}
#piwik-promo-share {
border: 0px;
background: @theme-color-background-tinyContrast;
.font-default(10px, 16px);
}
#token_auth {
background: @color-silver-l95;
}
tr:hover #token_auth {
background: #FFFFF7;
}
#header_message .dropdown a,
#header_message #updateCheckLinkContainer:hover {
text-decoration: underline;
}
#header_message #updateCheckLinkContainer:hover {
cursor: pointer;
}
#multisites table.dataTable {
tfoot tr:hover td {
background: @theme-color-background-base;
}
}

View file

@ -0,0 +1,179 @@
/* Most of the code here can be removed once we switch to Bootstrap */
body {
font-family: Verdana, sans-serif;
}
body#simple {
background: #fff;
}
#simple .logo {
color: #888;
text-align: center;
font-size: 12px;
margin-top: 30px;
}
#simple .logo a {
color: #888;
text-decoration: none;
}
#simple .box {
border-radius: 2px;
border: solid 1px #ccc;
max-width: 780px;
margin: 30px auto 60px auto;
overflow: hidden;
box-shadow: 0 1px 6px 0 #ccc;
}
#simple .box .header {
background-color: #f0f0f0;
padding: 40px 80px;
text-align: center;
}
#simple .box .header h1 {
font-size: 30px;
font-weight: normal;
margin: 0;
}
#simple .box .header p {
font-size: 13px;
margin-top: 10px;
padding: 0;
}
#simple .box .content {
margin: 1em 2em;
text-align: center;
padding: 30px 50px;
font-size: 14px;
}
#simple .box .content.text-left {
text-align: left;
}
#simple .box .content ul {
text-align: left;
list-style: disc;
width: 60%;
margin: 0 auto;
}
#simple .box .content.text-left ul {
width: 100%;
}
#simple .box .content form {
margin: 10px 0;
min-height: 0;
}
#simple .box .content .btn {
float: none;
margin: 0;
}
#simple .box .content h2 {
font-weight: normal;
font-size: 19px;
margin-bottom: 25px;
margin-top: 30px;
}
#simple .box .content h2:first-child {
margin-top: 0;
}
#simple .box .footer {
background-color: #f0f0f0;
padding: 15px;
text-align: center;
}
#simple .box .footer a {
text-decoration: none;
}
/* Old style below */
#contentsimple {
background: #fff;
color: #000;
font-family: Arial, Georgia, "Times New Roman", Times, serif;
padding: 1em 2em;
width:780px;
margin: 30px auto auto;
border-radius: 12px;
display: table; /* Contains floating children */
}
#h1 {
color: #006;
font-size: 45px;
font-weight: lighter;
}
#subh1 {
color: #444444;
font-size: 17pt;
margin-left: 15px;
vertical-align: bottom;
}
#subh1 a {
color: #444;
text-decoration:none;
}
#title img{
vertical-align:bottom;
}
#title {
padding-bottom:15px;
border-bottom:1px solid #F0F0F0;
font:42px Georgia, serif;
}
p, dt {
line-height: 1.5;
padding-bottom: 1em;
}
#logo { margin-bottom: 2em; }
.submit {
font-size:18pt;
padding: 5px 7px 7px;
border: 1px solid #a3a3a3;
border-radius: 3px;
color: #246;
background: #e5e5e5;
text-decoration: none;
}
.submit:hover {
color: #d54e21;
border-color: #535353;
}
.success {
padding-bottom:15px;
color:#1F7F4A;
font-size:25pt;
}
.warning {
font-size:130%;
font-weight:bold;
border: 1px solid #ff5502;
}
.warning, .warning a {
color:#ff5502;
}
.error {
font-weight:bold;
font-size:130%;
border: 1px solid red;
padding:20px;
}
.error, .error a {
color:#f00;
}
.error img, .success img, .warning img {
border:0;
vertical-align:bottom;
}
.warning, .error {
border-radius:4px;
padding:15px;
}
.warning.normalFontSize {
font-size: 100%;
padding: 10px;
}
.indented-radio-button {
margin-left:20px;
}

View file

@ -0,0 +1,13 @@
@theme-color-background-base: #fff;
@theme-color-background-tinyContrast: #f2f2f2;
@theme-color-background-lowContrast: @color-silver-l85;
@theme-color-background-contrast: #5F5A60;
@theme-color-background-highContrast: #202020;
@theme-color-border: @color-silver-l80;
@theme-color-code: #F3F3F3;
@theme-color-code-background: #4D4D4D;
@theme-color-widget-background: @theme-color-background-base;
@theme-color-widget-border: @color-silver-l85;

View file

@ -1,910 +1,21 @@
@import "colors.less";
@import "mixins.less";
@import "typography.less";
@import "forms.less";
@import "components.less";
@import "popups.less";
@import "admin.less";
@import "tooltip.less";
@import "charts.less";
@import "map.less";
@root: "/plugins/Morpheus";
body {
font-family: Verdana, sans-serif;
}
.pageWrap {
padding-left: 10px;
padding-right: 10px;
border: 0px;
}
#content {
p {
margin-left: 0px;
margin-right: 0px;
.font-default(13px, 18px);
}
}
#leftcolumn {
width: 49%;
margin-right: 1%;
}
#rightcolumn {
float: left;
width: 50%;
}
#languageSelection .ui-autocomplete-input {
position: relative;
&:after {
content: '';
position: absolute;
top: 5px;
right: -13px;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @brand-blue;
}
}
#languageSelect {
border: 1px solid @silver-80 !important;
li {
a {
color: @brand-black !important;
&:hover {
background: @silver-80 !important;
color: @brand-black !important;
}
}
}
}
.entityTable {
.border-radius(0px)!important;
border:1px solid @silver-80!important;
tr {
&.first {
th {
border-left: 0px !important;
}
}
}
}
table.entityTable tr td a:hover {
text-decoration: underline !important;
}
#root {
margin: 0;
padding: 0;
#header {
margin: 0 15px;
#topBars {
a {
color: @brand-blue;
text-decoration: none;
}
}
.topBarElem {
padding: 0 3px;
color: @silver-40;
strong {
font-weight: normal;
color: @brand-black;
}
}
}
.top_bar_sites_selector {
margin-right: 10px;
label {
padding-top: 9px;
.font-default(13px, 15px);
}
}
.Menu--dashboard {
border-top: 1px solid @silver-80;
border-bottom: 1px solid @silver-80;
> .Menu-tabList {
margin: 0;
a {
.font-default(18px, 22px);
padding: 14px 28px 11px;
}
> li {
.border-radius(0px);
border: 0;
background: none;
border-right: 1px solid @silver-80;
margin-bottom: -1px;
border-bottom: 1px solid #ccc;
> ul {
li {
a {
color: @silver-40;
.font-default(15px, 18px);
padding: 14px 22px 11px;
}
&.sfHover {
a {
color: @brand-black;
font-weight: normal;
}
}
}
}
&.sfActive {
> a {
color: @brand-black;
text-decoration: none;
position: relative;
&:after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 100%;
height: 4px;
background: @brand-red;
}
}
}
&.sfHover {
> a {
border: 0;
text-decoration: none;
color: @brand-black;
}
}
}
}
}
.nav_sep {
background: @silver-95;
min-height: 57px;
.border-radius(0px);
border-color: @silver-80 !important;
border-top: 0px !important;
border-right: 0px !important;
border-left: 0px !important;
.box-shadow-1(~"inset 0 2px 4px #d8d8d8");
}
.widgetize {
width: auto;
}
}
.dashboardSettings {
border: 1px solid @silver-80;
background: #fff;
z-index: 10;
padding: 8px 10px 8px 10px;
.border-radius(0px);
.font-default(10px, 12px);
> span {
position: relative;
background: none;
text-transform: uppercase;
&:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @brand-red;
position: absolute;
top: 3px;
right: 0;
}
}
ul.submenu {
margin-left: 0;
li {
list-style-type: none;
> div {
.font-default(11px, 14px);
color: @brand-black;
}
text-transform: none;
color: @silver-20;
&.widgetpreview-choosen {
color: @brand-black;
font-weight: normal;
background: @silver-95;
position: relative;
&:after {
position: absolute;
content: '';
top: 6px;
right: 10px;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 5px solid @brand-red;
}
}
}
}
}
.segmentEditorPanel {
border: 1px solid @silver-80;
background: #fff;
padding: 8px 10px 8px 10px;
.border-radius(0px);
.segmentationTitle {
background: none;
text-transform: uppercase;
.font-default(10px, 12px);
position: relative;
&:after {
content: '';
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid @brand-red;
position: absolute;
top: 3px;
right: 0;
}
}
.dropdown-body {
background:#fff;
padding:0 10px;
.border-radius(0px);
border: 1px solid @silver-80;
border-top-width: 0px;
}
&:hover .dropdown-body {
background:#fff;
border-color: @silver-80;
}
.segmentationContainer {
> span > strong {
color: @brand-red;
}
.submenu {
li {
font-weight: normal;
.font-default(12px, 14px) !important;
color: @silver-30;
}
ul li:hover {
color: @brand-black;
}
}
.add_new_segment {
.submit();
.font-default(12px, 16px) !important;
width: auto;
padding: 7px 10px !important;
}
}
.segmentListContainer {
.segmentationContainer {
.submenu {
li {
.font-default(13px, 16px);
color: #444;
&:hover {
border-color: @silver-80 !important;
background: #fff !important;
.border-radius(0px);
}
}
}
}
}
}
.segmentEditorPanel:hover, .dashboardSettings:hover {
background: #fff;
border: 1px solid @silver-80;
}
/* Iframed Embed dashboard style */
#standalone {
#Dashboard:hover ul {
background: #f1f0eb;
border-color: #a9a399;
}
#Dashboard {
ul {
background: #fff;
border: 1px solid @silver-80;
padding: 8px 10px 8px 10px;
color: #444;
height: 12px;
line-height:0.5em;
.border-radius(0px);
}
> ul > li:hover,
> ul > li:hover a,
> ul > li.sfHover,
> ul > li.sfHover a {
color: @brand-red;
}
> ul > li.sfHover,
> ul > li.sfHover a {
font-weight: normal;
}
}
}
.rss-title {
color: @brand-blue !important;
font-weight: normal;
.font-default(15px, 18px);
text-decoration: none;
display: block;
width: 100%;
}
.rss-date {
display: block;
color: @silver-60;
.font-default(11px, 14px);
margin-top: 15px;
}
.rss-description {
p {
margin: 0;
color: @silver-40;
.font-default(13px, 18px);
}
}
table.dataTable {
thead {
tr {
th {
background: #fff;
text-transform: uppercase;
color: @brand-black;
.font-default(10px, 12px);
padding-top: 12px;
padding-bottom: 12px;
border-bottom: 1px solid @silver-85;
&.columnSorted {
background: @silver-95 !important;
.sortIcon {
margin-top: -1px;
}
}
}
}
}
tr {
td {
border-color: @silver-85 !important;
color: @brand-black;
background: @silver-95;
&:not(.value) {
.font-default(13px, 16px);
}
.label {
line-height: normal;
}
.value {
.font-default(13px, 16px);
}
&:first-child {
border-left: 0px;
}
&.labelodd,
&.columnodd {
background-color: @silver-95 !important;
}
a {
text-decoration: none !important;
color: @brand-blue;
width: inherit;
}
div.label,
a.label,
span.label {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
width: inherit;
display: inline-block;
}
}
& td.columneven,
& td.labeleven,
&:hover > td.labeleven,
&:hover > td.columneven,
&.subDataTable:hover > td.labeleven,
&.subDataTable:hover > td.columneven,
td.cellSubDataTable {
background-color: #fff !important;
}
}
&.entityTable tr {
td {
background-color: #fff !important;
}
&.inactive-plugin td,
&:hover td {
background-color: @silver-95 !important;
}
}
&.dataTableVizVisitorLog {
}
}
table.dataTable tr.subDataTable:hover > td, table.dataTable tr.subDataTable:hover > td .dataTableRowActions {
background-color: #d9d9d9;
}
table.dataTable .dataTableRowActions {
margin-top: -8px;
}
.visitsLiveFooter {
padding-left: 10px;
a.rightLink {
.font-default(13px, 16px);
margin-top: 10px;
margin-bottom: 10px;
padding-right: 10px;
}
}
.dataTableFooterIcons {
padding: 6px 8px;
border-top: 1px solid @silver-80;
}
#dashboard .dataTableFooterIcons {
padding: 6px 8px 0px;
}
div.sparkline {
display: block;
width: 100%;
border-bottom: 0;
margin-bottom: 10px;
&:hover {
border-bottom: 0;
}
}
.widgetpreview-base li.widgetpreview-choosen {
background: @silver-95;
position: relative;
color: @brand-black;
font-weight: normal;
text-transform: none;
&:after {
position: absolute;
content: '';
top: 6px;
right: 10px;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 5px solid @brand-red;
}
}
.dataTableNext, .dataTablePrevious {
color: @brand-blue;
text-transform: uppercase;
.font-default(10px, 12px);
}
.UserCountryMap-info-btn {
z-index: 1;
}
.widget {
border: 1px solid @silver-80;
.border-radius();
.font-default(13px, 18px);
.box-shadow-1(0 1px 1px rgba(204,204,204,.5));
h2 {
font-weight: normal;
}
&.default {
margin-left: 0;
margin-right: 0;
.widgetTop {
cursor: default !important;
}
}
.widgetTop {
background: @silver-95;
border-bottom: 1px solid @silver-80;
.widgetName {
.font-default(15px, 18px);
color: @brand-black;
text-shadow: none;
padding: 15px 15px 10px;
}
}
.widgetText {
padding: 10px;
}
.pk-emptyDataTable {
.font-default(12px, 16px);
text-transform: none;
}
.dataTableFooterIcons {
border-top: 1px solid @silver-80;
}
}
.dataTableSearchPattern {
background: none;
height: auto;
input {
color: @brand-black !important;
.border-radius(0px);
border: 0px;
margin-left: 0;
padding: 8px 10px;
min-height: 30px;
.box-sizing(border-box);
border: 1px solid @silver-80;
.opacity(1);
&[type="text"] {
width: 40% !important;
padding-right: 4%;
&:focus {
border-color: @silver-60;
}
}
&[type="submit"] {
margin: 0;
float: none;
.font-default(10px, 12px) !important;
padding: 0px !important;
position: relative;
right: 33px;
background: no-repeat 0px 7px url('plugins/Zeitgeist/images/search_ico.png') !important;
text-indent: 999999px;
width: 17px !important;
}
}
}
.dataTable .searchReset>img {
left: -45px;
}
.visitor-profile a {
color: @brand-blue;
font-weight: normal;
}
.visitor-profile-info {
.no-box-shadow() !important;
}
.visitor-profile-latest-visit-loc {
display: inline-block;
position: absolute;
right: 4px;
top: -19px;
}
.visitor-profile-date {
padding-top: 3px;
}
.visitor-profile-more-info > a {
color: @brand-blue;
.font-default(12px, 16px);
}
.visitor-profile-more-info {
margin-top: 15px;
}
.visitor-profile-visits-container {
padding: 0;
margin: 0;
li {
margin: 0 !important;
background: @silver-95;
padding: 5px 10px !important;
border-bottom: 1px solid @silver-80;
> div {
border: 0px !important;
margin: 0 !important;
}
&:first-child {
border-top: 1px solid @silver-80;
}
}
ol.visitor-profile-visits {
> li {
padding: 0 0 0 !important;
span {
color: @silver-40;
.font-default(13px, 18px);
font-weight: normal;
margin-right: 20px;
}
h2 {
margin-left: 20px;
margin-bottom: 12px;
}
ol {
background: #fff !important;
border-top: 0 !important;
li {
background: #fff !important;
.font-default(11px, 19px);
font-weight: normal;
color: @silver-40;
&:last-child {
border-bottom: 0px !important;
}
}
}
}
}
}
.visitor-profile-visit-title-row {
padding-top:10px;
&:hover {
background-color: @silver-90;
}
}
.widget .visitor-profile .visitor-profile-info > div > div {
min-width: 100% !important;
}
.visitor-profile {
background: none;
.box-shadow(none);
border: 0;
.border-radius(0px);
.visitor-profile-info {
.border-radius(0px);
border: 0px;
.box-shadow(none) !important;
> div {
border: 0px !important;
}
.visitor-profile-image-frame {
background: none !important;
}
.visitor-profile-avatar {
> div > img {
display: none;
}
}
}
h1 {
.font-default(15px, 20px);
font-weight: normal;
color: @brand-black;
}
h2 {
.font-default(13px, 18px);
color: @brand-black;
}
p {
margin-left: 0;
margin-right: 0;
.font-default(13px, 18px);
color: @silver-60;
strong {
.font-default(13px, 18px);
color: @brand-black;
font-weight: normal;
}
span {
.font-default(13px, 18px);
}
}
.visitor-profile-avatar {
ul {
width: 100% !important;
li {
display: block;
border: 0px;
&:first-child {
border: 0px !important;
}
span {
color: @silver-40;
.font-default(13px, 18px);
padding-left: 0;
}
strong {
color: @brand-black;
.font-default(13px, 18px);
font-weight: normal;
}
.visitor-profile-os,
.visitor-profile-browser {
margin-left: 0;
img {
margin-right: 5px;
}
}
}
}
}
.visitor-profile-avatar > div:nth-child(2n) {
width: 376px;
}
.visitor-profile-latest-visit {
.visitor-profile-latest-visit-column {
display: inline-block;
margin-left: 0;
}
.visitor-profile-latest-visit-column:first-child {
width: 50%;
margin-right:-4px;
}
.visitor-profile-latest-visit-column:last-child {
width: 50%;
margin-right:-4px;
}
}
}
.widgetTop .button {
margin: 16px 8px 0 0;
}
.widget .widgetTop:hover .button {
visibility: visible;
}
.widget .widgetTop .button {
opacity: 0.8;
visibility: hidden;
}
.annotationView {
.font-default(10px, 12px);
text-transform: uppercase;
color: @brand-black;
}
.datatableFooterMessage {
.font-default(13px, 18px);
color: @silver;
font-weight: normal;
}
.multisites_asc,
.multisites_desc {
background-repeat: no-repeat;
height: 6px;
}
.dataTableFooterIcons, .dataTableFooterIcons a {
color: @brand-blue;
}
#visitsLive .datetime {
background: @silver-95;
border-top: 0px;
}
.metricValueBlock input {
padding: 5px !important;
}
#piwik-promo-share {
border: 0px;
background: #f2f2f2;
.font-default(10px, 16px);
}
#token_auth {
background: @silver-95;
}
tr:hover #token_auth {
background: #FFFFF7;
}
table#users {
.deleteuser:hover > span,
.edituser:hover > span {
text-decoration:underline;
}
}
table#editSites {
.editSite:hover > span,
.deleteSite:hover > span {
text-decoration:underline;
}
}
// previous style overrides
#header_message a {
text-decoration:underline;
}
#header_message a:hover {
text-decoration:none;
}
#multisites table.dataTable {
thead tr th {
background: @theme-color-background-base;
}
td {
background: white;
}
tr:hover td {
background: #f2f2f2;
}
tfoot tr:hover td {
background: white;
}
}
// Other theme variables
// Variable pattern: @theme-type-<role>
@theme-fontFamily-base: Verdana, sans-serif;
// Theme colors
// Variable pattern: @theme-color-<role>[-<modifier>]
@theme-color-brand: @color-red-piwik;
@theme-color-brand-contrast: @color-white;
@theme-color-text: @color-black-piwik;
@theme-color-text-light: #444;
@theme-color-text-lighter: @color-silver-l40;
@theme-color-link: @color-blue-piwik;
@theme-color-base-series: #ee3024;
@theme-color-menu-contrast-text: @theme-color-text;
@theme-color-menu-contrast-textSelected: @theme-color-menu-contrast-text;
@theme-color-menu-contrast-textActive: @theme-color-brand;
@theme-color-menu-contrast-background: @theme-color-background-tinyContrast;
@theme-color-widget-title-text: @theme-color-text;
@theme-color-widget-title-background: @theme-color-background-tinyContrast;

View file

@ -1,124 +0,0 @@
h1, h2, h3, h4, h5 {
font-family: Verdana, sans-serif;
}
a {
color: @brand-blue;
text-decoration: none;
}
h2 {
color: @brand-black;
}
.datatableRelatedReports {
color: @silver-40;
}
.tableIcon {
background: none;
padding: 2px 4px 4px 4px;
&.activeIcon {
background: @silver-80;
}
}
.exportToFormatItems {
background: @silver-80;
padding-top: 5px;
padding-bottom: 4px;
color: #000;
a {
color: @brand-red !important;
}
}
.dataTableFooterActiveItem {
display: none;
}
#topApiRef {
color: @brand-black;
}
.tableConfiguration div.configItem span.action {
color: @brand-blue;
}
.dataTablePages {
color: @brand-black;
font-weight: normal;
.font-default(10px, 12px);
}
.datatableRelatedReports {
color: #808080;
span {
color: @brand-black;
font-weight: normal;
}
}
.dataTableSearchPattern {
img {
top: 7px !important
}
}
.tagCloud span, .tagCloud span a {
color: @brand-blue !important;
}
ul.widgetpreview-widgetlist, ul.widgetpreview-categorylist {
color: #4d4d4d;
}
.dataTableRowActions {
background: none !important;
}
a#Overlay_Title {
color: #4d4d4d !important;
.font-default(12px, 14px) !important;
margin-left: 15px !important;
}
a {
color: @brand-blue;
}
a.rowevolution-startmulti {
color: @brand-blue !important;
}
.Piwik_Popover_Loading_Subject {
color: @brand-blue !important;
}
.segmentFooterNote {
margin-top: -3px;
font-family: Verdana, sans-serif !important;
a {
color: @brand-blue !important;
}
}
body > a.ddmetric {
background-color: @lightGray !important;
border-color: @gray !important;
color: #000 !important;
font-family: Verdana, sans-serif !important;
}
.segment-element .segment-content .segment-or,
.segment-element .segment-content .segment-add-or,
.segment-element .segment-content .segment-row {
background-color: @lightGray !important;
}
.segmentEditorPanel *,
.segment-element .segment-content .segment-input select,
.segment-element .segment-content .segment-input input {
font-family: Verdana, sans-serif !important;
}

View file

@ -0,0 +1,64 @@
.alert-icon-center-vertically(@font-size) {
@half-height: @font-size / 2;
// IE8 doesn't support calc(): it's OK, the icon will just be aligned to the top
top: calc(~'50% - @{half-height}');
// phantomjs only supports -webkit-calc()
top: -webkit-calc(~'50% - @{half-height}');
}
.alert {
padding: 20px 20px 20px 60px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 2px;
font-size: 14px;
position: relative;
&:before {
font-family: "piwik";
content: "\e625";
position: absolute;
left: 20px;
line-height: 100%; // line-height = font-size
font-size: 24px;
}
a {
color: inherit;
text-decoration: underline;
}
}
.alert-success {
color: #009874;
border-color: #1AA282;
&:before {
content: "\e63d";
color: #1AA282;
}
}
.alert-info {
color: #838383;
background-color: #F5F5F5;
font-size: 13px;
padding-top: 15px;
padding-bottom: 15px;
&:before {
color: #afafaf;
font-size: 20px;
}
}
.alert-warning {
color: #CA8100;
border-color: #DF9D27;
&:before {
content: "\e621";
color: #DF9D27;
}
}
.alert-danger {
color: #D4291F;
border-color: #D73F36;
&:before {
content: "\e616";
color: #D73F36;
}
}

View file

@ -0,0 +1,81 @@
// We use `button:not(.btn)` because `button` has a higher priority than CSS classes
// which makes it impossible to use btn-lg or similar additional classes.
button:not(.btn),
input[type="submit"]:not(.btn),
.btn {
display: inline-block;
.border-radius(3px);
background: none;
color: @theme-color-brand-contrast;
background-color: @theme-color-brand;
box-shadow: 0 1px 1px 0 rgba(13, 13, 13, 0.3);
#gradient > .vertical(rgba(255,255,255,.15), rgba(255,255,255,0));
.font-default(12px, 16px);
font-weight: normal;
padding: 5px 15px;
text-align: center;
text-decoration: none;
cursor: pointer;
border: 0;
&:hover, &:focus {
color: @theme-color-brand-contrast;
background: @theme-color-brand;
text-decoration: none;
}
em {
font-style: normal;
}
}
// Bootstrap classes (can be removed in the future)
.btn {
display: inline-block;
}
.btn-lg {
padding: 12px 40px;
font-size: 14px;
}
.btn-block {
display: block;
width: 100%;
}
.btn-block + .btn-block {
margin-top: 5px;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
pointer-events: none;
cursor: not-allowed;
filter: alpha(opacity=65);
opacity: .65;
}
// See http://getbootstrap.com/css/#buttons-options
.btn.btn-link {
background: transparent;
color: @theme-color-link;
text-decoration: underline;
box-shadow: none;
}
.btn.btn-noop {
background: transparent;
color: @theme-color-text;
pointer-events: none;
cursor: not-allowed;
box-shadow: none;
}
.btn.btn-flat {
background: transparent;
border-radius: 0;
color: @theme-color-text-light;
box-shadow: none;
padding: 5px 10px;
&:hover {
background-color: #eaeaea;
text-decoration: none;
}
&.btn-lg {
padding: 12px;
}
}

View file

@ -0,0 +1,15 @@
.card {
color: @theme-color-text-light;
padding: 15px;
margin: 9px 0;
border-radius: 2px;
background-color: #fff;
-webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
position: relative;
&:hover {
background-color: @color-silver-l95;
}
}

View file

@ -8,7 +8,7 @@
}
.bar-graph-colors[data-name=grid-border] {
color: @theme-color-background-smallContrast;
color: @theme-color-background-highContrast;
}
.bar-graph-colors[data-name=series1] {
@ -48,7 +48,7 @@
}
.bar-graph-colors[data-name=single-metric-label] {
color: #666;
color: @theme-color-text-lighter;
}
// pie graph colors
@ -57,7 +57,7 @@
}
.pie-graph-colors[data-name=grid-border] {
color: @theme-color-background-smallContrast;
color: @theme-color-background-highContrast;
}
.pie-graph-colors[data-name=series1] {
@ -97,7 +97,7 @@
}
.pie-graph-colors[data-name=single-metric-label] {
color: #444;
color: @theme-color-text-light;
}
//line chart colors
@ -153,6 +153,6 @@
}
.evolution-graph-colors[data-name=single-metric-label] {
color: #666;
color: @theme-color-text-lighter;
}

View file

@ -0,0 +1,20 @@
code {
padding: 2px 4px;
font-size: 90%;
color: @theme-color-code;
background-color: @theme-color-code-background;
border-radius: 4px;
}
// The .codeblock class is useful to style <textarea> like a code block
pre, .codeblock {
font-size: 13px;
color: @theme-color-code;
background-color: @theme-color-code-background;
border: none;
border-radius: 3px;
direction: ltr;
margin: 0 0 15px;
padding: 20px;
text-align: left;
}

View file

@ -1,8 +1,9 @@
//colors calendar
@calendarHeaderBackground: #fff;
@calendarHeaderBackground: @theme-color-background-base;
@calendarHeaderColor: #999;
@calendarCurrentStateHover: #f5f5f5;
@calendarBorder: #ccc;
.ui-datepicker {
th, th.ui-datepicker-week-end {
@ -12,19 +13,18 @@
.ui-state-default {
border-color: @calendarBorder !important;
background: @brad-black !important;
}
.ui-datepicker-header {
background: @calendarHeaderBackground !important;
border-color: @gray;
border-color: @color-gray;
border-bottom-width: 0px;
}
.ui-datepicker-calendar {
border: 1px solid @gray;
border: 1px solid @color-gray;
thead {
border-bottom: 1px solid @gray;
border-bottom: 1px solid @color-gray;
}
}
@ -33,39 +33,27 @@
}
}
.ui-datepicker td.ui-datepicker-current-period a.ui-state-default, td .ui-state-active, .ui-datepicker td.ui-datepicker-current-period a.ui-state-active, .ui-datepicker td.ui-datepicker-week-end .ui-state-active, .ui-datepicker td.ui-datepicker-other-month.ui-datepicker-current-period {
background: @brand-black !important;
.ui-datepicker td.ui-datepicker-current-period a.ui-state-default, td .ui-state-active, .ui-datepicker td.ui-datepicker-current-period a.ui-state-active, .ui-datepicker td.ui-datepicker-week-end .ui-state-active, .ui-datepicker td.ui-datepicker-other-month.ui-datepicker-current-period,
.ui-datepicker td .ui-state-default.ui-state-active:hover {
background: @theme-color-text !important;
}
.ui-datepicker td.ui-datepicker-current-period a.ui-state-default, td .ui-state-active, .ui-datepicker td.ui-datepicker-current-period a.ui-state-active, .ui-datepicker td.ui-datepicker-week-end .ui-state-active, .ui-datepicker td.ui-datepicker-other-month.ui-datepicker-current-period {
background: @calendarCurrentStateHover;
}
//add new segment
.add_new_segment,
#calendarRangeApply {
font-size: 12px !important;
padding: 0 10px !important;
margin-left: 0px !important;
}
.segment-element {
background: @white;
border-color: @silver-80;
background: @color-white;
border-color: @color-silver-l80;
line-height: 1.33;
.segment-add-row {
.border-radius(5px);
}
.segment-nav {
h4.visits {
background: url('plugins/Morpheus/images/segment-users.png') no-repeat 3px 0px;
}
}
.custom_select_search {
input {
margin-top: -10px;
margin-top: 1px;
}
}
@ -73,22 +61,22 @@
h3 {
font-weight: normal;
.font-default(13px, 15px);
color: @brand-black;
color: @theme-color-text;
}
.segment-add-row > div a span,
.segment-add-or > div a span {
color: @brand-red;
color: @theme-color-brand;
text-shadow: none;
}
.segment-input {
select, input {
.font-default(12px, 14px);
color: @brand-black;
color: @theme-color-text;
font-weight: 500;
margin: 0px;
min-height: auto;
margin: 0;
height: 30px;
}
}
}
@ -101,88 +89,73 @@
text-shadow: none;
}
li {
padding: 3px 0 ;
padding: 3px 0;
&:hover {
background: #f2f2f2;
background: @theme-color-background-tinyContrast;
border: 0;
padding: 4px 0 3px;
padding: 4px 0 3px;
a {
border: 0;
background-color: #f2f2f2;
background-color: @theme-color-background-tinyContrast;
padding-right: 15px;
}
}
}
}
}
}
}
.segment-top {
.font-default(10px, 12px);
color: #444;
color: @theme-color-text-light;
text-transform: uppercase;
h4 {
color: @silver-30;
color: @color-silver-l30;
text-transform: uppercase;
.font-default(10px, 12px);
a.dropdown {
color: @silver-30;
color: @color-silver-l30;
text-transform: uppercase;
.font-default(10px, 12px);
}
}
a.dropdown {
color: @brand-black;
background: url('plugins/Zeitgeist/images/sort_subtable_desc.png') 100% -2px no-repeat;
display: inline;
color: @theme-color-text;
background: url('plugins/Morpheus/images/sort_subtable_desc.png') 100% -2px no-repeat;
&.ui-autocomplete-input {
background-position: 100% -2px;
}
.font-default(10px, 12px);
}
}
.segment-footer {
background: @white;
button {
height: auto;
font-weight: normal;
min-width: 100px;
}
background: @color-white;
a.delete {
color: @brand-red;
color: @theme-color-brand;
}
.segmentFooterNote, .segment-element .segment-footer .segmentFooterNote a {
color: #444;
color: @theme-color-text-light;
}
}
}
.available_segments a.dropdown {
color: @brand-black !important;
.available_segments a.dropdown {
color: @theme-color-text !important;
text-transform: uppercase;
.font-default(10px, 12px);
}
#periodString {
border: 1px solid @silver-80;
.border-radius(0px);
background: #fff;
&:hover {
background: #fff;
border-color: @silver-80;
}
select {
min-height: 0;
}
.calendar-icon {
width: 17px;
height: 17px;
min-height: 0;
background-position: 140%;
padding-left: 5px;
}
label.selected-period-label {
@ -192,7 +165,7 @@
h6 {
.font-default(13px, 16px);
font-weight: normal;
color: @brand-black;
color: @theme-color-text;
}
#periodMore {
@ -202,43 +175,24 @@
}
}
}
#date {
.border-radius(0px);
background-color: #fff;
.box-shadow(~"inset 1px 1px 3px #d8d8d8");
padding: 8px 10px;
color: @silver-20;
text-transform: uppercase;
.font-default(10px, 12px);
strong {
color: @brand-black;
}
}
}
#header_message {
border: 1px solid @silver-80;
padding: 8px 10px 8px 10px;
height: auto;
background: #fff;
.border-radius(0px);
.header_short {
.font-default(10px, 12px);
text-transform: uppercase;
}
.header_full {
.font-default(12px, 18px);
&.isPiwikDemo {
text-align: right;
position: absolute;
right: 0;
top: 8px;
}
}
.ui-menu {
.ui-menu-item {
a {
color: @silver-20;
color: @color-silver-l20;
text-transform: uppercase;
.font-default(10px, 18px);
padding: 2px;
@ -248,8 +202,8 @@
.loadingPiwikBelow,
.loadingPiwik {
.font-default(10px, 12px);
color: @silver-60;
.font-default(13px, 13px);
color: @color-silver-l60;
font-weight: normal;
}
@ -257,41 +211,41 @@
table {
td {
.font-default(12px, 14px) !important;
color: @brand-black;
color: @theme-color-text;
padding: 6px 5px;
}
}
}
//reports box
//reports box
.reports {
border: 1px solid @gray;
border: 1px solid @color-gray;
.border-radius(6px);
h2 {
background: #f2f2f2;
border-bottom: 1px solid @gray;
background: @theme-color-background-tinyContrast;
border-bottom: 1px solid @color-gray;
padding: 11px 15px 10px;
}
}
.jqplot-seriespicker-popover {
.box-shadow-1(none);
.jqplot-seriespicker-popover {
box-shadow: none;
}
// transition box
#Transitions_Container {
#Transitions_CenterBox {
border: 1px solid @gray;
.box-shadow-1(none);
border: 1px solid @color-gray;
box-shadow: none;
.border-radius(6px);
margin: 27px 0 0 319px;
width: 258px;
height: 390px;
background: #fff;
background: @theme-color-background-base;
h2 {
color: #1e93d1;
border-bottom: 1px solid @gray;
border-bottom: 1px solid @color-gray;
font-weight: normal;
padding: 15px;
background: #f5f5f5;
@ -300,13 +254,10 @@
.Transitions_CenterBoxMetrics {
padding: 0;
p {
font-family: Verdana, sans-serif;
}
p.Transitions_Margin {
text-align: left;
.font-default(15px, 20px);
border-bottom: 1px solid @gray;
border-bottom: 1px solid @color-gray;
padding: 13px;
.Transitions_Metric {
font-weight: normal;
@ -330,7 +281,7 @@
.font-default(15px, 20px);
margin-bottom: 10px;
}
}
}
}
}
@ -342,21 +293,13 @@
}
}
table.dataTable tr td .dataTableRowActions {
a.rightmost, a {
background-color: #f2f2f2 !important;
margin: 6px 0px 6px 0;
padding: 0px 4px 0px 0px;
}
}
table.dataTable tr td.labeleven .dataTableRowActions {
a.rightmost, a {
background-color: #fff !important;
}
a.rightmost, a {
margin: 6px 0px 6px 0;
padding: 0px 4px 0px 0px;
}
}
table.dataTable th .columnDocumentation {
color: @silver-90;
color: @color-silver-l90;
}

View file

@ -0,0 +1,47 @@
// Bootstrap component, Bootstrap code
.list-group {
font-size: 12px;
// No need to set list-style: none; since .list-group-item is block level
margin-bottom: 20px;
padding-left: 0; // reset padding because ul and ol
box-shadow: 0 1px 1px rgba(0,0,0,.1);
border-radius: 4px;
}
.list-group-item {
color: #858585;
position: relative;
display: block;
padding: 10px 15px;
// Place the border on the list items and negative margin up for better styling
margin-bottom: -1px;
background-color: white;
border: 1px solid @theme-color-border;
// Round the first and last items
&:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
&:last-child {
margin-bottom: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
}
.list-group-item {
// Disabled state
&.disabled,
&.disabled:hover,
&.disabled:focus {
background-color: #FAFAFA;
color: #858585;
}
// Active class on item itself, not parent
&.active,
&.active:hover,
&.active:focus {
z-index: 2; // Place active items above their siblings for proper border styling
color: black;
}
}

View file

@ -46,14 +46,12 @@
.realTimeMap_overlay {
position: absolute;
left: 10px;
bottom: 6px;
font-size: 12px;
z-index: 10;
text-shadow: 1px 1px 1px #FFFFFF, -1px 1px 1px #FFFFFF, 1px -1px 1px #FFFFFF, -1px -1px 1px #FFFFFF, 1px 1px 1px #FFFFFF, -1px 1px 1px #FFFFFF, 1px -1px 1px #FFFFFF, -1px -1px 1px #FFFFFF;
}
.realTimeMap_datetime {
bottom: 24px;
color: #887;
font-size: 14px;
}
@ -67,5 +65,5 @@
}
.realtime-map[data-name=white-bg] {
color: #808080 !important;
color: #808080 !important;
}

View file

@ -0,0 +1,59 @@
// Most of this is Bootstrap code and can be removed when switching to Bootstrap
.nav {
margin-bottom: 20px;
padding-left: 0; // Override default ul/ol
list-style: none;
> li {
position: relative;
display: block;
> a {
position: relative;
display: block;
padding: 11px 70px;
text-decoration: none;
}
}
}
// .clearfix
.nav:before, .nav:after {
display: table;
content: " ";
}
.nav:after {
clear: both;
}
.nav-pills {
> li {
float: left;
border: 1px solid @color-silver-l85;
border-left: 0;
&:first-child {
border-radius: 3px 0 0 3px;
border: 1px solid @color-silver-l85;
}
&:last-child {
border-radius: 0 3px 3px 0;
}
> a {
color: @theme-color-link;
background-color: @color-silver-l95;
&:hover,
&:focus {
background-color: @color-silver-l85;
}
}
&.active > a {
color: @theme-color-text;
background-color: @theme-color-background-base;
cursor: default;
}
}
}

View file

@ -0,0 +1,71 @@
// Most of this is Bootstrap code and can be removed when switching to Bootstrap
.panel {
margin-bottom: 20px;
background-color: @color-silver-l95;
border: 1px solid @color-silver-l85;
.border-radius(3px);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-body {
padding: 15px;
}
// .clearfix
.panel-body:before, .panel-body:after {
display: table;
content: " ";
}
.panel-body:after {
clear: both;
}
.panel-heading {
padding: 10px 15px;
background-color: @theme-color-background-base;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
position: relative;
// Within heading, strip any `h*` tag of its default margins for spacing.
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
line-height: inherit;
color: inherit;
text-overflow: ellipsis;
overflow: hidden;
&.panel-title-block {
height: 26px;
> a {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
padding-top: 12px;
}
}
> a,
> small,
> .small,
> small > a,
> .small > a {
color: inherit;
text-decoration: none;
&:focus, &:hover {
text-decoration: underline;
}
}
}
}
.panel-footer {
padding: 10px 15px;
background-color: @theme-color-background-base;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}

View file

@ -1,18 +1,17 @@
.ui-dialog-title {
color: @brand-black;
color: @theme-color-text;
font-weight: normal;
}
.ui-dialog .ui-widget-header {
color: @brand-black;
color: @theme-color-text;
.font-default(18px, 24px);
font-weight: bold;
}
#feedback-sent,
#feedback-faq {
#feedback-sent {
a {
color: @brand-blue;
color: @theme-color-link;
}
}
@ -29,7 +28,7 @@
button.ui-state-default, .ui-widget-content button.ui-state-default, .ui-widget-header button.ui-state-default {
&:hover {
background: @brand-red !important;
background: @theme-color-brand !important;
}
}
@ -38,9 +37,5 @@ button.ui-state-default, .ui-widget-content button.ui-state-default, .ui-widget-
}
.ui-menu .ui-menu-item a.ui-state-focus {
background: @silver-90;
background: @color-silver-l90;
}
button:hover, .add-trusted-host:hover, input[type="submit"]:hover, button[type="button"]:hover, .submit:hover {
background-color: @brand-red !important;
}

View file

@ -0,0 +1,24 @@
// Bootstrap component
.progress {
overflow: hidden;
height: 20px;
margin-bottom: 20px;
background-color: @theme-color-background-tinyContrast;
box-shadow: inset 0 1px 1px rgba(0,0,0,.1);
border-radius: 10px;
border: solid 1px @theme-color-border;
padding: 4px;
}
// Bar of progress
.progress-bar {
float: left;
width: 0;
height: 100%;
font-size: 12px;
line-height: 20px;
color: @theme-color-brand-contrast;
text-align: center;
background-color: @theme-color-brand;
border-radius: 6px;
}

View file

@ -0,0 +1,16 @@
// We have to use a class (and not <table> directly) because HTML tables
// are used for layouts (e.g. forms in the admin section use tables)
// TODO refactor that: https://github.com/piwik/piwik/issues/8023
.simple-table {
margin: 20px 0;
width: 100%;
border-top: 1px solid @color-silver-l90;
th, td {
border-bottom: 1px solid @color-silver-l90;
padding: 12px;
}
th {
text-align: left;
}
}

View file

@ -1,24 +1,24 @@
.ui-tooltip,
.ui-tooltip.Transitions_Tooltip_Small {
body .ui-tooltip,
body .ui-tooltip.Transitions_Tooltip_Small {
border: 0px !important;
background: rgba(0,0,0,0.9) !important;
.box-shadow-1(none) !important;
background: #000000 !important;
box-shadow: none !important;
.border-radius(3px);
.ui-tooltip-content {
background: none;
color: @silver-90;
background: #000000;
color: @color-silver-l90;
padding: 5px;
}
h1, h2, h3, h4, h5 {
font-weight: normal;
color: @white;
color: @color-white;
}
}
.columnDocumentation {
border: 0px !important;
background: rgba(0,0,0,0.9) !important;
color: @silver-60;
background: #000000 !important;
color: @color-silver-l60;
.font-default(12px, 16px);
padding: 7px 10px 8px 10px;
text-transform: none !important;

View file

@ -0,0 +1,3 @@
.datatable-label-category {
color:#999;
}

View file

@ -0,0 +1,45 @@
#root {
#logo {
padding: 9px 0 0 4px;
float: left;
}
#logo {
img.default-piwik-logo {
width: 82px;
margin-top: 8px;
}
img {
max-height: 30px;
}
}
#logo > a {
text-decoration: none;
}
#logo {
// IE 9 only
width: 200px\9\0;
}
}
// IE 10+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
#root #logo {
width: 80px;
}
#root #logo img.default-piwik-logo {
width: 100%;
}
}
#javascriptDisabled,
#javascriptDisabled a {
font-weight: bold;
color: #F88D22;
padding: 15px;
clear: both;
}

View file

@ -0,0 +1,55 @@
/* About Piwik box top right */
#header_message {
z-index: 0;
cursor: default;
float: right;
overflow: hidden;
display: block;
height: 20px;
font-size: 14px;
border-radius: 4px;
&.update_available:not(.isPiwikDemo) .title {
color: #CA8100;
font-weight: bold;
}
.icon-warning {
padding-left: 2px;
}
}
#header_message:hover,
#header_message.active {
width: auto;
height: auto;
z-index: 150;
}
#header_message .header_short {
display: block;
white-space: nowrap;
}
#header_message .header_full {
display: none;
}
#header_message:hover .header_short,
#header_message.active .header_short {
display: none;
}
#header_message:hover .header_full,
#header_message.active .header_full {
display: block;
}
.header_full {
padding-bottom: 5px;
line-height: 1.7em;
}
.header_info, .header_info a {
color: @theme-color-text-light;
}

View file

@ -0,0 +1,24 @@
.languageSelection {
padding-right: 11px;
.items {
margin-left: -50px;
}
.borderedControl {
transition: box-shadow 0s !important;
}
}
#topRightBar .navbar-right .languageSelection {
// make padding of language selection clickable
margin: -14px -12px;
.title {
padding: 14px 12px;
&:after {
top: 19px;
right: -3px;
}
}
}

View file

@ -0,0 +1,29 @@
.loadingPiwik {
font-size: 1.1em;
color: @theme-color-text-light;
padding: 0.5em;
}
.loadingPiwik img {
margin-right: 5px;
}
.loadingSegment {
color: @color-silver-l60;
font-size: 13px;
margin-left: 28px;
display:none;
}
#root > #loadingError {
margin-left: 20px;
margin-right: 20px;
}
#loadingError {
font-size: 15px;
padding: 8px 0;
display: none;
color: @theme-color-brand;
font-weight: normal;
}

View file

@ -0,0 +1,66 @@
#periodString {
display: block;
color: @theme-color-text-light;
font-size: 14px;
border: 1px solid #e4e5e4;
float: left;
margin-right: 10px;
position: absolute;
z-index: 122; /* must be higher than segmentEditor z-index */
background-color: #f7f7f7;
}
#periodString:hover {
background-color: #f1f0eb;
border-color: #a9a399;
}
#periodString .calendar-icon {
width: 13px;
height: 15px;
display:inline-block;
position:absolute;
right: 19px;
top: 9px;
background: url("plugins/Morpheus/images/icon-calendar.gif") no-repeat scroll;
cursor:pointer;
}
#periodString strong {
color: #255792;
}
#periodString h6 {
font-size: 14px;
padding: 0 0 4px 0;
}
#periodMore {
overflow: hidden;
}
#periodString .period-date,
#periodString .period-range {
float: left;
padding: 0 16px 0 0;
}
#periodString .period-type {
float: left;
padding: 0;
}
#periodString .period-type label {
font-size: 12px;
display: inline-block;
padding: 2px 0 3px 0;
vertical-align: top;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#periodString label.selected-period-label {
text-decoration: underline;
}