Sha256: 6317843587003bfcd17e9d34625ee5a68966c99b3f9bd515a271445578e25864

Contents?: true

Size: 1.84 KB

Versions: 3

Compression:

Stored size: 1.84 KB

Contents

.page-blocks fieldset:first-child {
    &:hover {
        border-top: 1px solid #ccc;
    }
}

fieldset.page_block {
    @include page-block-expandable( 30px );
    box-sizing: content-box;
    margin-top: -1px;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
    &:hover {
        z-index: 1;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

    .header {
        color: $link-js-color;

        .btn-block-delete {
            position: absolute;
            right: 0;
            border: none;
            background: inherit;
            color: $link-js-color;
            padding-right: 0;
            &:hover {
                text-decoration: none;
                color: $link-js-hover-color;
            }
        }

        .header-label {
            display: inline-block;
        }
    }

    .content {
        margin-bottom: 5px;
        .form-group {
            margin-bottom: 5px;
        }
    }

    .details {
        @include panel-info;
        @include form-details;
    }

    &:not(:hover)  {
        .header.open {
            visibility: hidden;
        }
        .content {
            // hide inputs in .content, not in .details
            .btn {
                visibility: hidden;
            }
            textarea, input {
                &:not(:hover):not(:focus) {
                    border: 1px solid white;
                    box-shadow: none;
                }
            }
        }

    }

    &.ui-sortable-helper {
        padding: 3px;
        background: white;
        border: 1px solid #ddd;
        opacity: 0.7;
        box-shadow: 5px 5px 5px rgba( 0, 0, 0, 0.5 );
    }
}

// sortable placehoder
.page-block-sortable-placeholder {
    height: 30px;
    // border: 1px solid green;
    background: #93e08a;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aerogel-pages-1.4.16 assets/stylesheets/admin-pages-edit/page-blocks.css.scss
aerogel-pages-1.4.14 assets/stylesheets/admin-pages-edit/page-blocks.css.scss
aerogel-pages-1.4.12 assets/stylesheets/admin-pages-edit/page-blocks.css.scss