Sha256: b216654deb1f2fef8094a8d07a323ecc29e68620daa3e20128d111170825a428

Contents?: true

Size: 1.46 KB

Versions: 9

Compression:

Stored size: 1.46 KB

Contents

// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
// Rewrites and Additions
table.table {
    
    &.table-middled tr, &.middled tr {
        th, td { 
            vertical-align: middle;
            & > * { vertical-align: middle; }
        }
    }
    &.table-left tr {
        th, td { text-align: left; }
    }
    &.table-bg tr {
        &:nth-child(even) > td { background: #fff; }
    }
    &.table-lg tr {
        th, td { padding: 14px 8px; }
    }
    &.table-xl tr {
        th, td { padding: 20px 8px; }
    }
    
    // no-header
    &.table-no-head > tr:first-child,  &.table-no-head tbody tr:first-child {
        border-top: none;
        td, th { border-top: none; }
    }
    
    // grid steps
    th, td {
        @for $i from 1 through 12 {
            &.col-#{$i} { width: percentage(1 / 12 * $i); }
        }
    }
    
}

// table.table-no-head > tr:first-child,  table.table-no-head tbody tr:first-child {
//     border-top: none;
//     td, th { border-top: none; }
// }


// # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 
// more stuff
table.facts {
  width: auto;
  margin: 0 auto;
  border-spacing: 5px;
  &.prdct {
      margin: 0;
  }
}
table.facts th { font-weight: 200; color: #666; text-align: right; }
table.facts td { font-weight: 400; color: #333; text-align: left; }

table.facts {
    border-spacing: 8px 0;
    border-collapse: separate;
}



Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
magic_stylez-0.0.330 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.1.1 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.1.0 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.0.0.99 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.0.0.98 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.0.0.97 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.0.0.96 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.0.0.95 vendor/assets/stylesheets/magic/content/_tables.scss
magic_stylez-0.0.0.94 vendor/assets/stylesheets/magic/content/_tables.scss