Skip to content

Commit 6737463

Browse files
authored
Merge pull request #18 from stuttter/issue/17
Add support for "American Admin Schemes" from 0aveRyan.
2 parents dcefc3d + 6b18622 commit 6737463

File tree

10 files changed

+362
-3
lines changed

10 files changed

+362
-3
lines changed

wp-chosen/assets/css/scss/schemes.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
/* Even More Color Schemes
2020
-------------------------------------------------------------- */
21-
2221
@import 'schemes/extra/80s-kid.scss';
2322
@import 'schemes/extra/adderley.scss';
2423
@import 'schemes/extra/aubergine.scss';
@@ -30,3 +29,12 @@
3029
@import 'schemes/extra/primary.scss';
3130
@import 'schemes/extra/seashore.scss';
3231
@import 'schemes/extra/vinyard.scss';
32+
33+
/* American Color Schemes
34+
-------------------------------------------------------------- */
35+
@import 'schemes/american/from-many-one.scss';
36+
@import 'schemes/american/nasa.scss';
37+
@import 'schemes/american/nasa-1976.scss';
38+
@import 'schemes/american/old-glory.scss';
39+
@import 'schemes/american/open-highway.scss';
40+
@import 'schemes/american/shenandoah.scss';
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* From Many One */
2+
body.admin-color-from-many-one {
3+
.chosen-container-active {
4+
&.chosen-with-drop {
5+
.chosen-single {
6+
border-color: #981b1e;
7+
box-shadow: 0 0 0 1px #981b1e;
8+
}
9+
}
10+
11+
.chosen-single {
12+
border-color: #981b1e;
13+
box-shadow: 0 0 0 1px #981b1e;
14+
}
15+
}
16+
17+
.chosen-container {
18+
&.chosen-dropup {
19+
.chosen-drop {
20+
border-color: #981b1e;
21+
box-shadow: 0 -1px 0 1px #981b1e;
22+
}
23+
}
24+
25+
.chosen-drop {
26+
border-color: #981b1e;
27+
box-shadow: 0 1px 0 1px #981b1e;
28+
}
29+
30+
.chosen-results {
31+
li.highlighted {
32+
background-color: #981b1e;
33+
}
34+
}
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* NASA 1976 */
2+
body.admin-color-nasa-1976 {
3+
.chosen-container-active {
4+
&.chosen-with-drop {
5+
.chosen-single {
6+
border-color: #d22841;
7+
box-shadow: 0 0 0 1px #d22841;
8+
}
9+
}
10+
11+
.chosen-single {
12+
border-color: #d22841;
13+
box-shadow: 0 0 0 1px #d22841;
14+
}
15+
}
16+
17+
.chosen-container {
18+
&.chosen-dropup {
19+
.chosen-drop {
20+
border-color: #d22841;
21+
box-shadow: 0 -1px 0 1px #d22841;
22+
}
23+
}
24+
25+
.chosen-drop {
26+
border-color: #d22841;
27+
box-shadow: 0 1px 0 1px #d22841;
28+
}
29+
30+
.chosen-results {
31+
li.highlighted {
32+
background-color: #d22841;
33+
}
34+
}
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* NASA */
2+
body.admin-color-nasa {
3+
.chosen-container-active {
4+
&.chosen-with-drop {
5+
.chosen-single {
6+
border-color: #0B3D91;
7+
box-shadow: 0 0 0 1px #0B3D91;
8+
}
9+
}
10+
11+
.chosen-single {
12+
border-color: #0B3D91;
13+
box-shadow: 0 0 0 1px #0B3D91;
14+
}
15+
}
16+
17+
.chosen-container {
18+
&.chosen-dropup {
19+
.chosen-drop {
20+
border-color: #0B3D91;
21+
box-shadow: 0 -1px 0 1px #0B3D91;
22+
}
23+
}
24+
25+
.chosen-drop {
26+
border-color: #0B3D91;
27+
box-shadow: 0 1px 0 1px #0B3D91;
28+
}
29+
30+
.chosen-results {
31+
li.highlighted {
32+
background-color: #0B3D91;
33+
}
34+
}
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Old Glory */
2+
body.admin-color-old-glory {
3+
.chosen-container-active {
4+
&.chosen-with-drop {
5+
.chosen-single {
6+
border-color: #112e51;
7+
box-shadow: 0 0 0 1px #112e51;
8+
}
9+
}
10+
11+
.chosen-single {
12+
border-color: #112e51;
13+
box-shadow: 0 0 0 1px #112e51;
14+
}
15+
}
16+
17+
.chosen-container {
18+
&.chosen-dropup {
19+
.chosen-drop {
20+
border-color: #112e51;
21+
box-shadow: 0 -1px 0 1px #112e51;
22+
}
23+
}
24+
25+
.chosen-drop {
26+
border-color: #112e51;
27+
box-shadow: 0 1px 0 1px #112e51;
28+
}
29+
30+
.chosen-results {
31+
li.highlighted {
32+
background-color: #112e51;
33+
}
34+
}
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Open Highway */
2+
body.admin-color-open-highway {
3+
.chosen-container-active {
4+
&.chosen-with-drop {
5+
.chosen-single {
6+
border-color: #fdb81e;
7+
box-shadow: 0 0 0 1px #fdb81e;
8+
}
9+
}
10+
11+
.chosen-single {
12+
border-color: #fdb81e;
13+
box-shadow: 0 0 0 1px #fdb81e;
14+
}
15+
}
16+
17+
.chosen-container {
18+
&.chosen-dropup {
19+
.chosen-drop {
20+
border-color: #fdb81e;
21+
box-shadow: 0 -1px 0 1px #fdb81e;
22+
}
23+
}
24+
25+
.chosen-drop {
26+
border-color: #fdb81e;
27+
box-shadow: 0 1px 0 1px #fdb81e;
28+
}
29+
30+
.chosen-results {
31+
li.highlighted {
32+
background-color: #fdb81e;
33+
}
34+
}
35+
}
36+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Shenandoah */
2+
body.admin-color-shenandoah {
3+
.chosen-container-active {
4+
&.chosen-with-drop {
5+
.chosen-single {
6+
border-color: #2e8540;
7+
box-shadow: 0 0 0 1px #2e8540;
8+
}
9+
}
10+
11+
.chosen-single {
12+
border-color: #2e8540;
13+
box-shadow: 0 0 0 1px #2e8540;
14+
}
15+
}
16+
17+
.chosen-container {
18+
&.chosen-dropup {
19+
.chosen-drop {
20+
border-color: #2e8540;
21+
box-shadow: 0 -1px 0 1px #2e8540;
22+
}
23+
}
24+
25+
.chosen-drop {
26+
border-color: #2e8540;
27+
box-shadow: 0 1px 0 1px #2e8540;
28+
}
29+
30+
.chosen-results {
31+
li.highlighted {
32+
background-color: #2e8540;
33+
}
34+
}
35+
}
36+
}

wp-chosen/assets/css/wp-chosen.css

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

wp-chosen/assets/css/wp-chosen.css.map

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

0 commit comments

Comments
 (0)