PageRenderTime 26ms CodeModel.GetById 11ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/static/june_2007_style/panel_layout.css.tmpl

https://bitbucket.org/cistrome/cistrome-harvard/
Go Template | 375 lines | 328 code | 47 blank | 0 comment | 0 complexity | 34d72febf661d9b2d44de8a699dd0dcf MD5 | raw file
  1body {
  2    font: 75% "Lucida Grande",verdana,arial,helvetica,sans-serif; 
  3    background: ${layout_bg};
  4}
  5
  6.unselectable {
  7    user-select: none;
  8    -moz-user-select: none;
  9    -webkit-user-select: none;
 10}
 11
 12#background {
 13    position: absolute;
 14    background: ${layout_bg};
 15    z-index: -1;
 16    top: 0;
 17    left: 0;
 18    margin: 0;
 19    padding: 0;
 20    width: 100%;
 21    height: 100%;
 22}
 23
 24#messagebox {
 25    position:absolute; 
 26    top:33px; 
 27    left:0; 
 28    width:100%; 
 29    height:24px !important;
 30    overflow: hidden; 
 31    border-bottom: solid #999 1px;
 32    font-size: 90%;
 33}
 34
 35#left, #left-border, #center, #right-border, #right {
 36    position: absolute; 
 37    top: 39px;
 38    bottom: 0px;
 39    overflow: hidden; 
 40    background: #fff;
 41}
 42#left, #center, #right {
 43    border-top: solid ${layout_border} 1px;
 44}
 45#left-border, #right-border {
 46    background: #eeeeee;
 47    border-left: solid ${layout_border} 1px;
 48    border-right: solid ${layout_border} 1px;
 49    padding-right: 1px;
 50    padding-left: 1px;
 51    width: 5px;
 52    z-index: 10000; }
 53#left-border div, #right-border div {
 54    width: 100%;
 55    height: 100%;
 56    background-repeat: no-repeat; 
 57    background-position: center center;
 58    position: absolute;
 59    width: 5px;
 60    height: 100%;
 61}
 62#left-border div, #right-border.hidden div {
 63    background-image: url(tiny_arrow_left.png);
 64    cursor: w-resize;
 65}
 66#left-border.hidden div, #right-border div {
 67    background-image: url(tiny_arrow_right.png);
 68    cursor: e-resize;
 69}
 70#left-border.hover div, #right-border.hover div {
 71    background-color: ${layout_hover};
 72}
 73#left  {
 74    left: 0px;
 75    width: 250px;
 76    z-index: 200;
 77}
 78#left-border  {
 79    left: 250px;
 80}
 81#center  {
 82    left:259px;
 83    right: 259px;
 84    overflow: hidden;
 85    z-index: 1;
 86}
 87#right-border  {
 88    right: 250px;
 89}
 90#right {
 91    width: 250px;
 92    right: 0px; 
 93    z-index: 200;
 94}
 95
 96.unified-panel-header {
 97    height: 2em;
 98    z-index: 1000;
 99    background: ${panel_header_bg_bottom};
100    background-image: url(panel_header_bg.png);
101    background-position: top center;
102    background-repeat: repeat-x;
103    border-bottom: solid ${layout_border} 1px;
104    margin: 0;
105    padding: 0;
106    padding-right: 10px;
107    padding-left: 10px;
108    color: #333;
109    font-weight: bold;
110}
111  
112.unified-panel-header-inner {
113    padding-top: 0.45em;
114}
115  
116.menu-bg {
117    background: $menu_bg_over url(menu_bg.png) top repeat-x;
118}
119    
120div.unified-panel-body {
121    position: absolute;
122    top: 2em;
123    bottom: 0;
124    width: 100%;
125    margin-top: 1px;
126}
127
128.panel-header-button {
129    color: #333;
130    text-decoration: none;
131    display: inline-block;
132    cursor: pointer;
133    margin: -1px; padding: 1px;
134    margin-top: -0.2em;
135    border: solid #999 1px;
136    padding-right: 0.5em;
137    padding-left: 0.5em;
138    -moz-border-radius: 0.5em;
139    -webkit-border-radius: 0.5em;
140    border-radius: 0.5em;
141}
142
143.panel-header-button.popup {
144    padding-right: 1.75em;
145    background: url(../images/dropdownarrow.png) no-repeat right 7px;
146}
147
148.panel-header-button:hover {
149    color: black;
150    background-color: #ccc;
151}
152
153.panel-header-button:active {
154    color: white;
155    background-color: #aaaaaa;
156}
157
158#overlay {
159    position: fixed;
160    top: 0; left: 0; width: 100%; height: 100%;
161    z-index: 20000;
162}
163
164.dialog-box-container {
165    position: relative;
166    margin-top: 80px;
167    margin-right: auto;
168    margin-left: auto;
169}
170
171.dialog-box-wrapper {
172    position: relative;
173    padding: 1em;
174    background-color: rgba(0,0,0,0.5);
175    -moz-border-radius: 1em;
176    -webkit-border-radius: 1em;
177}
178
179.dialog-box {
180    border: solid #999 1px;
181    background: white;
182    z-index: 80000;
183}
184
185.dialog-box .body {
186    padding: 5px;
187    overflow: auto;
188    max-height: 500px;
189    min-width: 300px;
190}
191
192.dialog-box .buttons {
193    padding: 5px;
194}
195
196## Messages for message box, slightly different style
197
198.panel-error-message, .panel-warning-message, .panel-done-message, .panel-info-message
199{
200    height: 24px;
201    line-height: 24px;
202    color: $base_text;
203    padding: 0px;
204    padding-left: 26px;
205    background-color: $error_message_bg;
206    background-image: url(error_small.png);
207    background-repeat: no-repeat;
208    background-position: 6px 50%;
209}
210
211.panel-warning-message 
212{
213    background-image: url(warn_small.png);
214    background-color: $warn_message_bg;
215}
216
217.panel-done-message 
218{
219    background-image: url(done_small.png);
220    background-color: $done_message_bg;
221}
222
223.panel-info-message 
224{
225    background-image: url(info_small.png);
226    background-color: $info_message_bg;
227}
228
229## Masthead
230
231#masthead {
232    position:absolute; 
233    top:0; 
234    left:0; 
235    width:100%;
236    min-width:900px;
237    height:32px;
238    background: ${masthead_bg}; 
239    color:#fff;
240    border-bottom: solid ${layout_masthead_border} 1px;
241    z-index: 15000;
242    padding: 0;
243
244    a {
245        color: ${masthead_link};
246        text-decoration: none;
247    }
248    
249    .title {
250        font-family: verdana;
251        padding: 3px 10px;
252        font-size: 175%;
253        font-weight: bold;
254        z-index: -1;
255    }
256}
257
258#masthead a:hover {
259    text-decoration: underline;
260}
261
262.quota-meter-container
263{
264    position: absolute;
265    top: 0;
266    right: 0;
267    height: 32px;
268}
269
270.quota-meter
271{
272    position: absolute;
273    top: 8px;
274    right: 8px;
275    height: 16px;
276    width: 100px;
277    background-color: $quota_meter_bg;
278}
279
280.quota-meter-bar
281{
282    position: absolute;
283    top: 0;
284    left: 0;
285    height: 16px;
286    background-color: $quota_meter_bar;
287}
288
289.quota-meter-bar-warn
290{
291    background-color: $quota_meter_warn_bar;
292}
293
294.quota-meter-bar-error
295{
296    background-color: $quota_meter_error_bar;
297}
298
299.quota-meter-text
300{
301    position: absolute;
302    top: 50%;
303    left: 0;
304    width: 100px;
305    height: 16px;
306    margin-top: -6px;
307    text-align: center;
308    z-index: 9001;
309    color: $quota_meter_text;
310}
311
312## Tabs
313
314.tab-group {
315
316    margin: 0;
317    padding: 0 10px;
318    height: 100%;
319    white-space: nowrap;
320    cursor: default;
321    background: transparent;
322   
323    .tab {
324    
325        background: ${masthead_bg};
326        position: relative;
327        float: left;
328        margin: 0;
329        padding: 0 1em;
330        height: 32px;
331        line-height: 32px;
332        text-align: left;
333        
334        .submenu {
335        
336            display: none;
337            position: absolute;
338            z-index: 16000;
339            left: 0;
340            top: 32px;
341            padding: 1em;
342            margin: -1em;
343            padding-top: 0;
344            margin-top: 0;
345            background-color: rgba(0,0,0,0.5);
346            -moz-border-radius: 0 0 1em 1em;
347            -webkit-border-bottom-right-radius: 1em;
348            -webkit-border-bottom-left-radius: 1em;
349        
350            ul {
351            
352                display: block;
353                margin: 0;
354                padding: 0;
355                list-style-type: none;
356                background: ${masthead_bg};
357            
358                li {
359                
360                    display: block;
361                    padding: 0 1em;
362                    white-space: nowrap;
363                }
364            }
365        }
366    }
367
368    .tab:hover > a {
369        color: gold !important;
370    }
371
372    .active {
373        background: rgb(1,1,1);
374    }
375}