Elgg  Version 3.0
install.css.php
Go to the documentation of this file.
1 <?php
2 
3 elgg_set_viewtype('default');
4 
5 $css = elgg_view('core.css', []);
6 
7 echo _elgg_views_preprocess_css(null, null, $css, []);
8 
9 elgg_set_viewtype('installation');
10 
11 ?>
12 
13 html {
14  min-width: 100vh;
15  background: #0078ac;
16 }
17 
18 body {
19  background: transparent;
20 }
21 
22 .elgg-page {
23  max-width: 50rem;
24  margin: 5rem auto;
25  background: #fff;
26  border-radius: 2px;
27 }
28 
29 .elgg-system-messages {
30  position: relative;
31  top: auto;
32  right: auto;
33  max-width: 100%;
34 }
35 
36 .elgg-layout-columns > .elgg-sidebar-alt {
37  padding: 2rem;
38 }
39 
40 .elgg-layout-columns > .elgg-body {
41  padding: 4rem;
42 }
43 
44 .elgg-page-header {
45  margin-bottom: 2rem;
46  text-align: center;
47 }
48 
49 .elgg-sidebar-alt ol {
50  list-style: decimal;
51  padding-left: 2rem;
52  font-size: 1rem;
53 }
54 
55 .elgg-sidebar-alt ol > li {
56  padding: 0.25rem 0.5rem;
57 }
58 
59 .elgg-sidebar-alt ol > li.present {
60  font-weight: 600;
61  color: #0078ac;
62 }
63 
64 .elgg-sidebar-alt ol > li.past {
65  text-decoration: line-through;
66  color: #ccc;
67 }
68 
69 .elgg-page-footer {
70  min-height: 0;
71  padding: 1rem 2rem;
72  overflow: hidden;
73  border-radius: 0 0 2px 2px;
74 }
75 
76 .elgg-install-nav {
77  display: flex;
78  justify-content: flex-end;
79  margin-top: 4rem;
80 }
81 
82 h1 {
83  border-bottom: 1px solid #dcdcdc;
84  padding: 0 0 1rem 0;
85  margin-bottom: 1rem;
86 }
87 
88 h2, h3 {
89  margin-bottom: 0.5rem;
90 }
elgg echo
Translates a string.
Definition: languages.js:43
$css
Definition: install.css.php:5
_elgg_views_preprocess_css($hook, $type, $content, $params)
Preprocesses CSS views sent by /cache URLs.
Definition: views.php:1663
elgg_set_viewtype($viewtype= '')
Manually set the viewtype.
Definition: views.php:65
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246
this section has the sole purpose of protecting the integrity of the free software distribution system
Definition: LICENSE.txt:271