Skip to content

Commit b47185b

Browse files
committed
Remove custom icons font using standard Font Awesome icons instead.
Enlarge the icon font-size a bit because of the new icons used.
1 parent 5c3772c commit b47185b

File tree

5 files changed

+16
-60
lines changed

5 files changed

+16
-60
lines changed

widgets/Share/css/Share.css

+16-36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@charset "UTF-8";
2-
31
.cmvShareWidget {
42
width: 100%;
53
padding-bottom: 10px;
@@ -67,16 +65,25 @@
6765
}
6866

6967
.cmvShareWidget .icon {
70-
font-size: 24px;
68+
font-size: 32px;
7169
float: left;
7270
cursor: pointer;
73-
margin-right: 10px;
71+
margin-right: 15px;
7472
margin-bottom: 10px;
7573
text-decoration: none;
7674
display: block;
7775
color: rgba(0, 0, 0, 0.5);
7876
}
7977

78+
.cmvShareWidget .icon-gplus {
79+
font-size: 25px;
80+
margin-top: 2px;
81+
}
82+
.cmvShareWidget .icon-link {
83+
font-size: 26px;
84+
margin-top: 2px;
85+
}
86+
8087
.cmvShareWidget .icon:hover {
8188
color: rgba(0, 0, 0, 1);
8289
}
@@ -90,49 +97,22 @@
9097
margin: 0 0 0 10px;
9198
}
9299

93-
/*Icon Fonts*/
94-
@font-face {
95-
font-family: 'tool-icons';
96-
src: url('./fonts/tool-icons.eot');
97-
src: url('./fonts/tool-icons.eot?#iefix') format('embedded-opentype'), url('./fonts/tool-icons.woff') format('woff'), url('../fonts/tool-icons.ttf') format('truetype'), url('./fonts/tool-icons.svg#tool-icons') format('svg');
98-
font-weight: normal;
99-
font-style: normal;
100-
}
101-
102-
[class^="icon-"]:before, [class*=" icon-"]:before {
103-
font-family: "tool-icons";
104-
font-style: normal;
105-
font-weight: normal;
106-
speak: none;
107-
display: inline-block;
108-
text-decoration: inherit;
109-
width: 1em;
110-
margin-right: 0.2em;
111-
text-align: center;
112-
/* For safety - reset parent styles, that can break glyph codes*/
113-
font-variant: normal;
114-
text-transform: none;
115-
/* Animation center compensation - margins should be symmetric */
116-
/* remove if not needed */
117-
margin-left: 0.2em;
118-
}
119-
120100
.cmvShareWidget .icon-twitter:before {
121-
content: '\e802';
101+
content: '\f099';
122102
}
123103

124104
.cmvShareWidget .icon-facebook:before {
125-
content: '\e803';
105+
content: '\f082';
126106
}
127107

128108
.cmvShareWidget .icon-gplus:before {
129-
content: '\e804';
109+
content: '\f0d5';
130110
}
131111

132112
.cmvShareWidget .icon-mail:before {
133-
content: '\e805';
113+
content: '\f0e0';
134114
}
135115

136116
.cmvShareWidget .icon-link:before {
137-
content: '\e806';
117+
content: '\f0c1';
138118
}
-7.18 KB
Binary file not shown.

widgets/Share/css/fonts/tool-icons.svg

-24
This file was deleted.
-7.01 KB
Binary file not shown.
-4.56 KB
Binary file not shown.

0 commit comments

Comments
 (0)