Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
helpers.css.php
Go to the documentation of this file.
1 <?php
10 ?>
11 /* <style> /**/
12 
13 .clearfloat {
14  clear: both;
15 }
16 
17 <?php /* Need .elgg-page to be able to override .elgg-menu-hz > li {display:inline-block} and such */ ?>
18 .hidden,
19 .elgg-page .hidden,
20 .elgg-menu > li.hidden {
21  display: none;
22 }
23 
24 .centered {
25  margin: 0 auto;
26 }
27 
28 .center {
29  text-align: center;
30 }
31 
32 .float {
33  float: left;
34 }
35 
36 .float-alt {
37  float: right;
38 }
39 
40 .link {
41  cursor: pointer;
42 }
43 
44 .elgg-discover .elgg-discoverable {
45  display: none;
46 }
47 
48 .elgg-discover:hover .elgg-discoverable {
49  display: block;
50 }
51 
52 .elgg-transition:hover,
53 .elgg-transition:focus,
54 :focus > .elgg-transition {
55  opacity: .7;
56 }
57 
58 /* ***************************************
59  BORDERS AND SEPARATORS
60 *************************************** */
61 .elgg-border-plain {
62  border: 1px solid #eeeeee;
63 }
64 .elgg-border-transition {
65  border: 1px solid #eeeeee;
66 }
67 .elgg-divide-top {
68  border-top: 1px solid #CCCCCC;
69 }
70 .elgg-divide-bottom {
71  border-bottom: 1px solid #CCCCCC;
72 }
73 .elgg-divide-left {
74  border-left: 1px solid #CCCCCC;
75 }
76 .elgg-divide-right {
77  border-right: 1px solid #CCCCCC;
78 }
79 
80 /* ***************************************
81  Spacing (from OOCSS)
82 *************************************** */
83 <?php
94 $none = '0';
95 $small = '5px';
96 $medium = '10px';
97 $large = '20px';
98 
99 echo <<<CSS
100 /* Padding */
101 .pan{padding:$none}
102 .prn, .phn{padding-right:$none}
103 .pln, .phn{padding-left:$none}
104 .ptn, .pvn{padding-top:$none}
105 .pbn, .pvn{padding-bottom:$none}
106 
107 .pas{padding:$small}
108 .prs, .phs{padding-right:$small}
109 .pls, .phs{padding-left:$small}
110 .pts, .pvs{padding-top:$small}
111 .pbs, .pvs{padding-bottom:$small}
112 
113 .pam{padding:$medium}
114 .prm, .phm{padding-right:$medium}
115 .plm, .phm{padding-left:$medium}
116 .ptm, .pvm{padding-top:$medium}
117 .pbm, .pvm{padding-bottom:$medium}
118 
119 .pal{padding:$large}
120 .prl, .phl{padding-right:$large}
121 .pll, .phl{padding-left:$large}
122 .ptl, .pvl{padding-top:$large}
123 .pbl, .pvl{padding-bottom:$large}
124 
125 /* Margin */
126 .man{margin:$none}
127 .mrn, .mhn{margin-right:$none}
128 .mln, .mhn{margin-left:$none}
129 .mtn, .mvn{margin-top:$none}
130 .mbn, .mvn{margin-bottom:$none}
131 
132 .mas{margin:$small}
133 .mrs, .mhs{margin-right:$small}
134 .mls, .mhs{margin-left:$small}
135 .mts, .mvs{margin-top:$small}
136 .mbs, .mvs{margin-bottom:$small}
137 
138 .mam{margin:$medium}
139 .mrm, .mhm{margin-right:$medium}
140 .mlm, .mhm{margin-left:$medium}
141 .mtm, .mvm{margin-top:$medium}
142 .mbm, .mvm{margin-bottom:$medium}
143 
144 .mal{margin:$large}
145 .mrl, .mhl{margin-right:$large}
146 .mll, .mhl{margin-left:$large}
147 .mtl, .mvl{margin-top:$large}
148 .mbl, .mvl{margin-bottom:$large}
149 CSS;
vertical align
Definition: admin.css.php:66
border top
elgg river comments li
margin bottom
Definition: admin.css.php:38
ui autocomplete a ui state hover
Definition: forms.css.php:261