@@ -23,24 +23,34 @@ <h2>Using button elements</h2>
23
23
</ button >
24
24
25
25
< button class ="ui-button ui-button-icon-only ui-widget ui-state-default ui-corner-all " title ="Button ">
26
- < span class ="ui-button-icon-primary ui-icon ui-icon-locked "> </ span >
27
- < span class ="ui-button-text "> Button </ span >
26
+ < span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
27
+ < span class ="ui-button-text "> Primary icon </ span >
28
28
</ button >
29
-
30
- < button class ="ui-button ui-button-text-icon ui-widget ui-state-default ui-corner-all ">
31
- < span class ="ui-button-icon-primary ui-icon ui-icon-locked "> </ span >
32
- < span class ="ui-button-text "> Button</ span >
29
+
30
+ < button class ="ui-button ui-button-icon-only ui-widget ui-state-default ui-corner-all " title ="Button ">
31
+ < span class ="ui-button-text "> Secondary icon</ span >
32
+ < span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
33
+ </ button >
34
+
35
+ < button class ="ui-button ui-button-text-icon-primary ui-widget ui-state-default ui-corner-all ">
36
+ < span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
37
+ < span class ="ui-button-text "> Primary icon</ span >
38
+ </ button >
39
+
40
+ < button class ="ui-button ui-button-text-icon-secondary ui-widget ui-state-default ui-corner-all ">
41
+ < span class ="ui-button-text "> Secondary icon</ span >
42
+ < span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
33
43
</ button >
34
44
35
45
< button class ="ui-button ui-button-text-icons ui-widget ui-state-default ui-corner-all ">
36
46
< span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
37
- < span class ="ui-button-text "> Button </ span >
47
+ < span class ="ui-button-text "> Both icons </ span >
38
48
< span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
39
49
</ button >
40
50
41
51
< button class ="ui-button ui-button-icons-only ui-widget ui-state-default ui-corner-all ">
42
52
< span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
43
- < span class ="ui-button-text "> Button </ span >
53
+ < span class ="ui-button-text "> No text </ span >
44
54
< span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
45
55
</ button >
46
56
</ div >
@@ -53,24 +63,34 @@ <h2>Using anchor elements</h2>
53
63
</ a >
54
64
55
65
< a href ="# " class ="ui-button ui-button-icon-only ui-widget ui-state-default ui-corner-all " title ="Button ">
56
- < span class ="ui-button-icon-primary ui-icon ui-icon-locked "> </ span >
57
- < span class ="ui-button-text "> Button </ span >
66
+ < span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
67
+ < span class ="ui-button-text "> Primary icon </ span >
58
68
</ a >
59
69
60
- < a href ="# " class ="ui-button ui-button-text-icon ui-widget ui-state-default ui-corner-all ">
61
- < span class ="ui-button-icon-primary ui-icon ui-icon-locked "> </ span >
62
- < span class ="ui-button-text "> Button</ span >
70
+ < a href ="# " class ="ui-button ui-button-icon-only ui-widget ui-state-default ui-corner-all " title ="Button ">
71
+ < span class ="ui-button-text "> Secondary icon</ span >
72
+ < span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
73
+ </ a >
74
+
75
+ < a href ="# " class ="ui-button ui-button-text-icon-primary ui-widget ui-state-default ui-corner-all ">
76
+ < span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
77
+ < span class ="ui-button-text "> Primary icon</ span >
78
+ </ a >
79
+
80
+ < a href ="# " class ="ui-button ui-button-text-icon-secondary ui-widget ui-state-default ui-corner-all ">
81
+ < span class ="ui-button-text "> Secondary icon</ span >
82
+ < span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
63
83
</ a >
64
84
65
85
< a href ="# " class ="ui-button ui-button-text-icons ui-widget ui-state-default ui-corner-all ">
66
86
< span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
67
- < span class ="ui-button-text "> Button </ span >
87
+ < span class ="ui-button-text "> Both icons </ span >
68
88
< span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
69
89
</ a >
70
90
71
91
< a href ="# " class ="ui-button ui-button-icons-only ui-widget ui-state-default ui-corner-all ">
72
92
< span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
73
- < span class ="ui-button-text "> Button </ span >
93
+ < span class ="ui-button-text "> No text </ span >
74
94
< span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
75
95
</ a >
76
96
</ div >
@@ -85,24 +105,34 @@ <h2>Using label elements (used when proxying to radio or check inputs)</h2>
85
105
</ label >
86
106
87
107
< label class ="ui-button ui-button-icon-only ui-widget ui-state-default ui-corner-all " title ="Button ">
88
- < span class ="ui-button-icon-primary ui-icon ui-icon-locked "> </ span >
89
- < span class ="ui-button-text "> Button </ span >
108
+ < span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
109
+ < span class ="ui-button-text "> Primary icon </ span >
90
110
</ label >
91
111
92
- < label class ="ui-button ui-button-text-icon ui-widget ui-state-default ui-corner-all ">
93
- < span class ="ui-button-icon-primary ui-icon ui-icon-locked "> </ span >
94
- < span class ="ui-button-text "> Button</ span >
112
+ < label class ="ui-button ui-button-icon-only ui-widget ui-state-default ui-corner-all " title ="Button ">
113
+ < span class ="ui-button-text "> Secondary icon</ span >
114
+ < span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
115
+ </ label >
116
+
117
+ < label class ="ui-button ui-button-text-icon-primary ui-widget ui-state-default ui-corner-all ">
118
+ < span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
119
+ < span class ="ui-button-text "> Primary icon</ span >
120
+ </ label >
121
+
122
+ < label class ="ui-button ui-button-text-icon-secondary ui-widget ui-state-default ui-corner-all ">
123
+ < span class ="ui-button-text "> Secondary icon</ span >
124
+ < span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
95
125
</ label >
96
126
97
127
< label class ="ui-button ui-button-text-icons ui-widget ui-state-default ui-corner-all ">
98
128
< span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
99
- < span class ="ui-button-text "> Button </ span >
129
+ < span class ="ui-button-text "> Both icons </ span >
100
130
< span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
101
131
</ label >
102
132
103
133
< label class ="ui-button ui-button-icons-only ui-widget ui-state-default ui-corner-all ">
104
134
< span class ="ui-button-icon-primary ui-icon ui-icon-gear "> </ span >
105
- < span class ="ui-button-text "> Button </ span >
135
+ < span class ="ui-button-text "> No text </ span >
106
136
< span class ="ui-button-icon-secondary ui-icon ui-icon-triangle-1-s "> </ span >
107
137
</ label >
108
138
</ div >
@@ -111,9 +141,10 @@ <h2>Using label elements (used when proxying to radio or check inputs)</h2>
111
141
< h2 > Button Sets</ h2 >
112
142
113
143
< div class ="ui-buttonset ">
114
- < button class ="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-left "> < span class ="ui-button-text "> Simple button</ span > </ button >
115
- < button class ="ui-button ui-button-text-only ui-widget ui-state-default "> < span class ="ui-button-text "> Simple button</ span > </ button >
116
- < button class ="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-right "> < span class ="ui-button-text "> Simple button</ span > </ button >
144
+ < button class ="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-left "> < span class ="ui-button-text "> First</ span > </ button >
145
+ < button class ="ui-button ui-button-text-only ui-widget ui-state-default "> < span class ="ui-button-text "> Middle</ span > </ button >
146
+ < button class ="ui-button ui-button-text-only ui-widget ui-state-default "> < span class ="ui-button-text "> Middle</ span > </ button >
147
+ < button class ="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-right "> < span class ="ui-button-text "> Last</ span > </ button >
117
148
</ div >
118
149
119
150
0 commit comments