My files section made expand/collapse-able (issue #2346)
[pithos-web-client] / src / gr / grnet / pithos / web / public / pithos.css
1 /*
2  * Copyright 2011-2012 GRNET S.A. All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or
5  * without modification, are permitted provided that the following
6  * conditions are met:
7  *
8  *   1. Redistributions of source code must retain the above
9  *      copyright notice, this list of conditions and the following
10  *      disclaimer.
11  *
12  *   2. Redistributions in binary form must reproduce the above
13  *      copyright notice, this list of conditions and the following
14  *      disclaimer in the documentation and/or other materials
15  *      provided with the distribution.
16  *
17  * THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
18  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
21  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
24  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
27  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28  * POSSIBILITY OF SUCH DAMAGE.
29  *
30  * The views and conclusions contained in the software and
31  * documentation are those of the authors and should not be
32  * interpreted as representing official policies, either expressed
33  * or implied, of GRNET S.A.
34  */
35 body {
36         color: black;
37         font: 13px Verdana, 'PT Sans', sans-serif;
38         margin: 8px;
39         margin-top: 3px;
40         background-color: transparent;
41 }
42
43 table td {
44         font: 13px Verdana, 'PT Sans', sans-serif;
45 }
46
47 .pithos-outer {
48         background: url(images/background.png) repeat-x;
49 }
50
51 a {
52         color: white;
53         text-decoration: none;
54
55  
56 a:hover {
57         color: white;
58 }
59
60 a:visited {
61         color: white;
62 }
63
64 a.info {
65         position: relative; /*this is the key*/
66         z-index: 24;
67         color: black;
68         text-decoration: none
69 }
70
71 a.info:hover {
72         z-index: 25;
73         background-color: yellow;
74 }
75
76 a.info div {
77         display: none
78 }
79
80 a.info:hover span {
81         cursor: pointer;
82 }
83
84 /* The span will only display on :hover state. */
85 a.info:hover div {
86         display: block;
87         position: absolute;
88         bottom: 2em;
89         right: 1em;
90         width: 10em;
91         border: 1px solid lightblue;
92         background-color: #D0E4F6;
93         color: black;
94         text-align: center
95 }
96
97 .pithos-DialogBox .inner form {
98         margin: 0px;
99         clip: 
100 }
101
102 .pithos-dialogbox .inner form input,
103 .pithos-dialogbox .inner form textarea
104 {
105     border: 1px solid #aaa;
106     padding:4px;
107 }
108
109 .pithos-DialogBox .button {
110         background: none;
111         background-color: #4085A5;
112         color: white;
113         padding: 5px 6px;
114         white-space: nowrap;
115 }
116
117 .pithos-DialogBox .Caption {
118         color: white;
119         background-color: #4085a5;
120         padding: 20px;
121         border-bottom: 1px solid white;
122 }
123
124 .pithos-DialogBox .close {
125         background: url(images/close-popup.png) no-repeat;
126         cursor: pointer;
127         position: absolute;
128         width: 13px;
129         height: 13px;
130         top: 12px;
131         right: 7px;
132 }
133
134 .pithos-DialogBox .dialogMiddleCenter {
135         background: url(images/popup-bg.png) repeat-x;
136         background-color: white;
137         padding: 3px;
138 }
139
140 .pithos-DialogBox .dialogBottomCenter {
141         border-bottom: 5px solid #4085A5;
142 }
143
144 .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopLeft {
145   background-position: 0px -55px;
146 }
147 .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopRight {
148   background-position: -6px -55px;
149 }
150 .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopCenter {
151         background: #D0E4F6;
152 }
153 .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleLeft,
154 .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleCenter,
155 .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabMiddleRight {
156         background: #D0E4F6;
157         color:#d45500;
158 }
159 .pithos-TabPanelBottom {
160         border: none;
161 }
162
163 table.pithos-permList {
164         border-spacing: 3px;
165         border-collapse: collapse;
166
167 }
168
169 table.pithos-permList td {
170         padding: 5px 5px 5px 5px;
171         font-size:80%;
172 }
173
174 table.pithos-permList.props-labels {
175         font-weight: bold;
176 }
177
178 .props-labels {
179         font-size: 80%;
180         font-weight: bold;
181         padding-left: 10px;
182         padding-right: 10px;
183 }
184
185 .props-toplabels {
186         font-size: 80%;
187         font-weight: bold;
188         font-style: italic;
189         padding-left: 10px;
190         padding-right: 10px;
191 }
192
193 .props-values {
194         font-size: 80%;
195 }
196
197 .hidden-link {
198         text-decoration: none !important;
199         color: black !important;
200 }
201
202 .hidden-link:visited {
203         text-decoration: none !important;
204         color: black !important;
205 }
206
207 .pithos-topPanel {
208         background-color: #4085a5;
209         font-size: 75%;
210         height: 59px;
211         border-bottom: 1px solid white;
212 }
213
214 .gwt-MenuBar-vertical {
215         background: #D0E3ED;
216 }
217
218 .gwt-MenuBarPopup .menuPopupTopLeft {
219         background: none;
220         background-color: #D0E3ED;
221 }
222
223 .gwt-MenuBarPopup .menuPopupTopCenter {
224         background: none;
225         background-color: #D0E3ED;
226 }
227
228 .gwt-MenuBarPopup .menuPopupTopRight {
229         background: none;
230         background-color: #D0E3ED;
231 }
232
233 .gwt-MenuBarPopup .menuPopupMiddleLeft {
234         background: none;
235         background-color: #D0E3ED;
236 }
237
238 .gwt-MenuBarPopup .menuPopupMiddleRight {
239         background: none;
240         background-color: #D0E3ED;
241 }
242
243 .gwt-popuppanel {
244     border: 3px solid #D0E3ED;
245     padding: 3px;
246     background: #D0E3ED;
247     border-image: initial;
248 }
249
250 .gwt-MenuBar .gwt-MenuItem {
251         border-bottom: 1px solid #EFEFEF;
252 }
253
254 .gwt-MenuBar .gwt-MenuItem-selected {
255         background-color: #E1EFF6;
256 }
257
258 .gwt-MenuBarPopup .menuPopupBottomLeft {
259         background: none;
260         background-color: #D0E3ED;
261 }
262
263 .gwt-MenuBarPopup .menuPopupBottomCenter {
264         background: none;
265         background-color: #D0E3ED;
266 }
267
268 .gwt-MenuBarPopup .menuPopupBottomRight {
269         background: none;
270         background-color: #D0E3ED;
271 }
272
273 .pithos-sessionExpired {
274         width: 24em;
275         /* Restore the padding we remove when overriding the gwt-DialogBox style */
276         padding: 3px;
277 }
278
279 .pithos-statusbar {
280         background-color: #4085a5;
281         border: none;
282         font-size: 90%;
283         vertical-align: middle;
284         font-weight: normal;
285         height:119px;
286         color: white;
287 }
288
289 .pithos-FileListContainer {
290     padding-left: 10px;
291 }
292
293 .pithos-List {
294         cursor: default;
295         border-collapse: collapse;
296         /* prevents selecting text in table with shift and ctrl*/
297         -moz-user-select: none;
298 }
299
300 .pithos-errorMessage {
301         font-size: 90%;
302         background-color: #880000;
303         color: #fff;
304         cursor: pointer;
305 }
306
307 .pithos-errorMessage td {
308         font-size: 90%;
309 }
310
311 .pithos-warnMessage {
312         font-size: 90%;
313         background-color: #eeee99;
314         cursor: pointer;
315 }
316
317 .pithos-infoMessage {
318         font-size: 90%;
319         background-color: #ccffcc;
320         cursor: pointer;
321 }
322
323 .pithos-clearMessage {
324         font-size: 90%;
325         font-weight: bold;
326         text-decoration: none;
327         color: black;
328         padding-left: 5px;
329 }
330
331 .pithos-clearMessage:visited {
332         font-size: 90%;
333         font-weight: bold;
334         text-decoration: none;
335         color: black;
336 }
337
338 .pithos-readForAllNote {
339         width: 240px;
340         text-align: justify;
341         font-style: italic;
342         font-size: 12px;
343         padding-left: 4;
344 }
345
346 .pithos-statistics {
347         color: black;
348         padding: 10px;
349 }
350
351 .pithos-statistics .gwt-HTML {
352         font-size: smaller;
353 }
354
355 .pithos-statisticsSeparator {
356         background: url(images/separator.png) no-repeat;
357         width: 100%;
358         height: 3px;
359 }
360
361 .pithos-splitPanel {
362         background: url(images/white50.png) transparent;
363         margin-bottom: 34px;
364 }
365
366 .pithos-splitPanel-noframe {
367         margin-bottom: 0;
368 }
369
370 /* Use the background color for the splitter. */
371 .gwt-HorizontalSplitPanel .hsplitter {
372         cursor: move;
373         border: 0px;
374         background: url(images/background.png) repeat-x;
375 }
376
377 .pithos-tag {
378         display:inline;
379 }
380
381 .pithos-uploadButton {
382         background: none;
383         background-color: #ff7f2a;
384     font-size: 120%;
385     text-align: center;
386     height: auto;
387     padding: 8px;
388     width: 134px;
389     border: 0px;
390 }
391
392 .pithos-uploadButton-loading {
393         background: url(images/ajax-loader.gif) no-repeat;
394         background-position: 110px 0px;
395         background-color: #ff7f2a;
396 }
397
398 .pithos-uploadButton:HOVER {
399     background-color: #f95;
400 }
401
402 .pithos-rightSide {
403     vertical-align: middle;
404     width: 100%;
405     padding-left: 7px;
406 }
407 .pithos-parentButton {
408     background: none;
409     background-color: #a1c8da;
410 }
411
412 .pithos-folderStatistics {
413     background-color: #a1c8da;
414     text-align: center;
415     color: white;
416     height: 32px;
417         padding: 5px 15px;
418         margin-right: 10px;
419         margin-left: 10px;
420 }
421
422 .grnet-sign {
423         color: #72ADC8;
424 }
425
426 .pithos-logo {
427         position: absolute;
428         top: 65px;
429 }
430
431 .pithos-header {
432         background: url(images/white50.png);
433         margin-top: 34;
434         height: 60px;
435 }
436
437 .pithos-header-noframe {
438         margin-top: 0;
439 }
440
441 /*.cellTreeWidget-selectedTree {
442     background-color: #BCD7E3;
443 }*/
444
445 .pithos-list thead th img {
446     top: 5px !important;
447 }
448
449 .effectPanel-inner {
450         background-color: #4085A5;
451         margin: 10px;
452 }
453
454 .clearfix {
455         display: block;
456         width: auto;
457         zoom: 1;
458 }
459
460 div#toolbar {
461         clear: both;
462         color: white;
463         float: right;
464 /*      position: absolute;
465         right: 15px;
466         top: 15px;*/
467 }
468
469 div#toolbar a {
470         display: block;
471         float: left;
472 }
473
474 .pithos-toolbarItem {
475         text-decoration: none;
476         font-size: 0.8em;
477         padding: 4px;
478         padding-right: 8px;
479         color: white;
480         margin-left: 5px;
481         background-repeat: no-repeat;
482         background-color: #A1C8DB;
483 }
484
485 .pithos-toolbarItem:HOVER {
486         background-color: #74aec9;
487 }
488
489
490 .pithos-toolbarItem span {
491         float: left;
492         padding-top: 2px;
493 }
494
495 .pithos-toolbarItem span.ico {
496         width: 16px;
497         height: 16px;
498         margin-right: 5px;
499         background-repeat: no-repeat;
500 /*      background-position: -36px 0;*/
501 }
502
503 #tools-button span.ico {
504         background-image: url(images/advancedsettings.png);
505 }
506
507 #refresh-button span.ico {
508         background-image: url(images/refresh.png);
509 }
510
511 #newFolder-button span.ico {
512         background-image: url(images/folder_new.png);
513 }
514
515 #shareFolder-button span.ico {
516         background-image: url(images/myshared22.png);
517 }
518
519 /*move background from inner to centerinner to wrap action buttons too*/
520 .dialogMiddleCenterInner.dialogContent  {
521     background: url(images/white50.png); 
522     margin: 7px;
523     padding: 15px;
524     /*border: 1px solid #aaa;*/
525     -moz-box-shadow: 0 0 1px 1px #888;
526     -webkit-box-shadow: 0 0 1px 1px #888;
527     box-shadow: 0 0 1px 1px #888;
528 }
529
530 .pithos-dialogbox .outer {
531     width: 600px;
532 }
533
534 /*remove background/padding from .inner*/
535 .pithos-dialogbox .inner {
536     background: none;
537     padding:0;
538     width: 100%;
539 }
540
541 /*button position within the overlay content*/
542 .dialogMiddleCenterInner .button {
543     margin-left: 2px;
544     border: none;
545     padding: 7px 20px;
546     margin-top: 10px;
547     float: right;
548     margin-right: 4px;
549 }
550
551 /* fix placement of overlay paragraphs */
552 .pithos-credentialstext {
553     padding: 0 0 10px 0;
554 }
555
556 /* overlay styles */
557 .pithos-dialogbox {
558     background-color: white;
559     border: 2px solid #444;
560     text-align: left;
561     -moz-box-shadow: 0 0 90px 5px #000;
562     -webkit-box-shadow: 0 0 90px 5px #000;
563     box-shadow: 0 0 90px 5px #000;
564         clip: inherit !important;
565 }
566
567 /* hide overlay dialogue unneeded side elements */
568 .dialogMiddleRight, .dialogBottomRight, .dialogTopRight,
569 .dialogMiddleLeft, .dialogBottomLeft, .dialogTopLeft,
570 .dialogBottomCenter {
571     display: none;
572 }
573
574 /* fix dialogbox caption padding and font-size */
575 .pithos-dialogbox .caption {
576     padding: 10px !important;
577     font-size: 1.1em;
578 }
579
580
581 /* form input styling */
582 .dialogMiddleCenterInner input {
583     border: 1px solid #aaa;
584     padding: 4px;
585 }
586
587 /* fix tag color */
588 a.pithos-tag {
589     color: #4085a5;
590 }
591
592 .pithos-invitationsLeft {
593     padding: 0 0 10px 0;
594         border-bottom: 1px solid #4085A5;
595 }
596
597 .pithos-leftInvitationsNumber {
598         background-color: #4085A5;
599         padding: 3px;
600         color: white;
601         font-weight: bold;
602 }
603
604 .pithos-sendInvitationsPanel {
605         margin-top: 10px;
606         border-right: 1px solid #4085A5;
607         padding-right: 5px;
608 }
609
610 .pithos-sendInvitationsTitle {
611         font-weight: bold;
612         color: #4085A5;
613         margin-right: 10px;
614 }
615
616 .pithos-addInvitationImg {
617         background-color: #4085A5;
618         padding: 5px;
619         cursor: pointer;
620 }
621
622 .pithos-invitationResponse {
623         background-color: green;
624         color: white;
625         padding: 5px;
626 }
627
628 .pithos-invitationResponseError {
629         background-color: #880000;
630         color: #fff;
631         padding: 5px;
632 }
633
634 .pithos-invitationResponse .user {
635         font-weight: bold;
636 }
637
638 .props-labels .eg {
639         font-weight: normal;
640         color: gray;
641 }
642
643 .pithos-invitationsSplitPanel {
644         width:100%;
645 }
646
647 .pithos-invitationDeleteImg {
648         cursor: pointer;
649 }
650
651 .pithos-invitationFormRow {
652         border-top: 1px solid gray;
653 }
654
655 .pithos-sendInvitationButton {
656     background: none;
657     background-color: #ff7f2a;
658     text-align: center;
659     height: auto;
660     padding: 8px;
661     border: none;
662     color: white;
663 }
664
665 .pithos-sentInvitationsPanel {
666         margin-top: 10px;
667         padding-left: 5px;
668         width: 100%;
669 }
670
671 .pithos-sentInvitationsTitle {
672         font-weight: bold;
673         color: #4085A5;
674 }
675
676 .pithos-sentInvitationsTable {
677         width: 100%;
678 }
679
680 .pithos-invitedEmail {
681         color: #ff7f2a;
682         font-weight: bold;
683 }
684
685 .pithos-invitedEmailBorder {
686         border-bottom: 1px solid #4085A5;
687 }
688
689 .pithos-resendInvitation {
690         cursor: pointer;
691 }
692
693 .pithos-pagerButton {
694         background: none;
695         background-color: transparent;
696         border: 1px solid gray;
697         color: gray;
698         padding: 0px 2px 0px 2px;
699         font-size: 80%;
700 }
701
702 .pithos-pagerButton:HOVER {
703         background-color: #4085A5;
704         color: white;
705 }
706
707 .pithos-pagerButtonCurrent {
708         background-color: #4085A5;
709         color: white;
710 }
711
712 .pithos-metaTitle {
713         font-weight: bold;
714 }
715
716 .pithos-addMetaImg {
717         background-image: url(images/plus.png);
718         background-color: #4085A5;
719         background-repeat: no-repeat;
720         background-position: center;
721         padding: 8px;
722         cursor: pointer;
723 }
724
725 .pithos-metaDeleteImg {
726         background: url(images/delete.png);
727         background-repeat: no-repeat;
728         background-position: center;
729         padding: 10px;
730         cursor: pointer;
731 }
732
733 .pithos-metaName {
734         width: 7em;
735 }
736
737 .pithos-metaValue {
738         width: 7em;
739 }
740
741 .pithos-versionList {
742         padding-right: 5px;
743 }