##// END OF EJS Templates
ui: make copy content actions not use grey....
marcink -
r4100:0aa785c2 default
parent child Browse files
Show More
@@ -106,13 +106,17 b' input + .action-link, .action-link.first'
106 106 cursor: inherit;
107 107 }
108 108
109
109 110 .clipboard-action {
110 111 cursor: pointer;
111 color: @grey4;
112 112 margin-left: 5px;
113 113
114 &:hover {
115 color: @grey2;
114 &:not(.no-grey) {
115
116 &:hover {
117 color: @grey2;
118 }
119 color: @grey4;
116 120 }
117 121 }
118 122
@@ -44,7 +44,7 b''
44 44
45 45 <div class="pull-right buttons">
46 46 ## only owner should see that
47 <a href="#copySource" onclick="return false;" class="btn btn-mini icon-clipboard clipboard-action" data-clipboard-text="${c.files[0].content}">${_('Copy content')}</a>
47 <a href="#copySource" onclick="return false;" class="btn btn-mini icon-clipboard no-grey clipboard-action" data-clipboard-text="${c.files[0].content}">${_('Copy content')}</a>
48 48
49 49 %if c.is_super_admin or c.gist.gist_owner == c.rhodecode_user.user_id:
50 50 ${h.link_to(_('Edit'), h.route_path('gist_edit', gist_id=c.gist.gist_access_id), class_="btn btn-mini")}
@@ -103,7 +103,7 b''
103 103 %endif
104 104 | ${h.link_to(_('Raw'), h.route_path('repo_file_raw',repo_name=c.repo_name,commit_id=c.commit.raw_id,f_path=c.f_path))}
105 105 % if not c.file.is_binary:
106 |<a href="#copySource" onclick="return false;" class="clipboard-action" data-clipboard-text="${c.file.content}">${_('Copy content')}</a>
106 |<a href="#copySource" onclick="return false;" class="no-grey clipboard-action" data-clipboard-text="${c.file.content}">${_('Copy content')}</a>
107 107 % endif
108 108
109 109 </div>
General Comments 0
You need to be logged in to leave comments. Login now