mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00

Most of the code here has been taken from @LaKing's #2554. Only icons required for etherpad have been added. Here is a list of the code points that are being used: 0xe800 0xe801 0xe802 0xe803 0xe804 0xe805 0xe806 0xe807 0xe808 0xe809 0xe80a 0xe80b 0xe80c 0xe80d 0xe80e 0xe80f 0xe810 0xe811 0xe812 0xe813 0xe814 0xe815 0xe816 0xe817 Their related icon names can be seen in: /src/static/css/fontawesome-etherpad.css Even though this patch *adds* all the required icons it only uses them in the in toolbar. The switch to using only FontAwesome icons and the removal of old PNG files will only happen after the timeslider interface has been updated. This is the first step for #2253
76 lines
No EOL
2.9 KiB
CSS
76 lines
No EOL
2.9 KiB
CSS
@font-face {
|
|
font-family: 'fontawesome-etherpad';
|
|
src: url('../font/fontawesome-etherpad.eot?81419457');
|
|
src: url('../font/fontawesome-etherpad.eot?81419457#iefix') format('embedded-opentype'),
|
|
url('../font/fontawesome-etherpad.woff?81419457') format('woff'),
|
|
url('../font/fontawesome-etherpad.ttf?81419457') format('truetype'),
|
|
url('../font/fontawesome-etherpad.svg?81419457#fontawesome-etherpad') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
|
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
|
/*
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
@font-face {
|
|
font-family: 'fontawesome-etherpad';
|
|
src: url('../font/fontawesome-etherpad.svg?81419457#fontawesome-etherpad') format('svg');
|
|
}
|
|
}
|
|
*/
|
|
|
|
[class^="icon-"]:before, [class*=" icon-"]:before {
|
|
font-family: "fontawesome-etherpad";
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
speak: none;
|
|
|
|
display: inline-block;
|
|
text-decoration: inherit;
|
|
width: 1em;
|
|
margin-right: .2em;
|
|
text-align: center;
|
|
/* opacity: .8; */
|
|
|
|
/* For safety - reset parent styles, that can break glyph codes*/
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
|
|
/* fix buttons height, for twitter bootstrap */
|
|
line-height: 1em;
|
|
|
|
/* Animation center compensation - margins should be symmetric */
|
|
/* remove if not needed */
|
|
margin-left: .2em;
|
|
|
|
/* you can be more comfortable with increased icons size */
|
|
/* font-size: 120%; */
|
|
|
|
/* Uncomment for 3D effect */
|
|
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
|
}
|
|
|
|
.icon-users:before { content: '\e800'; } /* '' */
|
|
.icon-star:before { content: '\e801'; } /* '' */
|
|
.icon-cog:before { content: '\e802'; } /* '' */
|
|
.icon-bold:before { content: '\e803'; } /* '' */
|
|
.icon-italic:before { content: '\e804'; } /* '' */
|
|
.icon-indent-left:before { content: '\e805'; } /* '' */
|
|
.icon-indent-right:before { content: '\e806'; } /* '' */
|
|
.icon-list-bullet:before { content: '\e807'; } /* '' */
|
|
.icon-list-numbered:before { content: '\e808'; } /* '' */
|
|
.icon-strike:before { content: '\e809'; } /* '' */
|
|
.icon-underline:before { content: '\e80a'; } /* '' */
|
|
.icon-cw:before { content: '\e80b'; } /* '' */
|
|
.icon-ccw:before { content: '\e80c'; } /* '' */
|
|
.icon-clock:before { content: '\e80d'; } /* '' */
|
|
.icon-eye-off:before { content: '\e80e'; } /* '' */
|
|
.icon-eye:before { content: '\e80f'; } /* '' */
|
|
.icon-play:before { content: '\e810'; } /* '' */
|
|
.icon-fast-bw:before { content: '\e811'; } /* '' */
|
|
.icon-fast-fw:before { content: '\e812'; } /* '' */
|
|
.icon-pause:before { content: '\e813'; } /* '' */
|
|
.icon-glass:before { content: '\e814'; } /* '' */
|
|
.icon-code:before { content: '\e815'; } /* '' */
|
|
.icon-exchange:before { content: '\e816'; } /* '' */
|
|
.icon-chat:before { content: '\e817'; } /* '' */ |