Elgg  Version 6.1
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 echo _elgg_services()->cssCompiler->compile($css);
7 
8 elgg_set_viewtype('installation');
9 
10 ?>
11 
12 html {
13  min-width: 100vh;
14  background: #0078ac;
15 }
16 
17 body {
18  background: transparent;
19 }
20 
21 .elgg-page {
22  max-width: 50rem;
23  margin: 5rem auto;
24  background: #fff;
25  border-radius: 2px;
26 }
27 
28 .elgg-system-messages {
29  position: relative;
30  top: auto;
31  right: auto;
32  max-width: 100%;
33 }
34 
35 .elgg-layout > .elgg-sidebar-alt {
36  padding: 2rem;
37  max-width: 20rem;
38 }
39 
40 .elgg-layout > .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 .elgg-field {
50  padding-left: 2rem;
51 }
52 
53 .elgg-sidebar-alt ol {
54  list-style: decimal;
55  padding-left: 2rem;
56  padding-bottom: 2rem;
57  font-size: 1rem;
58 }
59 
60 .elgg-sidebar-alt ol > li {
61  padding: 0.25rem 0.5rem;
62 }
63 
64 .elgg-sidebar-alt ol > li.present {
65  font-weight: 600;
66  color: #0078ac;
67 }
68 
69 .elgg-sidebar-alt ol > li.past {
70  text-decoration: line-through;
71  color: #ccc;
72 }
73 
74 .elgg-page-footer {
75  min-height: 0;
76  padding: 1rem 2rem;
77  overflow: hidden;
78  border-radius: 0 0 2px 2px;
79 }
80 
81 .elgg-install-nav {
82  display: flex;
83  justify-content: flex-end;
84  margin-top: 4rem;
85 }
86 
87 h1 {
88  border-bottom: 1px solid #dcdcdc;
89  padding: 0 0 1rem 0;
90  margin-bottom: 1rem;
91 }
92 
93 h2, h3 {
94  margin-bottom: 0.5rem;
95 }
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
elgg_set_viewtype(string $viewtype= '')
Manually set the viewtype.
Definition: views.php:60
$css
Definition: install.css.php:5
_elgg_services()
Get the global service provider.
Definition: elgglib.php:353
this section has the sole purpose of protecting the integrity of the free software distribution system
Definition: LICENSE.txt:271