Panels

TorqueUI is a responsive web design centric UI Framework with components made for the modern web.
 
Download TorqueUI

Panels

Toggleable, customizable panel for wrapping content or display alerts. Made interactive with the Collapsable JavaScript plugin.

Introduction

The panels primarily consists of 4 elements and CSS classes.

  • .panel a wrapper for the panel.
  • .panel-head a heading for the panel.
  • .panel-body the body of the panel
  • .panel-footer a footer section of the panel.

The panels have a set of themes that can be used:

  • .panel-default
  • .panel-success
  • .panel-warning
  • .panel-danger
  • .panel-border
  • .panel-info
  • .panel-rounded

Panel

The .panel-head and .panel-footer are optional parts of setting up a panel, but the .panel-body is required for correct spacing.

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-default">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>

Themes

Panel success

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-success">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>

Panel warning

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-warning">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>

Panel danger

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-danger">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>

Panel border

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-border">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>

Panel info

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-info">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>

Panel rounded

Rounded is a second modifier that can be applied to the element to get rounded borders. Here shown in conjunction with the .panel-success class.

Heading

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

<div class="panel panel-success panel-rounded">
    <div class="panel-heading">
        <h4>Heading</h4>
    </div>
    <div class="panel-body">
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim <a href="...">veniam</a>, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
    </div>
    <div class="panel-footer">
        <button type="button" class="button">Cancel</button>
        <button type="button" class="button-primary">Save</button>
    </div>
</div>
  • © TorqueUI