Sha256: 624b884ad067a282871ae97723e96a68473edada39201e311fd92142a200046c

Contents?: true

Size: 1.48 KB

Versions: 7

Compression:

Stored size: 1.48 KB

Contents

// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.

.card {

    /***** Make height equal to width (http://stackoverflow.com/a/6615994) ****/

    display: inline-block;
    position: relative;
    width: 100%;
    .card-height-indicator {
        margin-top: 100%;
    }
    .card-content {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    /**************************************************************************/


    border-radius: $border-radius-base;
    color: $mdb-card-body-text;
    background: $mdb-card-body-background;

    @include shadow-z-2();

    .card-image {
        height: 60%;
        position: relative;
        overflow: hidden;
        img {
            width: 100%;
            height: 100%;
            border-top-left-radius: 2px;
            border-top-right-radius: 2px;
            pointer-events: none;
        }
        .card-image-headline {
            position: absolute;
            bottom: 16px;
            left: 18px;
            color: $mdb-card-image-headline;
            font-size: 2em;
        }
    }

    .card-body {
        height: 30%;
        padding: 18px;
    }

    .card-footer {
        height: 10%;
        padding: 18px;
        button, a {
            margin: 0 !important;
            position: relative;
            bottom: 25px;
            width: auto;
            &:first-child {
                left: -15px;
            }
        }
    }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_admin_material-0.2.1 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss
rails_admin_material-0.2.0 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss
rails_admin_material-0.1.8 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss
rails_admin_material-0.1.6 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss
rails_admin_material-0.1.4 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss
rails_admin_material-0.1.2 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss
rails_admin_material-0.1.0 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss