]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Change copy icon (#3867)
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>
Mon, 22 Mar 2021 13:19:08 +0000 (14:19 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 24 Mar 2021 17:18:41 +0000 (18:18 +0100)
* client: change copy icon to glypicon-duplicate

* client: add "copy" text to copy icons

client/src/app/+accounts/accounts.component.html
client/src/app/+video-channels/video-channels.component.html
client/src/app/shared/shared-forms/input-toggle-hidden.component.html
client/src/app/shared/shared-video-miniature/video-download.component.html
client/src/sass/bootstrap.scss

index 5bd7b0824d6af10711b5a33dcc23f30f70b3d1dc..1903bb36f10a0ce65145406b33a92f194975c7ff 100644 (file)
@@ -12,7 +12,7 @@
             <button [cdkCopyToClipboard]="account.nameWithHostForced" (click)="activateCopiedMessage()"
                     class="btn btn-outline-secondary btn-sm copy-button"
             >
-              <span class="glyphicon glyphicon-copy"></span>
+              <span class="glyphicon glyphicon-duplicate"></span>
             </button>
           </div>
           <span *ngIf="accountUser?.blocked" [ngbTooltip]="accountUser.blockedReason" class="badge badge-danger" i18n>Banned</span>
index 4b0d12b6e79e8fe3ffe36951853b1f47326e139d..b3ea19768c97ee49eed454da7a8599aca3094f87 100644 (file)
@@ -12,7 +12,7 @@
             <button [cdkCopyToClipboard]="videoChannel.nameWithHostForced" (click)="activateCopiedMessage()"
                     class="btn btn-outline-secondary btn-sm copy-button"
             >
-              <span class="glyphicon glyphicon-copy"></span>
+              <span class="glyphicon glyphicon-duplicate"></span>
             </button>
           </div>
         </div>
index e7441e4c19ee2dc0f71aa3acc8caa0c4bfcd32c1..9f252f299556f13538de7661456ab763d07434a5 100644 (file)
 
     <button
       *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button"
-      class="btn btn-outline-secondary" i18n-title title="Copy"
+      class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy"
     >
-      <span class="glyphicon glyphicon-copy"></span>
+      <span class="glyphicon glyphicon-duplicate"></span>
+      Copy
     </button>
   </div>
 </div>
index 4608e93e755552a40a46dc761a86eecf75849756..0e659fbe2c87d164559e64d9929e5e21b76ee65a 100644 (file)
@@ -36,7 +36,7 @@
         <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getLink()" />
         <div class="input-group-append" *ngIf="!isConfidentialVideo()">
           <button [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary">
-            <span class="glyphicon glyphicon-copy"></span>
+            <span class="glyphicon glyphicon-duplicate"></span>
           </button>
         </div>
       </div>
index 7047f6e031c08a6156075f82d6232aeb21926229..75dc91d7a01610397c5380b264b40be465f5abf6 100644 (file)
@@ -9,6 +9,10 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
   animation: spin .7s infinite linear;
 }
 
+.glyphicon-duplicate {
+  font-size: 70%;
+}
+
 .flex-auto {
   flex: auto;
 }