Changeset 622
- Timestamp:
- 06/21/06 10:35:48
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webpublic/uportal2/resources/demoskins/MainCampus/default/default/bedework.css
r619 r622 9 9 impacting spacing and numerous other features) are defined in this 10 10 document prefixed by the id #org.bedework. The generated portlet skin 11 wraps the entire html output with <div id="org .bedework"> so that calendar11 wraps the entire html output with <div id="org-bedework"> so that calendar 12 12 specific styles cannot break portal styles. 13 13 14 14 */ 15 15 body { 16 padding: 0; 17 margin: 0; 18 } 19 #org-bedework { 16 20 font-family : Arial, Helvetica, sans-serif; 17 21 font-size: 100%; /* needed for IE */ 18 22 background-color : white; 19 23 color : black; 20 padding: 0.75em 1em 0em 1em; 24 padding: 0; 25 margin: 0; 21 26 min-width: 700px; 22 27 } 23 #logoTable { 24 padding: 0em; 25 margin: 0em; 26 } 27 #logoTable img { 28 display: inline; 29 padding: 0 0 1px 5px; 30 } 31 #logoTable #logoCell { 32 white-space: nowrap; 33 font-weight: bold; 34 font-size: 2em; 35 } 36 #logoTable #schoolLinksCell { 37 vertical-align: bottom; 38 text-align: right; 39 font-size: 0.8em; 40 white-space : nowrap; 41 padding: 0 2px 2px 0; 42 } 43 #logoTable #schoolLinksCell h2 { 44 margin: 0 0 2px 0; 45 padding: 0; 46 font-size: 2em; 47 color: #444; 48 background-color: transparent; 49 border: none; 50 } 51 #logoTable #schoolLinksCell a:link, 52 #logoTable #schoolLinksCell a:visited, 53 #logoTable #schoolLinksCell a:active { 54 background-color: transparent; 55 color: #999; 56 text-decoration: none; 57 } 58 #logoTable #schoolLinksCell a:hover { 59 background-color: #eee; 60 color: #333; 61 text-decoration: none; 62 } 63 #curDateRangeTable { 28 #org-bedework #curDateRangeTable { 64 29 width: 100%; 65 30 height: 26px; … … 72 37 white-space: nowrap; 73 38 } 74 # curDateRangeTable td {39 #org-bedework #curDateRangeTable td { 75 40 padding-top: 5px; 76 41 padding-bottom: 1px; … … 78 43 padding-right: 0.5em; 79 44 } 80 #curDateRangeTable td.sideBarOpenCloseIcon { 81 background: url(../../images/curDateRangeBlue-left.gif) no-repeat top left; 82 color: inherit; 45 #org-bedework #curDateRangeTable td.sideBarOpenCloseIcon { 83 46 width: 200px; 84 47 } 85 # curDateRangeTable td.date {48 #org-bedework #curDateRangeTable td.date { 86 49 font-weight : bold; 87 50 text-align : center; 88 51 white-space: nowrap; 89 52 } 90 #curDateRangeTable td.rssPrint { 91 background: url(../../images/curDateRangeBlue-right.gif) no-repeat top right; 92 color: inherit; 53 #org-bedework #curDateRangeTable td.rssPrint { 93 54 width: 200px; 94 55 font-weight : bold; … … 96 57 white-space: nowrap; 97 58 } 98 # curDateRangeTable td.rssPrint img {59 #org-bedework #curDateRangeTable td.rssPrint img { 99 60 position: relative; 100 61 top: 3px; 101 62 } 102 # curDateRangeTable td.rssPrint a:link,103 # curDateRangeTable td.rssPrint a:active,104 # curDateRangeTable td.rssPrint a:visited {63 #org-bedework #curDateRangeTable td.rssPrint a:link, 64 #org-bedework #curDateRangeTable td.rssPrint a:active, 65 #org-bedework #curDateRangeTable td.rssPrint a:visited { 105 66 font-size: 10px; 106 67 color: #eee; … … 113 74 top: -3px; 114 75 } 115 # curDateRangeTable td.rssPrint a:hover {76 #org-bedework #curDateRangeTable td.rssPrint a:hover { 116 77 color: #663; 117 78 background-color: #fff; 118 79 } 119 # curDateRangeTable td.rssPrint a.rss:link,120 # curDateRangeTable td.rssPrint a.rss:active,121 # curDateRangeTable td.rssPrint a.rss:visited {80 #org-bedework #curDateRangeTable td.rssPrint a.rss:link, 81 #org-bedework #curDateRangeTable td.rssPrint a.rss:active, 82 #org-bedework #curDateRangeTable td.rssPrint a.rss:visited { 122 83 font-size: 10px; 123 84 font-weight: bold; … … 133 94 border: solid 1px #666; 134 95 } 135 # curDateRangeTable td.rssPrint a.rss:hover {96 #org-bedework #curDateRangeTable td.rssPrint a.rss:hover { 136 97 color: #900; 137 98 background-color: #fff; 138 99 } 139 # searchBarTable {100 #org-bedework #searchBarTable { 140 101 margin: 0px; 141 102 padding: 0em; … … 144 105 font-size: 0.9em; 145 106 } 146 # searchBarTable .leftCell {107 #org-bedework #searchBarTable .leftCell { 147 108 margin: 0px; 148 109 padding: 0em; … … 151 112 white-space: nowrap; 152 113 } 153 # searchBarTable .leftCell .link {114 #org-bedework #searchBarTable .leftCell .link { 154 115 font-size: 0.8em; 155 116 padding-left: 1em; … … 157 118 background-color: transparent; 158 119 } 159 # searchBarTable .leftCell a {120 #org-bedework #searchBarTable .leftCell a { 160 121 color: #888; 161 122 background-color: transparent; 162 123 } 163 # searchBarTable .leftCell a:hover {124 #org-bedework #searchBarTable .leftCell a:hover { 164 125 color: #b00; 165 126 background-color: transparent; 166 127 } 167 # searchBarTable .rightCell {128 #org-bedework #searchBarTable .rightCell { 168 129 margin: 0px; 169 130 padding: 0em; … … 173 134 white-space: nowrap; 174 135 } 175 # searchBarTable form {136 #org-bedework #searchBarTable form { 176 137 display: inline; 177 138 margin: 0px 0px 1px 0px; 178 139 padding: 0em; 179 140 } 180 # tabsTable {141 #org-bedework #tabsTable { 181 142 margin: 0em; 182 143 padding: 4px 0px 0px 0px; … … 185 146 color: #eee; 186 147 } 187 # tabsTable .centerCell a {148 #org-bedework #tabsTable .centerCell a { 188 149 text-decoration: none; 189 150 color: #eee; 190 151 } 191 # tabsTable .centerCell img {152 #org-bedework #tabsTable .centerCell img { 192 153 margin-right: 1px; 193 154 } 194 # tabsTable .rightCell {155 #org-bedework #tabsTable .rightCell { 195 156 background : url(../../images/demo/std-tab-space.gif); 196 157 padding-right: 0.5em; 197 158 } 198 # navigationBarTable {159 #org-bedework #navigationBarTable { 199 160 font-size: 0.8em; 200 161 margin: 0em; … … 205 166 border-bottom: 1px solid Gray; 206 167 } 207 # navigationBarTable a {208 text-decoration: none; 209 white-space: nowrap; 210 } 211 # navigationBarTable td {212 vertical-align: top; 213 } 214 # navigationBarTable form {168 #org-bedework #navigationBarTable a { 169 text-decoration: none; 170 white-space: nowrap; 171 } 172 #org-bedework #navigationBarTable td { 173 vertical-align: top; 174 } 175 #org-bedework #navigationBarTable form { 215 176 display: inline; 216 177 margin-bottom: 0em; 217 178 } 218 # navigationBarTable table {179 #org-bedework #navigationBarTable table { 219 180 display: inline; 220 181 margin-bottom: 0em; 221 182 } 222 # navigationBarTable td.todayButton {183 #org-bedework #navigationBarTable td.todayButton { 223 184 padding: 1em 1em 0 1em; 224 185 } 225 # navigationBarTable td.gotoForm {186 #org-bedework #navigationBarTable td.gotoForm { 226 187 padding: 1em 0.5em 0 0; 227 188 } 228 # navigationBarTable td.leftCell {189 #org-bedework #navigationBarTable td.leftCell { 229 190 text-align: left; 230 191 white-space: nowrap; … … 236 197 vertical-align: middle; 237 198 } 238 # navigationBarTable td.leftCell .prevImg {199 #org-bedework #navigationBarTable td.leftCell .prevImg { 239 200 margin: 0 0.2em 0 0; 240 201 vertical-align: top; 241 202 } 242 # navigationBarTable td.leftCell .nextImg {203 #org-bedework #navigationBarTable td.leftCell .nextImg { 243 204 margin: 0 0.75em 0 0; 244 205 vertical-align: top; 245 206 } 246 # navigationBarTable td.rightCell {207 #org-bedework #navigationBarTable td.rightCell { 247 208 text-align: right; 248 209 padding: 1em 0.5em 0em 0em; 249 210 } 250 # navigationBarTable td.rightCell select {211 #org-bedework #navigationBarTable td.rightCell select { 251 212 padding-right: 0em; 252 213 margin: 0em; 253 214 width: 10em; 254 215 } 255 # searchBarTable .calLinks {256 white-space: nowrap; 257 } 258 # eventTable {216 #org-bedework #searchBarTable .calLinks { 217 white-space: nowrap; 218 } 219 #org-bedework #eventTable { 259 220 width: 100%; 260 221 font-size: 0.9em; … … 265 226 border-right: 2px solid #aaa; 266 227 } 267 # eventTable td.fieldname {228 #org-bedework #eventTable td.fieldname { 268 229 margin: 0em; 269 230 vertical-align: top; … … 273 234 color: black; 274 235 } 275 # eventTable td.fieldval {236 #org-bedework #eventTable td.fieldval { 276 237 margin: 0em; 277 238 vertical-align: top; 278 239 padding: 0.5em 0.5em 0.2em 1em; 279 240 } 280 # eventTable th.icalIcon {241 #org-bedework #eventTable th.icalIcon { 281 242 margin: 0em; 282 243 vertical-align: middle; … … 287 248 font-weight: normal; 288 249 } 289 # eventTable th.icalIcon a {290 text-decoration: none; 291 } 292 # eventTable th.icalIcon img {250 #org-bedework #eventTable th.icalIcon a { 251 text-decoration: none; 252 } 253 #org-bedework #eventTable th.icalIcon img { 293 254 vertical-align: middle; 294 255 padding-left: 1em; 295 256 } 296 # eventTable th.fieldname {257 #org-bedework #eventTable th.fieldname { 297 258 text-align: left; 298 259 padding: 1em 0.5em 1em 0.5em; … … 301 262 color: black; 302 263 } 303 # eventTable th.fieldval {264 #org-bedework #eventTable th.fieldval { 304 265 text-align: left; 305 266 padding: 1em 0.5em 0.5em 1em; … … 308 269 width: 100%; 309 270 } 310 # calPageTable {271 #org-bedework #calPageTable { 311 272 width: 100%; 312 273 font-size: 100%; … … 317 278 border-right: 2px solid #aaa; 318 279 } 319 # calPageTable td {280 #org-bedework #calPageTable td { 320 281 width: 50%; 321 282 vertical-align: top; 322 283 padding: 0.5em 2em 1em 3em; 323 284 } 324 # calPageTable th {285 #org-bedework #calPageTable th { 325 286 font-size: 1.2em; 326 287 background-color: #ccc; … … 328 289 font-weight: bold; 329 290 } 330 # calPageTable td.leftCell {291 #org-bedework #calPageTable td.leftCell { 331 292 border-right : thin dashed #999; 332 293 } 333 # calPageTable h2 {294 #org-bedework #calPageTable h2 { 334 295 font-size: 1.2em; 335 296 } 336 # calPageTable td.infoCell {337 background-color: #eee; 338 color: black; 339 text-align: center; 340 } 341 # dayCalendarTable {297 #org-bedework #calPageTable td.infoCell { 298 background-color: #eee; 299 color: black; 300 text-align: center; 301 } 302 #org-bedework #dayCalendarTable { 342 303 width: 100%; 343 304 font-size: 0.9em; … … 349 310 border-right: 2px solid #aaa; 350 311 } 351 # dayCalendarTable td {312 #org-bedework #dayCalendarTable td { 352 313 padding: 0.4em; 353 314 margin: 0em; 354 315 } 355 # dayCalendarTable .dateRange {316 #org-bedework #dayCalendarTable .dateRange { 356 317 text-align: left; 357 318 background-color: #D3E4F0; … … 359 320 white-space: nowrap; 360 321 } 361 # dayCalendarTable .description {322 #org-bedework #dayCalendarTable .description { 362 323 text-align: left; 363 324 background-color: #fff; … … 365 326 width: 100%; 366 327 } 367 # dayCalendarTable .more {368 text-align: center; 369 background-color: #eee; 370 color: black; 371 font-size: 0.8em; 372 } 373 # weekCalendarTable {328 #org-bedework #dayCalendarTable .more { 329 text-align: center; 330 background-color: #eee; 331 color: black; 332 font-size: 0.8em; 333 } 334 #org-bedework #weekCalendarTable { 374 335 width: 100%; 375 336 font-size: 0.9em; … … 381 342 border-right: 2px solid #aaa; 382 343 } 383 # weekCalendarTable td {344 #org-bedework #weekCalendarTable td { 384 345 padding: 0.4em; 385 346 margin: 0em; 386 347 } 387 # weekCalendarTable .dateRange {348 #org-bedework #weekCalendarTable .dateRange { 388 349 text-align: left; 389 350 background-color: #D3E4F0; … … 391 352 white-space: nowrap; 392 353 } 393 # weekCalendarTable .description {354 #org-bedework #weekCalendarTable .description { 394 355 text-align: left; 395 356 background-color: #fff; … … 397 358 width: 100%; 398 359 } 399 # weekCalendarTable .more {400 text-align: center; 401 background-color: #eee; 402 color: black; 403 font-size: 0.8em; 404 } 405 # monthCalendarTable {360 #org-bedework #weekCalendarTable .more { 361 text-align: center; 362 background-color: #eee; 363 color: black; 364 font-size: 0.8em; 365 } 366 #org-bedework #monthCalendarTable { 406 367 width: 100%; 407 368 font-size: 0.8em; … … 413 374 border-right: 2px solid #aaa; 414 375 } 415 # monthCalendarTable th.dayHeading {376 #org-bedework #monthCalendarTable th.dayHeading { 416 377 width: 14%; 417 378 text-align: center; … … 421 382 border: 1px solid black; 422 383 } 423 # monthCalendarTable td {384 #org-bedework #monthCalendarTable td { 424 385 width: 14%; 425 386 height: 60px; … … 431 392 color: black; 432 393 } 433 # monthCalendarTable td.filler {394 #org-bedework #monthCalendarTable td.filler { 434 395 border: none; 435 396 background-color: #eee; … … 445 406 color: #999; 446 407 }*/ 447 # monthCalendarTable ul {408 #org-bedework #monthCalendarTable ul { 448 409 font-size: 0.8em; 449 410 list-style : none; … … 451 412 padding: 0.3em 0em 0em 0em; 452 413 } 453 # monthCalendarTable ul li {414 #org-bedework #monthCalendarTable ul li { 454 415 margin: 0em; 455 416 padding: 0em; 456 417 display: inline; 457 418 } 458 # monthCalendarTable a.eventLinkA:link,459 # monthCalendarTable a.eventLinkA:visited,460 # monthCalendarTable a.eventLinkA:active {419 #org-bedework #monthCalendarTable a.eventLinkA:link, 420 #org-bedework #monthCalendarTable a.eventLinkA:visited, 421 #org-bedework #monthCalendarTable a.eventLinkA:active { 461 422 display: block; 462 423 padding: 0.1em 0.2em 0.1em 0.2em; … … 465 426 color: black; 466 427 } 467 # monthCalendarTable a.eventLinkB:link,468 # monthCalendarTable a.eventLinkB:visited,469 # monthCalendarTable a.eventLinkB:active {428 #org-bedework #monthCalendarTable a.eventLinkB:link, 429 #org-bedework #monthCalendarTable a.eventLinkB:visited, 430 #org-bedework #monthCalendarTable a.eventLinkB:active { 470 431 display: block; 471 432 padding: 0.1em 0.2em 0.1em 0.2em; … … 474 435 color: black; 475 436 } 476 # monthCalendarTable a.eventCancelled:link,477 # monthCalendarTable a.eventCancelled:visited,478 # monthCalendarTable a.eventCancelled:active {437 #org-bedework #monthCalendarTable a.eventCancelled:link, 438 #org-bedework #monthCalendarTable a.eventCancelled:visited, 439 #org-bedework #monthCalendarTable a.eventCancelled:active { 479 440 display: block; 480 441 padding: 0.1em 0.2em 0.1em 0.2em; … … 483 444 color: black; 484 445 } 485 # monthCalendarTable a.eventTentative:link,486 # monthCalendarTable a.eventTentative:visited,487 # monthCalendarTable a.eventTentative:active {446 #org-bedework #monthCalendarTable a.eventTentative:link, 447 #org-bedework #monthCalendarTable a.eventTentative:visited, 448 #org-bedework #monthCalendarTable a.eventTentative:active { 488 449 display: block; 489 450 padding: 0.1em 0.2em 0.1em 0.2em; … … 494 455 color: black; 495 456 } 496 # monthCalendarTable a.holiday:link,497 # monthCalendarTable a.holiday:visited,498 # monthCalendarTable a.holiday:active {457 #org-bedework #monthCalendarTable a.holiday:link, 458 #org-bedework #monthCalendarTable a.holiday:visited, 459 #org-bedework #monthCalendarTable a.holiday:active { 499 460 display: block; 500 461 padding: 0.1em 0.2em 0.1em 0.2em; … … 505 466 border-bottom: 1px solid black;*/ 506 467 } 507 # monthCalendarTable a.eventLinkA:hover,508 # monthCalendarTable a.eventLinkB:hover,509 # monthCalendarTable a.eventCancelled:hover,510 # monthCalendarTable a.eventTentative:hover,511 # monthCalendarTable a.holiday:hover {468 #org-bedework #monthCalendarTable a.eventLinkA:hover, 469 #org-bedework #monthCalendarTable a.eventLinkB:hover, 470 #org-bedework #monthCalendarTable a.eventCancelled:hover, 471 #org-bedework #monthCalendarTable a.eventTentative:hover, 472 #org-bedework #monthCalendarTable a.holiday:hover { 512 473 display: block; 513 474 padding: 0.1em 0.2em 0.1em 0.2em; … … 516 477 background-color: #ddd; 517 478 } 518 # monthCalendarTable a.dayLink {519 text-decoration: none; 520 color: black; 521 background-color: transparent; 522 } 523 # monthCalendarTable a:hover.dayLink {479 #org-bedework #monthCalendarTable a.dayLink { 480 text-decoration: none; 481 color: black; 482 background-color: transparent; 483 } 484 #org-bedework #monthCalendarTable a:hover.dayLink { 524 485 text-decoration: none; 525 486 color: #eee; 526 487 background-color: black; 527 488 } 528 # monthCalendarTable a:hover {489 #org-bedework #monthCalendarTable a:hover { 529 490 /* required for eventTip to hover correctly; 530 491 apply only to the hover pseudo class, or … … 532 493 position: relative; 533 494 } 534 # monthCalendarTable a span.eventTip,535 # monthCalendarTable a span.eventTipReverse {495 #org-bedework #monthCalendarTable a span.eventTip, 496 #org-bedework #monthCalendarTable a span.eventTipReverse { 536 497 display: none; 537 498 } 538 # monthCalendarTable a:hover span.eventTip {499 #org-bedework #monthCalendarTable a:hover span.eventTip { 539 500 display: block; 540 501 position: absolute; … … 547 508 border: 1px solid #333; 548 509 } 549 # monthCalendarTable a:hover span.eventTipReverse {510 #org-bedework #monthCalendarTable a:hover span.eventTipReverse { 550 511 display: block; 551 512 position: absolute; … … 558 519 border: 1px solid #333; 559 520 } 560 # monthCalendarTable a:hover span.eventTipStatusCancelled {521 #org-bedework #monthCalendarTable a:hover span.eventTipStatusCancelled { 561 522 display: block; 562 523 color: white; … … 566 527 text-align: center; 567 528 } 568 # monthCalendarTable a:hover span.eventTipStatusTentative {529 #org-bedework #monthCalendarTable a:hover span.eventTipStatusTentative { 569 530 display: block; 570 531 color: black; … … 575 536 text-align: center; 576 537 } 577 a.gridAdd {538 #org-bedework a.gridAdd { 578 539 display: block; 579 540 float: right; … … 582 543 margin-right: 2px; 583 544 } 584 # yearCalendarTable {545 #org-bedework #yearCalendarTable { 585 546 width: 100%; 586 547 font-size: 0.9em; … … 592 553 border-right: 2px solid #aaa; 593 554 } 594 # yearCalendarTable td {555 #org-bedework #yearCalendarTable td { 595 556 padding: 1em 0em 0em 0em; 596 557 margin: 0em; … … 599 560 width: 33%; 600 561 } 601 # yearCalendarTable table.yearViewMonthTable {562 #org-bedework #yearCalendarTable table.yearViewMonthTable { 602 563 margin: 0em 1em 0.5em 1em; 603 564 border: 1px solid #ddd; 604 565 } 605 # yearCalendarTable table.yearViewMonthTable td {566 #org-bedework #yearCalendarTable table.yearViewMonthTable td { 606 567 text-align: center; 607 568 padding: 0.2em; 608 569 width: 12.5%; 609 570 } 610 # yearCalendarTable table.yearViewMonthTable th {571 #org-bedework #yearCalendarTable table.yearViewMonthTable th { 611 572 font-weight: bold; 612 573 background-color: #f5f5f5; … … 614 575 padding: 0.2em; 615 576 } 616 # yearCalendarTable table.yearViewMonthTable td.monthName {577 #org-bedework #yearCalendarTable table.yearViewMonthTable td.monthName { 617 578 font-weight: bold; 618 579 text-align: center; … … 622 583 border-bottom: 1px solid #999; 623 584 } 624 # yearCalendarTable table.yearViewMonthTable td.weekCell {585 #org-bedework #yearCalendarTable table.yearViewMonthTable td.weekCell { 625 586 font-weight: bold; 626 587 font-size: 0.8em; … … 628 589 color: black; 629 590 } 630 # yearCalendarTable table.yearViewMonthTable td a {591 #org-bedework #yearCalendarTable table.yearViewMonthTable td a { 631 592 text-decoration: none; 632 593 background-color: inherit; … … 634 595 color: black; 635 596 } 636 # yearCalendarTable table.yearViewMonthTable td.weekCell a {597 #org-bedework #yearCalendarTable table.yearViewMonthTable td.weekCell a { 637 598 text-decoration: none; 638 599 background-color: inherit; … … 640 601 color: black; 641 602 } 642 # yearCalendarTable table.yearViewMonthTable td.monthName a {603 #org-bedework #yearCalendarTable table.yearViewMonthTable td.monthName a { 643 604 text-decoration: none; 644 605 background-color: inherit; … … 646 607 color: black; 647 608 } 648 # yearCalendarTable table.yearViewMonthTable td a:hover {609 #org-bedework #yearCalendarTable table.yearViewMonthTable td a:hover { 649 610 text-decoration: none; 650 611 background-color: #FFC; … … 653 614 padding: 0; 654 615 } 655 # listTable {616 #org-bedework #listTable { 656 617 width: 100%; 657 618 font-size: 0.9em; … … 663 624 border-right: 2px solid #aaa; 664 625 } 665 # listTable td {626 #org-bedework #listTable td { 666 627 padding: 0.5em; 667 628 margin: 0em; 668 629 border-bottom: 1px solid #bbb; 669 630 } 670 # listTable td a {671 background-color: transparent; 672 color: black; 673 text-decoration: none; 674 } 675 # listTable td.dateRangeCrossDay {631 #org-bedework #listTable td a { 632 background-color: transparent; 633 color: black; 634 text-decoration: none; 635 } 636 #org-bedework #listTable td.dateRangeCrossDay { 676 637 font-size: 0.9em; 677 638 text-transform: lowercase; … … 680 641 white-space: nowrap; 681 642 } 682 # listTable td.dateRangeEarlyMorning {643 #org-bedework #listTable td.dateRangeEarlyMorning { 683 644 font-size: 0.9em; 684 645 text-transform: lowercase; … … 687 648 white-space: nowrap; 688 649 } 689 # listTable td.dateRangeMorning {650 #org-bedework #listTable td.dateRangeMorning { 690 651 font-size: 0.9em; 691 652 text-transform: lowercase; … … 694 655 white-space: nowrap; 695 656 } 696 # listTable td.dateRangeAfternoon {657 #org-bedework #listTable td.dateRangeAfternoon { 697 658 font-size: 0.9em; 698 659 text-transform: lowercase; … … 701 662 white-space: nowrap; 702 663 } 703 # listTable td.dateRangeEvening {664 #org-bedework #listTable td.dateRangeEvening { 704 665 font-size: 0.9em; 705 666 text-transform: lowercase; … … 708 669 white-space: nowrap; 709 670 } 710 # listTable span.littleArrow {671 #org-bedework #listTable span.littleArrow { 711 672 font-size: 1.4em; 712 673 } 713 # listTable td.description {674 #org-bedework #listTable td.description { 714 675 text-align: left; 715 676 background-color: #fff; … … 717 678 width: 100%; 718 679 } 719 # listTable td.description {680 #org-bedework #listTable td.description { 720 681 text-align: left; 721 682 background-color: white; … … 723 684 width: 100%; 724 685 } 725 # listTable td.bwStatusCancelled {686 #org-bedework #listTable td.bwStatusCancelled { 726 687 background-color: #ddd; 727 688 color: black; 728 689 } 729 # listTable td.bwStatusTentative {690 #org-bedework #listTable td.bwStatusTentative { 730 691 background: white url('../../images/tentativeLines.gif') top; 731 692 color: black; 732 693 } 733 # listTable td.description a {734 display: block; 735 background-color: transparent; 736 color: black; 737 text-decoration: none; 738 } 739 # listTable td.description a.moreLink {694 #org-bedework #listTable td.description a { 695 display: block; 696 background-color: transparent; 697 color: black; 698 text-decoration: none; 699 } 700 #org-bedework #listTable td.description a.moreLink { 740 701 display: inline; 741 702 background-color: transparent; … … 743 704 text-decoration: underline; 744 705 } 745 # listTable td.description:hover {706 #org-bedework #listTable td.description:hover { 746 707 background-color: #f5f5f5; 747 708 color: black; 748 709 } 749 # listTable td.dateRow {710 #org-bedework #listTable td.dateRow { 750 711 text-align: left; 751 712 background-color: #B1D4E3; … … 755 716 margin: 0em; 756 717 } 757 # listTable td.dateRow a {718 #org-bedework #listTable td.dateRow a { 758 719 display: block; 759 720 color: #333; … … 762 723 text-decoration : none; 763 724 } 764 # listTable td.icons {725 #org-bedework #listTable td.icons { 765 726 color: black; 766 727 background-color: #ddd; 767 728 white-space: nowrap; 768 729 } 769 # listTable td.icons img.addref {730 #org-bedework #listTable td.icons img.addref { 770 731 margin-right: 0.5em; 771 732 } 772 # calPageTable ul.calendarTree li {733 #org-bedework #calPageTable ul.calendarTree li { 773 734 font-weight: bold; 774 735 } 775 # calPageTable ul.calendarTree li ul li {736 #org-bedework #calPageTable ul.calendarTree li ul li { 776 737 font-weight: normal; 777 738 } 778 # calPageTable ul.calendarTree li.folder {739 #org-bedework #calPageTable ul.calendarTree li.folder { 779 740 list-style-image: url(../../images/demo/catIcon.gif); 780 741 padding-top: 0.25em; 781 742 padding-bottom: 0.25em; 782 743 } 783 # calPageTable ul.calendarTree li.calendar {744 #org-bedework #calPageTable ul.calendarTree li.calendar { 784 745 list-style-image: url(../../images/demo/calIcon-sm.gif); 785 746 } 786 .noEventsCell {747 #org-bedework .noEventsCell { 787 748 padding: 1em; 788 749 } 789 # footer {750 #org-bedework #footer { 790 751 font-size: 0.75em; 791 752 text-align : center; … … 799 760 white-space: nowrap; 800 761 } 801 # footer a {762 #org-bedework #footer a { 802 763 color: #333; 803 764 background-color: transparent; 804 765 text-decoration: underline; 805 766 } 806 # skinSelectorTable {767 #org-bedework #skinSelectorTable { 807 768 width: 100%; 808 769 padding-top: 0.5em; … … 811 772 background-color: inherit; 812 773 } 813 # skinSelectorTable td {814 vertical-align: top; 815 } 816 # skinSelectorTable td.rightCell {774 #org-bedework #skinSelectorTable td { 775 vertical-align: top; 776 } 777 #org-bedework #skinSelectorTable td.rightCell { 817 778 text-align: right; 818 779 } 819 # skinSelectorTable td.leftCell {780 #org-bedework #skinSelectorTable td.leftCell { 820 781 text-align: left; 821 782 color: #999; 822 783 background-color: inherit; 823 784 } 824 # skinSelectorTable td.leftCell a {785 #org-bedework #skinSelectorTable td.leftCell a { 825 786 color: #999; 826 787 background-color: inherit; 827 788 } 828 # skinSelectorTable td.rightCell form {789 #org-bedework #skinSelectorTable td.rightCell form { 829 790 display: inline; 830 791 margin: 0em; 831 792 padding: 0em; 832 793 } 833 # skinSelectorTable td.rightCell select {794 #org-bedework #skinSelectorTable td.rightCell select { 834 795 font-size: 0.9em; 835 796 color: #333; 836 797 background-color: #eee; 837 798 } 838 # featureHighlight {799 #org-bedework #featureHighlight { 839 800 color: #dd0; 840 801 font-style: italic; 841 802 } 842 803 /* LINKS */ 843 a:link, a:active, a:visited { 804 #org-bedework a:link, 805 #org-bedework a:active, 806 #org-bedework a:visited { 844 807 color: #2c5f89; 845 808 background-color: transparent; 846 809 } 847 a:hover {810 #org-bedework a:hover { 848 811 color: #b00; 849 812 background-color: transparent; 850 813 } 851 .center {852 text-align: center; 853 } 854 .left {855 text-align: left; 856 } 857 .right {814 #org-bedework .center { 815 text-align: center; 816 } 817 #org-bedework .left { 818 text-align: left; 819 } 820 #org-bedework .right { 858 821 text-align: right; 859 822 } 860 823 /* Generic selectors*/ 861 h2 {824 #org-bedework h2 { 862 825 margin: 0em; 863 826 padding: 0.2em 0.2em 0.2em 0.5em; … … 867 830 border-right: 2px solid #aaa; 868 831 } 869 h2 a:link,870 h2 a:active,871 h2 a:visited,872 h2 a:hover {832 #org-bedework h2 a:link, 833 #org-bedework h2 a:active, 834 #org-bedework h2 a:visited, 835 #org-bedework h2 a:hover { 873 836 color: black; 874 837 background-color: inherit; 875 838 text-decoration: none; 876 839 } 877 h2.bwStatusConfirmed {878 background-color: #eee; 879 color: black; 880 } 881 h2.bwStatusCancelled {882 background-color: #eee; 883 color: black; 884 } 885 h2.bwStatusTentative {840 #org-bedework h2.bwStatusConfirmed { 841 background-color: #eee; 842 color: black; 843 } 844 #org-bedework h2.bwStatusCancelled { 845 background-color: #eee; 846 color: black; 847 } 848 #org-bedework h2.bwStatusTentative { 886 849 background: #eee url('../../images/tentativeLines.gif') top; 887 850 color: black; 888 851 } 889 852 /* Header IDs and classes */ 890 # errors {853 #org-bedework #errors { 891 854 margin: 0; 892 855 padding: 1em; … … 895 858 font-weight: bold; 896 859 } 897 # tabsTable .centerCell {860 #org-bedework #tabsTable .centerCell { 898 861 text-align: left; 899 862 background : url(../../images/demo/std-tab-space.gif); … … 903 866 padding: 0 1em; 904 867 } 905 # stats {868 #org-bedework #stats { 906 869 font-size: 0.9em; 907 870 margin: 0px; … … 911 874 border-right: 2px solid #aaa; 912 875 } 913 # statsTable {876 #org-bedework #statsTable { 914 877 margin: 1em 0 0 4em; 915 878 width: 300px; 916 879 } 917 # statsTable th {880 #org-bedework #statsTable th { 918 881 padding: 0.5em; 919 882 background-color: #eee; 920 883 color: black; 921 884 } 922 # statsTable td.label {885 #org-bedework #statsTable td.label { 923 886 text-align: right; 924 887 padding-right: 2em; trunk/calendar3/deployment/webpublic/uportal2/resources/demoskins/MainCampus/default/default/default.xsl
r619 r622 23 23 24 24 See the bedework.css file for information about color and style 25 issues as they pertain to the portlet implementation. 26 27 This stylesheet is devoid of school branding. It is a good 28 starting point for development of a customized calendar. 25 issues as they pertain to the portlet implementation. The entire 26 html body is wrapped in a single div with ID of #org-bedework; this 27 encapsulates the css selectors for this portlet allowing for local 28 overrides without impacting the surrounding portal (while also 29 allowing the global portal styles to affect the portlet where 30 appropriate). 29 31 30 32 For detailed instructions on how to work with the XSLT … … 109 111 </head> 110 112 <body> 113 <div id="org-bedework"> 111 114 <xsl:call-template name="headBar"/> 112 115 <xsl:if test="/bedework/error"> … … 168 171 <!-- footer --> 169 172 <xsl:call-template name="footer"/> 173 </div> 170 174 </body> 171 175 </html> … … 1129 1133 <xsl:template name="footer"> 1130 1134 <div id="footer"> 1131 Demonstration calendar; place footer information here. 1135 Based on the <a href="http://www.bedework.org/">Bedework Calendar</a> | 1136 <a href="?noxslt=yes">show XML</a> | 1137 <a href="?refreshXslt=yes">refresh XSLT</a> 1132 1138 </div> 1133 <table id="skinSelectorTable" border="0" cellpadding="0" cellspacing="0">1134 <tr>1135 <td class="leftCell">1136 Based on the <a href="http://www.bedework.org/">Bedework Calendar</a> |1137 <a href="?noxslt=yes">show XML</a> |1138 <a href="?refreshXslt=yes">refresh XSLT</a>1139 </td>1140 <td class="rightCell">1141 <form name="styleSelectForm" method="get" action="{$setup}">1142 <select name="setappvar" onChange="submit()">1143 <option>example styles:</option>1144 <option value="style(green)">green</option>1145 <option value="style(red)">red</option>1146 <option value="style(blue)">blue</option>1147 </select>1148 </form>1149 <form name="skinSelectForm" method="get" action="{$setup}">1150 <input type="hidden" name="setappvar" value="summaryMode(details)"/>1151 <select name="skinPicker" onchange="window.location = this.value">1152 <option>example skins:</option>1153 <option value="{$setViewPeriod}?viewType=weekView&skinName=rss&setappvar=summaryMode(details)">rss feed</option>1154 <option value="{$setViewPeriod}?viewType=todayView&skinName=jsToday&contentType=text/javascript&contentName=bedework.js">javascript feed</option>1155 <option value="{$setViewPeriod}?viewType=todayView&skinName=videocal">video feed</option>1156 <option value="{$setup}?skinName=default">reset to calendar default</option>1157 </select>1158 </form>1159 <form name="skinSelectForm" method="get" action="">1160 <select name="sitePicker" onchange="window.location = this.value">1161 <option>production examples:</option>1162 <option value="http://events.dal.ca/">Dalhousie</option>1163 <option value="http://events.rpi.edu">Rensselaer</option>1164 <option value="http://myuw.washington.edu/cal/">Washington</option>1165 </select>1166 </form>1167 </td>1168 </tr>1169 </table>1170 1139 </xsl:template> 1171 1140 </xsl:stylesheet>
