Elgg  Version 2.3
buttons.css.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(<?= elgg_get_simplecache_url("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(<?= elgg_get_simplecache_url("button_graduation.png"); ?>) repeat-x left 10px;
50 }
51 
52 /* Cancel: This button should convey a negative but easily reversible action (e.g., turning off a plugin) */
53 .elgg-button-cancel {
54  color: #333;
55  background: #ddd url(<?= elgg_get_simplecache_url("button_graduation.png"); ?>) repeat-x left 10px;
56  border: 1px solid #999;
57 }
58 .elgg-button-cancel:hover,
59 .elgg-button-cancel:focus {
60  color: #444;
61  background-color: #999;
62  background-position: left 10px;
63  text-decoration: none;
64 }
65 
66 /* Action: This button should convey a normal, inconsequential action, such as clicking a link */
67 .elgg-button-action {
68  background: #ccc url(<?= elgg_get_simplecache_url("button_background.gif"); ?>) repeat-x 0 0;
69  border:1px solid #999;
70  color: #333;
71  padding: 2px 15px;
72  text-align: center;
73  font-weight: bold;
74  text-decoration: none;
75  text-shadow: 0 1px 0 white;
76  cursor: pointer;
77  border-radius: 5px;
78  box-shadow: none;
79 }
80 
81 .elgg-button-action:hover,
82 .elgg-button-action:focus {
83  background: #ccc url(<?= elgg_get_simplecache_url("button_background.gif"); ?>) repeat-x 0 -15px;
84  color: #111;
85  text-decoration: none;
86  border: 1px solid #999;
87 }
88 
89 /* Delete: This button should convey "be careful before you click me" */
90 .elgg-button-delete {
91  color: #bbb;
92  text-decoration: none;
93  border: 1px solid #333;
94  background: #555 url(<?= elgg_get_simplecache_url("button_graduation.png"); ?>) repeat-x left 10px;
95  text-shadow: 1px 1px 0px black;
96 }
97 .elgg-button-delete:hover,
98 .elgg-button-delete:focus {
99  color: #999;
100  background-color: #333;
101  background-position: left 10px;
102  text-decoration: none;
103 }
104 
105 .elgg-button-dropdown {
106  padding:3px 6px;
107  text-decoration:none;
108  display:block;
109  font-weight:bold;
110  position:relative;
111  margin-left:0;
112  color: white;
113  background-color: transparent;
114  border:1px solid #71B9F7;
115  border-radius:4px;
116  box-shadow: 0 0 0;
117 }
118 
119 .elgg-button-dropdown:after {
120  content: " \25BC ";
121  font-size:smaller;
122 }
123 
124 .elgg-button-dropdown:hover {
125  background-color:#71B9F7;
126  text-decoration:none;
127 }
128 .elgg-button-dropdown:focus {
129  text-decoration: none;
130 }
131 .elgg-button-dropdown.elgg-state-active {
132  background: #ccc;
133  outline: none;
134  color: #333;
135  border:1px solid #ccc;
136  border-radius:4px 4px 0 0;
137 }
138 
139 .elgg-button:disabled,
140 .elgg-button.elgg-state-disabled {
141  background: #999;
142  border-color: #999;
143  color: #666;
144  text-shadow: 0 0;
145  text-decoration: none;
146  cursor: default;
147 }
label elgg state disabled
Definition: admin.css.php:469
border color
Definition: admin.css.php:42
elgg_get_simplecache_url($view, $subview= '')
Get the URL for the cached view.
Definition: cache.php:136
ui datepicker calendar ui state active
Definition: admin.css.php:697
font weight
Definition: admin.css.php:65
a
Definition: admin.css.php:97
elgg button cancel
Definition: admin.css.php:590
elgg button submit
Definition: admin.css.php:578
box shadow
Definition: admin.css.php:362
ui datepicker calendar ui state hover
Definition: admin.css.php:692
text decoration
Definition: admin.css.php:99
font size
Definition: admin.css.php:81
border radius
Definition: admin.css.php:244
elgg button
Definition: admin.css.php:559
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col elgg image block
Definition: admin.css.php:127
margin left
Definition: admin.css.php:294
elgg input text
Definition: admin.css.php:505
min width
Definition: admin.css.php:166
list style position
overflow x
if(!$site) if(!($site instanceof ElggSite)) $site url
vertical align
Definition: admin.css.php:66
elgg widget content
Definition: admin.css.php:1305
elgg action
Definition: ajax.js:200