font-awesome

Font-awesome: An emoticon looks different on my computer than on the actual webpage

无人久伴 提交于 2019-12-11 01:59:13
问题 I am trying to add on my webpage the ResearchGate emoticon from academicons which is an extension to font-awesome. Here is what the emoticon should look like: It works fine when I open my index.html on my computer ( user/name/path/to/index.html ) but it doesn't work when I open my webpage ( www.blabla.bla.bl ). Of course, I made really sure to copy ( scp ) my whole directory (including, images, css, etc..) over the server several times. I made it several times and have now waited 10 hours but

How to get font awesome icon into input type text [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 01:38:30
问题 This question already has answers here : How do I add a Font Awesome icon to input field? (7 answers) Closed 2 years ago . I have trying for font awesome icon into text input type. But can get idea and it's not working. It will be like in below image. .search_location{ padding: 9px 10px 8px 10px; background: #fff; color: #777777; position: relative; } i.icon-map-marker { position: absolute; top: 10px; left: 50px; } <p> <input type="text" class="search_location" value="Choose Location"> <i

binding font-awesome character in XAML to Text

霸气de小男生 提交于 2019-12-11 01:38:01
问题 I have an TextBlock and I am trying to bind the text to a font-awesome character to use as a checkbox. I have a property that is returning a character string, but it seems that something is converting it to a string instead of a character. This works and draws a checkbox: <TextBlock Text="" FontFamily="/Resources/fontawesome-webfont.ttf#FontAwesome" /> This combination does not: public class myObject { public string MyString { get { return "" } } } <TextBlock Text{Binding MyString}

How to fix changing fontawesomefx icons to a rectangle when the font size is specified in JavaFX?

断了今生、忘了曾经 提交于 2019-12-11 01:34:05
问题 I'm using fontawesomefx-8.9 and I have set their font size to 15px using .glyph-icon { -fx-font-size: 15px; } Then I have created some FontAwesomeIconViews and embed them in some Buttons(JavaFX). The issue I had to face is changing fontAwesome icons to a rectangle when hovering mouse over the button. FXML File is below(FXMLDocument,fxml) <?xml version="1.0" encoding="UTF-8"?> <?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?> <?import javafx.scene.control.Button?> <?import javafx

Change FontAwesome icon size in primefaces (p:commandButton and p:menuitem)

99封情书 提交于 2019-12-11 00:58:30
问题 I'm trying out the FontAwesome icon inside p:commandButton and p:menuitem. I'm able to display the icons, however compared to the built-in mobile icons, the FontAwesome icons seem too small. It looks inconsistent if you have other PF components using themeroller icons. Is there a way to increase size of the FontAwesome icons? and I have also try in style to increase font-size and fa-lg, fa-2x, fa-3x, fa-4x, or fa-5x classes but doesn't work. <p:commandButton icon="ui-icon-mobile-phone" id=

Webpack: loading iconic fonts

ぃ、小莉子 提交于 2019-12-11 00:25:38
问题 I've installed font-awesome : npm install font-awesome I've added these rules on webconfig: { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&mimetype=application/font-woff" }, { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" } Into my main.scss I've added this import: @import "font-awesome/scss/font-awesome.scss"; font-awesome css rules are loaded into browser but, fonts are not loaded. It seems fonts are requested by browser on

Angular CLI outputs the font-awesome font files the dist root

你离开我真会死。 提交于 2019-12-10 23:35:59
问题 Do you have to eject your angular-cli and override the webpack configuration in order to place the font-awesome fonts into the assets/fonts folder? I have this angular-cli and I include the font-awesome this way in my angular-cli.json : "styles": [ "styles.css", "../node_modules/bootstrap/dist/css/bootstrap.min.css", "../node_modules/font-awesome/css/font-awesome.min.css" ], but when I do ng build --prod I get everything built correctly however all font-awesome fonts are located in the root

FontAwesome, Bootstrap and screenreader accessibility

删除回忆录丶 提交于 2019-12-10 21:39:51
问题 I'm wondering about screen reader accessibility using Twitter Bootstrap framework and FontAwesome icon fonts. I'm looking at 2 different icon situations: 1) The icon has helper text that a screen reader will pick up: <a href="#" class="btn btn-default" role="button"><span class="fa fa-pencil"></span> Edit</a> 2) And a standalone icon without any helper text: <a href="#" class="btn btn-default" role="button" title="Edit"><span class="fa fa-pencil"></span></a> Ideally, in both situations, a

What is #shadow-root, and why does it put display none on my font awesome classes? [duplicate]

可紊 提交于 2019-12-10 19:57:59
问题 This question already has answers here : HTML / CSS - DIV Element hidden when it shouldn't be? (3 answers) Closed 4 years ago . Why does the shadow-root styles put display none on my .fa-xxx classes? The shadow-root thing adds the classes I use to a display none pile, but only the specific ones I add! I'm using PHP to include navigation, footers and such, but these don't get effected by it. For example it works just fine in my navigation. There it displays the font just fine. What is causing

Element UI and font-awesome

China☆狼群 提交于 2019-12-10 19:29:53
问题 Can anyone explane if it is possible to use font-awesome or another big icon font with Element UI? I've seen FAQ but cannot make it work for me. https://github.com/ElemeFE/element/blob/dev/FAQ.md Thanks. 回答1: You can just include those libraries / or NPM them and they work, Element UI has a limited set of icons so I have include vue-awesome (font awesome) but I notice the position of the icons if out a bit so you need some CSS to adjust top margins (I needed -4px) and line them with say