💄 Support more of analytics engine such as baidu, google, busuanzi and so on, then add new web information widget. close #19
This commit is contained in:
@@ -97,16 +97,3 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.busuanzi-count {
|
||||
@if $busuanzi_visitors {
|
||||
#busuanzi_container_site_uv {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@if $busuanzi_views {
|
||||
#busuanzi_container_site_pv {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.sidebar-inner {
|
||||
.sidebar-inner, .sidebar-card-widget {
|
||||
color: $grey-dark;
|
||||
// Init Sidebar & TOC inner dimensions on all pages and for all schemes.
|
||||
$offset : if(($scheme == 'Pisces') or ($scheme == 'Gemini'), $sidebar-offset, $sidebar-padding);
|
||||
@@ -39,3 +39,4 @@
|
||||
@import 'sidebar-toggle';
|
||||
@import 'sidebar-toc';
|
||||
@import 'site-state';
|
||||
@import 'sidebar-card-widget';
|
||||
|
||||
58
assets/css/_common/outline/sidebar/sidebar-card-widget.scss
Normal file
58
assets/css/_common/outline/sidebar/sidebar-card-widget.scss
Normal file
@@ -0,0 +1,58 @@
|
||||
.sidebar-card-widget {
|
||||
background: var(--content-bg-color);
|
||||
border-radius: $border-radius;
|
||||
box-shadow: $box-shadow;
|
||||
box-sizing: border-box;
|
||||
color: var(--text-color);
|
||||
margin-top: $sidebar-offset;
|
||||
|
||||
.item-headline {
|
||||
text-align: left;
|
||||
font-size: $font-size-small;
|
||||
font-weight: bold;
|
||||
|
||||
span {
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.webinfo {
|
||||
font-size: $font-size-small;
|
||||
text-align: left;
|
||||
|
||||
.webinfo-item {
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
align-items: center;
|
||||
padding: 2px 10px 0;
|
||||
|
||||
i {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
text-align: center;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
|
||||
div:first-child {
|
||||
-webkit-box-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
-o-box-flex: 1;
|
||||
box-flex: 1;
|
||||
-webkit-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.back-to-top-card {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
div:first-child {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
@@ -34,9 +34,7 @@ $footer_vendors_enable : {{ isset $P.footer "vendors" }};
|
||||
{{ end }}
|
||||
|
||||
// Counter
|
||||
$busuanzi_visitors : {{ $P.busuanzi.visitors }};
|
||||
$busuanzi_views : {{ $P.busuanzi.views }};
|
||||
$busuanzi_post_views : {{ $P.busuanzi.postViews }};
|
||||
$busuanzi_post_views : {{ $P.analytics.busuanzi.postViews }};
|
||||
|
||||
// Font
|
||||
$font_enable : {{ $P.font.enable }};
|
||||
|
||||
Reference in New Issue
Block a user