2 * Default Layout Theme
\r
4 * Created for jquery.layout
\r
6 * Copyright (c) 2010
\r
7 * Fabrizio Balliano (http://www.fabrizioballiano.net)
\r
8 * Kevin Dalman (http://allpro.net)
\r
10 * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html)
\r
11 * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses.
\r
13 * Last Updated: 2010-02-10
\r
14 * NOTE: For best code readability, view this with a fixed-space font and tabs equal to 4-chars
\r
19 * Just to make demo-pages look better - not actually relevant to Layout!
\r
22 xfont-family: Geneva, Arial, Helvetica, sans-serif;
\r
28 * PANES & CONTENT-DIVs
\r
30 .ui-layout-pane { /* all 'panes' */
\r
32 border: 1px solid #BBB;
\r
35 /* DO NOT add scrolling (or padding) to 'panes' that have a content-div,
\r
36 otherwise you may get double-scrollbars - on the pane AND on the content-div
\r
37 - use ui-layout-wrapper class if pane has a content-div
\r
38 - use ui-layout-container if pane has an inner-layout
\r
41 /* (scrolling) content-div inside pane allows for fixed header(s) and/or footer(s) */
\r
42 .ui-layout-content {
\r
44 position: relative; /* contain floated or positioned elements */
\r
45 overflow: auto; /* add scrolling to content-div */
\r
50 * Must come AFTER pane-class above so will override
\r
51 * These classes are NOT auto-generated and are NOT used by Layout
\r
53 .layout-child-container,
\r
54 .layout-content-container {
\r
58 .layout-child-container {
\r
59 border: 0; /* remove border because inner-layout-panes probably have borders */
\r
71 .ui-layout-resizer { /* all 'resizer-bars' */
\r
73 border: 1px solid #BBB;
\r
76 .ui-layout-resizer-drag { /* REAL resizer while resize in progress */
\r
78 .ui-layout-resizer-hover { /* affects both open and closed states */
\r
80 /* NOTE: It looks best when 'hover' and 'dragging' are set to the same color,
\r
81 otherwise color shifts while dragging when bar can't keep up with mouse */
\r
82 .ui-layout-resizer-open-hover , /* hover-color to 'resize' */
\r
83 .ui-layout-resizer-dragging { /* resizer beging 'dragging' */
\r
84 background: #C4E1A4;
\r
86 .ui-layout-resizer-dragging { /* CLONED resizer being dragged */
\r
87 border: 1px solid #BBB;
\r
89 .ui-layout-resizer-north-dragging,
\r
90 .ui-layout-resizer-south-dragging {
\r
91 border-width: 1px 0;
\r
93 .ui-layout-resizer-west-dragging,
\r
94 .ui-layout-resizer-east-dragging {
\r
95 border-width: 0 1px;
\r
97 /* NOTE: Add a 'dragging-limit' color to provide visual feedback when resizer hits min/max size limits */
\r
98 .ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
\r
99 background: #E1A4A4; /* red */
\r
102 .ui-layout-resizer-closed-hover { /* hover-color to 'slide open' */
\r
103 background: #EBD5AA;
\r
105 .ui-layout-resizer-sliding { /* resizer when pane is 'slid open' */
\r
106 opacity: .10; /* show only a slight shadow */
\r
107 filter: alpha(opacity=10);
\r
109 .ui-layout-resizer-sliding-hover { /* sliding resizer - hover */
\r
110 opacity: 1.00; /* on-hover, show the resizer-bar normally */
\r
111 filter: alpha(opacity=100);
\r
113 /* sliding resizer - add 'outside-border' to resizer on-hover
\r
114 * this sample illustrates how to target specific panes and states */
\r
115 .ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
\r
116 .ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
\r
117 .ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
\r
118 .ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
\r
123 .ui-layout-toggler {
\r
124 border: 1px solid #BBB; /* match pane-border */
\r
125 background-color: #BBB;
\r
127 .ui-layout-resizer-hover .ui-layout-toggler {
\r
129 filter: alpha(opacity=60);
\r
131 .ui-layout-toggler-hover , /* need when NOT resizable */
\r
132 .ui-layout-resizer-hover .ui-layout-toggler-hover { /* need specificity when IS resizable */
\r
133 background-color: #FC6;
\r
135 filter: alpha(opacity=100);
\r
137 .ui-layout-toggler-north ,
\r
138 .ui-layout-toggler-south {
\r
139 border-width: 0 1px; /* left/right borders */
\r
141 .ui-layout-toggler-west ,
\r
142 .ui-layout-toggler-east {
\r
143 border-width: 1px 0; /* top/bottom borders */
\r
145 /* hide the toggler-button when the pane is 'slid open' */
\r
146 .ui-layout-resizer-sliding .ui-layout-toggler {
\r
150 * style the text we put INSIDE the togglers
\r
152 .ui-layout-toggler .content {
\r
157 padding-bottom: 0.35ex; /* to 'vertically center' text inside text-span */
\r
162 * these styles are hard-coded on mask elems, but are also
\r
163 * included here as !important to ensure will overrides any generic styles
\r
166 border: none !important;
\r
167 padding: 0 !important;
\r
168 margin: 0 !important;
\r
169 overflow: hidden !important;
\r
170 position: absolute !important;
\r
171 opacity: 0 !important;
\r
172 filter: Alpha(Opacity="0") !important;
\r
174 .ui-layout-mask-inside-pane { /* masks always inside pane EXCEPT when pane is an iframe */
\r
176 left: 0 !important;
\r
177 width: 100% !important;
\r
178 height: 100% !important;
\r
180 div.ui-layout-mask {} /* standard mask for iframes */
\r
181 iframe.ui-layout-mask {} /* extra mask for objects/applets */
\r
184 * Default printing styles
\r
188 * Unless you want to print the layout as it appears onscreen,
\r
189 * these html/body styles are needed to allow the content to 'flow'
\r
192 height: auto !important;
\r
193 overflow: visible !important;
\r
195 body.ui-layout-container {
\r
196 position: static !important;
\r
197 top: auto !important;
\r
198 bottom: auto !important;
\r
199 left: auto !important;
\r
200 right: auto !important;
\r
201 /* only IE6 has container width & height set by Layout */
\r
202 _width: auto !important;
\r
203 _height: auto !important;
\r
205 .ui-layout-resizer, .ui-layout-toggler {
\r
206 display: none !important;
\r
209 * Default pane print styles disables positioning, borders and backgrounds.
\r
210 * You can modify these styles however it suit your needs.
\r
213 border: none !important;
\r
214 background: transparent !important;
\r
215 position: relative !important;
\r
216 top: auto !important;
\r
217 bottom: auto !important;
\r
218 left: auto !important;
\r
219 right: auto !important;
\r
220 width: auto !important;
\r
221 height: auto !important;
\r
222 overflow: visible !important;
\r