Elgg  Version 1.9
buttons.php
Go to the documentation of this file.
1 <?php
8 ?>
9 /* <style> /**/
10 
11 /* **************************
12  BUTTONS
13 ************************** */
14 
15 /* Base */
16 .elgg-button {
17  font-size: 14px;
18  font-weight: bold;
19  border-radius: 5px;
20  width: auto;
21  padding: 2px 4px;
22  cursor: pointer;
23  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
24  background-color: #ccc;
25 }
26 a.elgg-button {
27  padding: 3px 6px;
28 }
29 
30 .elgg-button:hover,
31 .elgg-button:focus {
32  background: #eee;
33 }
34 
35 /* Submit: This button should convey, "you're about to take some definitive action" */
36 .elgg-button-submit {
37  color: white;
38  text-shadow: 1px 1px 0px black;
39  text-decoration: none;
40  border: 1px solid #4690d6;
41  background: #4690d6 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
42 }
43 
44 .elgg-button-submit:hover,
45 .elgg-button-submit:focus {
46  border-color: #0054a7;
47  text-decoration: none;
48  color: white;
49  background: #0054a7 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
50 }
51 
52 .elgg-button-submit.elgg-state-disabled {
53  background: #999;
54  border-color: #999;
55  cursor: default;
56 }
57 
58 /* Cancel: This button should convey a negative but easily reversible action (e.g., turning off a plugin) */
59 .elgg-button-cancel {
60  color: #333;
61  background: #ddd url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
62  border: 1px solid #999;
63 }
64 .elgg-button-cancel:hover,
65 .elgg-button-cancel:focus {
66  color: #444;
67  background-color: #999;
68  background-position: left 10px;
69  text-decoration: none;
70 }
71 
72 /* Action: This button should convey a normal, inconsequential action, such as clicking a link */
73 .elgg-button-action {
74  background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 0;
75  border:1px solid #999;
76  color: #333;
77  padding: 2px 15px;
78  text-align: center;
79  font-weight: bold;
80  text-decoration: none;
81  text-shadow: 0 1px 0 white;
82  cursor: pointer;
83  border-radius: 5px;
84  box-shadow: none;
85 }
86 
87 .elgg-button-action:hover,
88 .elgg-button-action:focus {
89  background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 -15px;
90  color: #111;
91  text-decoration: none;
92  border: 1px solid #999;
93 }
94 
95 /* Delete: This button should convey "be careful before you click me" */
96 .elgg-button-delete {
97  color: #bbb;
98  text-decoration: none;
99  border: 1px solid #333;
100  background: #555 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px;
101  text-shadow: 1px 1px 0px black;
102 }
103 .elgg-button-delete:hover,
104 .elgg-button-delete:focus {
105  color: #999;
106  background-color: #333;
107  background-position: left 10px;
108  text-decoration: none;
109 }
110 
111 .elgg-button-dropdown {
112  padding:3px 6px;
113  text-decoration:none;
114  display:block;
115  font-weight:bold;
116  position:relative;
117  margin-left:0;
118  color: white;
119  background-color: transparent;
120  border:1px solid #71B9F7;
121  border-radius:4px;
122  box-shadow: 0 0 0;
123 }
124 
125 .elgg-button-dropdown:after {
126  content: " \25BC ";
127  font-size:smaller;
128 }
129 
130 .elgg-button-dropdown:hover {
131  background-color:#71B9F7;
132  text-decoration:none;
133 }
134 .elgg-button-dropdown:focus {
135  text-decoration: none;
136 }
137 .elgg-button-dropdown.elgg-state-active {
138  background: #ccc;
139  outline: none;
140  color: #333;
141  border:1px solid #ccc;
142  border-radius:4px 4px 0 0;
143 }
elgg input text
Definition: admin.php:478
list style position
Definition: typography.php:154
text decoration
Definition: admin.php:99
font weight
Definition: admin.php:65
vertical align
Definition: admin.php:66
min width
Definition: admin.php:166
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col elgg image block
Definition: admin.php:127
elgg button submit
Definition: admin.php:527
ui datepicker calendar ui state active
Definition: admin.php:627
border color
Definition: admin.php:42
box shadow
Definition: admin.php:258
ui datepicker calendar ui state hover
Definition: admin.php:622
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
box border radius
Definition: admin.php:258
label elgg state disabled
Definition: admin.php:457
$CONFIG url
The full URL where Elgg is installed.
Definition: config.php:94
elgg button
Definition: admin.php:510
overflow x
Definition: typography.php:47
elgg widget content
Definition: admin.php:1219
font size
Definition: admin.php:81
a
Definition: admin.php:97
elgg button cancel
Definition: admin.php:546
margin left
Definition: admin.php:210
elgg action
Definition: ajax.js:178