-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathportal.css
1720 lines (1693 loc) · 48.8 KB
/
portal.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
/* PART 1 - MAIN LAYOUT BLOCKS
/* general body - used by main portal document */
body.portalBody {
width: 100%;
padding: 0;
font-family: "Open Sans",sans-serif;
font-size: .8em;
margin: 0;
background-repeat: repeat-x;
}
/* outer wrapper for portal content (decorative - child is #portalContainer ) */
#portalOuterContainer {}
/* inner wrapper for portal content (decorative - children are #header #container and #footer ) */
#portalContainer {}
/* wrapper for masthead and site navigation. Two possible states - not logged in (#headerMin), logged in (#headerMax)
* this allows you to provide different user experiences for both states */
#headerMax, #headerMin {
width: 100%
}
/* accessibility links wrapper */
#skipNav {}
/* wrapper for site content (includes as children #toolMenuWrap,#content and #footer) */
#container {
background: #fff;
}
/* wrapper for #toolMenu - children are #worsiteLogo,#toolMenu */
#toolMenuWrap {
float: left;
width: 12em;
color: #000;
text-align: right;
padding: 0;
border: none;
margin-bottom: 30px;
}
#toolMenuWrap #toggler {
display: block;
float: right;
}
.toolMenuIcon {
padding: 1px 0;
}
/* wrapper for site content (portlets) - children can be #col1 or #col1of2 and #col2of2 depending in the number of columns */
#content {
padding: .8em 0 0 13.2em;
}
/* second wrapper for content - needed by SAK-12563 */
#innercontent {
float: left;
width:100%
}
#col1of2 .portletTitleWrap, #col2of2 .portletTitleWrap {
width: 98.5%;
border-bottom: 2px solid #009DCE;
}
#col1of2 .portletMainWrap, #col2of2 .portletMainWrap {
width: 98.5%;
margin-bottom: .5em;
}
#col1 .portletTitleWrap {
width: 99%;
}
#col1 .portletMainWrap {
width: 99%
}
/* wrapper for footer blocks */
#footer {
clear: both;
background: #444;
padding: 10px;
text-align: center;
background: #fff;
border-top: 2px solid #ddd;
width: 90%;
margin: 0 auto;
}
#footerLinks {
text-align: center;
font-size: .9em;
margin: 0;
padding: 0;
}
#footerLinks li {
margin: 0;
border-left: 1px solid #ccc;
display: inline;
list-style-type: none;
padding: 0;
}
#footerLinks li:first-child {
border: none
}
.logos_footer{
margin: 1em auto;
width: 50%;
}
.logo_riw{
background: transparent url(images/logo_riw.png) 0 0 no-repeat;
background-size: 100%;
display: inline-block;
margin-right: 2em;
height: 30px;
width: 100px;
}
.logo_unicamp{
background: transparent url(images/logo_unicamp.png) 0 0 no-repeat;
background-size: 100%;
display: inline-block;
height: 30px;
width: 30px;
}
/* PART 2 - HEADER BLOCKS (BRANDING,LOGIN) */
#headerMax, #headerMin {
background: #01A8E0;
}
#headerMin {
overflow: hidden;
}
/* outermost block containing mast head elements and site navigation. Block also has a class = site type name, in case you need to
* do something special to either mast head elements or site navigation depending on the site type (i.e. a site type='collab') may get a banner with a
* graphic denoting so: .collaboration .mastHead .mastBanner{url to the 'collaboration' image}*/
#siteNavWrapper {}
/* wrapper for mast head elements - children are 2 blocks - #mastLogo,#mastBanner
* in this skin it and the children are hidden, The gradient is specified above, the logo is specified
* as a background image in "ul.topnav" */
#mastHead {
clear: both;
display: block;
}
/* container wrapping branding images - portal outputs one /library/skin/<skin name>/images/logo_inst.gif
that can be used or hidden,can also use a background: url(images/<image name>.<ext>) in this block,or both superimposing them */
#mastLogo {
display: none;
}
#mastLogo img {
display: none
}
/* show #mastLogo if the user is not logged in so that we can display the logo in the usual place (the logo
in this skin is rendered via ul.topnav, which a anon user does not see)*/
#headerMin #mastLogo {
display: block;
background-image: url("images/logo.png");
background-repeat: no-repeat;
background-position: 10px 14px;
float: left;
width: 150px;
height: 50px;
overflow: hidden;
background-size: 120px;
}
/* another container wrapping branding images - portal outputs one /library/skin/<skin name>/images/banner_inst.gif
that can be used or hidden,can also use a background: url(images/<image name>.<ext>) in this block,or both superimposing them */
#mastBanner {
display: none;
}
#mastBanner img {
display: none;
}
/* #mastLogin is a sibling of #mastLogo and #mastBanner when user is not logged in. It is located at #headerMax > #siteNavWrapper > .siteNavWrap > #siteNav when
* a user is logged in. It is a container wrapping, depending on Sakai settings: 1) #loginForm: a login form,2) a login link for CAS,3) a logout link, 4) a link to open a menu with user
* centered info and controls, as well as 5) a role switching control set
*/
#mastLogin {
float: right;
padding: 17px 10px 10px;
}
/* #mastLogin #loginForm is the form for login - contains children #eid #pw #submit as well as labels for these inputs*/
#loginForm {
color: #fff;
}
#loginForm label {
padding: 0 6px;
color: #fff;
}
#eid, #pw {
border: 1px solid #ccc;
padding: 3px;
margin-right: 15px;
width: 7em;
}
/* #submit is rendered like the logout link, so defined there, instead of here,
* display: block there overriden here */
#submit {display: inline !important;}
#submit:hover {}
/* #mastLogin #loginLinks: block for login/logout links and link to the user centered menu */
#loginLinks {
float: right;
color: #aaa;
margin: 0;
}
/* login links for CAS,logout link */
#loginLinks a, #loginLinks a:visited {
color: #fff;
float: right;
}
/* #loginLink1 is the "login/logout" link in a CAS setup, #loginLink2 is the secondary CAS link: login for
guests, for example */
#loginLink1, #loginLink2 {
text-decoration: none;
margin-top: -4px !important;
}
#loginLink2 {
margin: 0 5px;
}
/* main rendering for all links and the submit button */
#loginLink1, #loginLink2, form#loginForm input#submit {
display: block;
border-radius: 5px;
padding: 4px 6px;
text-align: center;
text-decoration: none;
background: #008DB9;
background: -moz-linear-gradient(top, #008DB9 0%, #007194 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#008DB9), color-stop(100%,#007194));
background: -webkit-linear-gradient(top, #008DB9 0%,#007194 100%);
background: -o-linear-gradient(top, #008DB9 0%,#007194 100%);
background: -ms-linear-gradient(top, #008DB9 0%,#007194 100%);
background: linear-gradient(top, #008DB9 0%,#007194 100%);
border: 1px solid #005A76;
}
#headerMin #loginLink1, #headerMin #loginLink2 {
margin-top: -2px;
}
#loginLink1:hover, #loginLink2:hover, form#loginForm input#submit:hover {
background: #007194;
text-decoration: none;
}
/*make secondary CAS login link (ie. Guest Login) different*/
#loginLink2, #loginLink2:hover {
background: none;
border: none;
}
#loginLink2:hover {
text-decoration: underline;
}
/* container for the link to open the user menu, and the menu itself */
#loginLinks .topnav {
float: left;
display: block;
}
#loginLinks .nav-menu > span {
display: none;
}
#loginLinks .nav-menu > span.drop {
display: block !important;
}
/* link to toggle the user info and controls */
#mastLogin span.drop {
cursor: pointer;
background: transparent url(/library/image/silk/user.png) 0 0 no-repeat;
margin: 0 10px 0 10px;
width: 20px;
height: 20px;
}
/* menu for user actions (could be one of several:link to profile, preferences, add a new site, view tutorial, other)*/
#mastLogin ul.subnav {
list-style: none;
position: absolute;
left: auto !important;
right: 2px;
margin: 0;
padding: 0;
display: none;
float: left;
width: 100%;
white-space: nowrap;
z-index: 100;
}
#mastLogin ul.subnav li.submenuitem {
margin: 0;
display: block;
height:100%;
overflow: hidden;
text-align: left;
}
/* link items in above menu (some attr/vals are same as for site tool sub-menu, and submenus in othe rsites tray so both are doubled up here)*/
ul.nav-submenu li.submenuitem a, #mastLogin li.submenuitem a, #otherSiteTools li a {
background-position: 3px center !important;
background-repeat: no-repeat !important;
outline: none;
text-decoration: none;
width: 180px;
padding-left: 25px;
font-weight: normal;
color: #111;
color: #444;
padding: 7px 6px 6px 25px !important;
font-size: 1em !important;
}
/* icons for specific menu items */
#mastLogin ul.subnav li.submenuitem a.submenuitem-new-site {
background-image: url(/library/image/silk/application_lightning.png )
}
#mastLogin ul.subnav li.submenuitem a.submenuitem-profile {
background-image: url(/library/image/silk/vcard_edit.png)
}
#mastLogin ul.subnav li.submenuitem a.submenuitem-prefs {
background-image: url(/library/image/silk/cog.png)
}
#mastLogin ul.subnav li.submenuitem a.submenuitem-tutorial {
background-image: url(/library/image/silk/help.png)
}
#mastLogin ul.subnav li.submenuitem:last-child a {
border-bottom: none
}
/* #mastLogin can also contain controls to toggle in/out of different roles #roleSwitch is the container for: a selct menu, links */
#roleSwitch {
float: left;
padding: 0 5px;
}
#roleSwitch select {
font-size: 0.9em;
}
#roleSwitch a#roleSwitchAnchor:hover {
text-decoration: underline;
}
#roleSwitch label, #roleSwitch a#roleSwitchAnchor {
text-decoration: none;
color: #fff;
padding: 0 5px;
}
/* PART 3 - SITE NAVIGATION - children of #siteNavWrapper
/* outer wrapper for the site navigation blocks and login and user menu for logged in users - it will also have a class with a value equiv to the site type, so any of
* the childen can be styled depending on the site type (course, project, etc). */
.siteNavWrap {
width: 100%;
font-size: 100%;
line-height: normal;
padding: 0;
}
/* wrapper for the site links, link to the 'more sites' tray, logout controls - children are #mastLogin and #linkNav*/
#siteNav {}
/* wrapper for the site link list and link to the 'more sites' tray - since the logo is displayed here on left, it is padded.*/
#linkNav {
display: block;
padding-right: 300px;
}
/* site tab navigation: a list right padding makes room for logo and matches width of tool menu
* if you do not have a logo you can eliminate it to save some room */
#linkNav ul.topnav {
list-style: none;
padding: 8px 0 5px 155px; /* matches the width of the toolMenu*/
margin: 0;
width: 100%;
background: transparent url(images/logo.png) 10px 13px no-repeat;
background-size: 130px;
}
/* the individual containers for the site links, tool menu control, tool menu*/
ul.topnav li {
display: inline-block;
/* Note: IE 7 hack and IE 8 compat mode*/
*display: inline;
*float: left;
margin: 0 5px 0 0;
padding: 0;
position: relative; /*--Declare X and Y axis base for sub navigation--*/
font-weight: bold;
border: 1px solid transparent;
}
/* hover treatment for site links*/
ul.topnav li.nav-menu:hover, ul.topnav li.more-tab:hover {
border: 1px solid #45D0FF;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
/* current site control rendering */
ul.topnav li.nav-selected {
background: #1481ba;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
/* site submenu trigger */
ul.topnav li span.drop {
width: 17px;
margin-top: 3px;
margin-right: 7px;
height: 29px;
float: left;
background: url(images/subnav_btn.png) no-repeat center -3px;
}
/* site submenu trigger hover, move the subnav_btn.png sprite up*/
ul.topnav li span.subhover {
background-position: center -38px;
cursor: pointer;
}
/* The menu displayed for each site link, contains the tools of the site. Also used
in constructing menu for user links in #mastLogin, as well as the submenus for the sites in the "more sites" tray */
ul.topnav li ul.subnav, #mastLogin ul.subnav, #otherSiteTools {
list-style: none;
position: absolute;
top: 31px;
background: #f3f3f3;
font-size: .9em;
margin: 0;
padding: 0 !important;
display: none;
float: left;
width: 210px;
border: 1px solid #ccc;
border-width: 1px 1px 0 1px;
z-index: 100;
-moz-box-shadow: 0 0 8px #444;
-webkit-box-shadow: 0 0 8px #444;
box-shadow: 0 0 8px #444;
}
/* each tool in the above menu as well as the one on #mastLogin and the submenus in the other sites tray */
ul.topnav li ul.subnav li, #mastLogin ul.subnav li, .otherSiteTool {
background: #f3f3f3;
border: 1px solid #ccc;
border-width: 0 0 1px 0;
width: 100%;
}
/* some overrides for the menu in #mastLogin */
#mastLogin ul.subnav li {
border: none;
outline: 1px solid #ccc;
}
/* treatment for focus and hover in the site and user sub-menus, as well as submenus in other sites */
ul.topnav li ul.subnav li:hover, ul.topnav li ul.subnav li a:focus,
#mastLogin li.submenuitem:hover, #mastLogin ul.subnav li.submenuitem a:focus, #otherSiteTools li:hover {
text-decoration: none;
color: #000;
background: #e1e1e1;
}
/* link to site */
ul.topnav li a {
padding: 8px 7px 8px 8px;
font-size: 13px;
color: #fff;
text-decoration: none;
float: left;
display: block;
}
/* Note:not needed? tool submenu for sites in site list
span.topnav li ul.subnav li {
margin: 0;
padding: 0;
clear: both;
width: 210px;
}
*/
/* treatment of a tool that has been hidden via Page Order tool - below takes care of tools in submenus as well as in the site tool menu */
li.submenuitem span.hidden, #toolMenu li a.hidden {
font-style: italic;
opacity: 0.7;
}
/* "More sites" link container, link and image background container */
li.more-tab {
padding-right: 7px !important
}
li.more-tab a {
background: transparent url(images/subnav_btn_more.png) right -0px no-repeat;
display: block;
height: 16px;
padding: 0;
margin: 0;
}
li.more-tab a span {
padding-right: 15px
}
/* container for tray that opens when "More sites" is activated, both the default and the categorized one when portal.use.dhtml.more=true in sak.props. */
#selectSite {
background: #f3f3f3;
border-width: 0;
border: 1px solid #888;
color: #000;
left: 10%;
line-height: 1.5em;
padding: 0 0 15px 0;
position: absolute;
right: 4px;
top: 0;
vertical-align: middle;
width: 80%;
z-index: 9999;
border-radius: 0px 0px 5px 5px;
-moz-border-radius: 0px 0px 5px 5px;
-webkit-border-radius: 0px 0px 5px 5px;
box-shadow: 0 0 10px #555;
-moz-box-shadow: 0 0 10px #555;
-webkit-box-shadow: 0 0 10px #555;
}
/* mask that gets applied to the portal when "More sites" is triggered, making the tray modal sort of*/
#portalMask {
background-color: #ffffff;
position: absolute;
height: 100%;
z-index: 9000;
top: 0;
left: 0;
filter: alpha(opacity=50);
opacity: 0.50;
}
/* wrapper and menu in the "Other Sites" tray (View all Sites, Add site, Preferences [tab management])*/
#otherSiteMenuWrap {
margin: 5px;
padding: 5px;
width: auto;
height: 30px;
}
#otherSiteMenuWrap * {
vertical-align: middle
}
ul#otherSitesMenu {
border-bottom: 1px solid #aaa;
font-size: .9em;
text-align: right;
}
/* style the menu for the tray - since the publish site link is the same, doubled up here */
ul#otherSitesMenu li, #siteStatus a {
width: auto;
font-size: 1.1em;
padding: 2px 3px 3px 3px;
display: inline-block;
margin: 0 4px 4px 0;
border: 1px solid #ccc;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
background: #e7e7e7;
background: -moz-linear-gradient(top, #f7f7f7 0%, #e7e7e7 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e7e7e7));
background: -webkit-linear-gradient(top, #f7f7f7 0%,#e7e7e7 100%);
background: -o-linear-gradient(top, #f7f7f7 0%,#e7e7e7 100%);
background: -ms-linear-gradient(top, #f7f7f7 0%,#e7e7e7 100%);
background: linear-gradient(top, #f7f7f7 0%,#e7e7e7 100%);
box-shadow: 0 0 5px rgba(200, 200, 200, .2);
-moz-box-shadow: 0 0 5px rgba(200, 200, 200, .2);
-webkit-box-shadow: 0 0 5px rgba(200, 200, 200, .2);
}
#otherSitesMenu li a, #otherSitesMenu li a:visited {
display: block;
padding: 3px;
text-decoration: none;
color: #444;
font-weight: bold;
}
/* since the publish site link is the same, doubled up here */
#otherSitesMenu li a:hover, #siteStatus a:hover, #siteStatus a:focus {
color: #009dce;
}
/*container and control to close the "Other sites tray"*/
#otherSitesMenu #otherSiteCloseW {
margin-left: 10px
}
#otherSitesMenu #otherSiteCloseW a {
color: #c00;
}
/* the lists in the tray (sites and controls): two types, depending on whether portal.use.dhtml.more=true in sak.props*/
ul#otherSiteList {
list-style: none;
margin: 5px;
padding: 0;
clear: both;
float: left;
font-size: .9em;
max-height: 315px;
overflow: auto;
}
ul.otherSitesCategorList {
float:none;
clear: both;
height:100%;
margin:0;
overflow:
}
/* list of sites in the "More sites" tray (both flat and categorized via s.p. "portal.use.dhtml.more=true" *), since there
* is a lot of commonalities they are both mixed up here. The flat view container is ul#otherSiteList and the categorized one is
* ul.otherSitesCategorList. This last one will appear once per each category
*/
ul#otherSiteList li, ul.otherSitesCategorList li {
background: #009DCE;
background: -moz-linear-gradient(top, #009DCE 0%, #007EA5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#009DCE), color-stop(100%,#007EA5));
background: -webkit-linear-gradient(top, #009DCE 0%,#007EA5 100%);
background: -o-linear-gradient(top, #009DCE 0%,#007EA5 100%);
background: -ms-linear-gradient(top, #009DCE 0%,#007EA5 100%);
background: linear-gradient(top, #009DCE 0%,#007EA5 100%);
border: 1px solid #005A76;
font-weight: bold;
position: relative;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
overflow: hidden;
margin: 6px 6px 0 0;; /*Note: check uncategorized */
line-height: 1.1em;
width: 18em;
float: left;
display: block;
}
ul#otherSiteList li a, ul.otherSitesCategorList li a {
display: block;
padding: 8px;
text-decoration: none;
color: #fff;
white-space: nowrap;
}
ul#otherSiteList li a:focus span, ul.otherSitesCategorList li a:focus span {
outline: 1px dotted #fff;
}
ul#otherSiteList li a span, ul.otherSitesCategorList li a span {
width: 14em;
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
/* search elements for flat other sites tray search */
#otherSiteSearch {
margin: 15px;
float: left;
}
#otherSiteSearch span#noSearchResults {
padding-left: 10px;
color:#555;
}
#otherSiteSearch #imgSearch {
margin-left: 5px;
}
#otherSiteSearch label {
padding-right: 15px;
font-weight: bold;
}
/* specific to categorized view */
#otherSitesCategorWrap {
float: none;
clear: both;
margin: 5px;
max-height: 300px !important;
overflow: auto;
}
#otherSitesCategorWrap h4 {
float: none;
clear: both;
color: #555;
font-size: 90%;
text-transform: uppercase;
padding: 4px 10px 0 7px;
margin: 0 0 0 0;
}
/* tool submenu for sites in the "More sites" tray (both flat and categorized)*
* shares attr/vals with ul.topnav li ul.subnav, #mastLogin ul.subnav, #otherSiteTools above, here are the overrides needed for this context */
#otherSiteTools {
display: block;
z-index: 1000000;
}
#otherSiteTools li a {
padding: 7px 5px 6px;
padding-left: 25px;
display: block;
}
#otherSiteTools li a:focus {
color: #009DCE;
}
/* trigger that retrieves from entity broker the tool menu for a site in the "More sites" tray*/
.toolMenus {
width: 17px;
height: 17px;
padding: 0px;
background: url(images/subnav_btn.png) no-repeat 10px -3px;
position: absolute;
right: 1px;
top: 2px;
height: 11px;
border-left: thin solid #FFFFFF;
}
.toolMenus:hover {
background: url(images/subnav_btn.png) no-repeat 10px -38px;
cursor: pointer;
}
.toolMenusActive {
background: url(images/toolMenusActive.png) no-repeat 10px -40px;
}
.toolMenusActive:hover {
background: url(images/toolMenusActive.png) no-repeat 10px -5px;
}
/* site hierarchy breadcrumb */
#siteHierarchy {
list-style: none;
line-height: .95em;
vertical-align: middle;
padding: 10px;
margin: 0;
background-color: #f3f3f3;
border-bottom: 1px solid #ccc;
font-size: .85em;
color: #aaa;
}
#siteHierarchy li {
display: inline;
padding: 0 1px 0 0;
}
#siteHierarchy li a, #siteHierarchy li a:visited {
color: #009DCE;
font-size: 1.2em;
text-decoration: none;
}
#siteHierarchy li a.lastBreadCrumb {
color: #000;
cursor: text;
}
/* breadcrumb separator: can set display: none if needed because the list-style is taking care of it */
.breadSeparator {
font: 1em bold 'Helvetica Neue', Arial
}
/* PART 4 - SITE TOOL LINKS - children of #toolMenuWrap
/* wrapper for ul that lists the links to tools, and the wrapper that lists links to subsites */
#toolMenu, #subSites {
width: 12em;
padding: 0;
margin: 0 0 0 0;
color: #000;
background: #f3f3f3;
}
#toolMenu ul, #subSites ul {
width: auto;
list-style: none;
margin: 0;
padding-right: 0;
padding-left: 0;
}
/* list element wrapper for all links in the tool menu list, and subsites list */
#toolMenu li, #subSites li {
margin: 0;
width: auto;
padding: 0;
border-bottom: 1px solid #ccc;
text-align: right;
background: #f3f3f3;
}
/* the current tool */
#toolMenu li.selectedTool a {
color: #009DCE !important;
cursor: default;
}
/* eliminate the normal hover effect when it is current tool */
#toolMenu li.selectedTool a:hover {
background: inherit !important;
*background: #f3f3f3 !important;
}
/* span holds the tool icon bkgnd image for left hand menu
* and "a" the icon for tool pull downs - here a default is provided */
#toolMenu li span, #subSites li span, .submenuitem a, .otherSiteTool a {
padding-right: 22px;
line-height: 1.4;
}
/* adjusting rendering of last item in the tool menu */
#toolMenuWrap > div:last-of-type li:last-of-type {
border-width: 0;
}
#toolMenuWrap > div:last-of-type, #toolMenuWrap > div:last-of-type ul:last-of-type, #toolMenuWrap > div:last-of-type li:last-of-type, #toolMenuWrap > div:last-of-type li:last-of-type a {
/*-moz-border-radius: 0 0 4px 0;
-webkit-border-radius: 0 0 4px 0;
border-radius: 0 0 4px 0;*/
}
#toolMenu li a:link, #toolMenu li a, #subSites li a:link, #subSites li a {
display: block;
text-decoration: none;
color: #444;
padding: 10px 6px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
overflow: hidden;
}
#toolMenu li a:hover, #subSites li a:hover, #toolMenu li a:focus, #subSites li a:focus {
text-decoration: none;
background: #1481BA;
color: #fff;
}
/* link in tool menu that allows adding one more tool, may be disabled */
#toolMenu li.moreTools {
padding: 8px 0
}
#toolMenu li.moreTools a {
display: inline;
padding: 2px 5px;
-moz-border-radius: 4px !important;
-webkit-border-radius: 4px !important;
-khtml-border-radius: 4px !important;
border-radius: 4px !important;
color: #444;
margin-right: 6px;
}
#toolMenu li.moreTools a:hover {
color: #fff
}
#toolMenu li.moreTools a span {
display: inline-block;
padding-right: 0;
}
/* PART 6 - SITE AFFILIATION,SITE TYPE/STATUS - children of #toolMenuWrap */
/* site logo wrapper */
#worksiteLogo {
height: auto;
overflow: hidden;
display: block;
}
/* setting the max-width by percentage to avoid crops and permit scaling when tool menu is minimized*/
#worksiteLogo img {
display: block;
margin: 5px auto;
max-width: 90%
}
/* wrapper for the string that Sakai will output based on site type (ie. project,course) this is open ended and institution specific. Not sure what good this is so hiding it. */
#siteType {
text-align: center;
text-transform: capitalize;
display: none;
}
/* wrapper for the string that Sakai will output based on site status when status is "Unpublished" */
#siteStatus {
text-transform: capitalize;
clear: both;
color: #009dce;
font-size: small;
font-weight: bold;
line-height: 130%;
padding: 10px 3px;
border: 1px solid #ccc;
border-width: 0 0 1px 0;
text-align: center;
margin: 0;
}
/* link to inmediately publish the site */
#siteStatus a {
text-decoration: none;
display: block;
padding: 3px;
font-size: 80%;
width: auto;
margin: 10px 20px;
}
/* PART 7 - PORTLETS - children of #content
/* a page may display portlets in one column or two columns - the next three id selectors address the three possiblities - sole child of column is the .portlet */
#col1 {
padding-right: 1em
}
#col1of2 {
width: 49%;
float: left;
margin: 0;
}
#col2of2 {
width: 49%;
float: right;
}
.portletTitle {
width: 100%;
height: 100%;
overflow: hidden;
}
.portletTitle .action {
padding: 2px 4px 6px 2px;
text-align: right;
vertical-align: middle;
}
.portletTitle .action a#jsr-edit {
padding: 2px;
background: url(images/page_edit.gif) center right no-repeat;
}
.portletTitle .action a#jsr-edit:hover {
background: url(images/page_edit.gif) center right no-repeat
}
.portletTitle .action img {
margin: 0;
vertical-align: text-bottom;
width: 18px;
border: none;
height: 18px;
}
.portletTitle .action a {
background: url(images/help.gif) center right no-repeat;
text-align: left;
padding: 0;
text-decoration: none !important;
width: 1em;
height: 1.5em;
outline: none;
}
.portletTitle .title a:focus, .portletTitle .action a:focus {
outline: black dotted thin
}
.portletTitle .action a:hover, .portletTitle .action a:focus {
background: url(images/help_h.gif) center right no-repeat
}
.portletTitle .title {
padding: 2px 4px 6px 0;
height: 1em;
float: left;
color: #000;
}
.portletTitle .title img {
margin: 0;
vertical-align: text-bottom;
width: 18px;
border: none;
height: 18px;
}
.portletTitle .title h2 {
display: inline;
margin: 0;
padding: 0;
color: #444;
font-weight: bold;
/*font-family: 'Helvetica Neue', Arial, sans-serif;*/
font-size: 1.2em !important;
}
.portletTitle .title h2 .siteTitle {
color: #333
}
.portletTitle .title a {
background: url(images/reload.gif) center left no-repeat;
text-decoration: none !important;
border: 1px solid #fff;
height: 1.5em;
outline: none;
}
.portletTitle .title a:hover, .portletTitle .title a:focus {
background: url(images/reload_h.gif) center left no-repeat
}
.portletMainIframe {
text-align: left;
margin-bottom: .5em;
height: auto;
border: none;
margin-top: 0;
}
/* PART 8 - FOOTER BLOCKS - descendants of #footer */
/* wrapper for links going to external sites */
.footerExtNav {
padding-top: 5px;
padding-bottom: 5px;
}
.footerExtNav a, .footerExtNav a:link, .footerExtNav A:visited {
color: #333;
font-size: 1em;
text-decoration: none;
margin: 1em;
}
.footerExtNav a:hover {
color: #444;
text-decoration: underline;
}
/* the links displayed inside the wrapper above */
/* a second wrapper - server info,build,etc */
#footerInfo {
display: none
}
#footerInfo img {
margin-top: .5em;
margin-bottom: .5em;
}
/* a third wrapper - reserved for copyright blurbs */
.sakaiCopyrightInfo {
padding: 5px 0;
font-size: .9em;
color: #333;
}
/* PART 9 - Tool Icons - applies to both left hand menu and submenus, as well as to submenus of sites in "Other sites" tray */
.icon-osp-evaluation {
background-image: url(/library/image/silk/thumb_up.png) !important
}
.icon-osp-glossary {
background-image: url(/library/image/silk/text_list_bullets.png) !important
}
.icon-osp-matrix, .icon-osp-exposedmatrix {
background-image: url(/library/image/silk/table.png) !important
}
.icon-osp-presentation {
background-image: url(/library/image/silk/briefcase.png) !important
}
.icon-osp-presLayout {
background-image: url(/library/image/silk/layout_content.png) !important
}
.icon-osp-presTemplate {
background-image: url(/library/image/silk/application_view_tile.png) !important
}
.icon-osp-style {
background-image: url(/library/image/silk/style.png) !important
}
.icon-osp-wizard, .icon-osp-exposedwizard {
background-image: url(/library/image/silk/wand.png) !important
}
.icon-sakai-announcements:before {
content: "";
}
.icon-sakai-chat:before {
content: "";