modxcms/revolution

View on GitHub
manager/assets/ext3/resources/css/structure/box.css

Summary

Maintainability
Test Coverage
/*
This file is part of Ext JS 3.4

Copyright (c) 2011-2013 Sencha Inc

Contact:  http://www.sencha.com/contact

GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.

Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.

If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.

Build date: 2013-04-03 15:07:25
*/
/*
 Creates rounded, raised boxes like on the Ext website - the markup isn't pretty:
  <div class="x-box-blue">
        <div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>
        <div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc">
            <h3>YOUR TITLE HERE (optional)</h3>
            <div>YOUR CONTENT HERE</div>
        </div></div></div>
        <div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>
    </div>
 */

.x-box-tl {
    background: transparent no-repeat 0 0;
    zoom:1;
}

.x-box-tc {
    height: 8px;
    background: transparent repeat-x 0 0;
    overflow: hidden;
}

.x-box-tr {
    background: transparent no-repeat right -8px;
}

.x-box-ml {
    background: transparent repeat-y 0;
    padding-left: 4px;
    overflow: hidden;
    zoom:1;
}

.x-box-mc {
    background: repeat-x 0 -16px;
    padding: 4px 10px;
}

.x-box-mc h3 {
    margin: 0 0 4px 0;
    zoom:1;
}

.x-box-mr {
    background: transparent repeat-y right;
    padding-right: 4px;
    overflow: hidden;
}

.x-box-bl {
    background: transparent no-repeat 0 -16px;
    zoom:1;
}

.x-box-bc {
    background: transparent repeat-x 0 -8px;
    height: 8px;
    overflow: hidden;
}

.x-box-br {
    background: transparent no-repeat right -24px;
}

.x-box-tl, .x-box-bl {
    padding-left: 8px;
    overflow: hidden;
}

.x-box-tr, .x-box-br {
    padding-right: 8px;
    overflow: hidden;
}