aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/themes/themes-fonticon.asciidoc
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2017-01-10 08:36:09 +0200
committerHenri Sara <henri.sara@gmail.com>2017-01-10 08:36:09 +0200
commitcba4eb476b559cc97ccf2d8197d176a0813707c7 (patch)
treef6c17b79ea161809d31e044425b95486e4c99efc /documentation/themes/themes-fonticon.asciidoc
parent91723ac8dde24249b2753d671f42d0f3cddb20a9 (diff)
downloadvaadin-framework-cba4eb476b559cc97ccf2d8197d176a0813707c7.tar.gz
vaadin-framework-cba4eb476b559cc97ccf2d8197d176a0813707c7.zip
Remove all referrals to book examples (#8163)
Minor documentation fixes.
Diffstat (limited to 'documentation/themes/themes-fonticon.asciidoc')
-rw-r--r--documentation/themes/themes-fonticon.asciidoc9
1 files changed, 0 insertions, 9 deletions
diff --git a/documentation/themes/themes-fonticon.asciidoc b/documentation/themes/themes-fonticon.asciidoc
index 9dd5824be5..c1d1ce2341 100644
--- a/documentation/themes/themes-fonticon.asciidoc
+++ b/documentation/themes/themes-fonticon.asciidoc
@@ -56,7 +56,6 @@ layout.addComponent(name);
Button ok = new Button("OK", FontAwesome.CHECK);
layout.addComponent(ok);
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.basic[on-line example, window="_blank"].
The result is illustrated in <<figure.themes.fonticon.using>>, with the color
styling described next.
@@ -97,7 +96,6 @@ Label label = new Label("I " +
label.addStyleName("redicon");
layout.addComponent(label);
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.html[on-line example, window="_blank"].
The HTML code has the [stylename]#v-icon# style, which you can modify in CSS:
@@ -107,7 +105,6 @@ The HTML code has the [stylename]#v-icon# style, which you can modify in CSS:
color: red;
}
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.html[on-line example, window="_blank"].
The result is illustrated in <<figure.themes.fonticon-html.label>>, with the color
styling described next.
@@ -133,8 +130,6 @@ public String getHtml() {
Integer.toHexString(codepoint) + ";</span>";
}
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.html[on-line example, window="_blank"].
-
[[themes.fonticon.anywhere]]
== Using Font Icons in Other Text
@@ -153,7 +148,6 @@ TextField amount = new TextField("Amount (in " +
amount.addStyleName("awesomecaption");
layout.addComponent(amount);
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.intext[on-line example, window="_blank"].
You need to set the font family in CSS.
@@ -163,7 +157,6 @@ You need to set the font family in CSS.
font-family: FontAwesome;
}
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.intext[on-line example, window="_blank"].
[[themes.fonticon.custom]]
@@ -242,7 +235,6 @@ public enum MyFontIcon implements FontIcon {
}
}
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.custom[on-line example, window="_blank"].
Then you can use it as usual:
@@ -252,7 +244,6 @@ TextField name = new TextField("Amount");
name.setIcon(MyFontIcon.EURO);
layout.addComponent(name);
----
-See the http://demo.vaadin.com/book-examples-vaadin7/book#themes.fonticon.custom[on-line example, window="_blank"].
You could make the implementation a class as well, instead of an enumeration, to
allow other ways to specify the icons.