Skip to content

Commit

Permalink
Merge pull request #1483 from RRZE-Webteam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
xwolfde authored May 31, 2024
2 parents e077d37 + 30c4a1f commit 6b60a48
Show file tree
Hide file tree
Showing 24 changed files with 186 additions and 540 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WordPress-Theme für zentrale Einrichtungen der Friedrich-Alexander-Universität

## Version

Version: 2.4.38
Version: 2.5.0

## Screenshot

Expand Down
2 changes: 1 addition & 1 deletion css/fau-theme-admin.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions functions/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
// Name des Options-Array

$defaultoptions = [
'optiontable-version' => 108,
'optiontable-version' => 109,
// zaehlt jedesmal hoch, wenn neue Optionen eingefuegt werden
// oder Default Optionen geaendert werden. Vorhandene Defaultoptions
// in der Options-Table werden nur dann geändert, wenn der Wert erhöht
// wurde oder die Theme Options von Hand aufgerufen und gespeichert wurden.
'debugmode' => true,
'debugmode' => false,
// Der Debugmode erlaubt die Einschaltung von Debug- und Demowerten über den Customizer.
// Bei der Compilierung des Themes mit Gulp wird der Debugmode bei
// 'gulp build' auf false gesetzt
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "FAU-Einrichtungen",
"textdomain": "fau",
"version": "2.4.38",
"version": "2.5.0",
"keywords": [
"WordPress",
"Theme",
"FAU",
"RRZE"
],
"compatibility": {
"wprequires": "6.3",
"wptestedup": "6.4",
"phprequires": "8.0"
"wprequires": "6.4",
"wptestedup": "6.5",
"phprequires": "8.2"
},
"author": {
"name": "RRZE-Webteam <webmaster@fau.de> (https://www.rrze.fau.de)",
Expand Down
10 changes: 5 additions & 5 deletions print.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=== Theme Name: FAU-Einrichtungen ===
Version: 2.4.38
Version: 2.5.1
Theme URI: https://github.com/RRZE-Webteam/FAU-Einrichtungen
GitHub Theme URI: https://github.com/RRZE-Webteam/FAU-Einrichtungen
GitHub Issue URL: https://github.com/RRZE-Webteam/FAU-Einrichtungen/issues
Expand Down
43 changes: 22 additions & 21 deletions src/sass/backend/_customizer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,67 +12,68 @@

#customize-theme-controls {


--fau-icon-size: 1.2rem;
--fau-icon-color: var(--color-Default);
--fau-icon-color-hover: var(--color-Default);
--fau-icon-size-mask: 1rem;
--fau-icon-margin-right: 0.3rem;

#accordion-section-title_tagline,
#accordion-panel-website,
#accordion-panel-socialmedia,
#accordion-panel-allgemeines,
#accordion-panel-templates,
#accordion-panel-advanced {
.accordion-section-title {
display: flex;
border-left-color: var(--color-Default);
}
}
#accordion-panel-superadmin {
.accordion-section-title {
border-left-color: red;
border-left-color: red;
color: red;
&:before {
color: red;
@extend .fa;
@extend .fa-cogs;
width: 18px;
--fau-icon-color: red;
--fau-icon-color-hover: red;
@extend .fau-icon;
mask-image: svg-icon-admintools();
}
}
}
#accordion-section-title_tagline,
#accordion-panel-website {
.accordion-section-title:before {
@extend .fa;
@extend .fa-wpexplorer;
width: 18px;
@extend .fau-icon;
mask-image: svg-icon-home();
}
}

#accordion-panel-allgemeines {
.accordion-section-title:before {
@extend .fa;
@extend .fa-toggle-on;
width: 18px;
@extend .fau-icon;
mask-image: svg-icon-toggleon();
}
}
#accordion-panel-templates {
.accordion-section-title:before {
@extend .fa;
@extend .fa-files-o;
width: 18px;
@extend .fau-icon;
mask-image: svg-icon-files();
}
}
#accordion-panel-advanced {
.accordion-section-title:before {
@extend .fa;
@extend .fa-cogs;
width: 18px;
@extend .fau-icon;
mask-image: svg-icon-cogs();
}
}
#accordion-panel-debugmode {
.accordion-section-title {
border-left-color: var(--color-Notice);
}
.accordion-section-title:before {
@extend .fa;
@extend .fa-keyboard-o;
width: 18px;
@extend .fau-icon;
mask-image: svg-icon-admintools();
}
}

Expand Down
188 changes: 0 additions & 188 deletions src/sass/elements/_links-social-media.scss

This file was deleted.

8 changes: 0 additions & 8 deletions src/sass/fau-theme-print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,6 @@ main a,
transition: none !important;
}

.fontawesome-icon-list {
display: flex !important;
flex-wrap: wrap !important;

& .fa-hover.col-md-3.col-sm-4 {
width: 25% !important;
}
}

.tw-linkref {
display: inline !important;
Expand Down
2 changes: 1 addition & 1 deletion src/sass/fonts/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


// Awesome Font for Symbols
@import "awesome";
// @import "awesome";

// Roboto Font
@import "roboto";
Expand Down
5 changes: 4 additions & 1 deletion src/sass/icons/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
--_icon-color: var(--fau-icon-color, var(--color-Text));
--_icon-color-hover: var(--fau-icon-color-hover, var(--color-MainBackground));
--_icon-size-mask: var(--fau-icon-size-mask, var(--fau-icon-size, 1.6rem));
--_icon-margin-right: var(--fau-icon-margin-right, 0);
--_icon-margin-left: var(--fau-icon-margin-left, 0);


width: var(--_icon-size);
Expand All @@ -94,7 +96,8 @@
mask-repeat: no-repeat;
mask-position: center;
background-color: var(--_icon-color);

margin-right: var(--_icon-margin-right);
margin-left: var(--_icon-margin-left);

&:focus,
&:hover {
Expand Down
Loading

0 comments on commit 6b60a48

Please sign in to comment.