update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
64
www/analytics/plugins/Morpheus/stylesheets/ui/_alerts.less
Normal file
64
www/analytics/plugins/Morpheus/stylesheets/ui/_alerts.less
Normal 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;
|
||||
}
|
||||
}
|
||||
81
www/analytics/plugins/Morpheus/stylesheets/ui/_buttons.less
Normal file
81
www/analytics/plugins/Morpheus/stylesheets/ui/_buttons.less
Normal 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;
|
||||
}
|
||||
}
|
||||
15
www/analytics/plugins/Morpheus/stylesheets/ui/_cards.less
Normal file
15
www/analytics/plugins/Morpheus/stylesheets/ui/_cards.less
Normal 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;
|
||||
}
|
||||
}
|
||||
158
www/analytics/plugins/Morpheus/stylesheets/ui/_charts.less
Normal file
158
www/analytics/plugins/Morpheus/stylesheets/ui/_charts.less
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
// bar graph colors
|
||||
.bar-graph-colors[data-name=grid-background] {
|
||||
color: @theme-color-background-base;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=grid-border] {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=grid-border] {
|
||||
color: @theme-color-background-highContrast;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series1] {
|
||||
color: @graph-colors-data-series1;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series2] {
|
||||
color: @graph-colors-data-series2;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series3] {
|
||||
color: @graph-colors-data-series3;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series4] {
|
||||
color: @graph-colors-data-series4;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series5] {
|
||||
color: @graph-colors-data-series5;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series6] {
|
||||
color: @graph-colors-data-series6;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series7] {
|
||||
color: @graph-colors-data-series7;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=series8] {
|
||||
color: @graph-colors-data-series8;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=ticks] {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.bar-graph-colors[data-name=single-metric-label] {
|
||||
color: @theme-color-text-lighter;
|
||||
}
|
||||
|
||||
// pie graph colors
|
||||
.pie-graph-colors[data-name=grid-background] {
|
||||
color: @theme-color-background-base;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=grid-border] {
|
||||
color: @theme-color-background-highContrast;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series1] {
|
||||
color: @graph-colors-data-series1;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series2] {
|
||||
color: @graph-colors-data-series2;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series3] {
|
||||
color: @graph-colors-data-series3;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series4] {
|
||||
color: @graph-colors-data-series4;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series5] {
|
||||
color: @graph-colors-data-series5;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series6] {
|
||||
color: @graph-colors-data-series6;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series7] {
|
||||
color: @graph-colors-data-series7;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=series8] {
|
||||
color: @graph-colors-data-series8;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=ticks] {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.pie-graph-colors[data-name=single-metric-label] {
|
||||
color: @theme-color-text-light;
|
||||
}
|
||||
|
||||
//line chart colors
|
||||
|
||||
// evolution graph colors
|
||||
|
||||
.evolution-graph-colors[data-name=series1] {
|
||||
color: @graph-colors-data-series1;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series2] {
|
||||
color: @graph-colors-data-series2;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series3] {
|
||||
color: @graph-colors-data-series3;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series4] {
|
||||
color: @graph-colors-data-series4;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series5] {
|
||||
color: @graph-colors-data-series5;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series6] {
|
||||
color: @graph-colors-data-series6;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series7] {
|
||||
color: @graph-colors-data-series7;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=series8] {
|
||||
color: @graph-colors-data-series8;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=ticks] {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=grid-background] {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=grid-border] {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=ticks] {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.evolution-graph-colors[data-name=single-metric-label] {
|
||||
color: @theme-color-text-lighter;
|
||||
}
|
||||
|
||||
20
www/analytics/plugins/Morpheus/stylesheets/ui/_code.less
Normal file
20
www/analytics/plugins/Morpheus/stylesheets/ui/_code.less
Normal 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;
|
||||
}
|
||||
305
www/analytics/plugins/Morpheus/stylesheets/ui/_components.less
Normal file
305
www/analytics/plugins/Morpheus/stylesheets/ui/_components.less
Normal file
|
|
@ -0,0 +1,305 @@
|
|||
//colors calendar
|
||||
@calendarHeaderBackground: @theme-color-background-base;
|
||||
@calendarHeaderColor: #999;
|
||||
@calendarCurrentStateHover: #f5f5f5;
|
||||
@calendarBorder: #ccc;
|
||||
|
||||
.ui-datepicker {
|
||||
|
||||
th, th.ui-datepicker-week-end {
|
||||
background: @calendarHeaderBackground !important;
|
||||
color: @calendarHeaderColor !important;
|
||||
}
|
||||
|
||||
.ui-state-default {
|
||||
border-color: @calendarBorder !important;
|
||||
}
|
||||
|
||||
.ui-datepicker-header {
|
||||
background: @calendarHeaderBackground !important;
|
||||
border-color: @color-gray;
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
|
||||
.ui-datepicker-calendar {
|
||||
border: 1px solid @color-gray;
|
||||
thead {
|
||||
border-bottom: 1px solid @color-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-datepicker-title select {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.segment-element {
|
||||
background: @color-white;
|
||||
border-color: @color-silver-l80;
|
||||
line-height: 1.33;
|
||||
|
||||
.segment-add-row {
|
||||
.border-radius(5px);
|
||||
}
|
||||
|
||||
.custom_select_search {
|
||||
input {
|
||||
margin-top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.segment-content {
|
||||
h3 {
|
||||
font-weight: normal;
|
||||
.font-default(13px, 15px);
|
||||
color: @theme-color-text;
|
||||
}
|
||||
|
||||
.segment-add-row > div a span,
|
||||
.segment-add-or > div a span {
|
||||
color: @theme-color-brand;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.segment-input {
|
||||
select, input {
|
||||
.font-default(12px, 14px);
|
||||
color: @theme-color-text;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.segment-nav {
|
||||
div > ul > li {
|
||||
padding: 5px 0;
|
||||
a {
|
||||
font-weight: normal;
|
||||
color: #333333;
|
||||
text-shadow: none;
|
||||
}
|
||||
li {
|
||||
padding: 3px 0;
|
||||
&:hover {
|
||||
background: @theme-color-background-tinyContrast;
|
||||
border: 0;
|
||||
padding: 4px 0 3px;
|
||||
|
||||
a {
|
||||
border: 0;
|
||||
background-color: @theme-color-background-tinyContrast;
|
||||
padding-right: 15px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.segment-top {
|
||||
.font-default(10px, 12px);
|
||||
color: @theme-color-text-light;
|
||||
text-transform: uppercase;
|
||||
|
||||
h4 {
|
||||
color: @color-silver-l30;
|
||||
text-transform: uppercase;
|
||||
.font-default(10px, 12px);
|
||||
a.dropdown {
|
||||
color: @color-silver-l30;
|
||||
text-transform: uppercase;
|
||||
.font-default(10px, 12px);
|
||||
}
|
||||
}
|
||||
|
||||
a.dropdown {
|
||||
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: @color-white;
|
||||
|
||||
a.delete {
|
||||
color: @theme-color-brand;
|
||||
}
|
||||
.segmentFooterNote, .segment-element .segment-footer .segmentFooterNote a {
|
||||
color: @theme-color-text-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.available_segments a.dropdown {
|
||||
color: @theme-color-text !important;
|
||||
text-transform: uppercase;
|
||||
.font-default(10px, 12px);
|
||||
}
|
||||
|
||||
#periodString {
|
||||
select {
|
||||
min-height: 0;
|
||||
background-position: 140%;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
label.selected-period-label {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
h6 {
|
||||
.font-default(13px, 16px);
|
||||
font-weight: normal;
|
||||
color: @theme-color-text;
|
||||
}
|
||||
|
||||
#periodMore {
|
||||
.period-range {
|
||||
.ui-datepicker-header {
|
||||
background: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#header_message {
|
||||
height: auto;
|
||||
.border-radius(0px);
|
||||
|
||||
&.isPiwikDemo {
|
||||
text-align: right;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-menu {
|
||||
.ui-menu-item {
|
||||
a {
|
||||
color: @color-silver-l20;
|
||||
text-transform: uppercase;
|
||||
.font-default(10px, 18px);
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.loadingPiwikBelow,
|
||||
.loadingPiwik {
|
||||
.font-default(13px, 13px);
|
||||
color: @color-silver-l60;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.annotations {
|
||||
table {
|
||||
td {
|
||||
.font-default(12px, 14px) !important;
|
||||
color: @theme-color-text;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//reports box
|
||||
.reports {
|
||||
border: 1px solid @color-gray;
|
||||
.border-radius(6px);
|
||||
|
||||
h2 {
|
||||
background: @theme-color-background-tinyContrast;
|
||||
border-bottom: 1px solid @color-gray;
|
||||
padding: 11px 15px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.jqplot-seriespicker-popover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
// transition box
|
||||
#Transitions_Container {
|
||||
#Transitions_CenterBox {
|
||||
border: 1px solid @color-gray;
|
||||
box-shadow: none;
|
||||
.border-radius(6px);
|
||||
margin: 27px 0 0 319px;
|
||||
width: 258px;
|
||||
height: 390px;
|
||||
background: @theme-color-background-base;
|
||||
h2 {
|
||||
color: #1e93d1;
|
||||
border-bottom: 1px solid @color-gray;
|
||||
font-weight: normal;
|
||||
padding: 15px;
|
||||
background: #f5f5f5;
|
||||
.border-radius(6px 6px 0 0);
|
||||
}
|
||||
|
||||
.Transitions_CenterBoxMetrics {
|
||||
padding: 0;
|
||||
p.Transitions_Margin {
|
||||
text-align: left;
|
||||
.font-default(15px, 20px);
|
||||
border-bottom: 1px solid @color-gray;
|
||||
padding: 13px;
|
||||
.Transitions_Metric {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
.Transitions_IncomingTraffic {
|
||||
padding: 0 15px;
|
||||
|
||||
h3 {
|
||||
font-weight: normal;
|
||||
color: #000;
|
||||
.font-default(15px, 20px);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
.Transitions_OutgoingTraffic {
|
||||
padding: 0 15px;
|
||||
h3 {
|
||||
font-weight: normal;
|
||||
color: #000;
|
||||
.font-default(15px, 20px);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.Transitions_TitleOfOpenGroup {
|
||||
color: #000;
|
||||
.font-default(15px, 20px);
|
||||
font-weight: normal;
|
||||
margin-top: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
table.dataTable tr td .dataTableRowActions {
|
||||
a.rightmost, a {
|
||||
margin: 6px 0px 6px 0;
|
||||
padding: 0px 4px 0px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
table.dataTable th .columnDocumentation {
|
||||
color: @color-silver-l90;
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
69
www/analytics/plugins/Morpheus/stylesheets/ui/_map.less
Normal file
69
www/analytics/plugins/Morpheus/stylesheets/ui/_map.less
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
.RealTimeMap-overlay,
|
||||
.RealTimeMap-tooltip {
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.RealTimeMap-overlay .content,
|
||||
.RealTimeMap-tooltip .content {
|
||||
padding: 5px;
|
||||
border-radius: 3px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.RealTimeMap-title {
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
.RealTimeMap-legend {
|
||||
right: 5px;
|
||||
font-size: 9px;
|
||||
bottom: 40px;
|
||||
}
|
||||
|
||||
.RealTimeMap-info {
|
||||
left: 5px;
|
||||
font-size: 11px;
|
||||
bottom: 60px;
|
||||
max-width: 42%;
|
||||
}
|
||||
|
||||
.RealTimeMap-info-btn {
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAAAOVBMVEX///8AAAAAAABXV1dSUlKsrKzExMTd3d3V1dXp6end3d3p6enz8/P7+/v39/f///+vqZ6oopWUjH2LPulWAAAAE3RSTlMAESIzM2Z3mZmqqrvd7u7/////UUgTXgAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAYdEVYdENyZWF0aW9uIFRpbWUAMDMuMDEuMjAxM8rVeD8AAABnSURBVBiVhY/LFoAgCEQZ0p4W6f9/bIJ4slV3oTIeBoaICGADIAO8ibEwWn2IcwVovev7znqmCYRon9kEWUFvg3IysXyIXSil3fOvELupC9XUx7pQx/piDV1sVFLwMNF80sw97hj/AXRPCjtYdmhtAAAAAElFTkSuQmCC);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
left: 5px;
|
||||
bottom: 40px;
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
opacity: 0.9;
|
||||
|
||||
}
|
||||
|
||||
.realTimeMap_overlay {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
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 {
|
||||
color: #887;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.realtime-map[data-name=white-fill] {
|
||||
color: #f2f2f2 !important;
|
||||
}
|
||||
|
||||
.realtime-map[data-name=visit-stroke] {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.realtime-map[data-name=white-bg] {
|
||||
color: #808080 !important;
|
||||
}
|
||||
59
www/analytics/plugins/Morpheus/stylesheets/ui/_navs.less
Normal file
59
www/analytics/plugins/Morpheus/stylesheets/ui/_navs.less
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
71
www/analytics/plugins/Morpheus/stylesheets/ui/_panels.less
Normal file
71
www/analytics/plugins/Morpheus/stylesheets/ui/_panels.less
Normal 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;
|
||||
}
|
||||
41
www/analytics/plugins/Morpheus/stylesheets/ui/_popups.less
Normal file
41
www/analytics/plugins/Morpheus/stylesheets/ui/_popups.less
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
.ui-dialog-title {
|
||||
color: @theme-color-text;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-widget-header {
|
||||
color: @theme-color-text;
|
||||
.font-default(18px, 24px);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#feedback-sent {
|
||||
a {
|
||||
color: @theme-color-link;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
|
||||
border: 0px !important;
|
||||
.ui-icon {
|
||||
.opacity(0.5);
|
||||
}
|
||||
&:hover {
|
||||
.opacity(1);
|
||||
background: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
button.ui-state-default, .ui-widget-content button.ui-state-default, .ui-widget-header button.ui-state-default {
|
||||
&:hover {
|
||||
background: @theme-color-brand !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
.ui-menu .ui-menu-item a.ui-state-focus {
|
||||
background: @color-silver-l90;
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
16
www/analytics/plugins/Morpheus/stylesheets/ui/_tables.less
Normal file
16
www/analytics/plugins/Morpheus/stylesheets/ui/_tables.less
Normal 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;
|
||||
}
|
||||
}
|
||||
30
www/analytics/plugins/Morpheus/stylesheets/ui/_tooltip.less
Normal file
30
www/analytics/plugins/Morpheus/stylesheets/ui/_tooltip.less
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
body .ui-tooltip,
|
||||
body .ui-tooltip.Transitions_Tooltip_Small {
|
||||
border: 0px !important;
|
||||
background: #000000 !important;
|
||||
box-shadow: none !important;
|
||||
.border-radius(3px);
|
||||
.ui-tooltip-content {
|
||||
background: #000000;
|
||||
color: @color-silver-l90;
|
||||
padding: 5px;
|
||||
}
|
||||
h1, h2, h3, h4, h5 {
|
||||
font-weight: normal;
|
||||
color: @color-white;
|
||||
}
|
||||
}
|
||||
|
||||
.columnDocumentation {
|
||||
border: 0px !important;
|
||||
background: #000000 !important;
|
||||
color: @color-silver-l60;
|
||||
.font-default(12px, 16px);
|
||||
padding: 7px 10px 8px 10px;
|
||||
text-transform: none !important;
|
||||
.columnDocumentationTitle {
|
||||
color: #fff;
|
||||
font-weight: normal !important;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue