Commit 6b868f98b783d2fab013f7487d7259e157bd3da7
1 parent
b6f94403
Exists in
master
and in
2 other branches
Adapted conference theme to mrosc theme
Showing
40 changed files
with
151 additions
and
1 deletions
Show diff stats
header.rhtml
| @@ -95,3 +95,12 @@ | @@ -95,3 +95,12 @@ | ||
| 95 | <%= render :partial => 'shared/profile_search_form' %> | 95 | <%= render :partial => 'shared/profile_search_form' %> |
| 96 | </div> | 96 | </div> |
| 97 | 97 | ||
| 98 | +<% if logged_in? && profile.admins.include?(user) %> | ||
| 99 | + <div id="admin-bts"> | ||
| 100 | + <a id="cmm-admin" class="quick-admin-link" href='<%= "/myprofile/#{profile.identifier}" %>'>Admin OSC</a> | ||
| 101 | + <a id="edit-blocks" class="quick-admin-link" href='<%= "/myprofile/#{profile.identifier}/profile_design" %>'>Editar blocos</a> | ||
| 102 | + <a id="upload-image" class="quick-admin-link" href='<%= "/myprofile/#{profile.identifier}/cms/upload_files" %>'>Subir imagem</a> | ||
| 103 | + <a id="highlight-image" class="quick-admin-link" href='<%= "/myprofile/#{profile.identifier}/cms/view/71603" %>'>Imagem para destaque<br/>(755px × 276px)</a> | ||
| 104 | + <a id="new-post" class="quick-admin-link" href='<%= "/myprofile/#{profile.identifier}/cms/view/61118" %>'>Novo post</a> | ||
| 105 | + </div> | ||
| 106 | +<% end %> |
4.75 KB
4.51 KB
4.35 KB
6.09 KB
5.66 KB
4.68 KB
4.37 KB
8.08 KB
7.49 KB
327 KB
7.25 KB
8.11 KB
7.08 KB
7.89 KB
7.18 KB
8.01 KB
6.88 KB
7.66 KB
6.49 KB
7.3 KB
7.17 KB
8.02 KB
6.11 KB
6.77 KB
8.1 KB
8.98 KB
6.23 KB
6.9 KB
117 KB
6.92 KB
6.38 KB
109 Bytes
209 KB
4.69 KB
111 KB
18.5 KB
19.6 KB
style.css
| @@ -523,4 +523,145 @@ outline: 1px dotted #DFDFDF; | @@ -523,4 +523,145 @@ outline: 1px dotted #DFDFDF; | ||
| 523 | top: 5px; | 523 | top: 5px; |
| 524 | } | 524 | } |
| 525 | 525 | ||
| 526 | +/***** Mrosc theme ******/ | ||
| 526 | 527 | ||
| 528 | + | ||
| 529 | +#wrap-2 { | ||
| 530 | + background: url(images-theme/bg.png) no-repeat center top; | ||
| 531 | +} | ||
| 532 | + | ||
| 533 | +/* Links block */ | ||
| 534 | + | ||
| 535 | +#content .box-2 .link-list-block li a, | ||
| 536 | +#content .box-2 .link-list-block li a.link-this-page { | ||
| 537 | + background-color: transparent; | ||
| 538 | + color: transparent; | ||
| 539 | + border-right: none; | ||
| 540 | + background-image: none; | ||
| 541 | +} | ||
| 542 | + | ||
| 543 | +#content .link-list-block:first-child li { | ||
| 544 | + background: url(images-theme/botao-seminario.jpg) no-repeat; | ||
| 545 | +} | ||
| 546 | +#content .link-list-block:first-child li + li { | ||
| 547 | + background: url(images-theme/botao-inscricoes.jpg) no-repeat; | ||
| 548 | +} | ||
| 549 | +#content .link-list-block:first-child li + li + li { | ||
| 550 | + background: url(images-theme/botao-programacao.jpg) no-repeat; | ||
| 551 | +} | ||
| 552 | +#content .link-list-block:first-child li + li + li + li { | ||
| 553 | + background: url(images-theme/botao-comunicacao.jpg) no-repeat; | ||
| 554 | +} | ||
| 555 | +#content .link-list-block:first-child li + li + li + li + li { | ||
| 556 | + background: url(images-theme/botao-parceiros.jpg) no-repeat; | ||
| 557 | +} | ||
| 558 | +#content .link-list-block:first-child li + li + li + li + li + li { | ||
| 559 | + background: url(images-theme/botao-comochegar.jpg) no-repeat; | ||
| 560 | +} | ||
| 561 | +#content .link-list-block:first-child li + li + li + li + li + li + li { | ||
| 562 | + background: url(images-theme/botao-historico.jpg) no-repeat; | ||
| 563 | +} | ||
| 564 | +#content .link-list-block:first-child li + li + li + li + li + li + li + li { | ||
| 565 | + background: url(images-theme/botao-convidados.jpg) no-repeat; | ||
| 566 | +} | ||
| 567 | +#content .link-list-block:first-child li + li + li + li + li + li + li + li + li { | ||
| 568 | + background: url(images-theme/botao-hackathon.jpg) no-repeat; | ||
| 569 | +} | ||
| 570 | + | ||
| 571 | +#content .box-2 .link-list-block:first-child li a:hover { | ||
| 572 | + background: inherit; | ||
| 573 | + color: transparent; | ||
| 574 | +} | ||
| 575 | + | ||
| 576 | +#content .link-list-block:first-child li:hover { | ||
| 577 | + background: url(images-theme/botao-seminario2.jpg) no-repeat; | ||
| 578 | + color: transparent; | ||
| 579 | +} | ||
| 580 | +#content .link-list-block:first-child li + li:hover { | ||
| 581 | + background: url(images-theme/botao-inscricoes2.jpg) no-repeat; | ||
| 582 | +} | ||
| 583 | +#content .link-list-block:first-child li + li + li:hover { | ||
| 584 | + background: url(images-theme/botao-programacao2.jpg) no-repeat; | ||
| 585 | +} | ||
| 586 | +#content .link-list-block:first-child li + li + li + li:hover { | ||
| 587 | + background: url(images-theme/botao-convidados2.jpg) no-repeat; | ||
| 588 | +} | ||
| 589 | +#content .link-list-block:first-child li + li + li + li + li:hover { | ||
| 590 | + background: url(images-theme/botao-comunicacao2.jpg) no-repeat; | ||
| 591 | +} | ||
| 592 | +#content .link-list-block:first-child li + li + li + li + li + li:hover { | ||
| 593 | + background: url(images-theme/botao-parceiros2.jpg) no-repeat; | ||
| 594 | +} | ||
| 595 | +#content .link-list-block:first-child li + li + li + li + li + li + li:hover { | ||
| 596 | + background: url(images-theme/botao-historico2.jpg) no-repeat; | ||
| 597 | +} | ||
| 598 | +#content .link-list-block:first-child li + li + li + li + li + li + li + li:hover { | ||
| 599 | + background: url(images-theme/botao-comochegar2.jpg) no-repeat; | ||
| 600 | +} | ||
| 601 | +#content .link-list-block:first-child li + li + li + li + li + li + li + li + li:hover { | ||
| 602 | + background: url(images-theme/botao-hackathon2.jpg) no-repeat; | ||
| 603 | +} | ||
| 604 | + | ||
| 605 | +.highlights-label { | ||
| 606 | + display: none; | ||
| 607 | +} | ||
| 608 | + | ||
| 609 | +.highlights-label { | ||
| 610 | + margin-left: 0px; | ||
| 611 | + margin-right: 0px; | ||
| 612 | +} | ||
| 613 | + | ||
| 614 | +#boxes { | ||
| 615 | + margin-top: 5px; | ||
| 616 | +} | ||
| 617 | + | ||
| 618 | +.members-block .banner-div a { | ||
| 619 | + background-color: #00A2EB; | ||
| 620 | + color: #FFFFFF; | ||
| 621 | + display: block; | ||
| 622 | + font-size: 28px; | ||
| 623 | + height: 40px; | ||
| 624 | + width: 190px; | ||
| 625 | +} | ||
| 626 | + | ||
| 627 | +.members-block .banner-div .banner-span { | ||
| 628 | + width: auto; | ||
| 629 | +} | ||
| 630 | +.feed-reader-block li, | ||
| 631 | +.recent-documents-block li { | ||
| 632 | + list-style-image: url("images-theme/li-recent.gif"); | ||
| 633 | +} | ||
| 634 | + | ||
| 635 | +.highlights-container, | ||
| 636 | +.highlights-image-link { | ||
| 637 | + width: 752px !important; | ||
| 638 | + height: 270px !important; | ||
| 639 | +} | ||
| 640 | + | ||
| 641 | +/* * Theme admin buttons * */ | ||
| 642 | + | ||
| 643 | +#admin-bts { | ||
| 644 | + position: fixed; | ||
| 645 | + top: 82px; | ||
| 646 | + right: 30px; | ||
| 647 | + z-index: 10; | ||
| 648 | +} | ||
| 649 | + | ||
| 650 | +.quick-admin-link { | ||
| 651 | + display: block; | ||
| 652 | + margin: 5px 0; | ||
| 653 | + padding: 3px; | ||
| 654 | + text-align: center; | ||
| 655 | + border: 2px solid rgba(0,0,0,0.1); | ||
| 656 | + background: rgba(190,190,190,0.3); | ||
| 657 | + color: #333; | ||
| 658 | + text-shadow: 0 0 2px #CCC, 0 0 2px #CCC; | ||
| 659 | + border-radius: 4px; | ||
| 660 | + left: 0px; | ||
| 661 | + text-decoration: none; | ||
| 662 | +} | ||
| 663 | + | ||
| 664 | +.quick-admin-link:hover { | ||
| 665 | + text-decoration: none; | ||
| 666 | + background: #FB0; | ||
| 667 | +} |
theme.yml