Commit a0f94c8a by kiiita

Windowsで文字が潰れる問題を修正&Stockの数にJSを当てることを一時的に排除

parent b7abde9d
......@@ -13,8 +13,7 @@ p, h1, h2, h3, h4, h5, h6, span {
background-color: transparent;
color: $main-color;
font-family: 'Quicksand';
font-weight: 300;
letter-spacing: 0;
border: 1px solid $main-color;
border: 1.5px solid $main-color;
padding: 4px 6px;
}
......@@ -57,13 +57,12 @@
background-color: #aaa;
padding-top: 3px;
font-family: 'Quicksand';
font-weight: 300;
}
.label-tag {
background-color: #e67e22;
padding-top: 4px;
font-weight: 100;
font-weight: 300;
}
.post-show-wrapper {
......
......@@ -23,15 +23,15 @@
.stock-wrapper {
margin-top: 15px;
.odometer {
position: relative;
bottom: 2px;
}
h1 {
color: #fff;
small {
color: #f8f8f8;
}
.odometer {
position: relative;
bottom: 2px;
}
}
.list-group {
box-shadow: 0 0 0 #fff;
......
......@@ -2,7 +2,7 @@
.row.flow-wrapper
.numbers-wrapper
.col-xs-4
label.numbers Posts
label.numbers Stocks
p = Post.count
.col-xs-4
label.numbers Users
......
......@@ -4,7 +4,6 @@
.panel.stock-wrapper
.panel-heading
h1
#odometer.odometer 0
|  Stocks
small - 保存・蓄積された記事
.panel-body
......@@ -13,10 +12,3 @@
- cache('tag-tree', :expires_in => 1.hour) do
.list-group
= Tag.posts_exist.decorate.tree_view
javascript:
$(document).ready(function() {
setTimeout(function(){
$('.odometer').html(#{Post.count}); //数字は最後の数値
}, 1000);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment