Skip to content

Commit

Permalink
Merge pull request #624 from oat-sa/fix/AUT-4061/add-copy-button
Browse files Browse the repository at this point in the history
fix: add copy-to icon
  • Loading branch information
viktar-dzmitryieu-tao authored Jan 24, 2025
2 parents 009654f + f27517b commit 2c5afb7
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
Binary file modified scss/font/tao/tao.eot
Binary file not shown.
5 changes: 4 additions & 1 deletion scss/font/tao/tao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scss/font/tao/tao.ttf
Binary file not shown.
Binary file modified scss/font/tao/tao.woff
Binary file not shown.
5 changes: 4 additions & 1 deletion scss/inc/fonts/_tao-icon-classes.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Do not edit */[class^="icon-"], [class*=" icon-"] { @include tao-icon-setup; }
%icon-blocked-before, .icon-blocked:before { @include icon-blocked; }
%icon-restricted-before, .icon-restricted:before { @include icon-restricted; }
%icon-copy-before, .icon-copy:before { @include icon-copy; }
%icon-align-center-before, .icon-align-center:before { @include icon-align-center; }
%icon-multiple-magicwand-before, .icon-multiple-magicwand:before { @include icon-multiple-magicwand; }
%icon-sd-import-before, .icon-sd-import:before { @include icon-sd-import; }
Expand Down Expand Up @@ -133,7 +136,7 @@
%icon-templates-before, .icon-templates:before { @include icon-templates; }
%icon-cut-before, .icon-cut:before { @include icon-cut; }
%icon-replace-before, .icon-replace:before { @include icon-replace; }
%icon-copy-before, .icon-copy:before { @include icon-copy; }
%icon-duplicate-before, .icon-duplicate:before { @include icon-duplicate; }
%icon-paste-before, .icon-paste:before { @include icon-paste; }
%icon-select-all-before, .icon-select-all:before { @include icon-select-all; }
%icon-paste-text-before, .icon-paste-text:before { @include icon-paste-text; }
Expand Down
10 changes: 5 additions & 5 deletions scss/inc/fonts/_tao-icon-def.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Do not edit */@font-face {
font-family: 'tao';
src: url('#{$fontPath}tao/tao.eot?y6cmhc');
src: url('#{$fontPath}tao/tao.eot?y6cmhc#iefix') format('embedded-opentype'),
url('#{$fontPath}tao/tao.ttf?y6cmhc') format('truetype'),
url('#{$fontPath}tao/tao.woff?y6cmhc') format('woff'),
url('#{$fontPath}tao/tao.svg?y6cmhc#tao') format('svg');
src: url('#{$fontPath}tao/tao.eot?mg5k1e');
src: url('#{$fontPath}tao/tao.eot?mg5k1e#iefix') format('embedded-opentype'),
url('#{$fontPath}tao/tao.ttf?mg5k1e') format('truetype'),
url('#{$fontPath}tao/tao.woff?mg5k1e') format('woff'),
url('#{$fontPath}tao/tao.svg?mg5k1e#tao') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
Expand Down
5 changes: 4 additions & 1 deletion scss/inc/fonts/_tao-icon-vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
-moz-osx-font-smoothing: grayscale;
}

@mixin icon-copy { content: "\e92b"; }
@mixin icon-blocked { content: "\e92c"; }
@mixin icon-restricted { content: "\e92d"; }
@mixin icon-align-center { content: "\e92a"; }
@mixin icon-multiple-magicwand { content: "\e929"; }
@mixin icon-sd-import { content: "\e91f"; }
Expand Down Expand Up @@ -147,7 +150,7 @@
@mixin icon-templates { content: "\e656"; }
@mixin icon-cut { content: "\e657"; }
@mixin icon-replace { content: "\e658"; }
@mixin icon-copy { content: "\e659"; }
@mixin icon-duplicate { content: "\e659"; }
@mixin icon-paste { content: "\e65a"; }
@mixin icon-select-all { content: "\e65b"; }
@mixin icon-paste-text { content: "\e65c"; }
Expand Down

0 comments on commit 2c5afb7

Please sign in to comment.