Browse Source

Updates cards

Former-commit-id: b67deeaff6
Former-commit-id: 193396b07e
pull/258/head
Jack Lukic 11 years ago
parent
commit
5fea8f0100
4 changed files with 9 additions and 6 deletions
  1. 3
      node/src/documents/quirky/card.html
  2. 2
      node/src/files/javascript/card.js
  3. 6
      node/src/files/overrides/views/card.js
  4. 4
      node/src/files/overrides/views/product.card.css

3
node/src/documents/quirky/card.html

@ -304,6 +304,7 @@ type : 'Quirky Element'
<div class="example">
<h4 class="ui header">Voted</h4>
<p>A card showing a user has already voted on an idea</p>
<div class="ui voted idea card" data-votes="150">
<div class="ui corner vote label">
<i class="icon sketchy checkmark"></i>
@ -351,7 +352,7 @@ type : 'Quirky Element'
<div class="example">
<h4 class="ui header">Single</h4>
<p>A profile card</p>
<p>A card showing a users profile summaryh</p>
<div class="ui profile card">
<div class="ui corner vote label">
<i class="icon sketchy checkmark"></i>

2
node/src/files/javascript/card.js

@ -5,7 +5,7 @@ semantic.card.ready = function() {
// selector cache
var
$card = $('.ui.product.cards .card, ui.product.card, .ui.idea.cards .card, .ui.idea.card'),
$card = $('.ui.product.cards .card, .ui.product.card, .ui.idea.cards .card, .ui.idea.card'),
handler
;

6
node/src/files/overrides/views/card.js

@ -461,9 +461,9 @@ $.fn.card.settings = {
popup: {
project: {
delay : 200,
position: 'right center',
inline: false
delay : 200,
position : 'right center',
inline : false
},
follow: {
delay : 500,

4
node/src/files/overrides/views/product.card.css

@ -114,7 +114,8 @@
.ui.product.card .statistic .label {
font-style: italic;
}
.ui.product.cards .card .statistic + .projects {
.ui.product.cards .card .statistic + .projects,
.ui.product.card .statistic + .projects {
margin-left: 120px;
}
@ -228,6 +229,7 @@
States
*******************************/
/* Active Product */
.ui.product.cards .card .projects .active.project,
.ui.product.card .projects .active.project {
color: #5D6266;
Loading…
Cancel
Save