Skip to content

Commit c9f637a

Browse files
authored
Merge pull request #5278 from Catrobat/footer-stats
New basic footer design
2 parents d8d5c0d + 4fcc03d commit c9f637a

File tree

35 files changed

+510
-292
lines changed

35 files changed

+510
-292
lines changed

assets/Layout/Footer.scss

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
@use '~@material/select';
2-
@use '~@material/select/mdc-select';
3-
@use '~@material/list/mdc-list';
4-
@use '~@material/menu-surface/mdc-menu-surface';
5-
@use '~@material/menu/mdc-menu';
6-
@use '~@material/select/styles';
71
@import './Variables';
82
@import './Mixins';
93

10-
// Keep the footer at the bottom at all time.
11-
124
html,
135
body {
146
min-height: 100vh;
@@ -21,39 +13,54 @@ body {
2113
margin-bottom: 1.25rem;
2214
}
2315

24-
// ----
25-
2616
.footer {
2717
margin-top: auto;
28-
padding: 1.5rem;
18+
padding: 1rem;
2919
color: $footer-color;
3020
background-color: $footer-background-color;
3121

22+
@media (width >= 768px) {
23+
padding: 2rem;
24+
}
25+
3226
a {
3327
color: inherit;
28+
text-decoration: underline;
3429

3530
&:hover {
36-
text-decoration: none;
31+
color: var(--primary);
3732
}
3833
}
3934

40-
ul {
41-
padding: 0;
42-
list-style: none;
35+
.footer-links {
36+
a {
37+
font-size: 0.9rem;
38+
transition: color 0.3s ease;
39+
text-decoration: none;
4340

44-
.list-vertical {
45-
li {
46-
display: block;
47-
hyphens: auto;
41+
&:hover {
42+
color: var(--primary);
43+
}
44+
45+
&:not(:first-child) {
46+
margin-left: 0.5rem;
4847
}
4948
}
5049
}
51-
}
5250

53-
.mdc-select {
54-
width: 100% !important;
51+
.footer-copyright {
52+
font-size: 0.9rem;
53+
}
5554
}
5655

57-
.mdc-notched-outline__notch {
58-
width: 100% !important;
56+
.footer-download {
57+
padding-top: 2rem;
58+
padding-bottom: 2rem;
59+
a {
60+
text-decoration: none;
61+
62+
img {
63+
margin-top: 0.3rem;
64+
}
65+
}
5966
}

bin/initial_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sudo apt upgrade
1010
sudo apt install curl acl
1111

1212
## Php and its extensions, composer (php package manager)
13-
sudo apt install php8.3-common php8.3-ldap php8.3-cli php8.3-curl php8.3-intl php8.3-apcu php8.3-imagick php8.3-mbstring php8.3-xml php8.3-fpm php8.3-mysql php8.3-gd php8.3-zip
13+
sudo apt install php8.3-common php8.3-ldap php8.3-cli php8.3-curl php8.3-intl php8.3-apcu php8.3-imagick php8.3-mbstring php8.3-xml php8.3-fpm php8.3-mysql php8.3-gd php8.3-zip php8.3-bcmath
1414
sudo apt install composer
1515

1616
## Node and npm (node package manager)

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "Catrobat's Share Community Platform",
66
"require": {
77
"php": ">=8.3",
8+
"ext-bcmath": "*",
89
"ext-SimpleXML": "*",
910
"ext-gd": "*",
1011
"ext-imagick": "*",
@@ -99,7 +100,8 @@
99100
"ext-pcntl": "8.3",
100101
"ext-posix": "8.3",
101102
"ext-xml": "8.3",
102-
"ext-zip": "8.3"
103+
"ext-zip": "8.3",
104+
"ext-bcmath": "8.3"
103105
},
104106
"bin-dir": "bin",
105107
"preferred-install": {

0 commit comments

Comments
 (0)