tmcgee/cmv-widgets

View on GitHub
widgets/AttributesTable/css/AttributesTable.css

Summary

Maintainability
Test Coverage
/*csslint order-alphabetical: false */
.cmvAttributesContainerWidget {
    height: 100%;
    width: 100%;
}
.attributesTabContainer {
    height: 100%;
}
.cmvAttributesTableWidget .attributesTableToolbar {
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    display:none;
}

.cmvAttributesTableWidget .attributesTableGrid {
    position:absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
    padding: 0;
    overflow: hidden;
    overflow-x: auto;
}

.cmvAttributesTableWidget .attributesTableZoomMenu,
.cmvAttributesTableWidget .attributesTableClearMenu,
.cmvAttributesTableWidget .attributesTableExportMenu {
    display: none;
}

.cmvAttributesTableWidget .attributesTableExportMenu {
    float: right;
    margin-right: 15px;
}

/*
    used with dgrid "column reorder" extension
    prevents the column header text from resizing when user mouses over header
*/
.cmvAttributesTableWidget .dgrid .dgrid-header .dgrid-cell {
    display: table-cell;
}

/* for a floating widget, will this ever be used? */
.floatingWidget .cmvAttributesTableWidget .attributesTableGrid {
    top: 0;
    height: 300px;
    position:relative;
}