How can I insert and use font awesome 4 in a Liferay's 7.2 custom theme?
I saw in Liferay's portal dev that by selecting: Control Panel → Configuration → System Settings → Third Party, I could find a Font Awesome option, but that option is not in my panel.
Also in this tutorial it is explained how to use font awesome 3, but nothing about version 4.
By default, Liferay use Font Awesome v3.2.1. I don't know if there is a way to change it.
If you want to use another version, then I suggest to add it in package.json file of your theme. It'll be the fastest and efficient way to add/customize the dependencies you want.
If you are okay with this solution, just don't forget to disable Font Awesome v3.2.1 to improve performance of your portal.
Related
I want to change the font of the search bar and also the results there, because I can't see it clearly
I saw your question still hanging so I installed Sublime on Debian to try to configure it.
First of all, you can read how to customize Sublime at here. And the part of interface you want to configure is called quick_panel, specifically class quick_panel_label.
At the end of theme configuration page, there is an example of customization file.
I don't know what theme are you using, but if you are using Default theme, you should create new file called Default.sublime-theme and place it in Packages/User/. You can quickly find that path by menu of sublime, Preferences -> Browse packages... .
Content of Default.sublime-theme should be:
[
{
"class": "quick_panel_label",
"font.size": 25
}
]
where font.size represent font size of menu you are trying to customize.
P.S.
If you don't know the name of the file your theme is using, from menu choose Preferences -> Theme... and all themes should be listed with their .sublime-theme file.
For example, I customized Arc Dark theme.
I hope this works for you.
The theme is not updating according devices(OS), when i used App compact, it changed the text color and in many of the screen not showing text/ cursors. Some of the places the UI is disturbed.
What is the best way to manage theme for for different OS?
I wanted to know if it is possible to change the sidebar width in ST3? Is this a project based, theme based, or something in settings? I did not see in default settings so that is why I brought the question here.
Thank you.
To resize the sidebar, all you need to do is click and drag:
There is no way to set a "default" size in your user preferences, project, or current theme, unfortunately.
so I want to make eclipse to look a little more "compact", this, referring to the toolbar thickness. I've changed the tabs width and font size following the instructions here: Eclipse Luna UI rendering in Linux
I'd like to know if there's a way to change also that "gap" on the toolbars so I can get a little more space.
Here's a SS of my eclipse running: http://www.subeimagenes.com/img/ss-1138171.png
and I want to remove or reduce that gap I'm putting on red, any help/comment would be nice.
Thanks in advance!
Since eclipse 4.x you can modify the look and fill of controls and workspaces using CSS. See this Eclipse 4 CSS Styling- Tutorial it should help.
if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you
can change that via Display settings > Appearance > Advanced: ToolTip.
The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" {
GtkWidget::link-color = "#ffffff"
}
class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
Install gnome-color-chooser and customize the tooltip color as described here:
http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/
I'll chime in here, since I have the same issue.
There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).
The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.
On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.
On non-Windows, you are stuck with a dark-blue hardcoded color.
What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.
If you want to see it fixed, either upvode this bug or fix the code yourself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444
Sad, I know ):
Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.