##// END OF EJS Templates
Fixed show more links....
marcink -
r1426:91708b96 beta
parent child Browse files
Show More
@@ -563,23 +563,37 b' padding:12px 9px 7px 24px;'
563 563
564 564
565 565 .quick_repo_menu{
566 background: #FFF url("../images/vertical-indicator.png") 6px 9px no-repeat !important;
566 background: #FFF url("../images/vertical-indicator.png") 8px 50% no-repeat !important;
567 567 cursor: pointer;
568 width: 8px;
568 569 }
569 570 .quick_repo_menu.active{
570 background: #FFF url("../images/horizontal-indicator.png") 4px 9px no-repeat !important;
571 background: #FFF url("../images/horizontal-indicator.png") 4px 50% no-repeat !important;
571 572 cursor: pointer;
572 573 }
573 574 .quick_repo_menu .menu_items{
574 575 margin-top:6px;
576 width:150px;
575 577 position: absolute;
576 578 background-color:#FFF;
577 padding: 4px;
578 579 background: none repeat scroll 0 0 #FFFFFF;
579 580 border-color: #003367 #666666 #666666;
580 581 border-right: 1px solid #666666;
581 582 border-style: solid;
582 583 border-width: 1px;
584 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
585 }
586 .quick_repo_menu .menu_items li{
587 padding:0 !important;
588 }
589 .quick_repo_menu .menu_items a{
590 display: block;
591 padding: 4px 12px 4px 8px;
592 }
593 .quick_repo_menu .menu_items a:hover{
594 background-color: #EEE;
595 text-decoration: none;
596
583 597 }
584 598 .quick_repo_menu .menu_items .icon img{
585 599 margin-bottom:-2px;
@@ -136,3 +136,15 b' function tooltip_activate(){'
136 136 showdelay:20,
137 137 });
138 138 }
139
140 /**
141 * show more
142 */
143 function show_more_event(){
144 YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
145 var el = e.target;
146 YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
147 YUD.setStyle(el.parentNode,'display','none');
148 });
149 }
150
@@ -20,15 +20,6 b''
20 20 </div>
21 21 <!-- end box / title -->
22 22 <div class="table">
23 <script type="text/javascript">
24 function show_more_event(){
25 YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
26 var el = e.target;
27 YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
28 YUD.setStyle(el.parentNode,'display','none');
29 });
30 }
31 </script>
32 23 <div id="user_log">
33 24 ${c.log_data}
34 25 </div>
@@ -117,6 +117,7 b''
117 117 });
118 118
119 119 tooltip_activate();
120 show_more_event();
120 121
121 122 YUE.on(YUQ('.quick_repo_menu'),'click',function(e){
122 123 var menu = e.currentTarget.firstElementChild;
@@ -36,7 +36,6 b''
36 36 <div class="table">
37 37 % if c.groups:
38 38 <table>
39
40 39 <thead>
41 40 <tr>
42 41 <th class="left"><a href="#">${_('Group name')}</a></th>
General Comments 0
You need to be logged in to leave comments. Login now