Show More
@@ -563,23 +563,37 b' padding:12px 9px 7px 24px;' | |||||
563 |
|
563 | |||
564 |
|
564 | |||
565 | .quick_repo_menu{ |
|
565 | .quick_repo_menu{ | |
566 |
background: #FFF url("../images/vertical-indicator.png") |
|
566 | background: #FFF url("../images/vertical-indicator.png") 8px 50% no-repeat !important; | |
567 | cursor: pointer; |
|
567 | cursor: pointer; | |
|
568 | width: 8px; | |||
568 | } |
|
569 | } | |
569 | .quick_repo_menu.active{ |
|
570 | .quick_repo_menu.active{ | |
570 |
background: #FFF url("../images/horizontal-indicator.png") 4px |
|
571 | background: #FFF url("../images/horizontal-indicator.png") 4px 50% no-repeat !important; | |
571 | cursor: pointer; |
|
572 | cursor: pointer; | |
572 | } |
|
573 | } | |
573 | .quick_repo_menu .menu_items{ |
|
574 | .quick_repo_menu .menu_items{ | |
574 | margin-top:6px; |
|
575 | margin-top:6px; | |
|
576 | width:150px; | |||
575 | position: absolute; |
|
577 | position: absolute; | |
576 | background-color:#FFF; |
|
578 | background-color:#FFF; | |
577 | padding: 4px; |
|
|||
578 | background: none repeat scroll 0 0 #FFFFFF; |
|
579 | background: none repeat scroll 0 0 #FFFFFF; | |
579 | border-color: #003367 #666666 #666666; |
|
580 | border-color: #003367 #666666 #666666; | |
580 | border-right: 1px solid #666666; |
|
581 | border-right: 1px solid #666666; | |
581 | border-style: solid; |
|
582 | border-style: solid; | |
582 | border-width: 1px; |
|
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 | .quick_repo_menu .menu_items .icon img{ |
|
598 | .quick_repo_menu .menu_items .icon img{ | |
585 | margin-bottom:-2px; |
|
599 | margin-bottom:-2px; |
@@ -136,3 +136,15 b' function tooltip_activate(){' | |||||
136 | showdelay:20, |
|
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 | </div> |
|
20 | </div> | |
21 | <!-- end box / title --> |
|
21 | <!-- end box / title --> | |
22 | <div class="table"> |
|
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 | <div id="user_log"> |
|
23 | <div id="user_log"> | |
33 | ${c.log_data} |
|
24 | ${c.log_data} | |
34 | </div> |
|
25 | </div> |
@@ -117,6 +117,7 b'' | |||||
117 | }); |
|
117 | }); | |
118 |
|
118 | |||
119 | tooltip_activate(); |
|
119 | tooltip_activate(); | |
|
120 | show_more_event(); | |||
120 |
|
121 | |||
121 | YUE.on(YUQ('.quick_repo_menu'),'click',function(e){ |
|
122 | YUE.on(YUQ('.quick_repo_menu'),'click',function(e){ | |
122 | var menu = e.currentTarget.firstElementChild; |
|
123 | var menu = e.currentTarget.firstElementChild; |
General Comments 0
You need to be logged in to leave comments.
Login now