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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue