simplify badge page layout a bit
This commit is contained in:
parent
1b8010ed71
commit
96119981ac
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
<div class='badges-listing'>
|
<div class='badges-listing'>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='badge'>{{user-badge badge=model}}</div>
|
|
||||||
<div class='description'>{{{model.displayDescriptionHtml}}}</div>
|
|
||||||
{{#unless user}}
|
{{#unless user}}
|
||||||
<div class='grant-count'>{{i18n 'badges.granted' count=grantCount}}</div>
|
<div class='grant-count'>{{i18n 'badges.granted' count=grantCount}}</div>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
|
@ -75,7 +75,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
||||||
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
||||||
width: 90%;
|
width: 90%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
display: table;
|
display: table;
|
||||||
|
@ -93,7 +92,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.grant-count {
|
.grant-count {
|
||||||
text-align: center;
|
|
||||||
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%));
|
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%));
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue