Skip to content

Commit 1759c56

Browse files
authored
Merge pull request #199 from Piratenpartei/beta
1.2.0
2 parents 586d5ba + 0365e39 commit 1759c56

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2767
-1323
lines changed

css/admin.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/sass/_variables.scss

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,32 @@ $color-second: #672082;
66
$color-third: #698bc1; //
77
$color-four: #148f93;
88

9+
// Colorsets
10+
11+
$customizer-colorset: (
12+
("main", #ff8800, "Pirates DE"),
13+
("second", #672082, "Pirates DE second CI Color"),
14+
("third", #698bc1, "Additional complementary CI Color"),
15+
("four", #148f93, "Additional Complementary CI Color"),
16+
("uspirates", #B127AF, "Pirates US/LU"),
17+
("tkpirates", #00B5B1, "Pirates TK"),
18+
("chpirates", #F9B200, "Pirates CH"),
19+
("ispirates", #51297e, "Pirates IS"),
20+
("black", #000, ""),
21+
("white", #fff, ""),
22+
("grey", #e7e7eb, ""),
23+
("darkgrey", #1a1a1a, ""),
24+
("blue", #0066ff, ""),
25+
("red", #d7464d, ""),
26+
("yellow", #e7b547, ""),
27+
("green", #85c066, "")
28+
);
29+
930
$color-page-background: #fff;
1031
$color-hr: #ccc;
1132
$color-content-links: $color-main;
1233
$color-print-links: #000;
13-
$color-text: #2b2b2b;
34+
$color-text: #1a1a1a; // #2b2b2b;
1435
$bg-grey: #e7e7eb;
1536
$color-border: $bg-grey;
1637
$color-special-background: $color-page-background;

css/sass/admin.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//--------------------------------------------------------------
2+
// Variables
3+
//--------------------------------------------------------------
4+
@import "variables";
5+
6+
//--------------------------------------------------------------
7+
// Mixins
8+
//--------------------------------------------------------------
9+
@import "mixins/mixins";
10+
11+
//--------------------------------------------------------------
12+
// Backend
13+
//--------------------------------------------------------------
14+
@import "backend/backend";

css/sass/backend/_backend.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//--------------------------------------------------------------
2+
// Backend Styles
3+
//--------------------------------------------------------------
4+
5+
6+
// Customizer
7+
@import "customizer";

css/sass/backend/_customizer.scss

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*-----------------------------------------------------------------------------------*/
2+
/* Customizer Settings
3+
/*-----------------------------------------------------------------------------------*/
4+
5+
6+
.customize-control-colorlist-radio {
7+
// Inspired by https://jsfiddle.net/8uycrv12/
8+
9+
label {
10+
display: inline-block;
11+
position: relative;
12+
margin: 2px;
13+
14+
input[type="radio"] {
15+
// hide ugly default radio icon
16+
display: none;
17+
}
18+
input[type="radio"] + span.colorbox {
19+
border-radius: 30%;
20+
}
21+
22+
span.colorbox {
23+
background: transparent;
24+
width: 20px;
25+
height: 20px;
26+
display: inline-block;
27+
border: 2px solid transparent;
28+
transition: all .2s linear;
29+
}
30+
span.reset {
31+
padding: 2px;
32+
}
33+
}
34+
35+
/* Hover-Effekt */
36+
label:hover span.colorbox {
37+
border: 2px solid #aaa;
38+
}
39+
input[type="checkbox"]:checked + span.colorbox,
40+
input[type="radio"]:checked + span.colorbox {
41+
border: 3px solid #000;
42+
}
43+
}

css/sass/elements/_classes.scss

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,3 @@ span.dropcap {
9797
display: none;
9898
}
9999

100-
.color-second {
101-
color: $color-second;
102-
}
103-
.color-main {
104-
color: $color-main;
105-
}
106-
.color-third {
107-
color: $color-third;
108-
}
109-
.color-four {
110-
color: $color-four;
111-
}

0 commit comments

Comments
 (0)