Sha256: bd16bce2f0b19b3bd2c01525c6f22d31485f464314b85b182fd7a5f41d935e89

Contents?: true

Size: 888 Bytes

Versions: 1

Compression:

Stored size: 888 Bytes

Contents

// ========================================================================
//   Component: portlets.less
// ========================================================================


// A minimum height is necessary 
// to allow empty cols accept portlets

[data-toggle="portlet"] {

  min-height: 30px;
  
  // Manually choose which element 
  // shows a pointer to indicate drag
  &.portlet-handler,
  .portlet-handler {
    cursor: move;
  }
}

.portlets-wrapper {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
  overflow: auto;
}

// jqueryUI controls the height, so we reuse 
// the placeholder component with zero padding
// .portlet is just to detect the portlet instance

.portlet.box-placeholder {
  
  padding: 0;

}

// Sometimes some element shouldn't trigger a drag
// add this class to any element to cancel drag
.portlet-cancel {}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radius-rails-3.1.4 app/assets/stylesheets/radius-theme/app/portlets.scss