File tree Expand file tree Collapse file tree 8 files changed +16
-20
lines changed
Expand file tree Collapse file tree 8 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ SOFTWARE.
2828*/
2929
3030let clipboard_title = "Copy to clipboard"
31- let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32- let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d=" M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
31+ let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="#888" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32+ let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
3333let clipboard_successDuration = 1000
3434
3535$ ( function ( ) {
Original file line number Diff line number Diff line change @@ -338,8 +338,7 @@ pre.fragment {
338338 opacity : 0 ;
339339 position : absolute;
340340 display : inline;
341- overflow : auto;
342- fill : black;
341+ overflow : hidden;
343342 justify-content : center;
344343 align-items : center;
345344 cursor : pointer;
@@ -351,7 +350,7 @@ pre.fragment {
351350}
352351
353352.fragment : hover .clipboard , .clipboard .success {
354- opacity : .28 ;
353+ opacity : .4 ;
355354}
356355
357356.clipboard : hover , .clipboard .success {
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ SOFTWARE.
2828*/
2929
3030let clipboard_title = "Copy to clipboard"
31- let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32- let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d=" M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
31+ let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="#888" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32+ let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
3333let clipboard_successDuration = 1000
3434
3535$ ( function ( ) {
Original file line number Diff line number Diff line change @@ -338,8 +338,7 @@ pre.fragment {
338338 opacity : 0 ;
339339 position : absolute;
340340 display : inline;
341- overflow : auto;
342- fill : black;
341+ overflow : hidden;
343342 justify-content : center;
344343 align-items : center;
345344 cursor : pointer;
@@ -351,7 +350,7 @@ pre.fragment {
351350}
352351
353352.fragment : hover .clipboard , .clipboard .success {
354- opacity : .28 ;
353+ opacity : .4 ;
355354}
356355
357356.clipboard : hover , .clipboard .success {
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ SOFTWARE.
2828*/
2929
3030let clipboard_title = "Copy to clipboard"
31- let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32- let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d=" M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
31+ let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="#888" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32+ let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
3333let clipboard_successDuration = 1000
3434
3535$ ( function ( ) {
Original file line number Diff line number Diff line change @@ -338,8 +338,7 @@ pre.fragment {
338338 opacity : 0 ;
339339 position : absolute;
340340 display : inline;
341- overflow : auto;
342- fill : black;
341+ overflow : hidden;
343342 justify-content : center;
344343 align-items : center;
345344 cursor : pointer;
@@ -351,7 +350,7 @@ pre.fragment {
351350}
352351
353352.fragment : hover .clipboard , .clipboard .success {
354- opacity : .28 ;
353+ opacity : .4 ;
355354}
356355
357356.clipboard : hover , .clipboard .success {
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ SOFTWARE.
2828*/
2929
3030let clipboard_title = "Copy to clipboard"
31- let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32- let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d=" M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
31+ let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="#888" d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
32+ let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
3333let clipboard_successDuration = 1000
3434
3535$ ( function ( ) {
Original file line number Diff line number Diff line change @@ -338,8 +338,7 @@ pre.fragment {
338338 opacity : 0 ;
339339 position : absolute;
340340 display : inline;
341- overflow : auto;
342- fill : black;
341+ overflow : hidden;
343342 justify-content : center;
344343 align-items : center;
345344 cursor : pointer;
@@ -351,7 +350,7 @@ pre.fragment {
351350}
352351
353352.fragment : hover .clipboard , .clipboard .success {
354- opacity : .28 ;
353+ opacity : .4 ;
355354}
356355
357356.clipboard : hover , .clipboard .success {
You can’t perform that action at this time.
0 commit comments